Home
last modified time | relevance | path

Searched refs:chunklen (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/mtd/maps/
Dphysmap-core.c170 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()
/linux-6.1.9/drivers/tty/hvc/
Dhvsi.c392 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()
/linux-6.1.9/drivers/nfc/pn544/
Di2c.c660 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()
/linux-6.1.9/net/sctp/
Dsm_make_chunk.c1055 int chunklen = ntohs(chunk->chunk_hdr->length); in sctp_addto_param() local
1066 chunk->chunk_hdr->length = htons(chunklen + len); in sctp_addto_param()
1436 int chunklen; in _sctp_make_chunk() local
1438 chunklen = SCTP_PAD4(sizeof(*chunk_hdr) + paylen); in _sctp_make_chunk()
1439 if (chunklen > SCTP_MAX_CHUNK_LEN) in _sctp_make_chunk()
1443 skb = alloc_skb(chunklen, gfp); in _sctp_make_chunk()
1538 int chunklen = ntohs(chunk->chunk_hdr->length); in sctp_addto_chunk() local
1539 int padlen = SCTP_PAD4(chunklen) - chunklen; in sctp_addto_chunk()
1546 chunk->chunk_hdr->length = htons(chunklen + padlen + len); in sctp_addto_chunk()
/linux-6.1.9/net/sunrpc/xprtrdma/
Drpc_rdma.c1223 u32 chunklen; in decode_write_list() local
1238 if (decode_write_chunk(xdr, &chunklen)) in decode_write_list()
1240 *length += chunklen; in decode_write_list()
/linux-6.1.9/drivers/memstick/core/
Dms_block.c877 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()