Home
last modified time | relevance | path

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

/linux/drivers/mtd/maps/
H A 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/drivers/tty/hvc/
H A 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/drivers/nfc/pn544/
H A Di2c.c658 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()
/linux/net/sctp/
H A 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/net/sunrpc/xprtrdma/
H A 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()