/haiku/src/add-ons/accelerants/radeon/ |
H A D | theatre_out.c | 32 { 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_regs, tv_clock_sel_cntl ) }, [all …]
|
H A D | internal_tv_out.c | 33 { 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_regs, tv_hdisp ) }, [all …]
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | lists2.h | 22 #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),… 28 #define SLL_INSERT(_head,_nextp,_item) sll_insert_head(offsetof(typeof(*_head),_nextp), (void **)&(… 30 #define SLL_INSERT_TAIL(_head,_nextp,_item) sll_insert_head(offsetof(typeof(*_head),_nextp), (void … 31 #define SLL_DEQUEUE(_head,_nextp) (typeof(_head))sll_dequeue_tail(offsetof(typeof(*_head),_nextp), … 32 #define SLL_REMOVE(_head,_nextp,_item) sll_remove(offsetof(typeof(*_head),_nextp), (void **)&(_head…
|
H A D | lists.h | 26 #define LENT_TO_OBJ(_obtype, _sle, _moff) ((_obtype *)(((char *)(_sle)) - offsetof(_obtype, _moff)))
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300phy.h | 34 #define AR_PHY_BASE offsetof(struct bb_reg_map, bb_chn_reg_map) /* base address of phy reg… 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(struct bb_reg_map, bb_sm_reg_map) [all …]
|
H A D | ar9300reg.h | 26 #define AR_MAC_DMA_OFFSET(_x) offsetof(struct mac_dma_reg, _x) 447 #define AR_MAC_QCU_OFFSET(_x) offsetof(struct mac_qcu_reg, _x) 550 #define AR_MAC_DCU_OFFSET(_x) offsetof(struct mac_dcu_reg, _x) 728 #define AR9300_HOSTIF_OFFSET(_x) offsetof(struct host_intf_reg, _x) 729 #define AR9340_HOSTIF_OFFSET(_x) offsetof(struct host_intf_reg_ar9340, _x) 1090 #define AR_OTP_EFUSE_OFFSET(_x) offsetof(struct efuse_reg_WLAN, _x) 1100 #define AR_RTC_OFFSET(_x) offsetof(struct rtc_reg, _x) 1171 #define AR_RTC_SYNC_OFFSET(_x) offsetof(struct rtc_sync_reg, _x) 1211 #define AR_AN_OFFSET(_x) offsetof(struct analog_intf_reg_csr, _x) 1310 #define AR_MAC_PCU_OFFSET(_x) offsetof(struct mac_pcu_reg, _x) [all …]
|
/haiku/src/system/kernel/arch/arm64/ |
H A D | asm_offsets.cpp | 25 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member)); 51 STATIC_ASSERT(offsetof(iframe, fp) == offsetof(iframe, x) + 29 * 8);
|
/haiku/headers/private/kernel/arch/x86/64/ |
H A D | cpu.h | 45 [rsp] "i" (offsetof(arch_thread, current_stack)), in x86_context_switch() 46 [rip] "i" (offsetof(arch_thread, instruction_pointer)) in x86_context_switch()
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_spec.h | 351 #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(struct nvme_registers, aqa), [all …]
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | support.h | 59 #ifndef offsetof 60 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
|
/haiku/src/add-ons/kernel/busses/virtio/virtio_pci/ |
H A D | virtio_pci.cpp | 172 + offsetof(struct virtio_pci_common_cfg, config_msix_vector)); in virtio_pci_setup_msix_interrupts() 189 + offsetof(struct virtio_pci_common_cfg, queue_select)); in virtio_pci_setup_msix_interrupts() 192 + offsetof(struct virtio_pci_common_cfg, queue_msix_vector)); in virtio_pci_setup_msix_interrupts() 234 + offsetof(struct virtio_pci_common_cfg, device_feature_select)); in read_host_features() 236 + offsetof(struct virtio_pci_common_cfg, device_feature)); in read_host_features() 257 + offsetof(struct virtio_pci_common_cfg, device_feature_select)); in write_guest_features() 259 + offsetof(struct virtio_pci_common_cfg, device_feature)); in write_guest_features() 279 + offsetof(struct virtio_pci_common_cfg, device_status)); in get_status() 294 + offsetof(struct virtio_pci_common_cfg, device_status)); in set_status() 411 + offsetof(struct virtio_pci_common_cfg, queue_select)); in get_queue_ring_size() [all …]
|
/haiku/src/system/boot/platform/next_m68k/ |
H A D | aligntest.c | 10 int o = offsetof(struct mon_global, mg_board_rev); in main()
|
/haiku/src/tools/fixup_next_boot_floppy/ |
H A D | fixup_next_boot_floppy.c | 17 #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/system/kernel/arch/ppc/ |
H A D | asm_offsets.cpp | 21 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
|
/haiku/src/tests/add-ons/kernel/file_systems/bfs/structureSizes/ |
H A D | structureSizes.cpp | 19 #define OFFSETOF(x, y) #x "." #y " at offset %lu\n", offsetof(x, y)
|
/haiku/headers/private/file_systems/ |
H A D | fs_ops_support.h | 39 const size_t reclen = offsetof(struct dirent, d_name) + nameLength + 1; in next_dirent()
|
/haiku/src/system/libroot/posix/sys/ |
H A D | getrusage.c | 46 offsetof(struct rusage, ru_maxrss)); in _getrusage_current()
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | fuse_config.c | 40 #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/riscv64/ |
H A D | asm_offsets.cpp | 24 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
|
/haiku/headers/private/kernel/util/ |
H A D | fs_trim_support.h | 67 return user_memcpy(buffer, trimData, offsetof(fs_trim_data, ranges)); in copy_trim_data_to_user()
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | Symlink.h | 35 { return offsetof(SymlinkHeader, sl_crc); } in CRCOffset()
|
H A D | Inode.h | 20 #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/system/kernel/arch/arm/ |
H A D | asm_offsets.cpp | 24 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
|
/haiku/src/add-ons/kernel/bus_managers/virtio/ |
H A D | VirtioBalloonDevice.cpp | 240 offsetof(struct virtio_balloon_config, num_pages), in _DesiredSize() 256 offsetof(struct virtio_balloon_config, actual), in _UpdateSize()
|
/haiku/src/system/kernel/arch/m68k/ |
H A D | asm_offsets.cpp | 22 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
|