Home
last modified time | relevance | path

Searched refs:totallen (Results 1 – 12 of 12) sorted by relevance

/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c427 u32 totallen = 0, len = 0, tx_desclen = 0; in _rtl92s_fill_h2c_cmd() local
437 if (h2cbufferlen < totallen + len + tx_desclen) in _rtl92s_fill_h2c_cmd()
442 memset((ph2c_buffer + totallen + tx_desclen), 0, len); in _rtl92s_fill_h2c_cmd()
445 le32p_replace_bits((__le32 *)(ph2c_buffer + totallen + in _rtl92s_fill_h2c_cmd()
450 le32p_replace_bits((__le32 *)(ph2c_buffer + totallen + in _rtl92s_fill_h2c_cmd()
456 le32p_replace_bits((__le32 *)(ph2c_buffer + totallen + in _rtl92s_fill_h2c_cmd()
462 memcpy((ph2c_buffer + totallen + tx_desclen + in _rtl92s_fill_h2c_cmd()
472 pre_continueoffset = totallen; in _rtl92s_fill_h2c_cmd()
474 totallen += len; in _rtl92s_fill_h2c_cmd()
477 return totallen; in _rtl92s_fill_h2c_cmd()
[all …]
/drivers/crypto/qce/
Daead.c36 unsigned int totallen; in qce_aead_done() local
71 totallen = req->cryptlen + req->assoclen; in qce_aead_done()
74 totallen, ctx->authsize, 1); in qce_aead_done()
77 totallen, ctx->authsize, 1); in qce_aead_done()
80 totallen = req->cryptlen + req->assoclen - ctx->authsize; in qce_aead_done()
81 scatterwalk_map_and_copy(tag, req->src, totallen, ctx->authsize, 0); in qce_aead_done()
121 unsigned int totallen; in qce_aead_prepare_dst_buf() local
124 totallen = rctx->cryptlen + assoclen; in qce_aead_prepare_dst_buf()
125 rctx->dst_nents = sg_nents_for_len(req->dst, totallen); in qce_aead_prepare_dst_buf()
157 totallen = rctx->cryptlen + rctx->assoclen; in qce_aead_prepare_dst_buf()
[all …]
Dcommon.c439 u32 encr_cfg, auth_cfg, config, totallen; in qce_setup_regs_aead() local
514 totallen = rctx->cryptlen + rctx->assoclen; in qce_setup_regs_aead()
524 qce_write(qce, REG_AUTH_SEG_SIZE, totallen); in qce_setup_regs_aead()
529 qce_write(qce, REG_SEG_SIZE, totallen + ctx->authsize); in qce_setup_regs_aead()
531 qce_write(qce, REG_SEG_SIZE, totallen); in qce_setup_regs_aead()
/drivers/usb/storage/
Djumpshot.c161 unsigned int totallen, alloclen; in jumpshot_read_data() local
174 totallen = sectors * info->ssize; in jumpshot_read_data()
180 alloclen = min(totallen, 65536u); in jumpshot_read_data()
188 len = min(totallen, alloclen); in jumpshot_read_data()
218 totallen -= len; in jumpshot_read_data()
219 } while (totallen > 0); in jumpshot_read_data()
238 unsigned int totallen, alloclen; in jumpshot_write_data() local
251 totallen = sectors * info->ssize; in jumpshot_write_data()
257 alloclen = min(totallen, 65536u); in jumpshot_write_data()
266 len = min(totallen, alloclen); in jumpshot_write_data()
[all …]
Ddatafab.c143 unsigned int totallen, alloclen; in datafab_read_data() local
162 totallen = sectors * info->ssize; in datafab_read_data()
168 alloclen = min(totallen, 65536u); in datafab_read_data()
177 len = min(totallen, alloclen); in datafab_read_data()
206 totallen -= len; in datafab_read_data()
207 } while (totallen > 0); in datafab_read_data()
227 unsigned int totallen, alloclen; in datafab_write_data() local
246 totallen = sectors * info->ssize; in datafab_write_data()
252 alloclen = min(totallen, 65536u); in datafab_write_data()
261 len = min(totallen, alloclen); in datafab_write_data()
[all …]
Dshuttle_usbat.c1124 unsigned int totallen, alloclen; in usbat_flash_read_data() local
1143 totallen = sectors * info->ssize; in usbat_flash_read_data()
1151 alloclen = min(totallen, 65536u); in usbat_flash_read_data()
1161 len = min(totallen, alloclen); in usbat_flash_read_data()
1184 totallen -= len; in usbat_flash_read_data()
1185 } while (totallen > 0); in usbat_flash_read_data()
1215 unsigned int totallen, alloclen; in usbat_flash_write_data() local
1234 totallen = sectors * info->ssize; in usbat_flash_write_data()
1242 alloclen = min(totallen, 65536u); in usbat_flash_write_data()
1252 len = min(totallen, alloclen); in usbat_flash_write_data()
[all …]
/drivers/mtd/parsers/
Dparser_imagetag.c69 unsigned int rootfslen, kernellen, sparelen, totallen; in bcm963xx_parse_imagetag_partitions() local
110 if (kstrtouint(buf->total_length, 10, &totallen)) { in bcm963xx_parse_imagetag_partitions()
130 spareaddr = roundup(totallen, master->erasesize); in bcm963xx_parse_imagetag_partitions()
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c227 u32 totallen = xdp->data_end - xdp->data_meta; in mlx5e_xsk_construct_skb() local
231 skb = napi_alloc_skb(rq->cq.napi, totallen); in mlx5e_xsk_construct_skb()
237 skb_put_data(skb, xdp->data_meta, totallen); in mlx5e_xsk_construct_skb()
/drivers/infiniband/hw/irdma/
Dpuda.c533 info.len = buf->totallen; in irdma_puda_send_buf()
1275 txbuf->totallen = txbuf->hdrlen + fpdu_len; in irdma_ieq_compl_pfpdu()
1279 txbuf->totallen = buf->hdrlen + fpdu_len; in irdma_ieq_compl_pfpdu()
1408 txbuf->mem.va, txbuf->totallen, false); in irdma_ieq_handle_partial()
1497 txbuf->totallen = txbuf->hdrlen + len; in irdma_ieq_process_buf()
1502 txbuf->totallen = buf->hdrlen + len; in irdma_ieq_process_buf()
1506 16, 8, txbuf->mem.va, txbuf->totallen, in irdma_ieq_process_buf()
1606 buf->mem.va, buf->totallen, false); in irdma_ieq_handle_exception()
Dpuda.h69 u32 totallen; /* machlen+iphlen+tcphlen+datalen */ member
Dutils.c1590 buf->totallen = pkt_len + buf->maclen; in irdma_gen1_puda_get_tcpip_info()
1592 if (info->payload_len < buf->totallen) { in irdma_gen1_puda_get_tcpip_info()
1595 info->payload_len, buf->totallen); in irdma_gen1_puda_get_tcpip_info()
1637 buf->totallen = pkt_len; in irdma_puda_get_tcpip_info()
Dcm.c342 sqbuf->totallen = pktsize; in irdma_form_ah_cm_frame()
397 16, 8, sqbuf->mem.va, sqbuf->totallen, false); in irdma_form_ah_cm_frame()
458 sqbuf->totallen = pktsize + eth_hlen; in irdma_form_uda_cm_frame()
585 16, 8, sqbuf->mem.va, sqbuf->totallen, false); in irdma_form_uda_cm_frame()
3152 16, 8, rbuf->mem.va, rbuf->totallen, false); in irdma_receive_ilq()