Searched refs:klist_devices (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/base/ |
A D | bus.c | 298 klist_iter_init_node(&bus->p->klist_devices, &i, in bus_for_each_dev() 332 klist_iter_init_node(&bus->p->klist_devices, &i, in bus_find_device() 362 klist_iter_init_node(&subsys->p->klist_devices, &i, &hint->p->knode_bus); in subsys_find_device_by_id() 371 klist_iter_init_node(&subsys->p->klist_devices, &i, NULL); in subsys_find_device_by_id() 459 klist_add_tail(&dev->p->knode_bus, &bus->p->klist_devices); in bus_add_device() 607 klist_init(&priv->klist_devices, NULL, NULL); in bus_add_driver() 828 klist_init(&priv->klist_devices, klist_devices_get, klist_devices_put); in bus_register() 900 return &bus->p->klist_devices; in bus_get_device_klist() 973 klist_iter_init_node(&subsys->p->klist_devices, &iter->ki, start_knode); in subsys_dev_iter_init()
|
A D | driver.c | 52 klist_iter_init_node(&drv->p->klist_devices, &i, in driver_for_each_device() 86 klist_iter_init_node(&drv->p->klist_devices, &i, in driver_find_device()
|
A D | base.h | 47 struct klist klist_devices; member 60 struct klist klist_devices; member
|
A D | dd.c | 385 klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices); in driver_bound() 1288 spin_lock(&drv->p->klist_devices.k_lock); in driver_detach() 1289 if (list_empty(&drv->p->klist_devices.k_list)) { in driver_detach() 1290 spin_unlock(&drv->p->klist_devices.k_lock); in driver_detach() 1293 dev_prv = list_last_entry(&drv->p->klist_devices.k_list, in driver_detach() 1298 spin_unlock(&drv->p->klist_devices.k_lock); in driver_detach()
|
A D | class.c | 163 klist_init(&cp->klist_devices, klist_class_dev_get, klist_class_dev_put); in __class_register() 288 klist_iter_init_node(&class->p->klist_devices, &iter->ki, start_knode); in class_dev_iter_init()
|
A D | platform.c | 938 if (code == 0 && list_empty(&drv->driver.p->klist_devices.k_list)) in __platform_driver_probe()
|
A D | core.c | 3412 &dev->class->p->klist_devices); in device_add()
|
Completed in 150 milliseconds