Lines Matching defs:Self
46 pub const fn new(id: &'static CStr) -> Self { in new()
338 ) -> impl PinInit<Self, Error>; 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()
401 pub fn get(index: i32) -> Result<ARef<Self>> { in get()
425 unsafe fn dec_ref(obj: NonNull<Self>) { in dec_ref()
442 pub const fn new(type_: &'static CStr, addr: u16) -> Self { in new()
501 unsafe fn dec_ref(obj: NonNull<Self>) { in dec_ref()
522 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from()
564 ) -> impl PinInit<Devres<Self>, Error> + 'a { in new()
568 fn try_new(i2c_adapter: &I2cAdapter, i2c_board_info: &I2cBoardInfo) -> Result<Self> { in try_new()