Searched refs:seglen (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/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()
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | qp.c | 3453 unsigned uninitialized_var(seglen); in _mlx4_ib_post_send() 3590 ctrl, &seglen); in _mlx4_ib_post_send() 3595 wqe += seglen; in _mlx4_ib_post_send() 3596 size += seglen / 16; in _mlx4_ib_post_send() 3613 err = build_lso_seg(wqe, ud_wr(wr), qp, &seglen, in _mlx4_ib_post_send() 3620 wqe += seglen; in _mlx4_ib_post_send() 3621 size += seglen / 16; in _mlx4_ib_post_send() 3627 ctrl, &seglen); in _mlx4_ib_post_send() 3632 wqe += seglen; in _mlx4_ib_post_send() 3633 size += seglen / 16; in _mlx4_ib_post_send() [all …]
|
/Linux-v4.19/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 2641 int cum_len, seglen, boundary, rdma_count; in myri10ge_xmit() local 2777 seglen = boundary - low; in myri10ge_xmit() 2778 if (seglen > len) in myri10ge_xmit() 2779 seglen = len; in myri10ge_xmit() 2781 cum_len_next = cum_len + seglen; in myri10ge_xmit() 2801 seglen = -cum_len; in myri10ge_xmit() 2813 req->length = htons(seglen); in myri10ge_xmit() 2817 low += seglen; in myri10ge_xmit() 2818 len -= seglen; in myri10ge_xmit() 2825 if (unlikely(cksum_offset > seglen)) in myri10ge_xmit() [all …]
|
/Linux-v4.19/crypto/ |
D | af_alg.c | 1135 size_t seglen; in af_alg_get_rsgl() local 1142 seglen = min_t(size_t, (maxsize - len), in af_alg_get_rsgl() 1157 err = af_alg_make_sg(&rsgl->sgl, &msg->msg_iter, seglen); in af_alg_get_rsgl()
|
/Linux-v4.19/net/sched/ |
D | sch_cake.c | 1116 int seglen, num_found = 0; in cake_ack_filter() local 1165 seglen = ntohs(iph_check->tot_len) - in cake_ack_filter() 1175 seglen = ntohs(ipv6h_check->payload_len); in cake_ack_filter() 1199 (seglen - __tcp_hdrlen(tcph_check)) != 0 || in cake_ack_filter()
|
/Linux-v4.19/drivers/scsi/ |
D | dc395x.c | 1025 u32 seglen = (u32)sg->length; in build_srb() local 1027 sgp[i].length = seglen; in build_srb() 1028 srb->total_xfer_length += seglen; in build_srb()
|