Lines Matching refs:idxd_device
78 struct idxd_device *idxd = confdev_to_idxd(dev); in idxd_config_bus_match()
85 struct idxd_device *idxd = wq->idxd; in idxd_config_bus_match()
111 struct idxd_device *idxd = confdev_to_idxd(dev); in idxd_config_bus_probe()
150 struct idxd_device *idxd = wq->idxd; in idxd_config_bus_probe()
242 struct idxd_device *idxd = wq->idxd; in disable_wq()
285 struct idxd_device *idxd = confdev_to_idxd(dev); in idxd_config_bus_remove()
350 struct bus_type *idxd_get_bus_type(struct idxd_device *idxd) in idxd_get_bus_type()
355 static struct device_type *idxd_get_device_type(struct idxd_device *idxd) in idxd_get_device_type()
409 struct idxd_device *idxd = engine->idxd; in engine_group_id_store()
462 static void idxd_set_free_tokens(struct idxd_device *idxd) in idxd_set_free_tokens()
491 struct idxd_device *idxd = group->idxd; in group_tokens_reserved_store()
536 struct idxd_device *idxd = group->idxd; in group_tokens_allowed_store()
578 struct idxd_device *idxd = group->idxd; in group_use_token_limit_store()
610 struct idxd_device *idxd = group->idxd; in group_engines_show()
639 struct idxd_device *idxd = group->idxd; in group_work_queues_show()
677 struct idxd_device *idxd = group->idxd; in group_traffic_class_a_store()
718 struct idxd_device *idxd = group->idxd; in group_traffic_class_b_store()
809 struct idxd_device *idxd = wq->idxd; in wq_group_id_store()
862 struct idxd_device *idxd = wq->idxd; in wq_mode_store()
891 static int total_claimed_wq_size(struct idxd_device *idxd) in total_claimed_wq_size()
911 struct idxd_device *idxd = wq->idxd; in wq_size_store()
948 struct idxd_device *idxd = wq->idxd; in wq_priority_store()
1097 struct idxd_device *idxd = wq->idxd; in wq_max_transfer_size_store()
1134 struct idxd_device *idxd = wq->idxd; in wq_max_batch_size_store()
1187 struct idxd_device *idxd = in version_show()
1188 container_of(dev, struct idxd_device, conf_dev); in version_show()
1198 struct idxd_device *idxd = in max_work_queues_size_show()
1199 container_of(dev, struct idxd_device, conf_dev); in max_work_queues_size_show()
1208 struct idxd_device *idxd = in max_groups_show()
1209 container_of(dev, struct idxd_device, conf_dev); in max_groups_show()
1218 struct idxd_device *idxd = in max_work_queues_show()
1219 container_of(dev, struct idxd_device, conf_dev); in max_work_queues_show()
1228 struct idxd_device *idxd = in max_engines_show()
1229 container_of(dev, struct idxd_device, conf_dev); in max_engines_show()
1238 struct idxd_device *idxd = in numa_node_show()
1239 container_of(dev, struct idxd_device, conf_dev); in numa_node_show()
1248 struct idxd_device *idxd = in max_batch_size_show()
1249 container_of(dev, struct idxd_device, conf_dev); in max_batch_size_show()
1259 struct idxd_device *idxd = in max_transfer_size_show()
1260 container_of(dev, struct idxd_device, conf_dev); in max_transfer_size_show()
1269 struct idxd_device *idxd = in op_cap_show()
1270 container_of(dev, struct idxd_device, conf_dev); in op_cap_show()
1285 struct idxd_device *idxd = in gen_cap_show()
1286 container_of(dev, struct idxd_device, conf_dev); in gen_cap_show()
1295 struct idxd_device *idxd = in configurable_show()
1296 container_of(dev, struct idxd_device, conf_dev); in configurable_show()
1306 struct idxd_device *idxd = in clients_show()
1307 container_of(dev, struct idxd_device, conf_dev); in clients_show()
1326 struct idxd_device *idxd = in state_show()
1327 container_of(dev, struct idxd_device, conf_dev); in state_show()
1346 struct idxd_device *idxd = in errors_show()
1347 container_of(dev, struct idxd_device, conf_dev); in errors_show()
1364 struct idxd_device *idxd = in max_tokens_show()
1365 container_of(dev, struct idxd_device, conf_dev); in max_tokens_show()
1374 struct idxd_device *idxd = in token_limit_show()
1375 container_of(dev, struct idxd_device, conf_dev); in token_limit_show()
1384 struct idxd_device *idxd = in token_limit_store()
1385 container_of(dev, struct idxd_device, conf_dev); in token_limit_store()
1413 struct idxd_device *idxd = in cdev_major_show()
1414 container_of(dev, struct idxd_device, conf_dev); in cdev_major_show()
1423 struct idxd_device *idxd = container_of(dev, struct idxd_device, conf_dev); in cmd_status_show()
1460 static int idxd_setup_engine_sysfs(struct idxd_device *idxd) in idxd_setup_engine_sysfs()
1494 static int idxd_setup_group_sysfs(struct idxd_device *idxd) in idxd_setup_group_sysfs()
1528 static int idxd_setup_wq_sysfs(struct idxd_device *idxd) in idxd_setup_wq_sysfs()
1561 static int idxd_setup_device_sysfs(struct idxd_device *idxd) in idxd_setup_device_sysfs()
1584 int idxd_setup_sysfs(struct idxd_device *idxd) in idxd_setup_sysfs()
1619 void idxd_cleanup_sysfs(struct idxd_device *idxd) in idxd_cleanup_sysfs()