Searched refs:I2cClient (Results 1 – 2 of 2) sorted by relevance
161 let idev = unsafe { &*idev.cast::<I2cClient<device::CoreInternal>>() }; in probe_callback()176 let idev = unsafe { &*idev.cast::<I2cClient<device::CoreInternal>>() }; in remove_callback()188 let idev = unsafe { &*idev.cast::<I2cClient<device::CoreInternal>>() }; in shutdown_callback()206 fn i2c_id_info(dev: &I2cClient) -> Option<&'static <Self as driver::Adapter>::IdInfo> { in i2c_id_info()336 dev: &I2cClient<device::Core>, in probe()351 fn shutdown(dev: &I2cClient<device::Core>, this: Pin<&Self>) { in shutdown()365 fn unbind(dev: &I2cClient<device::Core>, this: Pin<&Self>) { in unbind()472 pub struct I2cClient<Ctx: device::DeviceContext = device::Normal>( struct477 impl<Ctx: device::DeviceContext> I2cClient<Ctx> { implementation485 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for I2cClient<Ctx> { implementation[all …]
45 idev: &i2c::I2cClient<Core>, in probe()59 fn shutdown(idev: &i2c::I2cClient<Core>, _this: Pin<&Self>) { in shutdown()63 fn unbind(idev: &i2c::I2cClient<Core>, _this: Pin<&Self>) { in unbind()