Home
last modified time | relevance | path

Searched refs:BITS_PER_LONG (Results 1 – 25 of 49) sorted by relevance

12

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Doal_atomic.h79 #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/
Dump_kernel_descriptor_mapping.c17 #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/
Dbitops.h11 # 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()
Dmath64.h9 #if BITS_PER_LONG == 64
83 #elif BITS_PER_LONG == 32
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_defs.h928 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/
Dmali_kbase_defs.h1013 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/
Dpanfrost_device.h56 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/
Dmali_kbase_context.c162 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/
Dmali_kbase_context.c166 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/
Dmali_kbase_defs.h1003 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/
Dmali_kbase_defs.h992 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/
Dtypes.h38 #define BITS_PER_LONG 32 macro
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/include/
Dtypes.h40 #define BITS_PER_LONG 32 macro
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_clk_rate_trace_mgr.c263 #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/
Dcanvas_mgr.h39 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/
Dcanvas_mgr.h39 unsigned long canvas_map[(CANVAS_MAX_NUM / BITS_PER_LONG) + 1];
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_clk_rate_trace_mgr.c353 #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/
Dcanvas_mgr.c433 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/
Dcanvas_mgr.c432 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/
Dmali_osk_types.h47 #define BITS_PER_LONG (sizeof(long)*8) macro
/device/soc/st/common/platform/iwdg/
Dstm32mp1_iwdg.c27 #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/
Dmali_base_csf_kernel.h193 #define BASE_MEM_FIRST_FREE_ADDRESS ((BITS_PER_LONG << 12) + BASE_MEM_COOKIE_BASE)
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/net/utils/
Dnet_defs.h264 #define BITS_PER_LONG 32 macro
/device/soc/rockchip/rk3588/kernel/include/uapi/gpu/arm/bifrost/csf/
Dmali_base_csf_kernel.h199 ((BITS_PER_LONG << LOCAL_PAGE_SHIFT) + BASE_MEM_COOKIE_BASE)
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dosdep_service_bsd.h160 #define BITS_PER_LONG 32 macro
163 #if BITS_PER_LONG != 64 && !defined(CONFIG_KTIME_SCALAR)

12