Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 1651) sorted by relevance

12345678910>>...67

/device/soc/esp/esp32/components/xtensa/include/xtensa/
Dcore-macros.h193 # define _XTHAL_DCACHE_BLOCK_UPGRADE(addr, size, type) \ argument
200 # define _XTHAL_DCACHE_BLOCK_DOWNGRADE(addr, size, type) \ argument
211 # define _XTHAL_DCACHE_BLOCK_DOWNGRADE_MAX(addr, size, type, max) \ argument
221 # define xthal_dcache_block_invalidate(addr, size) do { \ argument
224 # define xthal_dcache_block_writeback(addr, size) do { \ argument
227 # define xthal_dcache_block_writeback_inv(addr, size) do { \ argument
231 # define xthal_dcache_block_invalidate_max(addr, size, max) do { \ argument
234 # define xthal_dcache_block_writeback_max(addr, size, max) do { \ argument
237 # define xthal_dcache_block_writeback_inv_max(addr, size, max) do { \ argument
243 # define xthal_dcache_block_prefetch_read_write(addr, size) do { \ argument
[all …]
Dxtruntime-frames.h35 #define STRUCT_FIELD(ctype,size,pre,name) pre##name: .space size argument
36 #define STRUCT_AFIELD(ctype,size,pre,name,n) pre##name: .if n ; .space (size)*(n) ; .endif argument
37 #define STRUCT_AFIELD_A(ctype,size,align,pre,name,n) .balign align ; pre##name: .if n ; .space (siz… argument
41 #define STRUCT_FIELD(ctype,size,pre,name) ctype name; argument
42 #define STRUCT_AFIELD(ctype,size,pre,name,n) ctype name[n]; argument
43 #define STRUCT_AFIELD_A(ctype,size,align,pre,name,n) ctype name[n] __attribute__((aligned(align))); argument
/device/soc/esp/esp32/components/bt/common/osi/include/osi/
Dallocator.h45 #define osi_malloc(size) \ argument
55 #define osi_calloc(size) \ argument
67 #define osi_malloc(size) \ argument
75 #define osi_calloc(size) \ argument
126 #define osi_malloc(size) heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLO… argument
127 #define osi_calloc(size) heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_DEFAULT|MA… argument
129 #define osi_malloc(size) malloc((size)) argument
130 #define osi_calloc(size) calloc(1, (size)) argument
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6360/
Dhpm_l1c_drv.c14 #define ASSERT_ADDR_SIZE(addr, size) do { \ argument
19 static void l1c_op(uint8_t opcode, uint32_t address, uint32_t size) in l1c_op()
97 void l1c_dc_fill_lock(uint32_t address, uint32_t size) in l1c_dc_fill_lock()
103 void l1c_dc_invalidate(uint32_t address, uint32_t size) in l1c_dc_invalidate()
109 void l1c_dc_writeback(uint32_t address, uint32_t size) in l1c_dc_writeback()
115 void l1c_dc_flush(uint32_t address, uint32_t size) in l1c_dc_flush()
121 void l1c_ic_invalidate(uint32_t address, uint32_t size) in l1c_ic_invalidate()
127 void l1c_ic_fill_lock(uint32_t address, uint32_t size) in l1c_ic_fill_lock()
/device/soc/hpmicro/sdk/hpm_sdk/soc/HPM6750/
Dhpm_l1c_drv.c14 #define ASSERT_ADDR_SIZE(addr, size) do { \ argument
19 static void l1c_op(uint8_t opcode, uint32_t address, uint32_t size) in l1c_op()
97 void l1c_dc_fill_lock(uint32_t address, uint32_t size) in l1c_dc_fill_lock()
103 void l1c_dc_invalidate(uint32_t address, uint32_t size) in l1c_dc_invalidate()
109 void l1c_dc_writeback(uint32_t address, uint32_t size) in l1c_dc_writeback()
115 void l1c_dc_flush(uint32_t address, uint32_t size) in l1c_dc_flush()
121 void l1c_ic_invalidate(uint32_t address, uint32_t size) in l1c_ic_invalidate()
127 void l1c_ic_fill_lock(uint32_t address, uint32_t size) in l1c_ic_fill_lock()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/libraries/hal_flash/
Dhal_flash.c96 uint32_t hal_flash_read(const uint32_t addr, uint8_t *buf, const uint32_t size) in hal_flash_read()
101 uint32_t hal_flash_write(const uint32_t addr, const uint8_t *buf, const uint32_t size) in hal_flash_write()
106 uint32_t hal_flash_write_r(const uint32_t addr, const uint8_t *buf, const uint32_t size) in hal_flash_write_r()
155 bool hal_flash_erase(const uint32_t addr, const uint32_t size) in hal_flash_erase()
165 void hal_flash_get_info(uint32_t *id, uint32_t *size) in hal_flash_get_info()
194 uint32_t hal_flash_read(const uint32_t addr, uint8_t *buf, const uint32_t size) in hal_flash_read()
200 const uint32_t size) in hal_flash_write()
205 bool hal_flash_erase(const uint32_t addr, const uint32_t size) in hal_flash_erase()
215 void hal_flash_get_info(uint32_t *id, uint32_t *size) in hal_flash_get_info()
/device/soc/st/common/platform/uart/
DKRecvBuf.c28 UINT32 size; in KRecvBufUsedSize() local
38 STATIC UINT32 KRecvBufWriteLinear(KRecvBuf *krbCB, const CHAR *buf, UINT32 size) in KRecvBufWriteLinear()
68 STATIC UINT32 KRecvBufWriteLoop(KRecvBuf *krbCB, const CHAR *buf, UINT32 size) in KRecvBufWriteLoop()
93 UINT32 KRecvBufWrite(KRecvBuf *krbCB, const CHAR *buf, UINT32 size) in KRecvBufWrite()
114 STATIC UINT32 KRecvBufReadLinear(KRecvBuf *krbCB, const CHAR *buf, UINT32 size) in KRecvBufReadLinear()
145 STATIC UINT32 KRecvBufReadLoop(KRecvBuf *krbCB, const CHAR *buf, UINT32 size) in KRecvBufReadLoop()
170 UINT32 KRecvBufRead(KRecvBuf *krbCB, CHAR *buf, UINT32 size) in KRecvBufRead()
191 UINT32 KRecvBufInit(KRecvBuf *krbCB, CHAR *fifo, UINT32 size) in KRecvBufInit()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
Dosal_addr.c36 void *osal_ioremap(unsigned long phys_addr, unsigned long size) in osal_ioremap()
42 void *osal_ioremap_nocache(unsigned long phys_addr, unsigned long size) in osal_ioremap_nocache()
52 void *osal_ioremap_cached(unsigned long phys_addr, unsigned long size) in osal_ioremap_cached()
61 void *osal_ioremap_wc(unsigned long phys_addr, unsigned long size) in osal_ioremap_wc()
69 void osal_iounmap(void *addr, unsigned long size) in osal_iounmap()
87 int osal_access_ok(int type, const void *addr, unsigned long size) in osal_access_ok()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
Dosal_addr.c85 void *osal_kmalloc(unsigned int module_id, unsigned long size, unsigned int osal_gfp_flag) in osal_kmalloc()
117 void *osal_vmalloc(unsigned int module_id, unsigned long size) in osal_vmalloc()
149 void *osal_ioremap(unsigned long phys_addr, unsigned long size) in osal_ioremap()
155 void *osal_ioremap_nocache(unsigned long phys_addr, unsigned long size) in osal_ioremap_nocache()
165 void *osal_ioremap_cached(unsigned long phys_addr, unsigned long size) in osal_ioremap_cached()
193 int osal_access_ok(int type, const void *addr, unsigned long size) in osal_access_ok()
220 void *osal_blockmem_vmap(unsigned long phys_addr, unsigned long size) in osal_blockmem_vmap()
280 void osal_blockmem_free(unsigned long phys_addr, unsigned long size) in osal_blockmem_free()
/device/soc/esp/esp32/components/nvs_flash/src/
Dnvs_partition.cpp34 esp_err_t NVSPartition::read_raw(size_t src_offset, void* dst, size_t size) in read_raw()
39 esp_err_t NVSPartition::read(size_t src_offset, void* dst, size_t size) in read()
48 esp_err_t NVSPartition::write_raw(size_t dst_offset, const void* src, size_t size) in write_raw()
53 esp_err_t NVSPartition::write(size_t dst_offset, const void* src, size_t size) in write()
62 esp_err_t NVSPartition::erase_range(size_t dst_offset, size_t size) in erase_range()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_os/liteos_m_mst/
Dmem_arch.c56 void *os_realloc(void *ptr, size_t size) in os_realloc()
63 void *os_malloc_debug(const char *func_name, int line, size_t size, int need_zero) in os_malloc_debug()
78 void *os_malloc(size_t size) in os_malloc()
83 void * os_zalloc(size_t size) in os_zalloc()
92 void *os_malloc_debug(const char *func_name, int line, size_t size, int need_zero) in os_malloc_debug()
127 void* os_malloc_wifi_buffer(size_t size) in os_malloc_wifi_buffer()
137 void *psram_malloc_debug(const char *func_name, int line, size_t size, int need_zero) in psram_malloc_debug()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/partition_table/
Dflash_partition_table.c100 hi_u32 hi_get_hilink_partition_table(hi_u32 *addr, hi_u32 *size) in hi_get_hilink_partition_table()
113 hi_u32 hi_get_hilink_pki_partition_table(hi_u32 *addr, hi_u32 *size) in hi_get_hilink_pki_partition_table()
126 hi_u32 hi_get_crash_partition_table(hi_u32 *addr, hi_u32 *size) in hi_get_crash_partition_table()
139 hi_u32 hi_get_fs_partition_table(hi_u32 *addr, hi_u32 *size) in hi_get_fs_partition_table()
152 hi_u32 hi_get_normal_nv_partition_table(hi_u32 *addr, hi_u32 *size) in hi_get_normal_nv_partition_table()
165 hi_u32 hi_get_normal_nv_backup_partition_table(hi_u32 *addr, hi_u32 *size) in hi_get_normal_nv_backup_partition_table()
178 hi_u32 hi_get_usr_partition_table(hi_u32 *addr, hi_u32 *size) in hi_get_usr_partition_table()
191 hi_u32 hi_get_factory_bin_partition_table(hi_u32 *addr, hi_u32 *size) in hi_get_factory_bin_partition_table()
/device/soc/esp/esp32/components/bootloader_support/src/
Dbootloader_flash.c55 const void *bootloader_mmap(uint32_t src_addr, uint32_t size) in bootloader_mmap()
80 esp_err_t bootloader_flash_read(size_t src, void *dest, size_t size, bool allow_decrypt) in bootloader_flash_read()
89 esp_err_t bootloader_flash_write(size_t dest_addr, void *src, size_t size, bool write_encrypted) in bootloader_flash_write()
107 esp_err_t bootloader_flash_erase_range(uint32_t start_addr, uint32_t size) in bootloader_flash_erase_range()
168 const void *bootloader_mmap(uint32_t src_addr, uint32_t size) in bootloader_mmap()
273 static esp_err_t bootloader_flash_read_no_decrypt(size_t src_addr, void *dest, size_t size) in bootloader_flash_read_no_decrypt()
299 static esp_err_t bootloader_flash_read_allow_decrypt(size_t src_addr, void *dest, size_t size) in bootloader_flash_read_allow_decrypt()
362 esp_err_t bootloader_flash_read(size_t src_addr, void *dest, size_t size, bool allow_decrypt) in bootloader_flash_read()
384 esp_err_t bootloader_flash_write(size_t dest_addr, void *src, size_t size, bool write_encrypted) in bootloader_flash_write()
418 esp_err_t bootloader_flash_erase_range(uint32_t start_addr, uint32_t size) in bootloader_flash_erase_range()
/device/soc/esp/esp32/components/newlib/
Dheap.c29 void* malloc(size_t size) in malloc()
34 void* calloc(size_t n, size_t size) in calloc()
39 void* realloc(void* ptr, size_t size) in realloc()
49 void* _malloc_r(struct _reent *r, size_t size) in _malloc_r()
59 void* _realloc_r(struct _reent *r, void* ptr, size_t size) in _realloc_r()
64 void* _calloc_r(struct _reent *r, size_t nmemb, size_t size) in _calloc_r()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/os/
Dmem.h39 #define os_malloc(size) os_malloc_debug((const char*)__FUNCTION__,__LINE__,size, 0) argument
41 #define os_zalloc(size) os_malloc_debug((const char*)__FUNCTION__,__LINE__,size, 1) argument
42 #define psram_malloc(size) psram_malloc_debug((const char*)__FUNCTION__,__LINE__,size, 0) argument
43 #define psram_zalloc(size) psram_malloc_debug((const char*)__FUNCTION__,__LINE__,size, 1) argument
/device/soc/rockchip/common/sdk_linux/include/linux/
Ddma-mapping.h151 …ne dma_addr_t dma_map_page_attrs(struct device *dev, struct page *page, size_t offset, size_t size, in dma_map_page_attrs()
156 static inline void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, enum dma_… in dma_unmap_page_attrs()
169 static inline dma_addr_t dma_map_resource(struct device *dev, phys_addr_t phys_addr, size_t size, in dma_map_resource()
174 static inline void dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size, enum dma_da… in dma_unmap_resource()
178 static inline void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size, in dma_sync_single_for_cpu()
182 static inline void dma_sync_single_for_device(struct device *dev, dma_addr_t addr, size_t size, in dma_sync_single_for_device()
198 static inline void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t … in dma_alloc_attrs()
203 static void dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle, … in dma_free_attrs()
206 static inline void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t… in dmam_alloc_attrs()
211 static inline void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_… in dmam_free_coherent()
[all …]
Ddma-map-ops.h136 static inline int dma_contiguous_reserve_area(phys_addr_t size, in dma_contiguous_reserve_area()
156 static inline struct page *dma_alloc_contiguous(struct device *dev, size_t size, in dma_alloc_contiguous()
162 size_t size) in dma_free_contiguous()
195 size_t size) in dma_declare_coherent_memory()
199 #define dma_alloc_from_dev_coherent(dev, size, handle, ret) (0) argument
204 ssize_t size, in dma_alloc_from_global_coherent()
214 void *cpu_addr, size_t size, in dma_mmap_from_global_coherent()
299 static inline void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
309 static inline void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
326 static inline void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
[all …]
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
Drk_list.cpp38 RK_S32 size; member
46 static inline void list_node_init_with_key_and_size(rk_list_node *node, RK_U32 key, RK_S32 size) in list_node_init_with_key_and_size()
53 static rk_list_node* create_list(void *data, RK_S32 size, RK_U32 key) in create_list()
86 RK_S32 rk_list::add_at_head(void *data, RK_S32 size) in add_at_head()
104 RK_S32 rk_list::add_at_tail(void *data, RK_S32 size) in add_at_tail()
122 static void release_list(rk_list_node*node, void *data, RK_S32 size) in release_list()
151 static inline void _list_del_node_no_lock(rk_list_node *node, void *data, RK_S32 size) in _list_del_node_no_lock()
157 RK_S32 rk_list::del_at_head(void *data, RK_S32 size) in del_at_head()
170 RK_S32 rk_list::del_at_tail(void *data, RK_S32 size) in del_at_tail()
199 RK_S32 rk_list::add_by_key(void *data, RK_S32 size, RK_U32 *key) in add_by_key()
[all …]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
Dosal_ioctl.h65 #define _IOC(dir, type, nr, size) \ argument
87 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument
88 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
89 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
90 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
91 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
92 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dosal_ioctl.h96 #define _IOC(dir, type, nr, size) \ argument
121 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) argument
125 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
129 #define _IOWR(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
133 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) argument
137 #define _IOW_BAD(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) argument
141 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size)) argument
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/drivers/efuse/
Defuse.c19 hi_u32 efuse_start_addr_unaligned_read(hi_u16 start_bit, hi_u16 size, hi_u8 diff_head_read, hi_u8 *… in efuse_start_addr_unaligned_read()
69 hi_u32 efuse_bits_read(hi_u16 start_bit, hi_u16 size, hi_u8 *data, hi_u32 data_len) in efuse_bits_read()
118 hi_u16 size = 0; in hi_efuse_read() local
144 hi_u16 size = 0; in hi_efuse_write() local
209 hi_u16 size = EFUSE_LOCK_SIZE; in hi_efuse_get_lockstat() local
251 hi_u32 hi_efuse_usr_read(hi_u16 start_bit, hi_u16 size, hi_u8 *key_data) in hi_efuse_usr_read()
271 hi_u32 hi_efuse_usr_write(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data) in hi_efuse_usr_write()
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dosal_ioctl.h96 #define _IOC(dir, type, nr, size) \ argument
121 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) argument
125 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
129 #define _IOWR(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
133 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) argument
137 #define _IOW_BAD(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) argument
141 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size)) argument
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
Dosal_ioctl.h99 #define _IOC(dir, type, nr, size) \ argument
124 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), (_IOC_TYPECHECK(size))) argument
128 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
132 #define _IOWR(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), (_IOC_TYPECHECK(size))) argument
136 #define _IOR_BAD(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof(size)) argument
140 #define _IOW_BAD(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof(size)) argument
144 #define _IOWR_BAD(type, nr, size) _IOC(_IOC_READ | _IOC_WRITE, (type), (nr), sizeof(size)) argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_osk_low_level_mem.c34 mali_io_address _mali_osk_mem_mapioregion(uintptr_t phys, u32 size, const char *description) in _mali_osk_mem_mapioregion()
39 void _mali_osk_mem_unmapioregion(uintptr_t phys, u32 size, mali_io_address virt) in _mali_osk_mem_unmapioregion()
44 _mali_osk_errcode_t inline _mali_osk_mem_reqregion(uintptr_t phys, u32 size, const char *descriptio… in _mali_osk_mem_reqregion()
53 void inline _mali_osk_mem_unreqregion(uintptr_t phys, u32 size) in _mali_osk_mem_unreqregion()
80 void _mali_osk_cache_ensure_uncached_range_flushed(void *uncached_mapping, u32 offset, u32 size) in _mali_osk_cache_ensure_uncached_range_flushed()
85 u32 _mali_osk_mem_write_safe(void __user *dest, const void __user *src, u32 size) in _mali_osk_mem_write_safe()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/drivers/efuse/
Defuse.c18 hi_u32 efuse_start_addr_unaligned_read(hi_u16 start_bit, hi_u16 size, hi_u8 diff_head_read, hi_u8 *… in efuse_start_addr_unaligned_read()
72 hi_u32 efuse_bits_read(hi_u16 start_bit, hi_u16 size, hi_u8 *data, hi_u32 data_len) in efuse_bits_read()
120 hi_u16 size = 0; in hi_efuse_read() local
146 hi_u16 size = 0; in hi_efuse_write() local
181 hi_u32 efuse_bits_write(hi_u16 start_bit, hi_u16 size, const hi_u8 *key_data) in efuse_bits_write()
210 hi_u16 size = EFUSE_LOCK_SIZE; in hi_efuse_get_lockstat() local

12345678910>>...67