| /linux/net/can/ |
| H A D | bcm.c | 118 u32 nframes; 237 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show() 239 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show() 266 seq_printf(m, "(%u) ", op->nframes); in bcm_proc_show() 268 seq_printf(m, "[%u] ", op->nframes); in bcm_proc_show() 343 if (op->currframe >= op->nframes) in bcm_can_tx() 365 unsigned int datalen = head->nframes * op->cfsiz; in bcm_send_to_user() 384 if (head->nframes) { in bcm_send_to_user() 394 * BCM, where nframes is 1 in bcm_send_to_user() 396 if (head->nframes in bcm_send_to_user() 117 u32 nframes; global() member [all...] |
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | agg-rx.c | 27 tid->nframes--; in mt76_aggr_release() 60 int start, idx, nframes; in mt76_rx_aggr_check_release() local 62 if (!tid->nframes) in mt76_rx_aggr_check_release() 68 nframes = tid->nframes; in mt76_rx_aggr_check_release() 71 idx != start && nframes; in mt76_rx_aggr_check_release() 77 nframes--; in mt76_rx_aggr_check_release() 97 int nframes; in mt76_rx_aggr_reorder_work() local 106 nframes = tid->nframes; in mt76_rx_aggr_reorder_work() 109 if (nframes) in mt76_rx_aggr_reorder_work() 208 if (tid->nframes) in mt76_rx_aggr_reorder() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | uhci-debug.c | 381 int nframes, nerrs; in uhci_sprint_schedule() local 412 nframes = 10; in uhci_sprint_schedule() 425 if (nframes > 0) { in uhci_sprint_schedule() 437 if (nframes > 0) { in uhci_sprint_schedule() 445 if (nframes > 0) { in uhci_sprint_schedule() 457 if (nframes > 0) { in uhci_sprint_schedule() 472 nframes -= j; in uhci_sprint_schedule()
|
| /linux/drivers/staging/media/av7110/ |
| H A D | av7110_ipack.c | 46 int nframes = 0; in send_ipack() local 67 nframes = (p->count - off - 3 - ac3_off) / in send_ipack() 71 p->buf[off + 1] = nframes; in send_ipack() 72 ac3_off += nframes * ai.framesize - p->count; in send_ipack()
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | xmit.c | 68 struct ath_tx_status *ts, int nframes, int nbad, 453 int txok, int *nframes, int *nbad) in ath_tx_count_frames() argument 461 *nframes = 0; in ath_tx_count_frames() 474 (*nframes)++; in ath_tx_count_frames() 501 int nframes; in ath_tx_complete_aggr() local 567 ath_tx_count_frames(bf, ts, txok, &nframes, &nbad); in ath_tx_complete_aggr() 624 ath_tx_rc_status(sc, bf, ts, nframes, nbad, txok); in ath_tx_complete_aggr() 1033 int nframes = 0, ndelim, ret; in ath_tx_form_aggr() local 1051 if (nframes) { in ath_tx_form_aggr() 1053 ath_lookup_legacy(bf) || nframes >= h_baw) in ath_tx_form_aggr() [all …]
|
| H A D | ath9k.h | 613 u16 tids, int nframes,
|
| /linux/drivers/cdrom/ |
| H A D | cdrom.c | 2097 int lba, int nframes) in cdrom_read_cdda_old() argument 2110 nr = nframes; in cdrom_read_cdda_old() 2123 while (nframes > 0) { in cdrom_read_cdda_old() 2124 if (nr > nframes) in cdrom_read_cdda_old() 2125 nr = nframes; in cdrom_read_cdda_old() 2135 nframes -= nr; in cdrom_read_cdda_old() 2143 int lba, int nframes) in cdrom_read_cdda_bpc() argument 2151 while (nframes) { in cdrom_read_cdda_bpc() 2155 nr = min(nframes, max_frames); in cdrom_read_cdda_bpc() 2162 nframes -= nr; in cdrom_read_cdda_bpc() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | psock_tpacket.c | 381 int nframes; in walk_tx() local 388 nframes = ring->rd_num; in walk_tx() 390 nframes = ring->req3.tp_frame_nr; in walk_tx() 393 bug_on(nframes < NUM_PACKETS); in walk_tx() 465 frame_num = (frame_num + 1) % nframes; in walk_tx()
|
| /linux/include/uapi/linux/can/ |
| H A D | bcm.h | 73 __u32 nframes; member
|
| /linux/drivers/net/usb/ |
| H A D | cdc_mbim.c | 417 int nframes; in cdc_mbim_rx_fixup() local 433 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_mbim_rx_fixup() 434 if (nframes < 0) in cdc_mbim_rx_fixup() 460 for (x = 0; x < nframes; x++, dpe16++) { in cdc_mbim_rx_fixup()
|
| H A D | cdc_ncm.c | 1730 int nframes; in cdc_ncm_rx_fixup() local 1756 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_ncm_rx_fixup() 1757 if (nframes < 0) in cdc_ncm_rx_fixup() 1770 nframes = cdc_ncm_rx_verify_ndp32(skb_in, ndpoffset); in cdc_ncm_rx_fixup() 1771 if (nframes < 0) in cdc_ncm_rx_fixup() 1785 for (x = 0; x < nframes; x++) { in cdc_ncm_rx_fixup()
|
| /linux/drivers/net/wwan/ |
| H A D | mhi_wwan_mbim.c | 271 int nframes, n, dpeoffset; in mhi_mbim_rx() local 281 nframes = mbim_rx_verify_ndp16(skb, &ndp16); in mhi_mbim_rx() 282 if (nframes < 0) { in mhi_mbim_rx() 306 for (n = 0; n < nframes; n++, dpeoffset += sizeof(dpe16)) { in mhi_mbim_rx()
|
| /linux/drivers/media/usb/uvc/ |
| H A D | uvc_v4l2.c | 285 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format() 359 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format() 366 if (i == format->nframes) in uvc_v4l2_try_format() 516 for (i = 0; i < format->nframes && maxd != 0; i++) { in uvc_ioctl_s_parm() 949 for (i = 0, index = 0; i < format->nframes; i++) { in uvc_ioctl_enum_framesizes() 959 if (i == format->nframes) in uvc_ioctl_enum_framesizes() 990 for (i = 0; i < format->nframes; i++) { in uvc_ioctl_enum_frameintervals() 1000 if (i == format->nframes) in uvc_ioctl_enum_frameintervals()
|
| H A D | uvc_driver.c | 464 format->nframes = 1; in uvc_parse_format() 490 frame = &frames[format->nframes]; in uvc_parse_format() 496 format->nframes++; in uvc_parse_format() 540 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local 674 nframes++; in uvc_parse_streaming() 688 nframes++; in uvc_parse_streaming() 694 nframes++; in uvc_parse_streaming() 717 size = ALIGN(size, __alignof__(*frame)) + nframes * sizeof(*frame); in uvc_parse_streaming() 729 interval = (void *)frame + nframes * sizeof(*frame); in uvc_parse_streaming() 750 frame += format->nframes; in uvc_parse_streaming()
|
| H A D | uvc_video.c | 204 for (i = 0; i < format->nframes; ++i) { in uvc_fixup_video_ctrl() 2243 if (format->nframes == 0) { in uvc_video_init() 2255 for (i = format->nframes; i > 0; --i) { in uvc_video_init()
|
| /linux/kernel/bpf/ |
| H A D | cpumap.c | 187 int i, nframes = 0; in cpu_map_bpf_prog_run_xdp() local 210 frames[nframes++] = xdpf; in cpu_map_bpf_prog_run_xdp() 233 stats->pass += nframes; in cpu_map_bpf_prog_run_xdp() 235 return nframes; in cpu_map_bpf_prog_run_xdp()
|
| /linux/drivers/block/aoe/ |
| H A D | aoecmd.c | 810 if (ifp && ++ifp->lost > (t->nframes << 1) in rexmit_timer() 1001 if (!t || t->maxout >= t->nframes) in calc_rttavg() 1447 addtgt(struct aoedev *d, char *addr, ulong nframes) in addtgt() argument 1464 t->nframes = nframes; in addtgt() 1469 t->maxout = t->nframes / 2; in addtgt() 1580 t->nframes = n; in aoecmd_cfg_rsp() 1615 t->ssthresh = t->nframes / 2; in aoecmd_wreset() 1616 t->next_cwnd = t->nframes; in aoecmd_wreset()
|
| H A D | aoe.h | 141 ushort nframes; /* cap on frames to use */ member
|
| /linux/net/bpf/ |
| H A D | test_run.c | 241 static int xdp_recv_frames(struct xdp_frame **frames, int nframes, in xdp_recv_frames() argument 249 n = kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, gfp, nframes, in xdp_recv_frames() 252 for (i = 0; i < nframes; i++) in xdp_recv_frames() 257 for (i = 0; i < nframes; i++) { in xdp_recv_frames() 278 int err = 0, act, ret, i, nframes = 0, batch_sz; in xdp_test_run_batch() local 335 frames[nframes++] = frm; in xdp_test_run_batch() 349 if (nframes) { in xdp_test_run_batch() 350 ret = xdp_recv_frames(frames, nframes, xdp->skbs, xdp->dev); in xdp_test_run_batch()
|
| /linux/sound/aoa/soundbus/i2sbus/ |
| H A D | pcm.c | 594 u32 fc, nframes; in handle_interrupt() local 628 nframes = i * runtime->period_size; in handle_interrupt() 629 if (fc < pi->frame_count + nframes) in handle_interrupt() 630 pi->frame_count = fc - nframes; in handle_interrupt()
|
| /linux/include/linux/ |
| H A D | cdrom.h | 93 u32 lba, u32 nframes, u8 *last_sense);
|
| /linux/include/uapi/linux/ |
| H A D | cdrom.h | 245 int nframes; /* number of 2352-byte-frames to read at once */ member
|
| /linux/Documentation/networking/ |
| H A D | can.rst | 744 __u32 nframes; /* number of can_frames following */ 864 Filter by can_id alone, no frames required (nframes=0). 900 TX task configuration. The number of CAN frames is provided in the 'nframes' 913 mytxmsg.msg_head.nframes = 4; 964 msg.msg_head.nframes = 5; 993 msg.msg_head.nframes = 5;
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_eth.c | 544 int nframes = 0; in airoha_qdma_fill_rx_queue() local 560 nframes++; in airoha_qdma_fill_rx_queue() 581 return nframes; in airoha_qdma_fill_rx_queue()
|
| /linux/Documentation/userspace-api/ioctl/ |
| H A D | cdrom.rst | 523 - EINVAL nframes not in range [1 75]
|