/linux-4.4.14/drivers/staging/comedi/drivers/ |
H A D | pcl816.c | 153 unsigned int seglen) pcl816_ai_setup_chanlist() 161 for (i = 0; i < seglen; i++) { pcl816_ai_setup_chanlist() 284 unsigned int i, nowmustbechan, seglen, segpos; check_channel_list() local 295 for (i = 1, seglen = 1; i < chanlen; i++, seglen++) { check_channel_list() 315 if (chanlist[i] != chansegment[i % seglen]) { check_channel_list() 321 CR_CHAN(chanlist[i % seglen]), check_channel_list() 322 CR_RANGE(chanlist[i % seglen]), check_channel_list() 323 CR_AREF(chansegment[i % seglen])); check_channel_list() 328 seglen = 1; check_channel_list() 331 return seglen; /* we can serve this with MUX logic */ check_channel_list() 410 unsigned int seglen; pcl816_ai_cmd() local 415 seglen = check_channel_list(dev, s, cmd->chanlist, cmd->chanlist_len); pcl816_ai_cmd() 416 if (seglen < 1) pcl816_ai_cmd() 418 pcl816_ai_setup_chanlist(dev, cmd->chanlist, seglen); pcl816_ai_cmd() 151 pcl816_ai_setup_chanlist(struct comedi_device *dev, unsigned int *chanlist, unsigned int seglen) pcl816_ai_setup_chanlist() argument
|
H A D | pcl818.c | 342 unsigned int seglen) pcl818_ai_setup_chanlist() 350 devpriv->act_chanlist_len = seglen; pcl818_ai_setup_chanlist() 354 for (i = 0; i < seglen; i++) { pcl818_ai_setup_chanlist() 575 unsigned int i, nowmustbechan, seglen, segpos; check_channel_list() local 587 for (i = 1, seglen = 1; i < n_chan; i++, seglen++) { check_channel_list() 608 if (chanlist[i] != chansegment[i % seglen]) { check_channel_list() 614 CR_CHAN(chanlist[i % seglen]), check_channel_list() 615 CR_RANGE(chanlist[i % seglen]), check_channel_list() 616 CR_AREF(chansegment[i % seglen])); check_channel_list() 621 seglen = 1; check_channel_list() 623 return seglen; check_channel_list() 714 unsigned int seglen; pcl818_ai_cmd() local 719 seglen = check_channel_list(dev, s, cmd->chanlist, cmd->chanlist_len); pcl818_ai_cmd() 720 if (seglen < 1) pcl818_ai_cmd() 722 pcl818_ai_setup_chanlist(dev, cmd->chanlist, seglen); pcl818_ai_cmd() 340 pcl818_ai_setup_chanlist(struct comedi_device *dev, unsigned int *chanlist, unsigned int seglen) pcl818_ai_setup_chanlist() argument
|
H A D | adv_pci1710.c | 245 unsigned int seglen; pci171x_ai_check_chanlist() local 282 seglen = i; pci171x_ai_check_chanlist() 285 if (cmd->chanlist[i] != chansegment[i % seglen]) { pci171x_ai_check_chanlist() 291 CR_CHAN(cmd->chanlist[i % seglen]), pci171x_ai_check_chanlist() 292 CR_RANGE(cmd->chanlist[i % seglen]), pci171x_ai_check_chanlist() 293 CR_AREF(chansegment[i % seglen])); pci171x_ai_check_chanlist() 297 devpriv->saved_seglen = seglen; pci171x_ai_check_chanlist() 306 unsigned int seglen) pci171x_ai_setup_chanlist() 311 unsigned int last_chan = CR_CHAN(chanlist[seglen - 1]); pci171x_ai_setup_chanlist() 314 for (i = 0; i < seglen; i++) { /* store range list to card */ pci171x_ai_setup_chanlist() 302 pci171x_ai_setup_chanlist(struct comedi_device *dev, struct comedi_subdevice *s, unsigned int *chanlist, unsigned int n_chan, unsigned int seglen) pci171x_ai_setup_chanlist() argument
|
/linux-4.4.14/drivers/net/arcnet/ |
H A D | rfc1201.c | 517 int seglen; continue_tx() local 535 seglen = maxsegsize; continue_tx() 536 if (seglen > out->dataleft) continue_tx() 537 seglen = out->dataleft; continue_tx() 538 out->dataleft -= seglen; continue_tx() 540 load_pkt(dev, hard, newsoft, seglen + RFC1201_HDR_SIZE, bufnum); continue_tx()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 2761 unsigned uninitialized_var(seglen); mlx4_ib_post_send() 2885 ctrl, &seglen); mlx4_ib_post_send() 2890 wqe += seglen; mlx4_ib_post_send() 2891 size += seglen / 16; mlx4_ib_post_send() 2908 err = build_lso_seg(wqe, ud_wr(wr), qp, &seglen, mlx4_ib_post_send() 2915 wqe += seglen; mlx4_ib_post_send() 2916 size += seglen / 16; mlx4_ib_post_send() 2922 ctrl, &seglen); mlx4_ib_post_send() 2927 wqe += seglen; mlx4_ib_post_send() 2928 size += seglen / 16; mlx4_ib_post_send() 2933 build_tunnel_header(ud_wr(wr), wqe, &seglen); mlx4_ib_post_send() local 2934 wqe += seglen; mlx4_ib_post_send() 2935 size += seglen / 16; mlx4_ib_post_send() 2948 build_tunnel_header(ud_wr(wr), wqe, &seglen); mlx4_ib_post_send() local 2949 wqe += seglen; mlx4_ib_post_send() 2950 size += seglen / 16; mlx4_ib_post_send() 2956 &seglen); mlx4_ib_post_send() 2961 wqe += seglen; mlx4_ib_post_send() 2962 size += seglen / 16; mlx4_ib_post_send()
|
/linux-4.4.14/crypto/ |
H A D | algif_aead.c | 417 size_t seglen = min_t(size_t, iov_iter_count(&msg->msg_iter), aead_recvmsg() local 422 seglen); aead_recvmsg()
|
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 2830 int cum_len, seglen, boundary, rdma_count; myri10ge_xmit() local 2966 seglen = boundary - low; myri10ge_xmit() 2967 if (seglen > len) myri10ge_xmit() 2968 seglen = len; myri10ge_xmit() 2970 cum_len_next = cum_len + seglen; myri10ge_xmit() 2990 seglen = -cum_len; myri10ge_xmit() 3002 req->length = htons(seglen); myri10ge_xmit() 3006 low += seglen; myri10ge_xmit() 3007 len -= seglen; myri10ge_xmit() 3014 if (unlikely(cksum_offset > seglen)) myri10ge_xmit() 3015 cksum_offset -= seglen; myri10ge_xmit()
|
/linux-4.4.14/net/ipv4/ |
H A D | ip_output.c | 230 /* common case: locally created skb or seglen is <= mtu */ ip_finish_output_gso()
|
/linux-4.4.14/drivers/scsi/ |
H A D | dc395x.c | 1028 u32 seglen = (u32)sg->length; build_srb() local 1030 sgp[i].length = seglen; build_srb() 1031 srb->total_xfer_length += seglen; build_srb()
|