Home
last modified time | relevance | path

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

/linux/drivers/gpu/nova-core/gsp/
H A Dcmdq.rs202 const RX_HDR_OFF: u32 = num::usize_into_u32::<{ mem::offset_of!(Msgq, rx) }>(); in new()
410 const POST_PTE_OFFSET: usize = core::mem::offset_of!(GspMem, cpuq);
413 pub(crate) const CMDQ_OFFSET: usize = core::mem::offset_of!(GspMem, cpuq)
414 + core::mem::offset_of!(Msgq, msgq)
418 pub(crate) const STATQ_OFFSET: usize = core::mem::offset_of!(GspMem, gspq)
419 + core::mem::offset_of!(Msgq, msgq)
/linux/rust/kernel/
H A Dauxiliary.rs27 mem::offset_of,
45 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver);
165 core::mem::offset_of!(bindings::auxiliary_device_id, driver_data);
283 const OFFSET: usize = offset_of!(bindings::auxiliary_device, dev);
H A Dpci.rs27 mem::offset_of,
68 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver);
235 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::pci_device_id, driver_data);
466 const OFFSET: usize = offset_of!(bindings::pci_dev, dev);
H A Dusb.rs30 offset_of,
47 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver);
246 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::usb_device_id, driver_info);
355 const OFFSET: usize = offset_of!(bindings::usb_interface, dev);
H A Di2c.rs27 mem::offset_of,
68 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::i2c_device_id, driver_data);
103 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver);
486 const OFFSET: usize = offset_of!(bindings::i2c_client, dev);
H A Dplatform.rs36 mem::offset_of,
54 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver);
325 const OFFSET: usize = offset_of!(bindings::platform_device, dev);
H A Djump_label.rs56 off = const ::core::mem::offset_of!($keytyp, $field),
H A Dlib.rs284 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 Dprocess.rs421 use core::mem::offset_of;
425 task: offset_of!(Process, task),
H A Dthread.rs706 core::mem::offset_of!(uapi::binder_fd_object, __bindgen_anon_1.fd); in translate_object()