Lines Matching refs:conf_dev

215 		dev_info(dev, "wq %s enabled\n", dev_name(&wq->conf_dev));
246 dev_dbg(dev, "%s removing WQ %s\n", __func__, dev_name(&wq->conf_dev));
270 dev_info(dev, "wq %s disabled\n", dev_name(&wq->conf_dev));
289 dev_name(&idxd->conf_dev));
296 dev_name(&idxd->conf_dev));
297 device_release_driver(&wq->conf_dev);
395 container_of(dev, struct idxd_engine, conf_dev);
408 container_of(dev, struct idxd_engine, conf_dev);
480 container_of(dev, struct idxd_group, conf_dev);
490 container_of(dev, struct idxd_group, conf_dev);
525 container_of(dev, struct idxd_group, conf_dev);
535 container_of(dev, struct idxd_group, conf_dev);
567 container_of(dev, struct idxd_group, conf_dev);
577 container_of(dev, struct idxd_group, conf_dev);
607 container_of(dev, struct idxd_group, conf_dev);
636 container_of(dev, struct idxd_group, conf_dev);
666 container_of(dev, struct idxd_group, conf_dev);
676 container_of(dev, struct idxd_group, conf_dev);
707 container_of(dev, struct idxd_group, conf_dev);
717 container_of(dev, struct idxd_group, conf_dev);
767 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
778 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
796 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
808 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
851 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
861 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
886 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
909 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
937 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
946 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
974 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
996 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
1025 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
1034 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
1054 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
1088 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
1096 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
1125 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
1133 struct idxd_wq *wq = container_of(dev, struct idxd_wq, conf_dev);
1188 container_of(dev, struct idxd_device, conf_dev);
1199 container_of(dev, struct idxd_device, conf_dev);
1209 container_of(dev, struct idxd_device, conf_dev);
1219 container_of(dev, struct idxd_device, conf_dev);
1229 container_of(dev, struct idxd_device, conf_dev);
1239 container_of(dev, struct idxd_device, conf_dev);
1249 container_of(dev, struct idxd_device, conf_dev);
1260 container_of(dev, struct idxd_device, conf_dev);
1270 container_of(dev, struct idxd_device, conf_dev);
1286 container_of(dev, struct idxd_device, conf_dev);
1296 container_of(dev, struct idxd_device, conf_dev);
1307 container_of(dev, struct idxd_device, conf_dev);
1327 container_of(dev, struct idxd_device, conf_dev);
1347 container_of(dev, struct idxd_device, conf_dev);
1365 container_of(dev, struct idxd_device, conf_dev);
1375 container_of(dev, struct idxd_device, conf_dev);
1385 container_of(dev, struct idxd_device, conf_dev);
1414 container_of(dev, struct idxd_device, conf_dev);
1423 struct idxd_device *idxd = container_of(dev, struct idxd_device, conf_dev);
1468 engine->conf_dev.parent = &idxd->conf_dev;
1469 dev_set_name(&engine->conf_dev, "engine%d.%d",
1471 engine->conf_dev.bus = idxd_get_bus_type(idxd);
1472 engine->conf_dev.groups = idxd_engine_attribute_groups;
1473 engine->conf_dev.type = &idxd_engine_device_type;
1475 dev_name(&engine->conf_dev));
1476 rc = device_register(&engine->conf_dev);
1478 put_device(&engine->conf_dev);
1489 device_unregister(&engine->conf_dev);
1502 group->conf_dev.parent = &idxd->conf_dev;
1503 dev_set_name(&group->conf_dev, "group%d.%d",
1505 group->conf_dev.bus = idxd_get_bus_type(idxd);
1506 group->conf_dev.groups = idxd_group_attribute_groups;
1507 group->conf_dev.type = &idxd_group_device_type;
1509 dev_name(&group->conf_dev));
1510 rc = device_register(&group->conf_dev);
1512 put_device(&group->conf_dev);
1523 device_unregister(&group->conf_dev);
1536 wq->conf_dev.parent = &idxd->conf_dev;
1537 dev_set_name(&wq->conf_dev, "wq%d.%d", idxd->id, wq->id);
1538 wq->conf_dev.bus = idxd_get_bus_type(idxd);
1539 wq->conf_dev.groups = idxd_wq_attribute_groups;
1540 wq->conf_dev.type = &idxd_wq_device_type;
1542 dev_name(&wq->conf_dev));
1543 rc = device_register(&wq->conf_dev);
1545 put_device(&wq->conf_dev);
1556 device_unregister(&wq->conf_dev);
1568 idxd->conf_dev.parent = dev;
1569 dev_set_name(&idxd->conf_dev, "%s", devname);
1570 idxd->conf_dev.bus = idxd_get_bus_type(idxd);
1571 idxd->conf_dev.groups = idxd_attribute_groups;
1572 idxd->conf_dev.type = idxd_get_device_type(idxd);
1574 dev_dbg(dev, "IDXD device register: %s\n", dev_name(&idxd->conf_dev));
1575 rc = device_register(&idxd->conf_dev);
1577 put_device(&idxd->conf_dev);
1626 device_unregister(&wq->conf_dev);
1632 device_unregister(&engine->conf_dev);
1638 device_unregister(&group->conf_dev);
1641 device_unregister(&idxd->conf_dev);