Searched refs:idxd_dev (Results 1 – 7 of 7) sorted by relevance
25 struct idxd_dev;39 struct idxd_dev { struct71 int (*probe)(struct idxd_dev *idxd_dev);72 void (*remove)(struct idxd_dev *idxd_dev);101 struct idxd_dev idxd_dev; member167 struct idxd_dev idxd_dev; member197 struct idxd_dev idxd_dev; member240 struct idxd_dev idxd_dev; member317 struct idxd_dev idxd_dev; member443 #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()
43 struct idxd_dev *idxd_dev; in bind_store() local52 idxd_dev = confdev_to_idxd_dev(dev); in bind_store()53 if (is_idxd_dev(idxd_dev)) { in bind_store()55 } else if (is_idxd_wq_dev(idxd_dev)) { in bind_store()96 static int idxd_dsa_drv_probe(struct idxd_dev *idxd_dev) in idxd_dsa_drv_probe() argument101 static void idxd_dsa_drv_remove(struct idxd_dev *idxd_dev) in idxd_dsa_drv_remove() argument
48 struct idxd_dev idxd_dev; member59 struct idxd_dev *idxd_dev = confdev_to_idxd_dev(dev); in dev_to_uctx() local61 return container_of(idxd_dev, struct idxd_user_context, idxd_dev); in dev_to_uctx()285 ctx->idxd_dev.type = IDXD_DEV_CDEV_FILE; in idxd_cdev_open()429 struct idxd_dev *idxd_dev = &wq->idxd->idxd_dev; in idxd_submit_user_descriptor() local430 const uint64_t comp_addr_align = is_dsa_dev(idxd_dev) ? 0x20 : 0x40; in idxd_submit_user_descriptor()446 if (is_dsa_dev(idxd_dev) && descriptor.opcode == DSA_OPCODE_BATCH && in idxd_submit_user_descriptor()541 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() argument595 struct device *dev = &idxd_dev->conf_dev; in idxd_user_drv_probe()[all …]
316 static int idxd_dmaengine_drv_probe(struct idxd_dev *idxd_dev) in idxd_dmaengine_drv_probe() argument318 struct device *dev = &idxd_dev->conf_dev; in idxd_dmaengine_drv_probe()319 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_probe()361 static void idxd_dmaengine_drv_remove(struct idxd_dev *idxd_dev) in idxd_dmaengine_drv_remove() argument363 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_remove()
1561 int idxd_device_drv_probe(struct idxd_dev *idxd_dev) in idxd_device_drv_probe() argument1563 struct idxd_device *idxd = idxd_dev_to_idxd(idxd_dev); in idxd_device_drv_probe()1616 void idxd_device_drv_remove(struct idxd_dev *idxd_dev) in idxd_device_drv_remove() argument1618 struct device *dev = &idxd_dev->conf_dev; in idxd_device_drv_remove()1619 struct idxd_device *idxd = idxd_dev_to_idxd(idxd_dev); in idxd_device_drv_remove()
204 idxd_dev_set_type(&wq->idxd_dev, IDXD_DEV_WQ); in idxd_setup_wqs()305 idxd_dev_set_type(&engine->idxd_dev, IDXD_DEV_ENGINE); in idxd_setup_engines()369 idxd_dev_set_type(&group->idxd_dev, IDXD_DEV_GROUP); in idxd_setup_groups()629 idxd_dev_set_type(&idxd->idxd_dev, idxd->data->type); in idxd_alloc()