Home
last modified time | relevance | path

Searched refs:read_len (Results 1 – 7 of 7) sorted by relevance

/u-boot/drivers/usb/emul/
A Dsandbox_flash.c58 int read_len; member
233 priv->read_len = transfer_len; in handle_read()
312 priv->read_len = 0; in sandbox_flash_bulk()
335 len, priv->alloc_len, priv->read_len); in sandbox_flash_bulk()
336 if (priv->read_len) { in sandbox_flash_bulk()
342 priv->read_len -= len / SANDBOX_FLASH_BLOCK_LEN; in sandbox_flash_bulk()
343 if (!priv->read_len) in sandbox_flash_bulk()
/u-boot/drivers/spi/
A Dcadence_qspi_apb.c441 unsigned int read_len; in cadence_qspi_apb_command_read() local
465 read_len = (rxlen > 4) ? 4 : rxlen; in cadence_qspi_apb_command_read()
466 memcpy(rxbuf, &reg, read_len); in cadence_qspi_apb_command_read()
467 rxbuf += read_len; in cadence_qspi_apb_command_read()
472 read_len = rxlen - read_len; in cadence_qspi_apb_command_read()
473 memcpy(rxbuf, &reg, read_len); in cadence_qspi_apb_command_read()
A Dspi-qup.c445 unsigned int read_len = bytes; in __qup_blsp_spi_write() local
461 qup_spi_enable_io_config(dev, write_len, read_len); in __qup_blsp_spi_write()
468 while (write_len || read_len) { in __qup_blsp_spi_write()
502 if (read_len > SPI_INPUT_BLOCK_SIZE) in __qup_blsp_spi_write()
505 fifo_count = read_len; in __qup_blsp_spi_write()
516 read_len--; in __qup_blsp_spi_write()
/u-boot/fs/btrfs/
A Ddisk-io.c404 u64 read_len; in read_whole_eb() local
408 read_len = bytes_left; in read_whole_eb()
412 &read_len, &multi, mirror, NULL); in read_whole_eb()
425 if (read_len > bytes_left) in read_whole_eb()
426 read_len = bytes_left; in read_whole_eb()
430 offset, read_len); in read_whole_eb()
436 offset += read_len; in read_whole_eb()
437 bytes_left -= read_len; in read_whole_eb()
/u-boot/fs/
A Dfs.c499 loff_t read_len; in fs_read_lmb_check() local
509 read_len = size - offset; in fs_read_lmb_check()
512 if (len && len < read_len) in fs_read_lmb_check()
513 read_len = len; in fs_read_lmb_check()
518 if (lmb_alloc_addr(&lmb, addr, read_len) == addr) in fs_read_lmb_check()
/u-boot/drivers/misc/
A Dcros_ec.c1287 int read_len; in cros_ec_i2c_tunnel() local
1300 read_len = 0; in cros_ec_i2c_tunnel()
1308 read_len += in->len; in cros_ec_i2c_tunnel()
1310 if (sizeof(*r) + read_len > sizeof(response)) { in cros_ec_i2c_tunnel()
1325 r, sizeof(*r) + read_len); in cros_ec_i2c_tunnel()
1335 if (rv < sizeof(*r) + read_len) { in cros_ec_i2c_tunnel()
1341 if (read_len) in cros_ec_i2c_tunnel()
1342 memcpy(read_ptr, r->data, read_len); in cros_ec_i2c_tunnel()
/u-boot/drivers/mtd/spi/
A Dspi-nor-core.c922 size_t read_len = len; in spi_nor_read() local
933 read_len = len; in spi_nor_read()
935 read_len = remain_len; in spi_nor_read()
938 ret = nor->read(nor, addr, read_len, buf); in spi_nor_read()

Completed in 21 milliseconds