Searched refs:buf_offset (Results 1 – 7 of 7) sorted by relevance
| /openbmc/u-boot/drivers/mtd/nand/raw/ |
| H A D | vf610_nfc.c | 155 uint buf_offset; member 358 nfc->buf_offset = max(column, 0); in vf610_nfc_command() 365 nfc->buf_offset = 0; in vf610_nfc_command() 424 nfc->buf_offset = 0; in vf610_nfc_command() 449 uint c = nfc->buf_offset; in vf610_nfc_read_buf() 457 nfc->buf_offset += len; in vf610_nfc_read_buf() 465 uint c = nfc->buf_offset; in vf610_nfc_write_buf() 472 nfc->buf_offset += l; in vf610_nfc_write_buf() 480 uint c = nfc->buf_offset; in vf610_nfc_read_byte() 492 c = nfc->buf_offset ^ 0x3; in vf610_nfc_read_byte() [all …]
|
| H A D | mxs_nand.c | 378 uint32_t buf_offset = geo->block_mark_byte_offset; in mxs_nand_swap_block_mark() local 389 src = data_buf[buf_offset] >> bit_offset; in mxs_nand_swap_block_mark() 390 src |= data_buf[buf_offset + 1] << (8 - bit_offset); in mxs_nand_swap_block_mark() 396 data_buf[buf_offset] &= ~(0xff << bit_offset); in mxs_nand_swap_block_mark() 397 data_buf[buf_offset + 1] &= 0xff << bit_offset; in mxs_nand_swap_block_mark() 399 data_buf[buf_offset] |= dst << bit_offset; in mxs_nand_swap_block_mark() 400 data_buf[buf_offset + 1] |= dst >> (8 - bit_offset); in mxs_nand_swap_block_mark()
|
| /openbmc/phosphor-mboxd/ |
| H A D | mboxd_flash.c | 273 uint32_t buf_offset = 0; in write_flash() local 285 rc = write(context->fds[MTD_FD].fd, buf + buf_offset, count); in write_flash() 292 set_flash_bytemap(context, offset + buf_offset, rc, in write_flash() 295 buf_offset += rc; in write_flash()
|
| /openbmc/qemu/backends/ |
| H A D | rng-egd.c | 68 size_t buf_offset = 0; in rng_egd_chr_read() local 74 memcpy(req->data + req->offset, buf + buf_offset, len); in rng_egd_chr_read() 75 buf_offset += len; in rng_egd_chr_read()
|
| /openbmc/hiomapd/mtd/ |
| H A D | backend.c | 306 uint32_t buf_offset = 0; in mtd_write() local 319 rc = write(priv->fd, buf + buf_offset, count); in mtd_write() 326 mtd_set_bytemap(backend, offset + buf_offset, rc, FLASH_DIRTY); in mtd_write() 328 buf_offset += rc; in mtd_write()
|
| /openbmc/hiomapd/file/ |
| H A D | backend.c | 205 uint32_t buf_offset = 0; in file_write() local 218 rc = write(priv->fd, buf + buf_offset, count); in file_write() 225 buf_offset += rc; in file_write()
|
| /openbmc/qemu/hw/scsi/ |
| H A D | spapr_vscsi.c | 295 unsigned n, unsigned buf_offset, in vscsi_fetch_desc() argument 349 if (buf_offset > ret->len) { in vscsi_fetch_desc() 350 trace_spapr_vscsi_fetch_desc_out_of_desc_boundary(buf_offset, in vscsi_fetch_desc() 355 ret->va += buf_offset; in vscsi_fetch_desc() 356 ret->len -= buf_offset; in vscsi_fetch_desc()
|