Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/dma/idxd/
A Didxd.h25 struct idxd_dev;
62 int (*probe)(struct idxd_dev *idxd_dev); argument
63 void (*remove)(struct idxd_dev *idxd_dev);
88 struct idxd_dev idxd_dev; member
150 struct idxd_dev idxd_dev; member
185 struct idxd_dev idxd_dev; member
220 struct idxd_dev idxd_dev; member
264 struct idxd_dev idxd_dev; member
356 #define idxd_dev_to_idxd(idxd_dev) container_of(idxd_dev, struct idxd_device, idxd_dev) argument
357 #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.c39 struct idxd_dev *idxd_dev; in bind_store() local
45 idxd_dev = confdev_to_idxd_dev(dev); in bind_store()
46 if (is_idxd_dev(idxd_dev)) { in bind_store()
48 } else if (is_idxd_wq_dev(idxd_dev)) { in bind_store()
82 static int idxd_dsa_drv_probe(struct idxd_dev *idxd_dev) in idxd_dsa_drv_probe() argument
87 static void idxd_dsa_drv_remove(struct idxd_dev *idxd_dev) in idxd_dsa_drv_remove() argument
A Ddma.c297 static int idxd_dmaengine_drv_probe(struct idxd_dev *idxd_dev) in idxd_dmaengine_drv_probe() argument
299 struct device *dev = &idxd_dev->conf_dev; in idxd_dmaengine_drv_probe()
300 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_probe()
336 static void idxd_dmaengine_drv_remove(struct idxd_dev *idxd_dev) in idxd_dmaengine_drv_remove() argument
338 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_remove()
A Dregisters.h403 #define GRPWQCFG_OFFSET(idxd_dev, n, ofs) ((idxd_dev)->grpcfg_offset +\ argument
405 #define GRPENGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 32) argument
406 #define GRPFLGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 40) argument
A Dcdev.c257 idxd_cdev->idxd_dev.type = IDXD_DEV_CDEV; in idxd_wq_add_cdev()
305 static int idxd_user_drv_probe(struct idxd_dev *idxd_dev) in idxd_user_drv_probe() argument
307 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_user_drv_probe()
356 static void idxd_user_drv_remove(struct idxd_dev *idxd_dev) in idxd_user_drv_remove() argument
358 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_user_drv_remove()
A Ddevice.c1431 int idxd_device_drv_probe(struct idxd_dev *idxd_dev) in idxd_device_drv_probe() argument
1433 struct idxd_device *idxd = idxd_dev_to_idxd(idxd_dev); in idxd_device_drv_probe()
1471 void idxd_device_drv_remove(struct idxd_dev *idxd_dev) in idxd_device_drv_remove() argument
1473 struct device *dev = &idxd_dev->conf_dev; in idxd_device_drv_remove()
1474 struct idxd_device *idxd = idxd_dev_to_idxd(idxd_dev); in idxd_device_drv_remove()
A Dinit.c166 idxd_dev_set_type(&wq->idxd_dev, IDXD_DEV_WQ); in idxd_setup_wqs()
236 idxd_dev_set_type(&engine->idxd_dev, IDXD_DEV_ENGINE); in idxd_setup_engines()
283 idxd_dev_set_type(&group->idxd_dev, IDXD_DEV_GROUP); in idxd_setup_groups()
480 idxd_dev_set_type(&idxd->idxd_dev, idxd->data->type); in idxd_alloc()

Completed in 17 milliseconds