Home
last modified time | relevance | path

Searched refs:src_addr (Results 1 – 25 of 106) sorted by relevance

12345

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/
Ddisp_rotation_sw.h35 rot_0_u8(unsigned char *src_addr, const unsigned int src_widthstep, in rot_0_u8() argument
39 unsigned char *src_addr_end = src_addr + src_widthstep * src_height; in rot_0_u8()
40 for (; src_addr != src_addr_end;) { in rot_0_u8()
41 memcpy((void *)dst_addr, (void *)src_addr, src_width); in rot_0_u8()
43 src_addr += src_widthstep; in rot_0_u8()
48 rot_0_u16(unsigned short *src_addr, const unsigned int src_widthstep, in rot_0_u16() argument
53 rot_0_u8((unsigned char *)src_addr, src_widthstep, width_size, in rot_0_u16()
58 rot_0_u32(unsigned int *src_addr, const unsigned int src_widthstep, in rot_0_u32() argument
63 rot_0_u8((unsigned char *)src_addr, src_widthstep, width_size, in rot_0_u32()
68 rot_180_u8(unsigned char *src_addr, const unsigned int src_widthstep, in rot_180_u8() argument
[all …]
Ddisp_rotation_sw.c111 unsigned int *src_addr, const unsigned int src_widthstep,
129 unsigned char *src_addr, const unsigned int src_widthstep, in rot_270_u8_buf() argument
135 rot_270_u8(src_addr, src_widthstep, src_width, in rot_270_u8_buf()
142 unsigned short *src_addr, const unsigned int src_widthstep, in rot_270_u16_buf() argument
148 rot_270_u16(src_addr, src_widthstep, src_width, in rot_270_u16_buf()
155 unsigned int *src_addr, const unsigned int src_widthstep, in rot_270_u32_buf() argument
161 rot_270_u32(src_addr, src_widthstep, src_width, in rot_270_u32_buf()
168 unsigned char *src_addr, const unsigned int src_widthstep, in rot_90_u8_buf() argument
174 rot_90_u8(src_addr, src_widthstep, src_width, in rot_90_u8_buf()
181 unsigned short *src_addr, const unsigned int src_widthstep, in rot_90_u16_buf() argument
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/
Dsunxi_drm_bootlogo.c106 char *src_addr = NULL; in Fb_copy_boot_fb() local
164 src_addr = (char *)sunxi_drm_map_kernel((unsigned long)src_phy_addr - in Fb_copy_boot_fb()
168 if (src_addr == NULL) { in Fb_copy_boot_fb()
173 src_addr_b = src_addr + map_offset; in Fb_copy_boot_fb()
196 sunxi_drm_unmap_kernel(src_addr); in Fb_copy_boot_fb()
207 sunxi_drm_unmap_kernel(src_addr); in Fb_copy_boot_fb()
218 sunxi_drm_unmap_kernel(src_addr); in Fb_copy_boot_fb()
355 unsigned char *src_addr; in sunxi_drm_copy_bootlogo() local
363 src_addr = sunxi_drm_map_kernel(bootlogo->phy_addr, in sunxi_drm_copy_bootlogo()
366 src_addr = sunxi_drm_map_kernel(bootlogo->phy_addr, in sunxi_drm_copy_bootlogo()
[all …]
/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() argument
62 uint32_t src_page = src_addr & ~(SPI_FLASH_MMU_PAGE_SIZE - 1); in bootloader_mmap()
63 size += (src_addr - src_page); in bootloader_mmap()
69 return (void *)((intptr_t)result + (src_addr - src_page)); in bootloader_mmap()
168 const void *bootloader_mmap(uint32_t src_addr, uint32_t size) in bootloader_mmap() argument
179 uint32_t src_addr_aligned = src_addr & MMU_FLASH_MASK; in bootloader_mmap()
180 uint32_t count = bootloader_cache_pages_to_map(size, src_addr); in bootloader_mmap()
195 src_addr & MMU_FLASH_MASK, count, size, src_addr, src_addr_aligned ); in bootloader_mmap()
228 return (void *)(MMU_BLOCK0_VADDR + (src_addr - src_addr_aligned)); 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() argument
[all …]
/device/soc/esp/esp32/components/bootloader_support/src/secure_boot_v1/
Dsecure_boot_signatures_bootloader.c38 esp_err_t esp_secure_boot_verify_signature(uint32_t src_addr, uint32_t length) in esp_secure_boot_verify_signature() argument
44 ESP_LOGD(TAG, "verifying signature src_addr 0x%x length 0x%x", src_addr, length); in esp_secure_boot_verify_signature()
46 esp_err_t err = bootloader_sha256_flash_contents(src_addr, length, digest); in esp_secure_boot_verify_signature()
52 …sigblock = (const esp_secure_boot_sig_block_t *) bootloader_mmap(src_addr + length, sizeof(esp_sec… in esp_secure_boot_verify_signature()
54 …ESP_LOGE(TAG, "bootloader_mmap(0x%x, 0x%x) failed", src_addr + length, sizeof(esp_secure_boot_sig_… in esp_secure_boot_verify_signature()
Dsecure_boot_signatures_app.c39 esp_err_t esp_secure_boot_verify_signature(uint32_t src_addr, uint32_t length) in esp_secure_boot_verify_signature() argument
45 ESP_LOGD(TAG, "verifying signature src_addr 0x%x length 0x%x", src_addr, length); in esp_secure_boot_verify_signature()
47 esp_err_t err = bootloader_sha256_flash_contents(src_addr, length, digest); in esp_secure_boot_verify_signature()
49 ESP_LOGE(TAG, "Digest calculation failed 0x%x, 0x%x", src_addr, length); in esp_secure_boot_verify_signature()
54 …sigblock = (const esp_secure_boot_sig_block_t *)bootloader_mmap(src_addr + length, sizeof(esp_secu… in esp_secure_boot_verify_signature()
56 …ESP_LOGE(TAG, "bootloader_mmap(0x%x, 0x%x) failed", src_addr + length, sizeof(esp_secure_boot_sig_… in esp_secure_boot_verify_signature()
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/include/bta/
Dbta_gattc_co.h130 extern BOOLEAN bta_gattc_co_cache_new_assoc_list(BD_ADDR src_addr, uint8_t index);
132 extern BOOLEAN bta_gattc_co_cache_append_assoc_addr(BD_ADDR src_addr, BD_ADDR assoc_addr);
134 extern BOOLEAN bta_gattc_co_cache_remove_assoc_addr(BD_ADDR src_addr, BD_ADDR assoc_addr);
138 extern BOOLEAN bta_gattc_co_cache_clear_assoc_addr(BD_ADDR src_addr);
/device/soc/esp/esp32/components/bootloader_support/src/secure_boot_v2/
Dsecure_boot_signatures_bootloader.c33 esp_err_t esp_secure_boot_verify_signature(uint32_t src_addr, uint32_t length) in esp_secure_boot_verify_signature() argument
40 ESP_LOGD(TAG, "verifying signature src_addr 0x%x length 0x%x", src_addr, length); in esp_secure_boot_verify_signature()
43 esp_err_t err = bootloader_sha256_flash_contents(src_addr, padded_length, digest); in esp_secure_boot_verify_signature()
45 ESP_LOGE(TAG, "Digest calculation failed 0x%x, 0x%x", src_addr, padded_length); in esp_secure_boot_verify_signature()
49 …const ets_secure_boot_signature_t *sig_block = bootloader_mmap(src_addr + padded_length, sizeof(et… in esp_secure_boot_verify_signature()
51 ESP_LOGE(TAG, "Failed to mmap data at offset 0x%x", src_addr + padded_length); in esp_secure_boot_verify_signature()
Dsecure_boot_signatures_app.c134 esp_err_t esp_secure_boot_verify_signature(uint32_t src_addr, uint32_t length) in esp_secure_boot_verify_signature() argument
141 ESP_LOGD(TAG, "verifying signature src_addr 0x%x length 0x%x", src_addr, length); in esp_secure_boot_verify_signature()
143 esp_err_t err = bootloader_sha256_flash_contents(src_addr, padded_length, digest); in esp_secure_boot_verify_signature()
145 ESP_LOGE(TAG, "Digest calculation failed 0x%x, 0x%x", src_addr, padded_length); in esp_secure_boot_verify_signature()
149 …const ets_secure_boot_signature_t *sig_block = bootloader_mmap(src_addr + padded_length, sizeof(et… in esp_secure_boot_verify_signature()
151 ESP_LOGE(TAG, "Failed to mmap data at offset 0x%x", src_addr + padded_length); in esp_secure_boot_verify_signature()
/device/soc/telink/b91/b91_ble_sdk/drivers/B91/
Dpwm.c103 void pwm_set_dma_chain_llp(dma_chn_e chn, unsigned short *src_addr, unsigned int data_len, in pwm_set_dma_chain_llp() argument
107 dma_set_address(chn, convert_ram_addr_cpu2bus(src_addr), reg_pwm_data_buf_adr); in pwm_set_dma_chain_llp()
122 unsigned short *src_addr, unsigned int data_len) in pwm_set_tx_dma_add_list_element() argument
125 config_addr->dma_chain_src_addr = (unsigned int)convert_ram_addr_cpu2bus(src_addr); in pwm_set_tx_dma_add_list_element()
Ddma.h276 static inline void dma_set_address(dma_chn_e chn, unsigned int src_addr, unsigned int dst_addr) in dma_set_address() argument
278 reg_dma_src_addr(chn) = src_addr; in dma_set_address()
287 static inline void dma_set_src_address(dma_chn_e chn, unsigned int src_addr) in dma_set_src_address() argument
289 reg_dma_src_addr(chn) = src_addr; in dma_set_src_address()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/hal/
Ddma2d_hal.c73 bk_err_t dma2d_hal_config(DMA2D_HandleTypeDef *dma2d, uint32_t src_addr, uint32_t dst_addr, uint32_… in dma2d_hal_config() argument
86 tmp1 = src_addr & DMA2D_OCOLR_ALPHA_1; in dma2d_hal_config()
87 tmp2 = src_addr & DMA2D_OCOLR_RED_1; in dma2d_hal_config()
88 tmp3 = src_addr & DMA2D_OCOLR_GREEN_1; in dma2d_hal_config()
89 tmp4 = src_addr & DMA2D_OCOLR_BLUE_1; in dma2d_hal_config()
120 dma2d_ll_set_dma2d_bg_address_value(s_dma2d_hal.hw, src_addr); in dma2d_hal_config()
125 dma2d_ll_set_dma2d_fg_address_value(s_dma2d_hal.hw, src_addr); in dma2d_hal_config()
/device/soc/esp/esp32/components/spi_flash/sim/
DSpiFlash.cpp200 esp_rom_spiflash_result_t SpiFlash::read(uint32_t src_addr, void *dest, uint32_t size) in read() argument
211 start = src_addr / this->get_sector_size(); in read()
212 end = size > 0 ? (src_addr + size - 1) / this->get_sector_size() : start; in read()
222 memcpy(dest, &this->memory[src_addr], size); in read()
Dflash_mock.cpp54 extern "C" esp_err_t spi_flash_mmap(size_t src_addr, size_t size, spi_flash_mmap_memory_t memory, in spi_flash_mmap() argument
58 *out_ptr = (void*)spiflash.get_memory_ptr(src_addr); in spi_flash_mmap()
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/
Dhpm_dma_drv.c18 || (ch->src_addr & ((1 << ch->src_width) - 1)) in dma_setup_channel()
24 ptr->CHCTRL[ch_num].SRCADDR = DMA_CHCTRL_SRCADDR_SRCADDRL_SET(ch->src_addr); in dma_setup_channel()
123 config.src_addr = src; in dma_start_memcpy()
158 config.src_addr = pconfig->src; in dma_setup_handshake()
/device/soc/winnermicro/wm800/board/platform/drivers/i2s/
Dwm_i2s.c457 dma_desc[0].src_addr = (unsigned int)data; in wm_i2s_tx_dma_link()
463 dma_desc[1].src_addr = (unsigned int)next_data; in wm_i2s_tx_dma_link()
633 dma_desc[0].src_addr = HR_I2S_RX; in wm_i2s_receive_dma()
639 dma_desc[1].src_addr = HR_I2S_RX; in wm_i2s_receive_dma()
686 dma_desc[0].src_addr = (unsigned int)data; in wm_i2s_transmit_dma()
692 dma_desc[1].src_addr = (unsigned int)next_data; in wm_i2s_transmit_dma()
745 dma_desc_tx[0].src_addr = (unsigned int)data_tx; in wm_i2s_tranceive_dma()
751 dma_desc_tx[1].src_addr = (unsigned int)next_data_tx; in wm_i2s_tranceive_dma()
779 dma_desc_rx[0].src_addr = HR_I2S_RX; in wm_i2s_tranceive_dma()
785 dma_desc_rx[1].src_addr = HR_I2S_RX; in wm_i2s_tranceive_dma()
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
Dhi_dma.h75 uintptr_t src_addr; /* 源地址,源地址必须4字节对齐 */ member
175 hi_u32 hi_dma_mem2mem_transfer(hi_u32 dst_addr, hi_u32 src_addr, hi_u32 size_bytes,
/device/soc/esp/esp32/components/bootloader_support/include_bootloader/
Dbootloader_flash_priv.h75 const void *bootloader_mmap(uint32_t src_addr, uint32_t size);
100 esp_err_t bootloader_flash_read(size_t src_addr, void *dest, size_t size, bool allow_decrypt);
/device/soc/hpmicro/sdk/hpm_sdk/components/spi/
Dhpm_spi.c75 …(tx_dma_descriptors + i * SPI_DMA_DESC_COUNT_PER_TRANS)->src_addr = core_local_mem_to_sys_address(… in hpm_spi_prepare_dma_tx_descriptors()
87 …(tx_dma_descriptors + i * SPI_DMA_DESC_COUNT_PER_TRANS + 1)->src_addr = core_local_mem_to_sys_addr… in hpm_spi_prepare_dma_tx_descriptors()
99 (tx_dma_descriptors + i * SPI_DMA_DESC_COUNT_PER_TRANS + 2)->src_addr = in hpm_spi_prepare_dma_tx_descriptors()
150 …(rx_dma_descriptors + i * SPI_DMA_DESC_COUNT_PER_TRANS)->src_addr = core_local_mem_to_sys_address(… in hpm_prepare_dma_rx_descriptors()
162 …(rx_dma_descriptors + i * SPI_DMA_DESC_COUNT_PER_TRANS + 1)->src_addr = core_local_mem_to_sys_addr… in hpm_prepare_dma_rx_descriptors()
174 …(rx_dma_descriptors + i * SPI_DMA_DESC_COUNT_PER_TRANS + 2)->src_addr = core_local_mem_to_sys_addr… in hpm_prepare_dma_rx_descriptors()
269 …dma_ch_config.src_addr = core_local_mem_to_sys_address(context->running_core, (uint32_t)&dummy_dat… in spi_setup_trans_with_dma_chain()
/device/soc/esp/esp32/components/bootloader_support/src/esp32/
Dflash_encrypt.c350 esp_err_t esp_flash_encrypt_region(uint32_t src_addr, size_t data_length) in esp_flash_encrypt_region() argument
355 if (src_addr % FLASH_SECTOR_SIZE != 0) { in esp_flash_encrypt_region()
356 ESP_LOGE(TAG, "esp_flash_encrypt_region bad src_addr 0x%x",src_addr); in esp_flash_encrypt_region()
365 uint32_t sec_start = i + src_addr; in esp_flash_encrypt_region()
/device/soc/esp/esp32/components/spi_flash/include/
Desp_spi_flash.h157 esp_err_t spi_flash_read(size_t src_addr, void *dest, size_t size);
211 esp_err_t spi_flash_mmap(size_t src_addr, size_t size, spi_flash_mmap_memory_t memory,
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_co.c570 BOOLEAN bta_gattc_co_cache_new_assoc_list(BD_ADDR src_addr, UINT8 index) in bta_gattc_co_cache_new_assoc_list() argument
577 BOOLEAN bta_gattc_co_cache_append_assoc_addr(BD_ADDR src_addr, BD_ADDR assoc_addr) in bta_gattc_co_cache_append_assoc_addr() argument
583 if ((addr_index = bta_gattc_co_find_addr_in_cache(src_addr)) != INVALID_ADDR_NUM) { in bta_gattc_co_cache_append_assoc_addr()
594 BOOLEAN bta_gattc_co_cache_remove_assoc_addr(BD_ADDR src_addr, BD_ADDR assoc_addr) in bta_gattc_co_cache_remove_assoc_addr() argument
598 if ((addr_index = bta_gattc_co_find_addr_in_cache(src_addr)) != INVALID_ADDR_NUM) { in bta_gattc_co_cache_remove_assoc_addr()
649 BOOLEAN bta_gattc_co_cache_clear_assoc_addr(BD_ADDR src_addr) in bta_gattc_co_cache_clear_assoc_addr() argument
653 if ((addr_index = bta_gattc_co_find_addr_in_cache(src_addr)) != INVALID_ADDR_NUM) { in bta_gattc_co_cache_clear_assoc_addr()
/device/soc/chipsea/cst85/liteos_m/sdk/bsp/driver/ce/
Dce_api.h147 void chksum_calc_trans(uint32_t *src_addr, uint32_t len, uint32_t endian, uint32_t *dest_addr);
149 void chksum_calc(uint32_t *src_addr, uint32_t len, uint32_t endian);
/device/soc/amlogic/a311d/soc/amlogic/ge2d/
Dge2d_wq.c1112 unsigned int src_addr = 0, src2_addr = 0, dst_addr = 0; in ge2d_context_config_ex() local
1125 src_addr = tmp.phy_addr; in ge2d_context_config_ex()
1140 ge2d_log_dbg("ge2d osd phy_addr:0x%x,stride=0x%x,format:0x%x\n", src_addr, src_stride, in ge2d_context_config_ex()
1153 … if (build_ge2d_addr_config(&ge2d_config->src_planes[0], ge2d_config->src_para.format, &src_addr, in ge2d_context_config_ex()
1157 … ge2d_log_dbg("ge2d alloc phy_addr:0x%x,stride=0x%x,format:0x%x\n", src_addr, src_stride, in ge2d_context_config_ex()
1211 src2_addr = src_addr; in ge2d_context_config_ex()
1274 dst_addr = src_addr; in ge2d_context_config_ex()
1306 …ge2dgen_src(context, ge2d_config->src_para.canvas_index, ge2d_config->src_para.format, src_addr, s… in ge2d_context_config_ex()
1408 unsigned int src_addr = 0, src2_addr = 0, dst_addr = 0; in ge2d_context_config_ex_ion() local
1421 src_addr = tmp.phy_addr; in ge2d_context_config_ex_ion()
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/commonboot/
Dhi_cipher.h277 hi_u32 hi_cipher_aes_crypto(uintptr_t src_addr, uintptr_t dest_addr, hi_u32 length, hi_bool encrypt…
339 hi_u32 hi_cipher_hash_update(uintptr_t src_addr, hi_u32 length);

12345