Home
last modified time | relevance | path

Searched refs:idxd_dev (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/dma/idxd/
A Didxd.h26 struct idxd_dev;
72 int (*probe)(struct idxd_dev *idxd_dev);
73 void (*remove)(struct idxd_dev *idxd_dev);
102 struct idxd_dev idxd_dev; member
168 struct idxd_dev idxd_dev; member
199 struct idxd_dev idxd_dev; member
241 struct idxd_dev idxd_dev; member
315 struct idxd_dev idxd_dev; member
437 #define idxd_dev_to_idxd(idxd_dev) container_of(idxd_dev, struct idxd_device, idxd_dev) argument
438 #define idxd_dev_to_wq(idxd_dev) container_of(idxd_dev, struct idxd_wq, idxd_dev) argument
[all …]
A Dbus.c40 struct idxd_dev *idxd_dev = confdev_to_idxd_dev(dev); in idxd_config_bus_match() local
44 if (idxd_dev->type == idxd_drv->type[i]) in idxd_config_bus_match()
56 struct idxd_dev *idxd_dev = confdev_to_idxd_dev(dev); in idxd_config_bus_probe() local
58 return idxd_drv->probe(idxd_dev); in idxd_config_bus_probe()
65 struct idxd_dev *idxd_dev = confdev_to_idxd_dev(dev); in idxd_config_bus_remove() local
67 idxd_drv->remove(idxd_dev); in idxd_config_bus_remove()
A Dcompat.c38 struct idxd_dev *idxd_dev; in bind_store() local
44 idxd_dev = confdev_to_idxd_dev(dev); in bind_store()
45 if (is_idxd_dev(idxd_dev)) { in bind_store()
47 } else if (is_idxd_wq_dev(idxd_dev)) { in bind_store()
81 static int idxd_dsa_drv_probe(struct idxd_dev *idxd_dev) in idxd_dsa_drv_probe() argument
86 static void idxd_dsa_drv_remove(struct idxd_dev *idxd_dev) in idxd_dsa_drv_remove() argument
A Dcdev.c49 struct idxd_dev idxd_dev; member
60 struct idxd_dev *idxd_dev = confdev_to_idxd_dev(dev); in dev_to_uctx() local
62 return container_of(idxd_dev, struct idxd_user_context, idxd_dev); in dev_to_uctx()
294 ctx->idxd_dev.type = IDXD_DEV_CDEV_FILE; in idxd_cdev_open()
433 struct idxd_dev *idxd_dev = &wq->idxd->idxd_dev; in idxd_submit_user_descriptor() local
537 idxd_cdev->idxd_dev.type = IDXD_DEV_CDEV; in idxd_wq_add_cdev()
585 static int idxd_user_drv_probe(struct idxd_dev *idxd_dev) in idxd_user_drv_probe() argument
587 struct device *dev = &idxd_dev->conf_dev; in idxd_user_drv_probe()
588 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_user_drv_probe()
653 static void idxd_user_drv_remove(struct idxd_dev *idxd_dev) in idxd_user_drv_remove() argument
[all …]
A Ddma.c298 static int idxd_dmaengine_drv_probe(struct idxd_dev *idxd_dev) in idxd_dmaengine_drv_probe() argument
300 struct device *dev = &idxd_dev->conf_dev; in idxd_dmaengine_drv_probe()
301 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_probe()
343 static void idxd_dmaengine_drv_remove(struct idxd_dev *idxd_dev) in idxd_dmaengine_drv_remove() argument
345 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_remove()
A Dregisters.h449 #define GRPWQCFG_OFFSET(idxd_dev, n, ofs) ((idxd_dev)->grpcfg_offset +\ argument
451 #define GRPENGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 32) argument
452 #define GRPFLGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 40) argument
A Ddevice.c1521 int idxd_device_drv_probe(struct idxd_dev *idxd_dev) in idxd_device_drv_probe() argument
1523 struct idxd_device *idxd = idxd_dev_to_idxd(idxd_dev); in idxd_device_drv_probe()
1579 void idxd_device_drv_remove(struct idxd_dev *idxd_dev) in idxd_device_drv_remove() argument
1581 struct device *dev = &idxd_dev->conf_dev; in idxd_device_drv_remove()
1582 struct idxd_device *idxd = idxd_dev_to_idxd(idxd_dev); in idxd_device_drv_remove()
A Dinit.c181 idxd_dev_set_type(&wq->idxd_dev, IDXD_DEV_WQ); in idxd_setup_wqs()
253 idxd_dev_set_type(&engine->idxd_dev, IDXD_DEV_ENGINE); in idxd_setup_engines()
300 idxd_dev_set_type(&group->idxd_dev, IDXD_DEV_GROUP); in idxd_setup_groups()
543 idxd_dev_set_type(&idxd->idxd_dev, idxd->data->type); in idxd_alloc()
/linux/drivers/crypto/intel/iaa/
A Diaa_crypto_main.c1849 static int iaa_crypto_probe(struct idxd_dev *idxd_dev) in iaa_crypto_probe() argument
1851 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in iaa_crypto_probe()
1854 struct device *dev = &idxd_dev->conf_dev; in iaa_crypto_probe()
1938 static void iaa_crypto_remove(struct idxd_dev *idxd_dev) in iaa_crypto_remove() argument
1940 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in iaa_crypto_remove()

Completed in 27 milliseconds