/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_kinstr_jm.c | 501 size_t changes_tail, changes_count, read_size; in reader_changes_copy_to_user() local 523 read_size = min(changes_count * entry_size, buffer_size & ~(entry_size - 1)); in reader_changes_copy_to_user() 525 if (!read_size) { in reader_changes_copy_to_user() 529 if (copy_to_user(buffer, &(src_buf[changes_tail]), read_size)) { in reader_changes_copy_to_user() 533 buffer += read_size; in reader_changes_copy_to_user() 534 buffer_size -= read_size; in reader_changes_copy_to_user() 535 ret += read_size; in reader_changes_copy_to_user() 536 changes_tail = (changes_tail + read_size / entry_size) & (changes->size - 1); in reader_changes_copy_to_user() 538 } while (read_size); in reader_changes_copy_to_user()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_kinstr_jm.c | 504 size_t changes_tail, changes_count, read_size; in reader_changes_copy_to_user() local 527 read_size = min(changes_count * entry_size, in reader_changes_copy_to_user() 530 if (!read_size) in reader_changes_copy_to_user() 533 if (copy_to_user(buffer, &(src_buf[changes_tail]), read_size)) in reader_changes_copy_to_user() 536 buffer += read_size; in reader_changes_copy_to_user() 537 buffer_size -= read_size; in reader_changes_copy_to_user() 538 ret += read_size; in reader_changes_copy_to_user() 539 changes_tail = (changes_tail + read_size / entry_size) & in reader_changes_copy_to_user() 542 } while (read_size); in reader_changes_copy_to_user()
|
/device/qemu/SmartL_E802/liteos_m/board/fs/ |
H A D | littlefs_hal.c | 86 .read_size = READ_SIZE,
|
/device/qemu/esp32/liteos_m/board/fs/ |
H A D | littlefs_hal.c | 82 .read_size = READ_SIZE,
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/ |
H A D | transfer.c | 54 hi_u32 read_size = (hi_u32)hi_min(remain, SZ_1KB); in loader_serial_ymodem() local 55 read_len = ymodem_read(g_ymodem_buf, read_size, ((uintptr_t)g_ymodem_buf) ^ read_size); in loader_serial_ymodem()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/ |
H A D | mali_kbase_csf_reset_gpu.c | 263 unsigned int read_size; in kbase_csf_dump_firmware_trace_buffer() local 280 while ((read_size = kbase_csf_firmware_trace_buffer_read_data(tb, buf, in kbase_csf_dump_firmware_trace_buffer() 285 for (num_dwords = read_size / sizeof(u64); in kbase_csf_dump_firmware_trace_buffer()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/commonboot/ |
H A D | boot_rom.h | 242 hi_u32 read_size, hi_void *ram_addr, hi_bool is_crash); 268 hi_u32 spif_dma_read(hi_spi_flash_ctrl *spif_ctrl, hi_u32 flash_addr, hi_u32 read_size, hi_void *ram_addr,
|
/device/qemu/riscv32_virt/liteos_m/board/driver/cfiflash/ |
H A D | cfiflash_fs_hal.c | 147 .read_size = READ_SIZE,
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/flash/ |
H A D | flash_prv.h | 283 hi_u32 (*read)(struct spi_flash_ctrl* spif_ctrl, hi_u32 flash_addr, hi_u32 read_size, 304 HI_EXTERN hi_u32 spif_dma_read(hi_spi_flash_ctrl* spif_ctrl, hi_u32 flash_addr, hi_u32 read_size,
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_pcie.c | 3601 int read_size = 0; /* Read size of each iteration */ in dhdpcie_mem_dump_bugcheck() local 3609 read_size = 4; in dhdpcie_mem_dump_bugcheck() 3613 ret = dhdpcie_bus_membytes(bus, FALSE, start, (uint8*)&test_word, read_size); in dhdpcie_mem_dump_bugcheck() 3625 read_size = MIN(MEMBLOCK, size); in dhdpcie_mem_dump_bugcheck() 3626 if ((ret = dhdpcie_bus_membytes(bus, FALSE, start, databuf, read_size))) { in dhdpcie_mem_dump_bugcheck() 3631 size -= read_size; in dhdpcie_mem_dump_bugcheck() 3632 start += read_size; in dhdpcie_mem_dump_bugcheck() 3633 databuf += read_size; in dhdpcie_mem_dump_bugcheck() 3647 int read_size = 0; /* Read size of each iteration */ in dhdpcie_get_mem_dump() local 3675 read_size in dhdpcie_get_mem_dump() 11538 int read_size = 0; /* Read size of each iteration */ dhd_bus_tcm_test() local [all...] |
H A D | dhd_common.c | 6025 uint32 read_size = READ_NUM_BYTES; in dhd_parse_map_file() local 6035 /* Allocate 1 byte more than read_size to terminate it with NULL */ in dhd_parse_map_file() 6036 raw_fmts = MALLOCZ(osh, read_size + 1); in dhd_parse_map_file() 6045 error = dhd_os_read_file(file, raw_fmts, read_size); in dhd_parse_map_file() 6053 raw_fmts[read_size] = '\0'; in dhd_parse_map_file() 6058 (cptr = bcmstrnstr(raw_fmts_loc, read_size, ramstart_str, in dhd_parse_map_file() 6068 (cptr = bcmstrnstr(raw_fmts_loc, read_size, rodata_start_str, in dhd_parse_map_file() 6078 (cptr = bcmstrnstr(raw_fmts_loc, read_size, rodata_end_str, in dhd_parse_map_file() 6085 if (error < (int)read_size) { in dhd_parse_map_file() 6091 * So if ret value is less than read_size, reache in dhd_parse_map_file() [all...] |
H A D | dhd_sdio.c | 3741 uint read_size = 0; /* Read size of each iteration */ in dhdsdio_get_mem_dump() local 3760 read_size = MIN(MEMBLOCK, size); in dhdsdio_get_mem_dump() 3761 ret = dhdsdio_membytes(bus, FALSE, start, databuf, read_size); in dhdsdio_get_mem_dump() 3768 size -= read_size; in dhdsdio_get_mem_dump() 3769 start += read_size; in dhdsdio_get_mem_dump() 3770 databuf += read_size; in dhdsdio_get_mem_dump()
|
/device/soc/rockchip/rk2206/hdf_driver/fs/ |
H A D | fs_driver.c | 436 m_fs_cfg[i].lfs_cfg.read_size = LFSCFG_READSIZE_MAX;
in fsdrv_init()
|