Lines Matching refs:Interface
69 let intf = unsafe { &*intf.cast::<Interface<device::CoreInternal>>() }; in probe_callback()
90 let intf = unsafe { &*intf.cast::<Interface<device::CoreInternal>>() }; in disconnect_callback()
299 interface: &Interface<device::Core>, in probe()
307 fn disconnect(interface: &Interface<device::Core>, data: Pin<&Self>); in disconnect()
323 pub struct Interface<Ctx: device::DeviceContext = device::Normal>( struct
328 impl<Ctx: device::DeviceContext> Interface<Ctx> { implementation
336 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Interface<Ctx> { implementation
342 kernel::impl_device_context_deref!(unsafe { Interface });
343 kernel::impl_device_context_into_aref!(Interface);
345 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> { implementation
356 impl<Ctx: device::DeviceContext> AsRef<Device> for Interface<Ctx> { implementation
368 unsafe impl AlwaysRefCounted for Interface { implementation
383 unsafe impl Send for Interface {} implementation
387 unsafe impl Sync for Interface {} implementation