Searched refs:chunklen (Results 1 – 4 of 4) sorted by relevance
/drivers/mtd/maps/ |
D | physmap-core.c | 177 unsigned int chunklen = min_t(unsigned int, len, in physmap_addr_gpios_copy_from() local 181 memcpy_fromio(buf, map->virt + winofs, chunklen); in physmap_addr_gpios_copy_from() 182 len -= chunklen; in physmap_addr_gpios_copy_from() 183 buf += chunklen; in physmap_addr_gpios_copy_from() 184 ofs += chunklen; in physmap_addr_gpios_copy_from() 214 unsigned int chunklen = min_t(unsigned int, len, in physmap_addr_gpios_copy_to() local 218 memcpy_toio(map->virt + winofs, buf, chunklen); in physmap_addr_gpios_copy_to() 219 len -= chunklen; in physmap_addr_gpios_copy_to() 220 buf += chunklen; in physmap_addr_gpios_copy_to() 221 ofs += chunklen; in physmap_addr_gpios_copy_to()
|
/drivers/tty/hvc/ |
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/ |
D | i2c.c | 660 int chunklen; in pn544_hci_i2c_fw_secure_write_frame_cmd() local 674 chunklen = sizeof(chunk->cmd) + sizeof(chunk->be_datalen) + datalen; in pn544_hci_i2c_fw_secure_write_frame_cmd() 676 r = i2c_master_send(phy->i2c_dev, buf, chunklen); in pn544_hci_i2c_fw_secure_write_frame_cmd() 678 if (r == chunklen) in pn544_hci_i2c_fw_secure_write_frame_cmd()
|
/drivers/memstick/core/ |
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()
|