/device/soc/hpmicro/sdk/hpm_sdk/drivers/inc/ |
D | hpm_common.h | 134 #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/ |
D | multi_heap.c | 38 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()
|
D | heap_caps.c | 543 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()
|
D | multi_heap_internal.h | 30 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…
|
D | multi_heap_poisoning.c | 188 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/ |
D | rtw_mem.c | 126 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/ |
D | heap.c | 79 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/ |
D | esp_heap_caps.h | 122 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);
|
D | multi_heap.h | 41 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment);
|
/device/soc/esp/esp32/components/bootloader_support/src/ |
D | bootloader_flash.c | 387 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/ |
D | meson-g12b-media-legacy.dtsi | 28 alignment = <0x0 0x400000>; 42 alignment = <0x0 0x400000>; 50 alignment = <0x0 0x100000>;
|
D | meson-g12b-unionpi-tiger.dts | 26 alignment = <0x0 0x400000>; 34 alignment = <0x0 0x400000>; 42 alignment = <0x0 0x400000>;
|
/device/soc/rockchip/common/hardware/mpp/include/ |
D | mpp_allocator.h | 26 size_t alignment; member
|
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
D | mpp_allocator.h | 26 size_t alignment; member
|
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
D | mpp_allocator.h | 27 size_t alignment; member
|
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
D | mpp_allocator.h | 26 size_t alignment; member
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
D | mali_kbase_hwcnt_types.h | 118 #define KBASE_HWCNT_ALIGN_UPWARDS(value, alignment) \ argument 119 (value + ((alignment - (value % alignment)) % alignment))
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
D | mali_kbase_hwcnt_types.c | 36 …efine KBASE_HWCNT_ALIGN_UPWARDS(value, alignment) ((value) + (((alignment) - ((value) % (alignment… argument
|
/device/soc/esp/esp32/components/osal/ |
D | liteos_m.c | 105 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/ |
D | acamera_math.c | 346 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/ |
D | acamera_math.c | 346 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/ |
D | acamera_math.c | 346 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/ |
D | acamera_math.c | 346 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/ |
D | rtl8822cs_recv.c | 53 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/ |
D | recv_linux.c | 229 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()
|