Home
last modified time | relevance | path

Searched refs:read_bytes (Results 1 – 5 of 5) sorted by relevance

/u-boot/drivers/fpga/
A Dlattice.c22 static unsigned long read_bytes; variable
159 if (read_bytes == bufsize) { in GetByte()
163 read_bytes++; in GetByte()
165 if (!(read_bytes % block_size)) { in GetByte()
167 read_bytes, in GetByte()
301 read_bytes = 0; in lattice_load()
/u-boot/drivers/mtd/nand/raw/
A Dfsl_elbc_nand.c69 unsigned int read_bytes; /* Number of bytes read during command */ member
291 ctrl->read_bytes = 0; in fsl_elbc_cmdfunc()
308 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_elbc_cmdfunc()
323 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_elbc_cmdfunc()
344 ctrl->read_bytes = 256; in fsl_elbc_cmdfunc()
372 ctrl->read_bytes = 0; in fsl_elbc_cmdfunc()
457 ctrl->read_bytes = 1; in fsl_elbc_cmdfunc()
535 if (ctrl->index < ctrl->read_bytes) in fsl_elbc_read_byte()
555 avail = min((unsigned int)len, ctrl->read_bytes - ctrl->index); in fsl_elbc_read_buf()
585 ctrl->read_bytes = 1; in fsl_elbc_wait()
[all …]
A Dfsl_ifc_nand.c53 unsigned int read_bytes; /* Number of bytes read during command */ member
378 ctrl->read_bytes = 0; in fsl_ifc_cmdfunc()
388 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_ifc_cmdfunc()
404 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_ifc_cmdfunc()
434 ctrl->read_bytes = len; in fsl_ifc_cmdfunc()
458 ctrl->read_bytes = 0; in fsl_ifc_cmdfunc()
544 ctrl->read_bytes = 1; in fsl_ifc_cmdfunc()
615 if (ctrl->index < ctrl->read_bytes) { in fsl_ifc_read_byte()
639 if (ctrl->index < ctrl->read_bytes) { in fsl_ifc_read_byte16()
662 avail = min((unsigned int)len, ctrl->read_bytes - ctrl->index); in fsl_ifc_read_buf()
[all …]
/u-boot/drivers/spi/
A Dspi-qup.c363 unsigned int read_bytes = bytes; in __qup_spi_blsp_spi_read() local
374 qup_spi_enable_io_config(dev, 0, read_bytes); in __qup_spi_blsp_spi_read()
382 while (read_bytes) { in __qup_spi_blsp_spi_read()
396 fifo_count = ((read_bytes > SPI_INPUT_BLOCK_SIZE) ? in __qup_spi_blsp_spi_read()
397 SPI_INPUT_BLOCK_SIZE : read_bytes); in __qup_spi_blsp_spi_read()
402 read_bytes--; in __qup_spi_blsp_spi_read()
/u-boot/drivers/mmc/
A Darm_pl180_mmci.c111 static int read_bytes(struct mmc *dev, u32 *dest, u32 blkcount, u32 blksize) in read_bytes() function
256 error = read_bytes(dev, (u32 *)data->dest, (u32)data->blocks, in do_data_transfer()

Completed in 18 milliseconds