Searched refs:I2cClient (Results 1 – 2 of 2) sorted by relevance
150 let idev = unsafe { &*idev.cast::<I2cClient<device::CoreInternal<'_>>>() }; in probe_callback()167 let idev = unsafe { &*idev.cast::<I2cClient<device::CoreInternal<'_>>>() }; in remove_callback()179 let idev = unsafe { &*idev.cast::<I2cClient<device::CoreInternal<'_>>>() }; in shutdown_callback()197 fn i2c_id_info(dev: &I2cClient) -> Option<&'static <Self as driver::Adapter>::IdInfo> { in i2c_id_info()332 dev: &'bound I2cClient<device::Core<'_>>, in probe()347 fn shutdown<'bound>(dev: &'bound I2cClient<device::Core<'_>>, this: Pin<&Self::Data<'bound>>) { in shutdown()361 fn unbind<'bound>(dev: &'bound I2cClient<device::Core<'_>>, this: Pin<&Self::Data<'bound>>) { in unbind()473 pub struct I2cClient<Ctx: device::DeviceContext = device::Normal>( struct478 impl<Ctx: device::DeviceContext> I2cClient<Ctx> { impl486 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for I2cClient<Ctx> { implementation[all …]
42 idev: &'bound i2c::I2cClient<Core<'_>>,56 fn shutdown<'bound>(idev: &'bound i2c::I2cClient<Core<'_>>, _this: Pin<&Self>) { in probe() 60 fn unbind<'bound>(idev: &'bound i2c::I2cClient<Core<'_>>, _this: Pin<&Self>) { in shutdown()