Home
last modified time | relevance | path

Searched refs:readlen (Results 1 – 12 of 12) sorted by relevance

/device/soc/hpmicro/sdk/hpm_sdk/middleware/audio_codec/wav/hpm_decoder/
Dhpm_wav_decoder.c58 uint16_t readlen = 0; in hpm_wav_decode() local
70 readlen = word_size << 2; in hpm_wav_decode()
71 if (wav_ctrl->remaining_data >= readlen) { in hpm_wav_decode()
72 wav_ctrl->remaining_data -= readlen; in hpm_wav_decode()
74 readlen = wav_ctrl->remaining_data; in hpm_wav_decode()
77 wav_ctrl->func.read_file(wav_ctrl->func.file, readlen, &buf[size - readlen], &read); in hpm_wav_decode()
78 p8 = &buf[size - readlen]; in hpm_wav_decode()
86 readlen = word_size << 1; in hpm_wav_decode()
87 if (wav_ctrl->remaining_data >= readlen) { in hpm_wav_decode()
88 wav_ctrl->remaining_data -= readlen; in hpm_wav_decode()
[all …]
/device/soc/amlogic/a311d/soc/amlogic/unifykey/
Dsecurity_key.c74 unsigned long secure_storage_read(u8 *keyname, u8 *keybuf, u32 keylen, u32 *readlen) in secure_storage_read() argument
102 *readlen = *output; in secure_storage_read()
103 if (*readlen > keylen) { in secure_storage_read()
104 *readlen = keylen; in secure_storage_read()
107 memcpy(keybuf, buf, *readlen); in secure_storage_read()
Dsecurity_key.h43 unsigned long secure_storage_read(u8 *name, u8 *buf, u32 len, u32 *readlen);
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
Dosal_fileops.c55 int readlen; in klib_fread() local
64 readlen = vfs_read(filp, (void __user *)buf, size, &filp->f_pos); in klib_fread()
66 return readlen; in klib_fread()
/device/soc/winnermicro/tools/
Dwm_tool.c3380 int readlen = 0;
3403 readlen = fread(buf, 1, WM_TOOL_ONCE_READ_LEN, fpbin);
3404 if (readlen % WM_TOOL_ONCE_READ_LEN != 0) {
3405 patch = WM_TOOL_ONCE_READ_LEN - readlen%WM_TOOL_ONCE_READ_LEN;
3406 readlen += patch;
3408 filelen += readlen;
3409 wm_tool_get_crc32((unsigned char*)buf, readlen, 0);
3441 readlen = fread(buf, 1, WM_TOOL_ONCE_READ_LEN, fpbin);
3442 fwrite(buf, 1, readlen, fpimg);
3468 int readlen = 0;
[all …]
/device/soc/bestechnic/bes2600/liteos_m/components/drivers/touch/
Dtouch_fts.c48 …i2c_read(struct i2c_client *client, uint8_t *writebuf, int writelen, uint8_t *readbuf, int readlen) in fts_i2c_read() argument
58 if (readlen > 0) { in fts_i2c_read()
70 .len = readlen, in fts_i2c_read()
86 .len = readlen, in fts_i2c_read()
/device/soc/amlogic/a311d/soc/include/linux/amlogic/unifykey/
Dsecurity_key.h32 int32_t secure_storage_read(uint8_t *keyname, uint8_t *keybuf, uint32_t keylen, uint32_t *readlen);
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/unifykey/
Dsecurity_key.h34 uint32_t keylen, uint32_t *readlen);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/
Ddrv_hdmi_debug.c369 int readlen; in debug_file_read() local
371 readlen = osal_klib_fread(buf, len, filp); in debug_file_read()
372 return readlen; in debug_file_read()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_pcie.c3263 uint readlen = 0; in dhdpcie_bus_readconsole() local
3305 readlen = c->bufsize - c->last; in dhdpcie_bus_readconsole()
3307 addr + c->last, c->buf, readlen)) < 0) { in dhdpcie_bus_readconsole()
3313 addr, c->buf + readlen, in dhdpcie_bus_readconsole()
3318 readlen += idx; in dhdpcie_bus_readconsole()
3321 readlen = (uint)idx - c->last; in dhdpcie_bus_readconsole()
3323 addr + c->last, c->buf, readlen)) < 0) { in dhdpcie_bus_readconsole()
3332 while (i < readlen) { in dhdpcie_bus_readconsole()
3333 for (n = 0; n < CONSOLE_LINE_MAX - 2 && i < readlen; n++) { in dhdpcie_bus_readconsole()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_pcie.c3301 uint readlen = 0; in dhdpcie_bus_readconsole() local
3345 readlen = c->bufsize - c->last; in dhdpcie_bus_readconsole()
3347 readlen)) < 0) { in dhdpcie_bus_readconsole()
3352 if ((rv = dhdpcie_bus_membytes(bus, FALSE, addr, c->buf + readlen, in dhdpcie_bus_readconsole()
3357 readlen += idx; in dhdpcie_bus_readconsole()
3360 readlen = (uint)idx - c->last; in dhdpcie_bus_readconsole()
3362 readlen)) < 0) { in dhdpcie_bus_readconsole()
3371 while (i < readlen) { in dhdpcie_bus_readconsole()
3372 for (n = 0; n < CONSOLE_LINE_MAX - 0x2 && i < readlen; n++) { in dhdpcie_bus_readconsole()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_pcie.c4730 uint readlen = 0; local
4773 readlen = c->bufsize - c->last;
4775 addr + c->last, c->buf, readlen)) < 0) {
4781 addr, c->buf + readlen,
4786 readlen += idx;
4789 readlen = (uint)idx - c->last;
4791 addr + c->last, c->buf, readlen)) < 0) {
4800 while (i < readlen) {
4801 for (n = 0; n < CONSOLE_LINE_MAX - 2 && i < readlen; n++) {