Home
last modified time | relevance | path

Searched refs:offsetof (Results 1 – 25 of 102) sorted by relevance

12345

/device/soc/esp/esp32/components/nvs_flash/src/
Dnvs_types.cpp28 result = esp_rom_crc32_le(result, p + offsetof(Item, nsIndex), in calculateCrc32()
29 offsetof(Item, crc32) - offsetof(Item, nsIndex)); in calculateCrc32()
30 result = esp_rom_crc32_le(result, p + offsetof(Item, key), sizeof(key)); in calculateCrc32()
31 result = esp_rom_crc32_le(result, p + offsetof(Item, data), sizeof(data)); in calculateCrc32()
39 result = esp_rom_crc32_le(result, p + offsetof(Item, nsIndex), in calculateCrc32WithoutValue()
40 offsetof(Item, datatype) - offsetof(Item, nsIndex)); in calculateCrc32WithoutValue()
41 result = esp_rom_crc32_le(result, p + offsetof(Item, key), sizeof(key)); in calculateCrc32WithoutValue()
42 result = esp_rom_crc32_le(result, p + offsetof(Item, chunkIndex), sizeof(chunkIndex)); in calculateCrc32WithoutValue()
/device/soc/rockchip/rk2206/hardware/include/sys/
Ddefs.h45 #ifndef offsetof
46 #define offsetof(type, field) \ macro
51 #define __offsetof(type, field) offsetof(type, field)
56 __DEQUALIFY(type *, (const volatile char *)(ptr) - offsetof(type, field))
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Dhwio.h65 (DOWNLOAD_CTRL_OFFSET + offsetof(struct download_cntl_t, ImageSize))
67 (DOWNLOAD_CTRL_OFFSET + offsetof(struct download_cntl_t, Flags))
69 (DOWNLOAD_CTRL_OFFSET + offsetof(struct download_cntl_t, Put))
71 (DOWNLOAD_CTRL_OFFSET + offsetof(struct download_cntl_t, TracePc))
73 (DOWNLOAD_CTRL_OFFSET + offsetof(struct download_cntl_t, Get))
75 (DOWNLOAD_CTRL_OFFSET + offsetof(struct download_cntl_t, Status))
77 (DOWNLOAD_CTRL_OFFSET + offsetof(struct download_cntl_t, DebugData))
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
Dupg_start_up.h21 #ifndef offsetof
22 #define offsetof(type, member) ((hi_u32) & ((type *)0)->member) macro
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
Dstddef.h24 #define offsetof(type, member) __builtin_offsetof(type, member) macro
26 #define offsetof(type, member) ((size_t)( (char *)&(((type *)0)->member) - (char *)0 )) macro
/device/soc/chipsea/cst85/liteos_m/sdk/modules/btdm/ble/ble_stack/ke/api/
Dble_ke_msg_struct.h42 return (struct ke_msg*) (((uint8_t*)param_ptr) - offsetof(struct ke_msg, param)); in ke_param2msg()
47 return (void*) (((uint8_t*) msg) + offsetof(struct ke_msg, param)); in ke_msg2param()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/
Dwireless.h31 #define IW_EV_COMPAT_LCP_LEN offsetof(struct __compat_iw_event, pointer)
32 #define IW_EV_COMPAT_POINT_OFF offsetof(struct compat_iw_point, length)
/device/soc/bestechnic/bes2600/liteos_m/components/utils/include/
Dplatform.h35 #ifndef offsetof
36 #define offsetof(TYPE, MEMBER) ((size_t) & ((TYPE *)0)->MEMBER) macro
41 (type *)( (char *)__mptr - offsetof(type,member) ); })
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/devicetree/
Dmali_kbase_clk_rate_trace.c72 compiletime_assert(offsetof(struct clk_notifier_data, clk) == in gpu_clk_notifier_register()
73 offsetof(struct kbase_gpu_clk_notifier_data, gpu_clk_handle), in gpu_clk_notifier_register()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_hwcnt_reader.h35 _IOC(_IOC_READ, KBASE_HWCNT_READER, 0x20, offsetof(struct kbase_hwcnt_reader_metadata, cycles))
38 _IOC(_IOC_WRITE, KBASE_HWCNT_READER, 0x21, offsetof(struct kbase_hwcnt_reader_metadata, cycles))
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_common/include/
Dbk_list.h21 #ifndef offsetof
22 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
27 #define list_entry(ptr, type, member) ((type *)((char *)ptr - offsetof(type,member)))
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/nuttx/include/
Dstddef.h76 #define offsetof(a, b) ((size_t)(&(((a *)(0))->b))) macro
/device/soc/rockchip/rk3588/kernel/include/uapi/gpu/arm/bifrost/
Dmali_kbase_hwcnt_reader.h35 offsetof(struct kbase_hwcnt_reader_metadata, cycles))
39 offsetof(struct kbase_hwcnt_reader_metadata, cycles))
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/net/utils/
Dnet_defs.h198 #ifndef offsetof
199 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/include/os/
Dutil.h31 ((type *)(((char *)(ptr)) - offsetof(type, field)))
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/
Dmali_kbase_timeline.c49 offsetof(struct kbase_timeline, streams) + sizeof(struct kbase_tlstream) * TL_STREAM_TYPE_OBJ;
52 offsetof(struct kbase_timeline, streams) + sizeof(struct kbase_tlstream) * TL_STREAM_TYPE_AUX;
/device/soc/chipsea/cst85/liteos_m/sdk/modules/console/api/
Dlnx_list.h47 #ifndef offsetof
54 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) macro
66 (type *)((char *)ptr - offsetof(type,member))
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/
Dmali_kbase_timeline.c49 offsetof(struct kbase_timeline, streams)
53 offsetof(struct kbase_timeline, streams)
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/wds/
Drtw_wds.c59 .key_offset = offsetof(struct rtw_wds_path, dst),
60 .head_offset = offsetof(struct rtw_wds_path, rhash),
522 .key_offset = offsetof(struct rtw_wds_gptr, src),
523 .head_offset = offsetof(struct rtw_wds_gptr, rhash),
/device/board/isoftstone/yangfan/common/mqtt/
DBUILD.gn29 "-Wno-invalid-offsetof",
71 "-Wno-invalid-offsetof",
/device/soc/esp/esp32/components/heap/
Dheap_tlsf_block_functions.h60 #define block_start_offset (offsetof(block_header_t, size) + sizeof(size_t))
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/rtkcmd/
Drtkcmd.c196 len = offsetof(struct sockaddr_un, sun_path) + strlen(UNIX_DOMAIN); in socketinit()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/net/
Dmac80211.h1149 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != in ieee80211_tx_info_clear_status()
1150 offsetof(struct ieee80211_tx_info, control.rates)); in ieee80211_tx_info_clear_status()
1151 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != in ieee80211_tx_info_clear_status()
1152 offsetof(struct ieee80211_tx_info, driver_rates)); in ieee80211_tx_info_clear_status()
1153 BUILD_BUG_ON(offsetof(struct ieee80211_tx_info, status.rates) != 8); in ieee80211_tx_info_clear_status()
1159 offsetof(struct ieee80211_tx_info, status.ack_signal) != 20); in ieee80211_tx_info_clear_status()
1162 offsetof(struct ieee80211_tx_info, status.ampdu_ack_len)); in ieee80211_tx_info_clear_status()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/rk/
Dmali_kbase_config_rk.c589 compiletime_assert(offsetof(struct clk_notifier_data, clk) == in gpu_clk_notifier_register()
590 offsetof(struct kbase_gpu_clk_notifier_data, gpu_clk_handle), in gpu_clk_notifier_register()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/
Drx.c2222 BUILD_BUG_ON(offsetof(struct ieee80211_key, in ieee80211_rx_h_defragment()
2224 offsetof(struct ieee80211_key, in ieee80211_rx_h_defragment()
2892 offsetof(struct ieee80211_tdls_data, u)) && in ieee80211_rx_h_data()
2953 if (skb_copy_bits(skb, offsetof(struct ieee80211_bar, control), in ieee80211_rx_h_ctrl()
3213 if (len < offsetof(struct ieee80211_mgmt, in ieee80211_rx_h_action()
4042 fastrx.da_offs = offsetof(struct ieee80211_hdr, addr1); in ieee80211_check_fast_rx()
4043 fastrx.sa_offs = offsetof(struct ieee80211_hdr, addr2); in ieee80211_check_fast_rx()
4047 fastrx.da_offs = offsetof(struct ieee80211_hdr, addr1); in ieee80211_check_fast_rx()
4048 fastrx.sa_offs = offsetof(struct ieee80211_hdr, addr3); in ieee80211_check_fast_rx()
4056 fastrx.da_offs = offsetof(struct ieee80211_hdr, addr3); in ieee80211_check_fast_rx()
[all …]

12345