Home
last modified time | relevance | path

Searched refs:nframes (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/net/wireless/mediatek/mt76/
H A Dagg-rx.c27 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 …]
H A Dsdio.c382 int nframes = 0;
396 nframes++; in mt76s_process_rx_queue()
401 return nframes; in mt76s_process_rx_queue()
409 int i, nframes; in mt76s_net_worker()
412 nframes = 0; in mt76s_net_worker()
418 nframes += mt76s_process_rx_queue(dev, &dev->q_rx[i]); in mt76s_net_worker()
422 } while (nframes > 0); in mt76s_net_worker()
428 int nframes = 0;
448 nframes++; in mt76s_process_tx_queue()
454 return nframes; in mt76s_process_tx_queue()
386 int nframes = 0; mt76s_process_rx_queue() local
413 int i, nframes; mt76s_net_worker() local
432 int nframes = 0; mt76s_process_tx_queue() local
467 int i, nframes; mt76s_status_worker() local
[all...]
H A Dtx.c446 u16 tids, int nframes, in mt76_release_buffered_frames()
457 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames()
470 nframes--; in mt76_release_buffered_frames()
476 } while (nframes); in mt76_release_buffered_frames()
441 mt76_release_buffered_frames(struct ieee80211_hw * hw,struct ieee80211_sta * sta,u16 tids,int nframes,enum ieee80211_frame_release_type reason,bool more_data) mt76_release_buffered_frames() argument
H A Dmt76.h469 u16 nframes; member
1557 u16 tids, int nframes,
/linux/net/can/
H A Dbcm.c124 u32 nframes;
252 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show()
254 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show()
281 seq_printf(m, "(%u) ", op->nframes); in bcm_proc_show()
283 seq_printf(m, "[%u] ", op->nframes); in bcm_proc_show()
388 if (op->currframe >= op->nframes) in bcm_can_tx()
411 unsigned int datalen = head->nframes * op->cfsiz; in bcm_send_to_user()
429 if (head->nframes) { in bcm_send_to_user()
439 * BCM, where nframes is 1 in bcm_send_to_user()
441 if (head->nframes in bcm_send_to_user()
123 u32 nframes; global() member
[all...]
/linux/drivers/usb/host/
H A Duhci-debug.c381 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 Dbeacon.c110 int i, nframes; in mt7603_pre_tbtt_tasklet() local
144 nframes = skb_queue_len(&data.q); in mt7603_pre_tbtt_tasklet()
148 } while (nframes != skb_queue_len(&data.q) && in mt7603_pre_tbtt_tasklet()
H A Dmain.c458 u16 tids, int nframes, in mt7603_release_buffered_frames() argument
478 if (!nframes) in mt7603_release_buffered_frames()
487 nframes--; in mt7603_release_buffered_frames()
505 mt76_release_buffered_frames(hw, sta, tids, nframes, reason, in mt7603_release_buffered_frames()
/linux/drivers/staging/media/av7110/
H A Dav7110_ipack.c46 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/cdrom/
H A Dcdrom.c2119 int lba, int nframes) in cdrom_read_cdda_old()
2130 * start with will ra.nframes size, back down if alloc fails in cdrom_read_cdda_old()
2132 nr = nframes; in cdrom_read_cdda_old()
2145 while (nframes > 0) { in cdrom_read_cdda_old()
2146 if (nr > nframes) in cdrom_read_cdda_old()
2147 nr = nframes; in cdrom_read_cdda_old()
2157 nframes -= nr; in cdrom_read_cdda_old()
2165 int lba, int nframes) in cdrom_read_cdda_bpc()
2173 while (nframes) { in cdrom_read_cdda_bpc()
2177 nr = min(nframes, max_frame in cdrom_read_cdda_bpc()
2120 cdrom_read_cdda_old(struct cdrom_device_info * cdi,__u8 __user * ubuf,int lba,int nframes) cdrom_read_cdda_old() argument
2166 cdrom_read_cdda_bpc(struct cdrom_device_info * cdi,__u8 __user * ubuf,int lba,int nframes) cdrom_read_cdda_bpc() argument
2194 cdrom_read_cdda(struct cdrom_device_info * cdi,__u8 __user * ubuf,int lba,int nframes) cdrom_read_cdda() argument
3017 compat_int_t nframes; mmc_ioctl_cdrom_read_audio() member
[all...]
/linux/tools/testing/selftests/net/
H A Dpsock_tpacket.c381 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 Dbcm.h73 __u32 nframes; member
/linux/drivers/net/usb/
H A Dcdc_mbim.c419 int nframes; in cdc_mbim_rx_fixup()
435 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_mbim_rx_fixup()
436 if (nframes < 0) in cdc_mbim_rx_fixup()
462 for (x = 0; x < nframes; x++, dpe16++) { in cdc_mbim_rx_fixup()
418 int nframes; cdc_mbim_rx_fixup() local
H A Dcdc_ncm.c1684 netif_dbg(dev, rx_err, dev->net, "Invalid nframes = %d\n", ret); in cdc_ncm_rx_verify_ndp16()
1721 netif_dbg(dev, rx_err, dev->net, "Invalid nframes = %d\n", ret); in cdc_ncm_rx_verify_ndp32()
1735 int nframes; in cdc_ncm_rx_fixup()
1761 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_ncm_rx_fixup()
1762 if (nframes < 0) in cdc_ncm_rx_fixup()
1775 nframes = cdc_ncm_rx_verify_ndp32(skb_in, ndpoffset); in cdc_ncm_rx_fixup()
1776 if (nframes < 0) in cdc_ncm_rx_fixup()
1790 for (x = 0; x < nframes; x++) { in cdc_ncm_rx_fixup()
1732 int nframes; cdc_ncm_rx_fixup() local
/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c247 net_err_ratelimited("Invalid nframes = %d\n", ret); in mbim_rx_verify_ndp16()
278 int nframes, n, dpeoffset; in mhi_mbim_rx() local
288 nframes = mbim_rx_verify_ndp16(skb, &ndp16); in mhi_mbim_rx()
289 if (nframes < 0) { in mhi_mbim_rx()
313 for (n = 0; n < nframes; n++, dpeoffset += sizeof(dpe16)) { in mhi_mbim_rx()
/linux/kernel/bpf/
H A Dcpumap.c199 int i, nframes = 0; in cpu_map_bpf_prog_run_xdp()
222 frames[nframes++] = xdpf; in cpu_map_bpf_prog_run_xdp()
248 stats->pass += nframes;
250 return nframes; in cpu_map_bpf_prog_run()
189 int i, nframes = 0; cpu_map_bpf_prog_run_xdp() local
/linux/drivers/block/aoe/
H A Daoecmd.c810 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 Daoe.h141 ushort nframes; /* cap on frames to use */ member
/linux/net/bpf/
H A Dtest_run.c241 static int xdp_recv_frames(struct xdp_frame **frames, int nframes, in xdp_recv_frames() argument
250 nframes, (void **)skbs))) { in xdp_recv_frames()
251 for (i = 0; i < nframes; i++) in xdp_recv_frames()
256 for (i = 0; i < nframes; i++) { in xdp_recv_frames()
277 int err = 0, act, ret, i, nframes = 0, batch_sz; in xdp_test_run_batch() local
334 frames[nframes++] = frm; in xdp_test_run_batch()
348 if (nframes) { in xdp_test_run_batch()
349 ret = xdp_recv_frames(frames, nframes, xdp->skbs, xdp->dev); in xdp_test_run_batch()
/linux/sound/aoa/soundbus/i2sbus/
H A Dpcm.c619 u32 fc, nframes; in handle_interrupt()
653 nframes = i * runtime->period_size; in handle_interrupt()
654 if (fc < pi->frame_count + nframes) in handle_interrupt()
655 pi->frame_count = fc - nframes; in handle_interrupt()
594 u32 fc, nframes; handle_interrupt() local
/linux/include/linux/
H A Dcdrom.h92 u32 lba, u32 nframes, u8 *last_sense);
/linux/drivers/net/thunderbolt/
H A Dmain.c1140 unsigned int nframes, i; in tbnet_start_xmit()
1149 nframes = DIV_ROUND_UP(data_len, TBNET_MAX_PAYLOAD_SIZE); in tbnet_start_xmit()
1150 if (tbnet_available_buffers(&net->tx_ring) < nframes) { in tbnet_start_xmit()
1139 unsigned int nframes, i; tbnet_start_xmit() local
/linux/include/uapi/linux/
H A Dcdrom.h245 int nframes; /* number of 2352-byte-frames to read at once */ member
/linux/Documentation/networking/
H A Dcan.rst744 __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 Dairoha_eth.c680 int nframes = 0; in airoha_qdma_rx_process()
696 nframes++; in airoha_qdma_rx_process()
715 if (nframes) in airoha_qdma_rx_process()
720 return nframes; in airoha_qdma_rx_process()
596 int nframes = 0; airoha_qdma_fill_rx_queue() local

12