Home
last modified time | relevance | path

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

/drivers/dma/idxd/
A Didxd.h25 struct idxd_dev;
71 int (*probe)(struct idxd_dev *idxd_dev);
72 void (*remove)(struct idxd_dev *idxd_dev);
101 struct idxd_dev idxd_dev; member
167 struct idxd_dev idxd_dev; member
197 struct idxd_dev idxd_dev; member
239 struct idxd_dev idxd_dev; member
313 struct idxd_dev idxd_dev; member
446 #define idxd_dev_to_idxd(idxd_dev) container_of(idxd_dev, struct idxd_device, idxd_dev) argument
447 #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.c48 struct idxd_dev idxd_dev; member
59 struct idxd_dev *idxd_dev = confdev_to_idxd_dev(dev); in dev_to_uctx() local
61 return container_of(idxd_dev, struct idxd_user_context, idxd_dev); in dev_to_uctx()
289 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
545 idxd_cdev->idxd_dev.type = IDXD_DEV_CDEV; in idxd_wq_add_cdev()
593 static int idxd_user_drv_probe(struct idxd_dev *idxd_dev) in idxd_user_drv_probe() argument
595 struct device *dev = &idxd_dev->conf_dev; in idxd_user_drv_probe()
596 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_user_drv_probe()
661 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.h454 #define GRPWQCFG_OFFSET(idxd_dev, n, ofs) ((idxd_dev)->grpcfg_offset +\ argument
456 #define GRPENGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 32) argument
457 #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.c202 idxd_dev_set_type(&wq->idxd_dev, IDXD_DEV_WQ); in idxd_setup_wqs()
301 idxd_dev_set_type(&engine->idxd_dev, IDXD_DEV_ENGINE); in idxd_setup_engines()
365 idxd_dev_set_type(&group->idxd_dev, IDXD_DEV_GROUP); in idxd_setup_groups()
615 idxd_dev_set_type(&idxd->idxd_dev, idxd->data->type); in idxd_alloc()
/drivers/crypto/intel/iaa/
A Diaa_crypto_main.c1715 static int iaa_crypto_probe(struct idxd_dev *idxd_dev) in iaa_crypto_probe() argument
1717 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in iaa_crypto_probe()
1720 struct device *dev = &idxd_dev->conf_dev; in iaa_crypto_probe()
1804 static void iaa_crypto_remove(struct idxd_dev *idxd_dev) in iaa_crypto_remove() argument
1806 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in iaa_crypto_remove()

Completed in 26 milliseconds