Searched refs:offsetof (Results 1 - 25 of 139) sorted by path

123456

/haiku/headers/build/gcc-2.95.3/
H A Dstddef.h333 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/haiku/src/add-ons/accelerants/radeon/
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...]
H A Doverlay_management.c187 node = (overlay_buffer_node *)((char *)ob - offsetof( overlay_buffer_node, buffer ));
371 si->pending_overlay.on = (overlay_buffer_node *)((char *)ob - offsetof( overlay_buffer_node, buffer ));
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...]
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Ddevice_scan.cpp120 >= (int)offsetof(scsi_res_inquiry, _res74)) {
/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/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...]
H A Dar9300reg.h26 #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(struc
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c5293 offsetof(struct wpi_shared, next));
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dattrlist.c192 ale->name_offset = offsetof(ATTR_LIST_ENTRY, name);
H A Dsupport.h59 #ifndef offsetof
60 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/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/add-ons/kernel/generic/scsi_periph/
H A Derror_handling.cpp29 < (int)offsetof(scsi_sense, add_sense_length) + 1) {
/haiku/src/add-ons/kernel/network/protocols/icmp/
H A Dicmp.cpp68 typedef NetBufferField<uint16, offsetof(icmp_header, checksum)>
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap.cpp47 typedef NetBufferField<uint16, offsetof(hci_acl_header, alen)> AclLenField;
/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dvnet.h102 counter_u64_add(VNET(name)[offsetof(type, f) / sizeof(uint64_t)], (v))
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_uipc_mbuf.c132 CTASSERT(MSIZE - offsetof(struct mbuf, m_dat) == MLEN);
133 CTASSERT(MSIZE - offsetof(struct mbuf, m_pktdat) == MHLEN);
139 CTASSERT(offsetof(struct mbuf, m_dat) % 8 == 0);
140 CTASSERT(offsetof(struct mbuf, m_pktdat) % 8 == 0);
155 CTASSERT(offsetof(struct mbuf, m_dat) == 32);
159 CTASSERT(offsetof(struct mbuf, m_dat) == 24);
/haiku/src/libs/stdc++/legacy/
H A Deditbuf.cc647 return (edit_buffer *)((char*)mark - offsetof(edit_buffer, end_mark));
/haiku/src/system/kernel/arch/m68k/
H A Dasm_offsets.cpp22 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
/haiku/src/system/kernel/arch/ppc/
H A Dasm_offsets.cpp21 DEFINE_MACRO(prefix##_##member, offsetof(struct structure, member));
/haiku/src/system/kernel/arch/x86/
H A Dasm_offsets.cpp24 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/tests/add-ons/kernel/file_systems/random_file_actions/
H A Drandom_file_actions.cpp299 uint32 count = (kBlockSize - offsetof(block_identifier, data)) / 2;
300 offset += offsetof(block_identifier, data);
/haiku/headers/private/file_systems/
H A Dfs_ops_support.h39 const size_t reclen = offsetof(struct dirent, d_name) + nameLength + 1;
/haiku/headers/private/fs_shell/
H A Dfssh_api_wrapper.h174 #undef offsetof macro
175 #define offsetof(type,member) fssh_offsetof(type,member) macro

Completed in 300 milliseconds

123456