/device/soc/rockchip/rk2206/hardware/include/sys/ |
H A D | defs.h | 45 #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/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/ |
H A D | stddef.h | 24 #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/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
H A D | upg_start_up.h | 21 #ifndef offsetof 22 #define offsetof(type, member) ((hi_u32) & ((type *)0)->member) macro
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/devicetree/ |
H A D | mali_kbase_clk_rate_trace.c | 72 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/ |
H A D | mali_kbase_hwcnt_reader.h | 35 _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))
|
H A D | mali_kbase_jd.c | 1167 (stride == sizeof(struct base_jd_atom_v2) || stride == offsetof(struct base_jd_atom_v2, renderpass_id)); in kbase_jd_submit() 1182 if (stride != offsetof(struct base_jd_atom_v2, renderpass_id) && stride != sizeof(struct base_jd_atom_v2) && in kbase_jd_submit() 1183 stride != offsetof(struct base_jd_atom, renderpass_id) && stride != sizeof(struct base_jd_atom)) { in kbase_jd_submit() 1213 if (stride == offsetof(struct base_jd_atom_v2, renderpass_id)) { in kbase_jd_submit()
|
H A D | mali_kbase_gpuprops.c | 428 KBASE_GPUPROP_##name, offsetof(struct base_gpu_props, member), sizeof(((struct base_gpu_props *)0)->member) \
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/nuttx/include/ |
H A D | stddef.h | 64 * offsetof(type, member-designator) 69 * NOTE: This version of offsetof() depends on behaviors that could be 76 #define offsetof(a, b) ((size_t)(&(((a *)(0))->b))) macro
|
/device/soc/rockchip/rk3588/kernel/include/uapi/gpu/arm/bifrost/ |
H A D | mali_kbase_hwcnt_reader.h | 35 offsetof(struct kbase_hwcnt_reader_metadata, cycles)) 39 offsetof(struct kbase_hwcnt_reader_metadata, cycles))
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/ |
H A D | mali_kbase_timeline.c | 49 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/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/ |
H A D | mali_kbase_timeline.c | 49 offsetof(struct kbase_timeline, streams) 53 offsetof(struct kbase_timeline, streams)
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/rk/ |
H A D | mali_kbase_config_rk.c | 589 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/soc/rockchip/common/hardware/mpp/include/ |
H A D | mpp_common.h | 170 #define container_of(ptr, type, member) ((type *)((char *)(ptr)-offsetof(type, member)))
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_osk.h | 63 * This is the reverse of the operation 'offsetof'. This means that the 84 ((type *)( ((char *)ptr) - offsetof(type,member) ))
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_osk.h | 81 * This is the reverse of the operation 'offsetof'. This means that the 101 #define MALI_OSK_CONTAINER_OF(ptr, type, member) ((type *)(((char *)(ptr)) - offsetof(type, member)))
|
/device/soc/rockchip/common/sdk_linux/include/drm/ |
H A D | drm_drv.h | 614 ((type *)_devm_drm_dev_alloc(parent, driver, sizeof(type), offsetof(type, member)))
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_jd.c | 1252 stride == offsetof(struct base_jd_atom_v2, renderpass_id)); in kbase_jd_submit() 1267 if (stride != offsetof(struct base_jd_atom_v2, renderpass_id) && in kbase_jd_submit() 1269 stride != offsetof(struct base_jd_atom, renderpass_id) && in kbase_jd_submit() 1306 if (stride == offsetof(struct base_jd_atom_v2, renderpass_id)) { in kbase_jd_submit()
|
/device/soc/rockchip/common/sdk_linux/ipc/ |
H A D | util.c | 101 .head_offset = offsetof(struct kern_ipc_perm, khtnode),
102 .key_offset = offsetof(struct kern_ipc_perm, key),
|
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
H A D | mpp_common.h | 156 ((type *)((char *)(ptr) - offsetof(type, member)))
|
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
H A D | mpp_common.h | 156 ((type *)((char *)(ptr) - offsetof(type, member)))
|
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | mpp_common.h | 132 ((type *)((char *)(ptr) - offsetof(type, member)))
|
/device/soc/rockchip/common/sdk_linux/fs/xfs/ |
H A D | xfs_inode.c | 1914 .key_offset = offsetof(struct xfs_iunlink, iu_next_unlinked),
1915 .head_offset = offsetof(struct xfs_iunlink, iu_rhash_head),
2070 offset = offsetof(struct xfs_agi, agi_unlinked) + (sizeof(xfs_agino_t) * bucket_index);
in xfs_iunlink_update_bucket() 2087 offset = imap->im_boffset + offsetof(struct xfs_dinode, di_next_unlinked);
in xfs_iunlink_update_dinode()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_util.h | 255 #define oal_offset_of offsetof
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_gpuprops.c | 340 KBASE_GPUPROP_##name, offsetof(struct mali_base_gpu_props, member), \
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_gpuprops.c | 343 {KBASE_GPUPROP_ ## name, offsetof(struct mali_base_gpu_props, member), \
|