Lines Matching refs:bus

20     bus::BusNotifyEvent,
91 let bus = dev in do_device_attach() localVariable
92 .bus() in do_device_attach()
93 .and_then(|bus| bus.upgrade()) in do_device_attach()
97 for driver in bus.subsystem().drivers().iter() { in do_device_attach()
152 if let Some(bus) = driver.bus().and_then(|bus| bus.upgrade()) { in do_device_attach_driver()
153 let r = bus.match_device(&data.dev, driver); in do_device_attach_driver()
211 } else if let Some(bus) = dev.bus().and_then(|bus| bus.upgrade()) { in device_bind_driver()
212 bus.subsystem().bus_notifier().call_chain( in device_bind_driver()
289 let bus = driver in driver_attach() localVariable
290 .bus() in driver_attach()
291 .and_then(|bus| bus.upgrade()) in driver_attach()
293 for dev in bus.subsystem().devices().iter() { in driver_attach()
330 .bus() in match_device()
331 .and_then(|bus| bus.upgrade()) in match_device()
386 if let Some(bus) = device.bus().and_then(|bus| bus.upgrade()) { in really_probe()
387 bus.subsystem().bus_notifier().call_chain( in really_probe()
469 if let Some(bus) = device.bus().and_then(|bus| bus.upgrade()) { in add_to_sysfs()
470 bus.subsystem().bus_notifier().call_chain( in add_to_sysfs()
512 let bus = device in call_driver_probe() localVariable
513 .bus() in call_driver_probe()
514 .and_then(|bus| bus.upgrade()) in call_driver_probe()
516 let r = bus.probe(device); in call_driver_probe()
565 if let Some(bus) = device.bus().and_then(|bus| bus.upgrade()) { in driver_bound()
566 bus.subsystem().bus_notifier().call_chain( in driver_bound()