Searched refs:offsetof (Results 1 - 25 of 138) sorted by relevance

123456

/haiku/src/add-ons/accelerants/radeon/
H A Dtheatre_out.c32 { THEATRE_VIP_MASTER_CNTL, offsetof( impactv_regs, tv_master_cntl ) },
33 { THEATRE_VIP_TVO_DATA_DELAY_A, offsetof( impactv_regs, tv_data_delay_a ) },
34 { THEATRE_VIP_TVO_DATA_DELAY_B, offsetof( impactv_regs, tv_data_delay_b ) },
36 { THEATRE_VIP_CLKOUT_CNTL, offsetof( impactv_regs, tv_clkout_cntl ) },
37 { THEATRE_VIP_PLL_CNTL0, offsetof( impactv_regs, tv_pll_cntl1 ) },
39 { THEATRE_VIP_HRESTART, offsetof( impactv_regs, tv_hrestart ) },
40 { THEATRE_VIP_VRESTART, offsetof( impactv_regs, tv_vrestart ) },
41 { THEATRE_VIP_FRESTART, offsetof( impactv_regs, tv_frestart ) },
42 { THEATRE_VIP_FTOTAL, offsetof( impactv_regs, tv_ftotal ) },
44 { THEATRE_VIP_CLOCK_SEL_CNTL, offsetof( impactv_reg
[all...]
H A Dinternal_tv_out.c33 { RADEON_TV_MASTER_CNTL, offsetof( impactv_regs, tv_master_cntl ) },
34 { RADEON_TV_HRESTART, offsetof( impactv_regs, tv_hrestart ) },
35 { RADEON_TV_VRESTART, offsetof( impactv_regs, tv_vrestart ) },
36 { RADEON_TV_FRESTART, offsetof( impactv_regs, tv_frestart ) },
37 { RADEON_TV_FTOTAL, offsetof( impactv_regs, tv_ftotal ) },
43 { RADEON_TV_PLL_CNTL, offsetof( impactv_regs, tv_tv_pll_cntl ) },
44 { RADEON_TV_PLL_CNTL1, offsetof( impactv_regs, tv_pll_cntl1 ) },
45 { RADEON_TV_PLL_FINE_CNTL, offsetof( impactv_regs, tv_pll_fine_cntl ) },
51 { RADEON_TV_HTOTAL, offsetof( impactv_regs, tv_htotal ) },
52 { RADEON_TV_HDISP, offsetof( impactv_reg
[all...]
/haiku/src/system/boot/platform/next_m68k/
H A Daligntest.c10 int o = offsetof(struct mon_global, mg_board_rev);
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dlists2.h22 #define SLLPTROFF(type,item,nextp) ((typeof(item))(((char *)(item)) + offsetof(item, nextp)))
23 #define SLLITEM2PTR(type,item,nextp) ((typeof(item))(((char *)(item)) + offsetof(item, nextp)))
24 #define SLLPTR2ITEM(type,ptr,nextp) ((typeof(ptr))(((char *)(ptr)) - offsetof(ptr, nextp)))
25 #define SLLNEXT(type,item,nextp) (*(typeof(item))(((char *)(item)) + offsetof(item, nextp)))
27 #define SLL_FIND(_head,_nextp,_func,_with) (typeof(_head))sll_find(offsetof(typeof(*_head),_nextp), (void *)(_head), _func, _with)
28 #define SLL_INSERT(_head,_nextp,_item) sll_insert_head(offsetof(typeof(*_head),_nextp), (void **)&(_head), _item)
29 //#define SLL_INSERT_TAIL(_head,_nextp,_item) (typeof(_head))sll_insert_tail(offsetof(typeof(*_head),_nextp), (void **)&(_head), _item)
30 #define SLL_INSERT_TAIL(_head,_nextp,_item) sll_insert_head(offsetof(typeof(*_head),_nextp), (void **)&(_head), _item)
31 #define SLL_DEQUEUE(_head,_nextp) (typeof(_head))sll_dequeue_tail(offsetof(typeof(*_head),_nextp), (void **)&(_head))
32 #define SLL_REMOVE(_head,_nextp,_item) sll_remove(offsetof(typeo
[all...]
H A Dlists.h26 #define LENT_TO_OBJ(_obtype, _sle, _moff) ((_obtype *)(((char *)(_sle)) - offsetof(_obtype, _moff)))
/haiku/headers/private/kernel/arch/x86/64/
H A Dcpu.h45 [rsp] "i" (offsetof(arch_thread, current_stack)),
46 [rip] "i" (offsetof(arch_thread, instruction_pointer))
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dsupport.h59 #ifndef offsetof
60 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/haiku/src/system/kernel/arch/ppc/
H A Dasm_offsets.cpp21 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
/haiku/src/tests/add-ons/kernel/file_systems/bfs/structureSizes/
H A DstructureSizes.cpp19 #define OFFSETOF(x, y) #x "." #y " at offset %lu\n", offsetof(x, y)
/haiku/src/system/libroot/posix/sys/
H A Dgetrusage.c46 offsetof(struct rusage, ru_maxrss));
/haiku/src/system/kernel/arch/arm64/
H A Dasm_offsets.cpp25 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
/haiku/headers/private/file_systems/
H A Dfs_ops_support.h39 const size_t reclen = offsetof(struct dirent, d_name) + nameLength + 1;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300phy.h34 #define AR_PHY_BASE offsetof(struct bb_reg_map, bb_chn_reg_map) /* base address of phy regs */
40 #define AR_CHAN_BASE offsetof(struct bb_reg_map, bb_chn_reg_map)
41 #define AR_CHAN_OFFSET(_x) (AR_CHAN_BASE + offsetof(struct chn_reg_map, _x))
293 #define AR_MRC_BASE offsetof(struct bb_reg_map, bb_mrc_reg_map)
294 #define AR_MRC_OFFSET(_x) (AR_MRC_BASE + offsetof(struct mrc_reg_map, _x))
328 #define AR_BBB_BASE offsetof(struct bb_reg_map, bb_bbb_reg_map)
329 #define AR_BBB_OFFSET(_x) (AR_BBB_BASE + offsetof(struct bbb_reg_map, _x))
336 #define AR_AGC_BASE offsetof(struct bb_reg_map, bb_agc_reg_map)
337 #define AR_AGC_OFFSET(_x) (AR_AGC_BASE + offsetof(struct agc_reg_map, _x))
523 #define AR_SM_BASE offsetof(struc
[all...]
/haiku/src/tools/fixup_next_boot_floppy/
H A Dfixup_next_boot_floppy.c17 #define DL_SIZE (offsetof(struct disk_label, dl_un.DL_v3_checksum) \
19 #define SUM_CNT (offsetof(struct disk_label, dl_un.DL_v3_checksum) \
/haiku/src/add-ons/kernel/busses/virtio/virtio_pci/
H A Dvirtio_pci.cpp171 + offsetof(struct virtio_pci_common_cfg, config_msix_vector));
188 + offsetof(struct virtio_pci_common_cfg, queue_select));
191 + offsetof(struct virtio_pci_common_cfg, queue_msix_vector));
233 + offsetof(struct virtio_pci_common_cfg, device_feature_select));
235 + offsetof(struct virtio_pci_common_cfg, device_feature));
256 + offsetof(struct virtio_pci_common_cfg, device_feature_select));
258 + offsetof(struct virtio_pci_common_cfg, device_feature));
278 + offsetof(struct virtio_pci_common_cfg, device_status));
293 + offsetof(struct virtio_pci_common_cfg, device_status));
400 + offsetof(struc
[all...]
/haiku/headers/private/kernel/util/
H A Dfs_trim_support.h67 return user_memcpy(buffer, trimData, offsetof(fs_trim_data, ranges));
/haiku/src/system/kernel/arch/riscv64/
H A Dasm_offsets.cpp24 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
/haiku/src/system/kernel/arch/arm/
H A Dasm_offsets.cpp24 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DSymlink.h35 { return offsetof(SymlinkHeader, sl_crc); }
H A DInode.h20 #define INODE_CRC_OFF offsetof(Inode::Dinode, di_crc)
29 (HAS_V3INODES(volume) ? sizeof(Inode::Dinode) : offsetof(Inode::Dinode, di_crc))
128 #define XFS_BLOCK_CRC_OFF offsetof(struct BlockInfoV5, crc)
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_spec.h351 #ifndef offsetof
352 #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) macro
358 nvme_static_assert(0x00 == offsetof(struct nvme_registers, cap),
360 nvme_static_assert(0x08 == offsetof(struct nvme_registers, vs),
362 nvme_static_assert(0x0C == offsetof(struct nvme_registers, intms),
364 nvme_static_assert(0x10 == offsetof(struct nvme_registers, intmc),
366 nvme_static_assert(0x14 == offsetof(struct nvme_registers, cc),
368 nvme_static_assert(0x1C == offsetof(struct nvme_registers, csts),
370 nvme_static_assert(0x20 == offsetof(struct nvme_registers, nssr),
372 nvme_static_assert(0x24 == offsetof(struc
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_config.c40 #define FUSE_LIB_OPT(t, p, v) { t, offsetof(struct fuse_config, p), v }
73 #define FUSE_MOUNT_OPT(t, p) { t, offsetof(struct mount_opts, p), 1 }
/haiku/src/system/kernel/arch/m68k/
H A Dasm_offsets.cpp22 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
/haiku/src/libs/bsd/
H A Dwait.c64 offsetof(struct rusage, ru_maxrss));
/haiku/src/system/kernel/arch/x86/
H A Dasm_offsets.cpp24 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));

Completed in 148 milliseconds

123456