/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() [all...] |
H A D | sdio_txrx.c | 158 int nframes = 0, ret; in mt76s_rx_handler() local 170 nframes += ret; in mt76s_rx_handler() 178 nframes += ret; in mt76s_rx_handler() 182 nframes += !!mt76s_refill_sched_quota(dev, intr.tx.wtqcr); in mt76s_rx_handler() 184 return nframes; in mt76s_rx_handler() 247 int err, nframes = 0, len = 0, pse_sz = 0, ple_sz = 0; in mt76s_tx_run_queue() local 285 nframes++; in mt76s_tx_run_queue() 290 nframes++; in mt76s_tx_run_queue() 302 if (nframes) { in mt76s_tx_run_queue() 312 return nframes; in mt76s_tx_run_queue() 318 int i, nframes, ret; mt76s_txrx_worker() local [all...] |
H A D | sdio.c | 386 int nframes = 0; in mt76s_process_rx_queue() local 400 nframes++; in mt76s_process_rx_queue() 405 return nframes; in mt76s_process_rx_queue() 413 int i, nframes; in mt76s_net_worker() local 416 nframes = 0; in mt76s_net_worker() 422 nframes += mt76s_process_rx_queue(dev, &dev->q_rx[i]); in mt76s_net_worker() 426 } while (nframes > 0); in mt76s_net_worker() 432 int nframes = 0; in mt76s_process_tx_queue() local 452 nframes++; in mt76s_process_tx_queue() 458 return nframes; in mt76s_process_tx_queue() 467 int i, nframes; mt76s_status_worker() local [all...] |
H A D | tx.c | 405 u16 tids, int nframes, in mt76_release_buffered_frames() argument 416 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames() 429 nframes--; in mt76_release_buffered_frames() 434 } while (nframes); in mt76_release_buffered_frames()
|
/linux/net/can/ |
H A D | bcm.c | 117 u32 nframes; member 236 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show() 238 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show() 265 seq_printf(m, "(%u) ", op->nframes); in bcm_proc_show() 267 seq_printf(m, "[%u] ", op->nframes); in bcm_proc_show() 337 if (op->currframe >= op->nframes) in bcm_can_tx() 359 unsigned int datalen = head->nframes * op->cfsiz; in bcm_send_to_user() 378 if (head->nframes) { in bcm_send_to_user() 388 * BCM, where nframes is 1 in bcm_send_to_user() 390 if (head->nframes in bcm_send_to_user() [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/net/wireless/mediatek/mt76/mt7603/ |
H A D | beacon.c | 108 int i, nframes; in mt7603_pre_tbtt_tasklet() local 142 nframes = skb_queue_len(&data.q); in mt7603_pre_tbtt_tasklet() 146 } while (nframes != skb_queue_len(&data.q) && in mt7603_pre_tbtt_tasklet()
|
/linux/drivers/cdrom/ |
H A D | cdrom.c | 2097 int lba, int nframes) in cdrom_read_cdda_old() argument 2108 * start with will ra.nframes size, back down if alloc fails in cdrom_read_cdda_old() 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_frame in cdrom_read_cdda_bpc() 2171 cdrom_read_cdda(struct cdrom_device_info * cdi,__u8 __user * ubuf,int lba,int nframes) cdrom_read_cdda() argument 2994 compat_int_t nframes; mmc_ioctl_cdrom_read_audio() member [all...] |
/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 > in ath_tx_form_aggr() 1501 int nframes = 0, ret; ath_tx_form_burst() local 1692 ath9k_release_buffered_frames(struct ieee80211_hw * hw,struct ieee80211_sta * sta,u16 tids,int nframes,enum ieee80211_frame_release_type reason,bool more_data) ath9k_release_buffered_frames() argument 2566 ath_tx_rc_status(struct ath_softc * sc,struct ath_buf * bf,struct ath_tx_status * ts,int nframes,int nbad,int txok) ath_tx_rc_status() argument [all...] |
H A D | ath9k.h | 613 u16 tids, int nframes,
|
/linux/include/uapi/linux/can/ |
H A D | bcm.h | 64 * @nframes: number of frames appended to the message head. 73 __u32 nframes; member
|
/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/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 | 1680 netif_dbg(dev, rx_err, dev->net, "Invalid nframes = %d\n", ret); in cdc_ncm_rx_verify_ndp16() 1716 netif_dbg(dev, rx_err, dev->net, "Invalid nframes = %d\n", ret); in cdc_ncm_rx_verify_ndp32() 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/media/usb/uvc/ |
H A D | uvc_v4l2.c | 285 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format() 361 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format() 368 if (i == format->nframes) in uvc_v4l2_try_format() 536 for (i = 0; i < format->nframes && maxd != 0; i++) { in uvc_ioctl_s_parm() 973 for (i = 0, index = 0; i < format->nframes; i++) { in uvc_ioctl_enum_framesizes() 983 if (i == format->nframes) in uvc_ioctl_enum_framesizes() 1014 for (i = 0; i < format->nframes; i++) { in uvc_ioctl_enum_frameintervals() 1024 if (i == format->nframes) in uvc_ioctl_enum_frameintervals()
|
H A D | uvcvideo.h | 285 unsigned int nframes; member
|
H A D | uvc_video.c | 204 for (i = 0; i < format->nframes; ++i) { in uvc_fixup_video_ctrl() 2259 if (format->nframes == 0) { in uvc_video_init() 2271 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 211 frames[nframes++] = xdpf; in cpu_map_bpf_prog_run_xdp() 235 stats->pass += nframes; in cpu_map_bpf_prog_run_xdp() 237 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 | 252 static int xdp_recv_frames(struct xdp_frame **frames, int nframes, in xdp_recv_frames() argument 260 n = kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, gfp, nframes, in xdp_recv_frames() 263 for (i = 0; i < nframes; i++) in xdp_recv_frames() 268 for (i = 0; i < nframes; i++) { in xdp_recv_frames() 289 int err = 0, act, ret, i, nframes = 0, batch_sz; in xdp_test_run_batch() local 346 frames[nframes++] = frm; in xdp_test_run_batch() 360 if (nframes) { in xdp_test_run_batch() 361 ret = xdp_recv_frames(frames, nframes, xdp->skbs, xdp->dev); in xdp_test_run_batch()
|
/linux/include/linux/ |
H A D | cdrom.h | 93 u32 lba, u32 nframes, u8 *last_sense);
|
/linux/drivers/net/thunderbolt/ |
H A D | main.c | 1111 unsigned int nframes, i; in tbnet_start_xmit() local 1120 nframes = DIV_ROUND_UP(data_len, TBNET_MAX_PAYLOAD_SIZE); in tbnet_start_xmit() 1121 if (tbnet_available_buffers(&net->tx_ring) < nframes) { in tbnet_start_xmit()
|
/linux/include/uapi/linux/ |
H A D | cdrom.h | 245 int nframes; /* number of 2352-byte-frames to read at once */ member 246 __u8 __user *buf; /* frame buffer (size: nframes*2352 bytes) */
|
/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;
|