/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
D | oal_atomic.h | 79 #define BITS_PER_LONG 32 macro 80 #define IS_BIT_SET(nr) (1UL << ((nr) % BITS_PER_LONG)) 81 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) 82 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) 229 #if BITS_PER_LONG == 64 in __ffs() 260 oal_bitops result = offset & ~(BITS_PER_LONG - 1); in find_next_bit() 267 offset %= BITS_PER_LONG; in find_next_bit() 271 if (size < BITS_PER_LONG) { in find_next_bit() 277 size -= BITS_PER_LONG; in find_next_bit() 278 result += BITS_PER_LONG; in find_next_bit() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/ |
D | ump_kernel_descriptor_mapping.c | 17 #define MALI_PAD_INT(x) (((x) + (BITS_PER_LONG - 1)) & ~(BITS_PER_LONG - 1)) 86 …_table->usage, old_table->usage, (sizeof(unsigned long)*map->current_nr_mappings) / BITS_PER_LONG); in ump_descriptor_mapping_allocate_mapping() 141 …(1, sizeof(ump_descriptor_table) + ((sizeof(unsigned long) * count) / BITS_PER_LONG) + (sizeof(voi… in descriptor_table_alloc() 145 …*)((u8 *)table + sizeof(ump_descriptor_table) + ((sizeof(unsigned long) * count) / BITS_PER_LONG)); in descriptor_table_alloc()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/ |
D | bitops.h | 11 # define aligned_byte_mask(n) (~0xffUL << (BITS_PER_LONG - 8 - 8*(n))) 210 #if BITS_PER_LONG == 32 in __ffs64() 213 #elif BITS_PER_LONG != 64 in __ffs64() 214 #error BITS_PER_LONG not 32 or 64 in __ffs64()
|
D | math64.h | 9 #if BITS_PER_LONG == 64 83 #elif BITS_PER_LONG == 32
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
D | mali_kbase_defs.h | 928 unsigned long hw_issues_mask[(BASE_HW_ISSUE_END + BITS_PER_LONG - 1) / BITS_PER_LONG]; 929 unsigned long hw_features_mask[(BASE_HW_FEATURE_END + BITS_PER_LONG - 1) / BITS_PER_LONG]; 1590 DECLARE_BITMAP(cookies, BITS_PER_LONG); 1591 struct kbase_va_region *pending_regions[BITS_PER_LONG];
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
D | mali_kbase_defs.h | 1013 unsigned long hw_issues_mask[(BASE_HW_ISSUE_END + BITS_PER_LONG - 1) / BITS_PER_LONG]; 1014 unsigned long hw_features_mask[(BASE_HW_FEATURE_END + BITS_PER_LONG - 1) / BITS_PER_LONG]; 1767 DECLARE_BITMAP(cookies, BITS_PER_LONG); 1768 struct kbase_va_region *pending_regions[BITS_PER_LONG];
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/gpu/panfrost/ |
D | panfrost_device.h | 56 unsigned long hw_features[64 / BITS_PER_LONG]; 57 unsigned long hw_issues[64 / BITS_PER_LONG];
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/context/ |
D | mali_kbase_context.c | 162 bitmap_copy(kctx->cookies, &cookies_mask, BITS_PER_LONG); in kbase_context_common_init() 324 kctx->cookies, BITS_PER_LONG); in kbase_context_sticky_resource_term() 327 BITS_PER_LONG); in kbase_context_sticky_resource_term()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/context/ |
D | mali_kbase_context.c | 166 bitmap_copy(kctx->cookies, &cookies_mask, BITS_PER_LONG); in kbase_context_common_init() 312 … bitmap_andnot(&pending_regions_to_clean, &pending_regions_to_clean, kctx->cookies, BITS_PER_LONG); in kbase_context_sticky_resource_term() 314 unsigned int cookie = find_first_bit(&pending_regions_to_clean, BITS_PER_LONG); in kbase_context_sticky_resource_term()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
D | mali_kbase_defs.h | 1003 unsigned long hw_issues_mask[(BASE_HW_ISSUE_END + BITS_PER_LONG - 1) / BITS_PER_LONG]; 1005 unsigned long hw_features_mask[(BASE_HW_FEATURE_END + BITS_PER_LONG - 1) / BITS_PER_LONG]; 1369 struct kbase_va_region *pending_regions[BITS_PER_LONG];
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
D | mali_kbase_defs.h | 992 unsigned long hw_issues_mask[(BASE_HW_ISSUE_END + BITS_PER_LONG - 1) / BITS_PER_LONG]; 994 unsigned long hw_features_mask[(BASE_HW_FEATURE_END + BITS_PER_LONG - 1) / BITS_PER_LONG]; 1351 struct kbase_va_region *pending_regions[BITS_PER_LONG];
|
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/include/ |
D | types.h | 38 #define BITS_PER_LONG 32 macro
|
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/include/ |
D | types.h | 40 #define BITS_PER_LONG 32 macro
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/ |
D | mali_kbase_clk_rate_trace_mgr.c | 263 #if BITS_PER_LONG == 64 in kbase_clk_rate_trace_manager_notify_all() 265 #elif BITS_PER_LONG == 32 in kbase_clk_rate_trace_manager_notify_all()
|
/device/soc/amlogic/a311d/soc/include/linux/amlogic/media/canvas/ |
D | canvas_mgr.h | 39 unsigned long canvas_map[(CANVAS_MAX_NUM / BITS_PER_LONG) + 1];
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/canvas/ |
D | canvas_mgr.h | 39 unsigned long canvas_map[(CANVAS_MAX_NUM / BITS_PER_LONG) + 1];
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
D | mali_kbase_clk_rate_trace_mgr.c | 353 #if BITS_PER_LONG == 64 in kbase_clk_rate_trace_manager_notify_all() 355 #elif BITS_PER_LONG == 32 in kbase_clk_rate_trace_manager_notify_all()
|
/device/soc/amlogic/a311d/soc/amlogic/canvas/ |
D | canvas_mgr.c | 433 for (i = 0; i < CANVAS_MAX_NUM / BITS_PER_LONG; i++) in canvas_pool_states_show() 437 i * BITS_PER_LONG, in canvas_pool_states_show() 438 (i + 1) * BITS_PER_LONG - 1, in canvas_pool_states_show()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/canvas/ |
D | canvas_mgr.c | 432 for (i = 0; i < CANVAS_MAX_NUM / BITS_PER_LONG; i++) in canvas_pool_states_show() 436 i * BITS_PER_LONG, in canvas_pool_states_show() 437 (i + 1) * BITS_PER_LONG - 1, in canvas_pool_states_show()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
D | mali_osk_types.h | 47 #define BITS_PER_LONG (sizeof(long)*8) macro
|
/device/soc/st/common/platform/iwdg/ |
D | stm32mp1_iwdg.c | 27 #define BITS_PER_LONG 32 macro 30 (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h))))
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/csf/ |
D | mali_base_csf_kernel.h | 193 #define BASE_MEM_FIRST_FREE_ADDRESS ((BITS_PER_LONG << 12) + BASE_MEM_COOKIE_BASE)
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/net/utils/ |
D | net_defs.h | 264 #define BITS_PER_LONG 32 macro
|
/device/soc/rockchip/rk3588/kernel/include/uapi/gpu/arm/bifrost/csf/ |
D | mali_base_csf_kernel.h | 199 ((BITS_PER_LONG << LOCAL_PAGE_SHIFT) + BASE_MEM_COOKIE_BASE)
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/ |
D | osdep_service_bsd.h | 160 #define BITS_PER_LONG 32 macro 163 #if BITS_PER_LONG != 64 && !defined(CONFIG_KTIME_SCALAR)
|