Home
last modified time | relevance | path

Searched refs:tot_len (Results 1 – 25 of 55) sorted by relevance

123

/drivers/mtd/lpddr/
Dlpddr2_nvm.c330 u_long add, current_len, tot_len, target_len, my_data; in lpddr2_nvm_write() local
341 tot_len = 0; in lpddr2_nvm_write()
343 while (tot_len < target_len) { in lpddr2_nvm_write()
345 my_data = write_buf[tot_len]; in lpddr2_nvm_write()
346 my_data += (write_buf[tot_len+1]) << 8; in lpddr2_nvm_write()
348 my_data += (write_buf[tot_len+2]) << 16; in lpddr2_nvm_write()
349 my_data += (write_buf[tot_len+3]) << 24; in lpddr2_nvm_write()
357 tot_len += pcm_data->bus_width; in lpddr2_nvm_write()
359 current_len = min(target_len - tot_len, in lpddr2_nvm_write()
362 0x00, add, current_len, write_buf + tot_len); in lpddr2_nvm_write()
[all …]
/drivers/net/slip/
Dslhc.c399 if(ip->tot_len != cs->cs_ip.tot_len && in slhc_compress()
400 ntohs(cs->cs_ip.tot_len) == hlen) in slhc_compress()
411 deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ in slhc_compress()
418 if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ in slhc_compress()
543 i = ntohs(ip->tot_len) - hdrlen; in slhc_uncompress()
551 ntohs(ip->tot_len) - hdrlen); in slhc_uncompress()
601 ip->tot_len = htons(len); in slhc_uncompress()
/drivers/base/regmap/
Dregmap-debugfs.c407 int reg_len, tot_len; in regmap_access_read_file() local
424 tot_len = reg_len + 10; /* ': R W V P\n' */ in regmap_access_read_file()
434 if (buf_pos + tot_len + 1 >= count) in regmap_access_read_file()
446 buf_pos += tot_len; in regmap_access_read_file()
448 p += tot_len; in regmap_access_read_file()
/drivers/infiniband/hw/amso1100/
Dc2_qp.c800 u32 tot_len; in c2_post_send() local
847 &tot_len, &actual_sge_count); in c2_post_send()
848 wr.sqwr.send.sge_len = cpu_to_be32(tot_len); in c2_post_send()
870 &tot_len, &actual_sge_count); in c2_post_send()
871 wr.sqwr.rdma_write.sge_len = cpu_to_be32(tot_len); in c2_post_send()
962 u32 tot_len; in c2_post_receive() local
981 ib_wr->num_sge, &tot_len, &actual_sge_count); in c2_post_receive()
/drivers/scsi/fnic/
Dfnic_fcs.c1027 u32 tot_len, eth_hdr_len; in fnic_send_frame() local
1059 tot_len = skb->len; in fnic_send_frame()
1060 BUG_ON(tot_len % 4); in fnic_send_frame()
1067 pa = pci_map_single(fnic->pdev, eth_hdr, tot_len, PCI_DMA_TODEVICE); in fnic_send_frame()
1070 (char *)eth_hdr, tot_len)) != 0) { in fnic_send_frame()
1078 tot_len, PCI_DMA_TODEVICE); in fnic_send_frame()
1083 fnic_queue_wq_desc(wq, skb, pa, tot_len, fr_eof(fp), in fnic_send_frame()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1415 if (gl->tot_len <= RX_COPY_THRES) { in t4vf_pktgl_to_skb()
1417 skb = alloc_skb(gl->tot_len, GFP_ATOMIC); in t4vf_pktgl_to_skb()
1420 __skb_put(skb, gl->tot_len); in t4vf_pktgl_to_skb()
1421 skb_copy_to_linear_data(skb, gl->va, gl->tot_len); in t4vf_pktgl_to_skb()
1430 skb->len = gl->tot_len; in t4vf_pktgl_to_skb()
1480 skb->len = gl->tot_len - s->pktshift; in do_gro()
1693 gl.tot_len = len; in process_responses()
Dadapter.h150 unsigned int tot_len; /* total length of fragments */ member
/drivers/infiniband/hw/nes/
Dnes_mgt.c253 u32 tot_len; in get_fpdu_info() local
341 tot_len = fpdu_info->hdr_len + fpdu_len - ETH_HLEN; in get_fpdu_info()
361 iph->tot_len = cpu_to_be16(tot_len); in get_fpdu_info()
527 len = be16_to_cpu(iph->tot_len); in queue_fpdus()
/drivers/misc/mic/host/
Dmic_virtio.c214 size_t partlen, tot_len = 0; in mic_vringh_copy() local
235 tot_len += partlen; in mic_vringh_copy()
248 *out_len = tot_len; in mic_vringh_copy()
/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1628 if (gl->tot_len <= RX_COPY_THRES) { in cxgb4_pktgl_to_skb()
1629 skb = dev_alloc_skb(gl->tot_len); in cxgb4_pktgl_to_skb()
1632 __skb_put(skb, gl->tot_len); in cxgb4_pktgl_to_skb()
1633 skb_copy_to_linear_data(skb, gl->va, gl->tot_len); in cxgb4_pktgl_to_skb()
1642 skb->len = gl->tot_len; in cxgb4_pktgl_to_skb()
1709 skb->len = gl->tot_len - s->pktshift; in do_gro()
1903 si.tot_len = len; in process_responses()
Dcxgb4.h442 unsigned int tot_len; /* total length of fragments */ member
/drivers/crypto/
Dn2_core.c879 unsigned int tot_len; in n2_compute_chunks() local
899 tot_len = 0; in n2_compute_chunks()
918 tot_len + this_len > (1 << 16)) { in n2_compute_chunks()
932 tot_len = 0; in n2_compute_chunks()
940 tot_len += this_len; in n2_compute_chunks()
/drivers/isdn/i4l/
Disdn_ppp.c1912 unsigned int tot_len; in isdn_ppp_mp_reassembly() local
1930 for (tot_len = n = 0, frag = from; frag != to; frag = frag->next, n++) in isdn_ppp_mp_reassembly()
1931 tot_len += frag->len - MP_HEADER_LEN; in isdn_ppp_mp_reassembly()
1936 (MP_SEQ(from) + n - 1) & MP_LONGSEQ_MASK, tot_len); in isdn_ppp_mp_reassembly()
1937 if ((skb = dev_alloc_skb(tot_len)) == NULL) { in isdn_ppp_mp_reassembly()
1939 "of size %d\n", tot_len); in isdn_ppp_mp_reassembly()
/drivers/infiniband/hw/cxgb4/
Ddevice.c1062 skb = alloc_skb(gl->tot_len + sizeof(struct cpl_pass_accept_req) + in copy_gl_to_skb_pkt()
1067 __skb_put(skb, gl->tot_len + sizeof(struct cpl_pass_accept_req) + in copy_gl_to_skb_pkt()
1083 gl->tot_len - pktshift); in copy_gl_to_skb_pkt()
1145 gl->tot_len); in c4iw_uld_rx_handler()
/drivers/block/
Dnvme-scsi.c1535 u8 opcode, u32 tot_len, u32 offset, in nvme_trans_send_fw_cmd() argument
1558 (unsigned long)hdr->dxferp, tot_len); in nvme_trans_send_fw_cmd()
1563 length = nvme_setup_prps(dev, iod, tot_len, GFP_KERNEL); in nvme_trans_send_fw_cmd()
1564 if (length != tot_len) { in nvme_trans_send_fw_cmd()
1571 c.dlfw.numd = cpu_to_le32((tot_len/BYTES_TO_DWORDS) - 1); in nvme_trans_send_fw_cmd()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c1319 csum_replace2(&iph->check, iph->tot_len, htons(length)); in qlcnic_process_lro()
1320 iph->tot_len = htons(length); in qlcnic_process_lro()
1842 csum_replace2(&iph->check, iph->tot_len, htons(length)); in qlcnic_83xx_process_lro()
1843 iph->tot_len = htons(length); in qlcnic_83xx_process_lro()
/drivers/net/ethernet/tile/
Dtilegx.c1749 (0xFFFF - ih->tot_len) + in tso_headers_prepare()
1778 ih->tot_len = htons(sh_len + p_len - ih_off); in tso_headers_prepare()
1780 ih->check = csum_long(isum_seed + ih->tot_len + in tso_headers_prepare()
/drivers/net/ethernet/sgi/
Dioc3-eth.c543 (ih->tot_len - (ih->ihl << 2)) + in ioc3_tcpudp_checksum()
1439 ih->tot_len - (ih->ihl << 2), in ioc3_start_xmit()
/drivers/net/ppp/
Dpptp.c276 iph->tot_len = htons(skb->len); in pptp_xmit()
/drivers/net/ethernet/sfc/
Dselftest.c376 payload->ip.tot_len = htons(sizeof(*payload) - sizeof(struct ethhdr)); in efx_iterate_state()
Dtx.c1187 tsoh_iph->tot_len = htons(ip_length); in tso_start_new_packet()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c1645 csum_replace2(&iph->check, iph->tot_len, htons(length)); in netxen_process_lro()
1646 iph->tot_len = htons(length); in netxen_process_lro()
/drivers/staging/bcm/
DQos.c826 (ntohs(pIpHeader->tot_len) == in ClassifyPacket()
/drivers/net/hyperv/
Dnetvsc_drv.c534 ip_hdr(skb)->tot_len = 0; in netvsc_start_xmit()
/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1656 + ntohs(ip_hdr(skb)->tot_len)); in atl1e_tso_csum()
1669 ip_hdr(skb)->tot_len = 0; in atl1e_tso_csum()

123