Lines Matching full:let
63 let adev = unsafe { &*adev.cast::<Device<device::CoreInternal>>() };
67 let id = unsafe { &*id.cast::<DeviceId>() };
68 let info = T::ID_TABLE.info(id.index());
71 let data = T::probe(adev, info)?;
83 let adev = unsafe { &*adev.cast::<Device<device::CoreInternal>>() };
108 let name = name.to_bytes_with_nul();
109 let modname = modname.to_bytes_with_nul();
115 let mut id: bindings::auxiliary_device_id = unsafe { core::mem::zeroed() };
117 let mut i = 0;
126 let mut j = 0;
220 let ptr: *const Self = self;
222 let ptr: *const Device = ptr.cast();
224 let this = unsafe { &*ptr };
234 let adev = unsafe { container_of!(dev, bindings::auxiliary_device, dev) };
238 let _ = unsafe { KBox::<Opaque<bindings::auxiliary_device>>::from_raw(adev.cast()) };
256 let adev: *mut bindings::auxiliary_device = obj.cast().as_ptr();
260 let dev = unsafe { addr_of_mut!((*adev).dev) };
271 let dev = unsafe { addr_of_mut!((*self.as_raw()).dev) };
299 let boxed = KBox::new(Opaque::<bindings::auxiliary_device>::zeroed(), GFP_KERNEL)?;
300 let adev = boxed.get();
316 let _ = KBox::into_raw(boxed);
322 let ret = unsafe { bindings::__auxiliary_device_add(adev, modname.as_char_ptr()) };