Lines Matching defs:_
102 let pdev = unsafe { &*pdev.cast::<Device<device::CoreInternal<'_>>>() };
118 let pdev = unsafe { &*pdev.cast::<Device<device::CoreInternal<'_>>>() };
122 // and stored a `Pin<KBox<T::Data<'_>>>`.
123 let data = unsafe { pdev.as_ref().drvdata_borrow::<T::Data<'_>>() };
202 /// _pdev: &'bound platform::Device<Core<'_>>,
232 dev: &'bound Device<device::Core<'_>>,
246 fn unbind<'bound>(dev: &'bound Device<device::Core<'_>>, this: Pin<&Self::Data<'bound>>) {
247 let _ = (dev, this);
312 pub fn io_request_by_index(&self, index: u32) -> Option<IoRequest<'_>> {
320 pub fn io_request_by_name(&self, name: &CStr) -> Option<IoRequest<'_>> {
394 pub fn irq_by_index(&self, index: u32) -> Result<IrqRequest<'_>> {
408 pub fn optional_irq_by_index(&self, index: u32) -> Result<IrqRequest<'_>> {
421 pub fn irq_by_name(&self, name: &CStr) -> Result<IrqRequest<'_>> {
435 pub fn optional_irq_by_name(&self, name: &CStr) -> Result<IrqRequest<'_>> {