Home
last modified time | relevance | path

Searched refs:klist_devices (Results 1 – 7 of 7) sorted by relevance

/drivers/base/
Dbus.c298 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()
830 klist_init(&priv->klist_devices, klist_devices_get, klist_devices_put); in bus_register()
902 return &bus->p->klist_devices; in bus_get_device_klist()
975 klist_iter_init_node(&subsys->p->klist_devices, &iter->ki, start_knode); in subsys_dev_iter_init()
Dbase.h47 struct klist klist_devices; member
60 struct klist klist_devices; member
Ddd.c384 klist_add_tail(&dev->p->knode_driver, &dev->driver->p->klist_devices); in driver_bound()
1314 spin_lock(&drv->p->klist_devices.k_lock); in driver_detach()
1315 if (list_empty(&drv->p->klist_devices.k_list)) { in driver_detach()
1316 spin_unlock(&drv->p->klist_devices.k_lock); in driver_detach()
1319 dev_prv = list_last_entry(&drv->p->klist_devices.k_list, in driver_detach()
1324 spin_unlock(&drv->p->klist_devices.k_lock); in driver_detach()
Ddriver.c121 klist_iter_init_node(&drv->p->klist_devices, &i, in driver_for_each_device()
155 klist_iter_init_node(&drv->p->klist_devices, &i, in driver_find_device()
Dclass.c163 klist_init(&cp->klist_devices, klist_class_dev_get, klist_class_dev_put); in __class_register()
293 klist_iter_init_node(&class->p->klist_devices, &iter->ki, start_knode); in class_dev_iter_init()
Dplatform.c938 if (code == 0 && list_empty(&drv->driver.p->klist_devices.k_list)) in __platform_driver_probe()
Dcore.c3422 &dev->class->p->klist_devices); in device_add()