Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
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()
205 if (tid->nframes) in mt76_rx_aggr_reorder()
[all …]
Dmt76x02_beacon.c179 int i, nframes; in mt76x02_enqueue_buffered_bc() local
185 nframes = skb_queue_len(&data->q); in mt76x02_enqueue_buffered_bc()
189 } while (nframes != skb_queue_len(&data->q) && in mt76x02_enqueue_buffered_bc()
Dsdio.c112 int nframes = 0; in mt76s_process_rx_queue() local
126 nframes++; in mt76s_process_rx_queue()
131 return nframes; in mt76s_process_rx_queue()
Dtx.c340 u16 tids, int nframes, in mt76_release_buffered_frames() argument
351 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames()
364 nframes--; in mt76_release_buffered_frames()
369 } while (nframes); in mt76_release_buffered_frames()
/kernel/linux/linux-5.10/net/can/
Dbcm.c114 u32 nframes; member
220 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show()
222 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show()
249 seq_printf(m, "(%u) ", op->nframes); in bcm_proc_show()
251 seq_printf(m, "[%u] ", op->nframes); in bcm_proc_show()
309 if (op->currframe >= op->nframes) in bcm_can_tx()
326 unsigned int datalen = head->nframes * op->cfsiz; in bcm_send_to_user()
335 if (head->nframes) { in bcm_send_to_user()
347 if (head->nframes == 1) in bcm_send_to_user()
418 msg_head.nframes = 0; in bcm_tx_timeout_handler()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dsdio_txrx.c195 int err, nframes = 0, len = 0, pse_sz = 0, ple_sz = 0; in mt7663s_tx_run_queue() local
227 nframes++; in mt7663s_tx_run_queue()
233 nframes++; in mt7663s_tx_run_queue()
245 if (nframes) { in mt7663s_tx_run_queue()
253 return nframes; in mt7663s_tx_run_queue()
261 int i, nframes = 0; in mt7663s_tx_work() local
270 nframes += ret; in mt7663s_tx_work()
272 if (nframes) in mt7663s_tx_work()
284 int nframes = 0, ret; in mt7663s_rx_work() local
301 nframes += ret; in mt7663s_rx_work()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Dcpumap.c234 int i, nframes = 0; in cpu_map_bpf_prog_run_xdp() local
263 frames[nframes++] = xdpf; in cpu_map_bpf_prog_run_xdp()
294 return nframes; in cpu_map_bpf_prog_run_xdp()
316 int i, n, m, nframes; in cpu_map_kthread_run() local
351 nframes = cpu_map_bpf_prog_run_xdp(rcpu, frames, n, &stats); in cpu_map_kthread_run()
352 if (nframes) { in cpu_map_kthread_run()
353 m = kmem_cache_alloc_bulk(skbuff_head_cache, gfp, nframes, skbs); in cpu_map_kthread_run()
355 for (i = 0; i < nframes; i++) in cpu_map_kthread_run()
357 drops += nframes; in cpu_map_kthread_run()
362 for (i = 0; i < nframes; i++) { in cpu_map_kthread_run()
/kernel/linux/linux-5.10/drivers/usb/host/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dbeacon.c73 int i, nframes; in mt7603_pre_tbtt_tasklet() local
100 nframes = skb_queue_len(&data.q); in mt7603_pre_tbtt_tasklet()
104 } while (nframes != skb_queue_len(&data.q) && in mt7603_pre_tbtt_tasklet()
Dmain.c421 u16 tids, int nframes, in mt7603_release_buffered_frames() argument
436 if (!nframes) in mt7603_release_buffered_frames()
446 nframes--; in mt7603_release_buffered_frames()
455 if (nframes) in mt7603_release_buffered_frames()
456 mt76_release_buffered_frames(hw, sta, tids, nframes, reason, in mt7603_release_buffered_frames()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dxmit.c62 struct ath_tx_status *ts, int nframes, int nbad,
411 int *nframes, int *nbad) in ath_tx_count_frames() argument
419 *nframes = 0; in ath_tx_count_frames()
430 (*nframes)++; in ath_tx_count_frames()
457 int nframes; in ath_tx_complete_aggr() local
523 ath_tx_count_frames(sc, bf, ts, txok, &nframes, &nbad); in ath_tx_complete_aggr()
580 ath_tx_rc_status(sc, bf, ts, nframes, nbad, txok); in ath_tx_complete_aggr()
989 int nframes = 0, ndelim, ret; in ath_tx_form_aggr() local
1007 if (nframes) { in ath_tx_form_aggr()
1009 ath_lookup_legacy(bf) || nframes >= h_baw) in ath_tx_form_aggr()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
Dav7110_ipack.c51 int nframes = 0; in send_ipack() local
72 nframes = (p->count - off - 3 - ac3_off) / in send_ipack()
76 p->buf[off + 1] = nframes; in send_ipack()
77 ac3_off += nframes * ai.framesize - p->count; in send_ipack()
/kernel/linux/linux-5.10/drivers/cdrom/
Dcdrom.c2114 int lba, int nframes) in cdrom_read_cdda_old() argument
2127 nr = nframes; in cdrom_read_cdda_old()
2140 while (nframes > 0) { in cdrom_read_cdda_old()
2141 if (nr > nframes) in cdrom_read_cdda_old()
2142 nr = nframes; in cdrom_read_cdda_old()
2152 nframes -= nr; in cdrom_read_cdda_old()
2160 int lba, int nframes) in cdrom_read_cdda_bpc() argument
2180 while (nframes) { in cdrom_read_cdda_bpc()
2181 nr = nframes; in cdrom_read_cdda_bpc()
2234 nframes -= nr; in cdrom_read_cdda_bpc()
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/can/
Dbcm.h33 __u32 nframes; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/can/
Dbcm.h20 __u32 nframes; member
/kernel/linux/linux-5.10/include/uapi/linux/can/
Dbcm.h73 __u32 nframes; member
/kernel/linux/linux-5.10/tools/testing/selftests/net/
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()
/kernel/linux/linux-5.10/drivers/net/usb/
Dcdc_mbim.c415 int nframes; in cdc_mbim_rx_fixup() local
431 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_mbim_rx_fixup()
432 if (nframes < 0) in cdc_mbim_rx_fixup()
458 for (x = 0; x < nframes; x++, dpe16++) { in cdc_mbim_rx_fixup()
Dcdc_ncm.c1706 int nframes; in cdc_ncm_rx_fixup() local
1732 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_ncm_rx_fixup()
1733 if (nframes < 0) in cdc_ncm_rx_fixup()
1746 nframes = cdc_ncm_rx_verify_ndp32(skb_in, ndpoffset); in cdc_ncm_rx_fixup()
1747 if (nframes < 0) in cdc_ncm_rx_fixup()
1761 for (x = 0; x < nframes; x++) { in cdc_ncm_rx_fixup()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_v4l2.c194 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format()
267 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format()
274 if (i == format->nframes) in uvc_v4l2_try_format()
436 for (i = 0; i < format->nframes && maxd != 0; i++) { in uvc_v4l2_set_streamparm()
1236 for (i = 0, index = 0; i < format->nframes; i++) { in uvc_ioctl_enum_framesizes()
1246 if (i == format->nframes) in uvc_ioctl_enum_framesizes()
1277 for (i = 0; i < format->nframes; i++) { in uvc_ioctl_enum_frameintervals()
1287 if (i == format->nframes) in uvc_ioctl_enum_frameintervals()
Duvc_driver.c642 format->nframes = 1; in uvc_parse_format()
666 frame = &format->frame[format->nframes]; in uvc_parse_format()
744 format->nframes++; in uvc_parse_format()
785 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local
914 nframes++; in uvc_parse_streaming()
928 nframes++; in uvc_parse_streaming()
934 nframes++; in uvc_parse_streaming()
951 size = nformats * sizeof(*format) + nframes * sizeof(*frame) in uvc_parse_streaming()
960 interval = (u32 *)&frame[nframes]; in uvc_parse_streaming()
978 frame += format->nframes; in uvc_parse_streaming()
/kernel/linux/linux-5.10/drivers/block/aoe/
Daoecmd.c802 if (ifp && ++ifp->lost > (t->nframes << 1) in rexmit_timer()
997 if (!t || t->maxout >= t->nframes) in calc_rttavg()
1440 addtgt(struct aoedev *d, char *addr, ulong nframes) in addtgt() argument
1457 t->nframes = nframes; in addtgt()
1462 t->maxout = t->nframes / 2; in addtgt()
1573 t->nframes = n; in aoecmd_cfg_rsp()
1608 t->ssthresh = t->nframes / 2; in aoecmd_wreset()
1609 t->next_cwnd = t->nframes; in aoecmd_wreset()
Daoe.h140 ushort nframes; /* cap on frames to use */ member
/kernel/linux/linux-5.10/sound/aoa/soundbus/i2sbus/
Dpcm.c629 u32 fc, nframes; in handle_interrupt() local
663 nframes = i * runtime->period_size; in handle_interrupt()
664 if (fc < pi->frame_count + nframes) in handle_interrupt()
665 pi->frame_count = fc - nframes; in handle_interrupt()
/kernel/linux/linux-5.10/drivers/net/
Dthunderbolt.c1020 unsigned int nframes, i; in tbnet_start_xmit() local
1027 nframes = DIV_ROUND_UP(data_len, TBNET_MAX_PAYLOAD_SIZE); in tbnet_start_xmit()
1028 if (tbnet_available_buffers(&net->tx_ring) < nframes) { in tbnet_start_xmit()

12