Searched refs:idxd_dev (Results 1 – 8 of 8) sorted by relevance
23 struct idxd_dev;36 struct idxd_dev { struct57 int (*probe)(struct idxd_dev *idxd_dev); argument58 void (*remove)(struct idxd_dev *idxd_dev);81 struct idxd_dev idxd_dev; member140 struct idxd_dev idxd_dev; member169 struct idxd_dev idxd_dev; member204 struct idxd_dev idxd_dev; member247 struct idxd_dev idxd_dev; member330 #define idxd_confdev(idxd) &idxd->idxd_dev.conf_dev[all …]
40 struct idxd_dev *idxd_dev = confdev_to_idxd_dev(dev); in idxd_config_bus_match() local44 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() local58 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() local67 idxd_drv->remove(idxd_dev); in idxd_config_bus_remove()
39 struct idxd_dev *idxd_dev; in bind_store() local45 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() argument87 static void idxd_dsa_drv_remove(struct idxd_dev *idxd_dev) in idxd_dsa_drv_remove() argument
268 static int idxd_dmaengine_drv_probe(struct idxd_dev *idxd_dev) in idxd_dmaengine_drv_probe() argument270 struct device *dev = &idxd_dev->conf_dev; in idxd_dmaengine_drv_probe()271 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_probe()324 static void idxd_dmaengine_drv_remove(struct idxd_dev *idxd_dev) in idxd_dmaengine_drv_remove() argument326 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_remove()
258 idxd_cdev->idxd_dev.type = IDXD_DEV_CDEV; in idxd_wq_add_cdev()306 static int idxd_user_drv_probe(struct idxd_dev *idxd_dev) in idxd_user_drv_probe() argument308 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_user_drv_probe()339 static void idxd_user_drv_remove(struct idxd_dev *idxd_dev) in idxd_user_drv_remove() argument341 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_user_drv_remove()
390 #define GRPWQCFG_OFFSET(idxd_dev, n, ofs) ((idxd_dev)->grpcfg_offset +\ argument392 #define GRPENGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 32) argument393 #define GRPFLGCFG_OFFSET(idxd_dev, n) ((idxd_dev)->grpcfg_offset + (n) * GRPCFG_SIZE + 40) argument
1282 int idxd_device_drv_probe(struct idxd_dev *idxd_dev) in idxd_device_drv_probe() argument1284 struct idxd_device *idxd = idxd_dev_to_idxd(idxd_dev); in idxd_device_drv_probe()1322 void idxd_device_drv_remove(struct idxd_dev *idxd_dev) in idxd_device_drv_remove() argument1324 struct device *dev = &idxd_dev->conf_dev; in idxd_device_drv_remove()1325 struct idxd_device *idxd = idxd_dev_to_idxd(idxd_dev); in idxd_device_drv_remove()
223 idxd_dev_set_type(&wq->idxd_dev, IDXD_DEV_WQ); in idxd_setup_wqs()281 idxd_dev_set_type(&engine->idxd_dev, IDXD_DEV_ENGINE); in idxd_setup_engines()328 idxd_dev_set_type(&group->idxd_dev, IDXD_DEV_GROUP); in idxd_setup_groups()510 idxd_dev_set_type(&idxd->idxd_dev, idxd->data->type); in idxd_alloc()