Searched refs:read_bytes (Results 1 - 10 of 10) sorted by relevance

/u-boot/drivers/fpga/
H A Dlattice.c22 static unsigned long read_bytes; variable
159 if (read_bytes == bufsize) {
163 read_bytes++;
165 if (!(read_bytes % block_size)) {
167 read_bytes,
301 read_bytes = 0;
/u-boot/drivers/tpm/
H A Dtpm2_tis_core.c43 phy_ops->read_bytes(dev, TPM_ACCESS(loc), 1, &locality);
100 phy_ops->read_bytes(dev, TPM_STS(chip->locality), 1, status);
317 ret = phy_ops->read_bytes(dev, TPM_DATA_FIFO(chip->locality),
415 if (!phy_ops || !phy_ops->read_bytes || !phy_ops->write_bytes ||
450 phy_ops->read_bytes(dev, TPM_RID(chip->locality), 1, &chip->rid);
H A Dtpm_tis.h28 /* read_bytes() - Read a number of bytes from the device
37 int (*read_bytes)(struct udevice *udev, u32 addr, u16 len, member in struct:tpm_tis_phy_ops
H A Dtpm2_tis_mmio.c75 .read_bytes = mmio_read_bytes,
H A Dtpm2_tis_i2c.c97 .read_bytes = tpm_tis_i2c_read,
H A Dtpm2_tis_spi.c215 .read_bytes = tpm_tis_spi_read,
/u-boot/drivers/mtd/nand/raw/
H A Dfsl_elbc_nand.c73 unsigned int read_bytes; /* Number of bytes read during command */ member in struct:fsl_elbc_ctrl
295 ctrl->read_bytes = 0;
312 ctrl->read_bytes = mtd->writesize + mtd->oobsize;
335 ctrl->read_bytes = mtd->writesize + mtd->oobsize;
356 ctrl->read_bytes = 256;
384 ctrl->read_bytes = 0;
469 ctrl->read_bytes = 1;
547 if (ctrl->index < ctrl->read_bytes)
567 avail = min((unsigned int)len, ctrl->read_bytes - ctrl->index);
597 ctrl->read_bytes
[all...]
H A Dfsl_ifc_nand.c49 unsigned int read_bytes; /* Number of bytes read during command */ member in struct:fsl_ifc_ctrl
374 ctrl->read_bytes = 0;
384 ctrl->read_bytes = mtd->writesize + mtd->oobsize;
400 ctrl->read_bytes = mtd->writesize + mtd->oobsize;
430 ctrl->read_bytes = len;
454 ctrl->read_bytes = 0;
540 ctrl->read_bytes = 1;
611 if (ctrl->index < ctrl->read_bytes) {
635 if (ctrl->index < ctrl->read_bytes) {
658 avail = min((unsigned int)len, ctrl->read_bytes
[all...]
/u-boot/drivers/spi/
H A Dspi-qup.c363 unsigned int read_bytes = bytes; local
374 qup_spi_enable_io_config(dev, 0, read_bytes);
382 while (read_bytes) {
396 fifo_count = ((read_bytes > SPI_INPUT_BLOCK_SIZE) ?
397 SPI_INPUT_BLOCK_SIZE : read_bytes);
402 read_bytes--;
/u-boot/drivers/mmc/
H A Darm_pl180_mmci.c109 static int read_bytes(struct mmc *dev, u32 *dest, u32 blkcount, u32 blksize) function
116 debug("read_bytes: blkcount=%u blksize=%u\n", blkcount, blksize);
255 error = read_bytes(dev, (u32 *)data->dest, (u32)data->blocks,

Completed in 132 milliseconds