Searched refs:offset_of (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | cmdq.rs | 200 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 D | auxiliary.rs | 19 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 D | pci.rs | 27 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 D | usb.rs | 21 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 D | jump_label.rs | 56 off = const ::core::mem::offset_of!($keytyp, $field),
|
| H A D | i2c.rs | 27 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 D | platform.rs | 22 mem::offset_of, 294 const OFFSET: usize = offset_of!(bindings::platform_device, dev);
|
| H A D | lib.rs | 274 let offset: usize = ::core::mem::offset_of!($Container, $($fields)*);
|
| /linux/scripts/gdb/linux/ |
| H A D | utils.py | 69 def offset_of(typeobj, field): function 76 offset_of(typeobj, member)).cast(typeobj)
|
| /linux/rust/kernel/list/ |
| H A D | impl_list_item_mod.rs | 47 if false { let _: usize = ::core::mem::offset_of!(Self, $($field).*); }
|
| /linux/drivers/android/binder/ |
| H A D | thread.rs | 698 core::mem::offset_of!(uapi::binder_fd_object, __bindgen_anon_1.fd); in translate_object()
|