Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/fpga/
H A Dlattice.c20 static unsigned long read_bytes; variable
157 if (read_bytes == bufsize) { in GetByte()
161 read_bytes++; in GetByte()
163 if (!(read_bytes % block_size)) { in GetByte()
165 read_bytes, in GetByte()
299 read_bytes = 0; in lattice_load()
/openbmc/openbmc/meta-google/recipes-google/ipmi/ipmi-fru-sh/
H A Dlib.sh169 read_bytes() { function
212 header_arr=($(read_bytes "$eeprom" 0 8)) || return
231 area_arr=($(read_bytes "$eeprom" "$offset" 8)) || return
239 area_arr=($(read_bytes "$eeprom" "$offset" $((area_size*8)))) || return
/openbmc/qemu/hw/sd/
H A Dssi-sd.c62 int32_t read_bytes; member
210 s->read_bytes++; in OBJECT_DECLARE_SIMPLE_TYPE()
212 if (!sdbus_data_ready(&s->sdbus) || s->read_bytes == 512) { in OBJECT_DECLARE_SIMPLE_TYPE()
223 if (s->read_bytes == 512 && s->cmd != 17) { in OBJECT_DECLARE_SIMPLE_TYPE()
228 s->read_bytes = 0; in OBJECT_DECLARE_SIMPLE_TYPE()
289 VMSTATE_INT32(read_bytes, ssi_sd_state),
315 s->read_bytes = 0; in ssi_sd_reset()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dfsl_elbc_nand.c67 unsigned int read_bytes; /* Number of bytes read during command */ member
289 ctrl->read_bytes = 0; in fsl_elbc_cmdfunc()
306 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_elbc_cmdfunc()
321 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_elbc_cmdfunc()
342 ctrl->read_bytes = 256; in fsl_elbc_cmdfunc()
370 ctrl->read_bytes = 0; in fsl_elbc_cmdfunc()
455 ctrl->read_bytes = 1; in fsl_elbc_cmdfunc()
533 if (ctrl->index < ctrl->read_bytes) in fsl_elbc_read_byte()
553 avail = min((unsigned int)len, ctrl->read_bytes - ctrl->index); in fsl_elbc_read_buf()
583 ctrl->read_bytes = 1; in fsl_elbc_wait()
[all …]
H A Dfsl_ifc_nand.c51 unsigned int read_bytes; /* Number of bytes read during command */ member
376 ctrl->read_bytes = 0; in fsl_ifc_cmdfunc()
386 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_ifc_cmdfunc()
402 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_ifc_cmdfunc()
429 ctrl->read_bytes = 256; in fsl_ifc_cmdfunc()
453 ctrl->read_bytes = 0; in fsl_ifc_cmdfunc()
539 ctrl->read_bytes = 1; in fsl_ifc_cmdfunc()
610 if (ctrl->index < ctrl->read_bytes) { in fsl_ifc_read_byte()
634 if (ctrl->index < ctrl->read_bytes) { in fsl_ifc_read_byte16()
657 avail = min((unsigned int)len, ctrl->read_bytes - ctrl->index); in fsl_ifc_read_buf()
[all …]
/openbmc/qemu/backends/
H A Dspdm-socket.c17 static bool read_bytes(const int socket, uint8_t *buffer, in read_bytes() function
38 result = read_bytes(socket, (uint8_t *)data, sizeof(uint32_t)); in read_data32()
70 return read_bytes(socket, buffer, length); in read_multiple_bytes()
/openbmc/u-boot/drivers/tpm/
H A Dtpm2_tis_core.c43 phy_ops->read_bytes(dev, TPM_ACCESS(loc), 1, &locality); in tpm_tis_check_locality()
100 phy_ops->read_bytes(dev, TPM_STS(chip->locality), 1, status); in tpm_tis_status()
320 ret = phy_ops->read_bytes(dev, TPM_DATA_FIFO(chip->locality), in tpm_tis_recv_data()
418 if (!phy_ops || !phy_ops->read_bytes || !phy_ops->write_bytes || in tis_check_ops()
453 phy_ops->read_bytes(dev, TPM_RID(chip->locality), 1, &chip->rid); in tpm_tis_init()
H A Dtpm_tis.h37 int (*read_bytes)(struct udevice *udev, u32 addr, u16 len, member
H A Dtpm2_tis_i2c.c97 .read_bytes = tpm_tis_i2c_read,
/openbmc/qemu/chardev/
H A Dchar-pty.c41 int read_bytes; member
148 s->read_bytes = qemu_chr_be_can_write(chr); in pty_chr_read_poll()
149 return s->read_bytes; in pty_chr_read_poll()
161 if (len > s->read_bytes) { in pty_chr_read()
162 len = s->read_bytes; in pty_chr_read()
H A Dspice.c186 int read_bytes; in spice_chr_write() local
198 read_bytes = len - s->datalen; in spice_chr_write()
199 if (read_bytes != len) { in spice_chr_write()
205 return read_bytes; in spice_chr_write()
/openbmc/openbmc/poky/meta/recipes-multimedia/libsndfile/libsndfile1/
H A Dcve-2022-33065.patch373 + int read_bytes = 0 ;
381 + read_bytes = 0 ;
390 + read_bytes = header_read (psf, ucptr, sizeof (int)) ;
399 + read_bytes = header_read (psf, sixteen_bytes, sizeof (sixteen_bytes)) ;
408 + read_bytes = header_read (psf, charptr, sizeof (char)) ;
416 + read_bytes = header_read (psf, ucptr, sizeof (short)) ;
425 + read_bytes = header_read (psf, sixteen_bytes, 3) ;
434 + read_bytes = header_read (psf, ucptr, sizeof (int)) ;
443 + read_bytes = header_read (psf, sixteen_bytes, 8) ;
452 + read_bytes = header_read (psf, floatptr, sizeof (float)) ;
[all …]
/openbmc/qemu/util/
H A Dvhost-user-server.c117 int rc, read_bytes = 0; in vu_message_read() local
175 read_bytes += rc; in vu_message_read()
176 } while (read_bytes != VHOST_USER_HDR_SIZE); in vu_message_read()
/openbmc/openbmc/poky/meta/classes/
H A Dtoaster.bbclass222 if "IO read_bytes" in statinfo:
223 read_bytes = int(statinfo["IO read_bytes"].strip('% \n\r'))
224 disk_io_read = disk_io_read + read_bytes
/openbmc/u-boot/drivers/mmc/
H A Darm_pl180_mmci.c108 static int read_bytes(struct mmc *dev, u32 *dest, u32 blkcount, u32 blksize) in read_bytes() function
253 error = read_bytes(dev, (u32 *)data->dest, (u32)data->blocks, in do_data_transfer()
/openbmc/openbmc/poky/scripts/lib/
H A Dbuildstats.py54 def read_bytes(self): member in BSTask