/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | pcl816.c | 154 unsigned int seglen) in pcl816_ai_setup_chanlist() argument 162 for (i = 0; i < seglen; i++) { in pcl816_ai_setup_chanlist() 285 unsigned int i, nowmustbechan, seglen; in check_channel_list() local 296 for (i = 1, seglen = 1; i < chanlen; i++, seglen++) { in check_channel_list() 316 if (chanlist[i] != chansegment[i % seglen]) { in check_channel_list() 322 CR_CHAN(chanlist[i % seglen]), in check_channel_list() 323 CR_RANGE(chanlist[i % seglen]), in check_channel_list() 324 CR_AREF(chansegment[i % seglen])); in check_channel_list() 329 seglen = 1; in check_channel_list() 332 return seglen; /* we can serve this with MUX logic */ in check_channel_list() [all …]
|
D | pcl818.c | 343 unsigned int seglen) in pcl818_ai_setup_chanlist() argument 351 devpriv->act_chanlist_len = seglen; in pcl818_ai_setup_chanlist() 355 for (i = 0; i < seglen; i++) { in pcl818_ai_setup_chanlist() 576 unsigned int i, nowmustbechan, seglen; in check_channel_list() local 588 for (i = 1, seglen = 1; i < n_chan; i++, seglen++) { in check_channel_list() 609 if (chanlist[i] != chansegment[i % seglen]) { in check_channel_list() 615 CR_CHAN(chanlist[i % seglen]), in check_channel_list() 616 CR_RANGE(chanlist[i % seglen]), in check_channel_list() 617 CR_AREF(chansegment[i % seglen])); in check_channel_list() 622 seglen = 1; in check_channel_list() [all …]
|
D | adv_pci1710.c | 190 unsigned int seglen; in pci1710_ai_check_chanlist() local 227 seglen = i; in pci1710_ai_check_chanlist() 230 if (cmd->chanlist[i] != chansegment[i % seglen]) { in pci1710_ai_check_chanlist() 236 CR_CHAN(cmd->chanlist[i % seglen]), in pci1710_ai_check_chanlist() 237 CR_RANGE(cmd->chanlist[i % seglen]), in pci1710_ai_check_chanlist() 238 CR_AREF(chansegment[i % seglen])); in pci1710_ai_check_chanlist() 242 devpriv->saved_seglen = seglen; in pci1710_ai_check_chanlist() 251 unsigned int seglen) in pci1710_ai_setup_chanlist() argument 255 unsigned int last_chan = CR_CHAN(chanlist[seglen - 1]); in pci1710_ai_setup_chanlist() 258 for (i = 0; i < seglen; i++) { /* store range list to card */ in pci1710_ai_setup_chanlist()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | rpl.c | 99 size_t seglen; in ipv6_rpl_srh_compress() local 106 seglen = (n * IPV6_PFXTAIL_LEN(cmpri)) + IPV6_PFXTAIL_LEN(cmpre); in ipv6_rpl_srh_compress() 107 outhdr->hdrlen = seglen >> 3; in ipv6_rpl_srh_compress() 108 if (seglen & 0x7) { in ipv6_rpl_srh_compress() 110 outhdr->pad = 8 - (seglen & 0x7); in ipv6_rpl_srh_compress()
|
D | rpl_iptunnel.c | 40 size_t seglen) in rpl_validate_srh() argument 44 if ((srh->hdrlen << 3) != seglen) in rpl_validate_srh() 49 (srh->segments_left * sizeof(struct in6_addr)) != seglen) in rpl_validate_srh()
|
/kernel/linux/linux-5.10/drivers/net/arcnet/ |
D | rfc1201.c | 517 int seglen; in continue_tx() local 535 seglen = maxsegsize; in continue_tx() 536 if (seglen > out->dataleft) in continue_tx() 537 seglen = out->dataleft; in continue_tx() 538 out->dataleft -= seglen; in continue_tx() 540 load_pkt(dev, hard, newsoft, seglen + RFC1201_HDR_SIZE, bufnum); in continue_tx()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
D | qp.c | 3497 unsigned seglen; in _mlx4_ib_post_send() local 3634 &seglen); in _mlx4_ib_post_send() 3639 wqe += seglen; in _mlx4_ib_post_send() 3640 size += seglen / 16; in _mlx4_ib_post_send() 3657 err = build_lso_seg(wqe, ud_wr(wr), qp, &seglen, in _mlx4_ib_post_send() 3664 wqe += seglen; in _mlx4_ib_post_send() 3665 size += seglen / 16; in _mlx4_ib_post_send() 3671 &seglen); in _mlx4_ib_post_send() 3676 wqe += seglen; in _mlx4_ib_post_send() 3677 size += seglen / 16; in _mlx4_ib_post_send() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
D | ionic_txrx.c | 799 unsigned int seglen; in ionic_tx_tso() local 844 seglen = hdrlen + mss; in ionic_tx_tso() 853 len = min(seglen, left); in ionic_tx_tso() 854 frag_left = seglen - len; in ionic_tx_tso() 875 seglen = mss; in ionic_tx_tso()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 2628 int cum_len, seglen, boundary, rdma_count; in myri10ge_xmit() local 2764 seglen = boundary - low; in myri10ge_xmit() 2765 if (seglen > len) in myri10ge_xmit() 2766 seglen = len; in myri10ge_xmit() 2768 cum_len_next = cum_len + seglen; in myri10ge_xmit() 2788 seglen = -cum_len; in myri10ge_xmit() 2800 req->length = htons(seglen); in myri10ge_xmit() 2804 low += seglen; in myri10ge_xmit() 2805 len -= seglen; in myri10ge_xmit() 2812 if (unlikely(cksum_offset > seglen)) in myri10ge_xmit() [all …]
|
/kernel/linux/linux-5.10/crypto/ |
D | af_alg.c | 1146 size_t seglen; in af_alg_get_rsgl() local 1153 seglen = min_t(size_t, (maxsize - len), in af_alg_get_rsgl() 1168 err = af_alg_make_sg(&rsgl->sgl, &msg->msg_iter, seglen); in af_alg_get_rsgl()
|
/kernel/linux/linux-5.10/net/sched/ |
D | sch_cake.c | 1163 int seglen, num_found = 0; in cake_ack_filter() local 1212 seglen = ntohs(iph_check->tot_len) - in cake_ack_filter() 1222 seglen = ntohs(ipv6h_check->payload_len); in cake_ack_filter() 1246 (seglen - __tcp_hdrlen(tcph_check)) != 0 || in cake_ack_filter()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | dc395x.c | 925 u32 seglen = (u32)sg->length; in build_srb() local 927 sgp[i].length = seglen; in build_srb() 928 srb->total_xfer_length += seglen; in build_srb()
|