Searched refs:chunklen (Results 1 – 4 of 4) sorted by relevance
| /drivers/mtd/maps/ |
| A D | physmap-core.c | 170 unsigned int chunklen = min_t(unsigned int, len, in physmap_addr_gpios_copy_from() local 174 memcpy_fromio(buf, map->virt + winofs, chunklen); in physmap_addr_gpios_copy_from() 175 len -= chunklen; in physmap_addr_gpios_copy_from() 176 buf += chunklen; in physmap_addr_gpios_copy_from() 177 ofs += chunklen; in physmap_addr_gpios_copy_from() 207 unsigned int chunklen = min_t(unsigned int, len, in physmap_addr_gpios_copy_to() local 211 memcpy_toio(map->virt + winofs, buf, chunklen); in physmap_addr_gpios_copy_to() 212 len -= chunklen; in physmap_addr_gpios_copy_to() 213 buf += chunklen; in physmap_addr_gpios_copy_to() 214 ofs += chunklen; in physmap_addr_gpios_copy_to()
|
| /drivers/tty/hvc/ |
| A D | hvsi.c | 392 int chunklen; in hvsi_load_chunk() local 397 chunklen = hvsi_read(hp, hp->inbuf_end, HVSI_MAX_READ); in hvsi_load_chunk() 398 if (chunklen == 0) { in hvsi_load_chunk() 403 pr_debug("%s: got %i bytes\n", __func__, chunklen); in hvsi_load_chunk() 404 dbg_dump_hex(hp->inbuf_end, chunklen); in hvsi_load_chunk() 406 hp->inbuf_end += chunklen; in hvsi_load_chunk()
|
| /drivers/nfc/pn544/ |
| A D | i2c.c | 658 int chunklen; in pn544_hci_i2c_fw_secure_write_frame_cmd() local 672 chunklen = sizeof(chunk->cmd) + sizeof(chunk->be_datalen) + datalen; in pn544_hci_i2c_fw_secure_write_frame_cmd() 674 r = i2c_master_send(phy->i2c_dev, buf, chunklen); in pn544_hci_i2c_fw_secure_write_frame_cmd() 676 if (r == chunklen) in pn544_hci_i2c_fw_secure_write_frame_cmd()
|
| /drivers/memstick/core/ |
| A D | ms_block.c | 877 int chunklen; in msb_read_page() local 884 chunklen = min(miter.length - offset, len); in msb_read_page() 885 memset(miter.addr + offset, 0xFF, chunklen); in msb_read_page() 886 len -= chunklen; in msb_read_page()
|
Completed in 15 milliseconds