Home
last modified time | relevance | path

Searched refs:offset_of (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/gpu/nova-core/gsp/
H A Dcmdq.rs200 const RX_HDR_OFF: u32 = num::usize_into_u32::<{ mem::offset_of!(Msgq, rx) }>(); in new()
437 const POST_PTE_OFFSET: usize = core::mem::offset_of!(GspMem, cpuq);
440 pub(crate) const CMDQ_OFFSET: usize = core::mem::offset_of!(GspMem, cpuq)
441 + core::mem::offset_of!(Msgq, msgq)
445 pub(crate) const STATQ_OFFSET: usize = core::mem::offset_of!(GspMem, gspq)
446 + core::mem::offset_of!(Msgq, msgq)
/linux/rust/kernel/
H A Dauxiliary.rs19 mem::offset_of,
148 core::mem::offset_of!(bindings::auxiliary_device_id, driver_data);
252 const OFFSET: usize = offset_of!(bindings::auxiliary_device, dev);
H A Dpci.rs27 mem::offset_of,
219 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::pci_device_id, driver_data);
450 const OFFSET: usize = offset_of!(bindings::pci_dev, dev);
H A Dusb.rs21 offset_of,
228 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::usb_device_id, driver_info);
337 const OFFSET: usize = offset_of!(bindings::usb_interface, dev);
H A Djump_label.rs56 off = const ::core::mem::offset_of!($keytyp, $field),
H A Di2c.rs27 mem::offset_of,
68 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::i2c_device_id, driver_data);
477 const OFFSET: usize = offset_of!(bindings::i2c_client, dev);
H A Dplatform.rs22 mem::offset_of,
294 const OFFSET: usize = offset_of!(bindings::platform_device, dev);
H A Dlib.rs274 let offset: usize = ::core::mem::offset_of!($Container, $($fields)*);
/linux/scripts/gdb/linux/
H A Dutils.py69 def offset_of(typeobj, field): function
76 offset_of(typeobj, member)).cast(typeobj)
/linux/rust/kernel/list/
H A Dimpl_list_item_mod.rs47 if false { let _: usize = ::core::mem::offset_of!(Self, $($field).*); }
/linux/drivers/android/binder/
H A Dthread.rs698 core::mem::offset_of!(uapi::binder_fd_object, __bindgen_anon_1.fd); in translate_object()