Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 25 of 33) sorted by relevance

12

/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/
Dhpm_common.h134 #define ATTR_ALIGN(alignment) __attribute__((aligned(alignment))) argument
139 #define ATTR_PLACE_AT_WITH_ALIGNMENT(section_name, alignment) \ argument
140 ATTR_PLACE_AT(section_name) ATTR_ALIGN(alignment)
143 #define ATTR_PLACE_AT_NONCACHEABLE_WITH_ALIGNMENT(alignment) \ argument
144 ATTR_PLACE_AT_NONCACHEABLE ATTR_ALIGN(alignment)
147 #define ATTR_PLACE_AT_NONCACHEABLE_BSS_WITH_ALIGNMENT(alignment) \ argument
148 ATTR_PLACE_AT_NONCACHEABLE_BSS ATTR_ALIGN(alignment)
152 #define ATTR_PLACE_AT_NONCACHEABLE_INIT_WITH_ALIGNMENT(alignment) \ argument
153 ATTR_PLACE_AT_NONCACHEABLE_INIT ATTR_ALIGN(alignment)
156 #define ATTR_RAMFUNC_WITH_ALIGNMENT(alignment) \ argument
[all …]
/device/soc/esp/esp32/components/heap/
Dmulti_heap.c38 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment)
254 void *multi_heap_aligned_alloc_impl_offs(multi_heap_handle_t heap, size_t size, size_t alignment, s… in multi_heap_aligned_alloc_impl_offs() argument
265 if(((alignment & (alignment - 1)) != 0) ||(!alignment)) { in multi_heap_aligned_alloc_impl_offs()
270 void *result = tlsf_memalign_offs(heap->heap_data, alignment, size, offset); in multi_heap_aligned_alloc_impl_offs()
283 void *multi_heap_aligned_alloc_impl(multi_heap_handle_t heap, size_t size, size_t alignment) in multi_heap_aligned_alloc_impl() argument
285 return multi_heap_aligned_alloc_impl_offs(heap, size, alignment, 0); in multi_heap_aligned_alloc_impl()
Dheap_caps.c543 IRAM_ATTR void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps) in heap_caps_aligned_alloc() argument
547 if(!alignment) { in heap_caps_aligned_alloc()
552 if((alignment & (alignment - 1)) != 0) { in heap_caps_aligned_alloc()
576 ret = multi_heap_aligned_alloc(heap->heap, size, alignment); in heap_caps_aligned_alloc()
596 void *heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps) in heap_caps_aligned_calloc() argument
603 void *ptr = heap_caps_aligned_alloc(alignment,size_bytes, caps); in heap_caps_aligned_calloc()
Dmulti_heap_internal.h30 void *multi_heap_aligned_alloc_impl(multi_heap_handle_t heap, size_t size, size_t alignment);
33 void *multi_heap_aligned_alloc_impl_offs(multi_heap_handle_t heap, size_t size, size_t alignment, s…
Dmulti_heap_poisoning.c188 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment) in multi_heap_aligned_alloc() argument
200 alignment, sizeof(poison_head_t)); in multi_heap_aligned_alloc()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_mem.c126 SIZE_PTR alignment = 0; in rtw_mem_init() local
144 alignment = tmpaddr & (RECVBUFF_ALIGN_SZ - 1); in rtw_mem_init()
145 skb_reserve(pskb, (RECVBUFF_ALIGN_SZ - alignment)); in rtw_mem_init()
/device/soc/esp/esp32/components/newlib/
Dheap.c79 void* memalign(size_t alignment, size_t n) in memalign() argument
81 return heap_caps_aligned_alloc(alignment, n, MALLOC_CAP_DEFAULT); in memalign()
/device/soc/esp/esp32/components/heap/include/
Desp_heap_caps.h122 void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps);
145 void *heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps);
Dmulti_heap.h41 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment);
/device/soc/esp/esp32/components/bootloader_support/src/
Dbootloader_flash.c387 size_t alignment = write_encrypted ? 32 : 4; in bootloader_flash_write() local
388 if ((dest_addr % alignment) != 0) { in bootloader_flash_write()
389 … ESP_LOGE(TAG, "bootloader_flash_write dest_addr 0x%x not %d-byte aligned", dest_addr, alignment); in bootloader_flash_write()
392 if ((size % alignment) != 0) { in bootloader_flash_write()
393 ESP_LOGE(TAG, "bootloader_flash_write size 0x%x not %d-byte aligned", size, alignment); in bootloader_flash_write()
/device/soc/amlogic/a311d/soc/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-media-legacy.dtsi28 alignment = <0x0 0x400000>;
42 alignment = <0x0 0x400000>;
50 alignment = <0x0 0x100000>;
Dmeson-g12b-unionpi-tiger.dts26 alignment = <0x0 0x400000>;
34 alignment = <0x0 0x400000>;
42 alignment = <0x0 0x400000>;
/device/soc/rockchip/common/hardware/mpp/include/
Dmpp_allocator.h26 size_t alignment; member
/device/soc/rockchip/rk3399/hardware/mpp/include/
Dmpp_allocator.h26 size_t alignment; member
/device/soc/rockchip/rk3588/hardware/mpp/include/
Dmpp_allocator.h27 size_t alignment; member
/device/soc/rockchip/rk3568/hardware/mpp/include/
Dmpp_allocator.h26 size_t alignment; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_hwcnt_types.h118 #define KBASE_HWCNT_ALIGN_UPWARDS(value, alignment) \ argument
119 (value + ((alignment - (value % alignment)) % alignment))
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_hwcnt_types.c36 …efine KBASE_HWCNT_ALIGN_UPWARDS(value, alignment) ((value) + (((alignment) - ((value) % (alignment argument
/device/soc/esp/esp32/components/osal/
Dliteos_m.c105 void* heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps);
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/iq/src/fw_lib/
Dacamera_math.c346 const uint32_t alignment = 128; // line offset has to be aligned at 128 bytes in acamera_line_offset() local
347 return ( bytes_per_pixel * line_len + alignment - 1 ) & ~( alignment - 1 ); in acamera_line_offset()
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/lens/src/fw_lib/
Dacamera_math.c346 const uint32_t alignment = 128; // line offset has to be aligned at 128 bytes in acamera_line_offset() local
347 return ( bytes_per_pixel * line_len + alignment - 1 ) & ~( alignment - 1 ); in acamera_line_offset()
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/fw_lib/
Dacamera_math.c346 const uint32_t alignment = 128; // line offset has to be aligned at 128 bytes in acamera_line_offset() local
347 return ( bytes_per_pixel * line_len + alignment - 1 ) & ~( alignment - 1 ); in acamera_line_offset()
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/sensor/src/fw_lib/
Dacamera_math.c346 const uint32_t alignment = 128; // line offset has to be aligned at 128 bytes in acamera_line_offset() local
347 return ( bytes_per_pixel * line_len + alignment - 1 ) & ~( alignment - 1 ); in acamera_line_offset()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/rtl8822c/sdio/
Drtl8822cs_recv.c53 SIZE_PTR alignment = 0; in alloc_recvbuf_skb() local
68 alignment = tmpaddr & (alignsz - 1); in alloc_recvbuf_skb()
69 skb_reserve(skb, alignsz - alignment); in alloc_recvbuf_skb()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Drecv_linux.c229 SIZE_PTR alignment = 0; in sdio_init_recvbuf_with_skb()
236 alignment = tmpaddr & (RECVBUFF_ALIGN_SZ - 1); in sdio_init_recvbuf_with_skb()
237 skb_reserve(rbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in sdio_init_recvbuf_with_skb()

12