Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Dagg-rx.c21 tid->nframes--; in mt76_aggr_release()
54 int start, idx, nframes; in mt76_rx_aggr_check_release() local
56 if (!tid->nframes) in mt76_rx_aggr_check_release()
62 nframes = tid->nframes; in mt76_rx_aggr_check_release()
65 idx != start && nframes; in mt76_rx_aggr_check_release()
71 nframes--; in mt76_rx_aggr_check_release()
90 int nframes; in mt76_rx_aggr_reorder_work() local
99 nframes = tid->nframes; in mt76_rx_aggr_reorder_work()
102 if (nframes) in mt76_rx_aggr_reorder_work()
196 if (tid->nframes) in mt76_rx_aggr_reorder()
[all …]
Dmt76x02_beacon.c221 int i, nframes; in mt76x02_enqueue_buffered_bc() local
227 nframes = skb_queue_len(&data->q); in mt76x02_enqueue_buffered_bc()
231 } while (nframes != skb_queue_len(&data->q) && in mt76x02_enqueue_buffered_bc()
Dtx.c334 u16 tids, int nframes, in mt76_release_buffered_frames() argument
344 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames()
360 nframes--; in mt76_release_buffered_frames()
365 } while (nframes); in mt76_release_buffered_frames()
Dmt76.h244 u8 nframes; member
716 u16 tids, int nframes,
/Linux-v5.4/net/can/
Dbcm.c113 u32 nframes; member
215 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show()
217 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show()
244 seq_printf(m, "(%u) ", op->nframes); in bcm_proc_show()
246 seq_printf(m, "[%u] ", op->nframes); in bcm_proc_show()
303 if (op->currframe >= op->nframes) in bcm_can_tx()
320 unsigned int datalen = head->nframes * op->cfsiz; in bcm_send_to_user()
329 if (head->nframes) { in bcm_send_to_user()
341 if (head->nframes == 1) in bcm_send_to_user()
411 msg_head.nframes = 0; in bcm_tx_timeout_handler()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/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.c409 u16 tids, int nframes, in mt7603_release_buffered_frames() argument
424 if (!nframes) in mt7603_release_buffered_frames()
434 nframes--; in mt7603_release_buffered_frames()
443 if (nframes) in mt7603_release_buffered_frames()
444 mt76_release_buffered_frames(hw, sta, tids, nframes, reason, in mt7603_release_buffered_frames()
/Linux-v5.4/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 …]
/Linux-v5.4/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()
/Linux-v5.4/include/uapi/linux/can/
Dbcm.h73 __u32 nframes; member
/Linux-v5.4/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()
/Linux-v5.4/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.c1503 int nframes; in cdc_ncm_rx_fixup() local
1517 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_ncm_rx_fixup()
1518 if (nframes < 0) in cdc_ncm_rx_fixup()
1531 for (x = 0; x < nframes; x++, dpe16++) { in cdc_ncm_rx_fixup()
/Linux-v5.4/drivers/cdrom/
Dcdrom.c2121 int lba, int nframes) in cdrom_read_cdda_old() argument
2134 nr = nframes; in cdrom_read_cdda_old()
2147 while (nframes > 0) { in cdrom_read_cdda_old()
2148 if (nr > nframes) in cdrom_read_cdda_old()
2149 nr = nframes; in cdrom_read_cdda_old()
2159 nframes -= nr; in cdrom_read_cdda_old()
2167 int lba, int nframes) in cdrom_read_cdda_bpc() argument
2187 while (nframes) { in cdrom_read_cdda_bpc()
2188 nr = nframes; in cdrom_read_cdda_bpc()
2241 nframes -= nr; in cdrom_read_cdda_bpc()
[all …]
/Linux-v5.4/drivers/block/aoe/
Daoecmd.c802 if (ifp && ++ifp->lost > (t->nframes << 1) in rexmit_timer()
999 if (!t || t->maxout >= t->nframes) in calc_rttavg()
1442 addtgt(struct aoedev *d, char *addr, ulong nframes) in addtgt() argument
1459 t->nframes = nframes; in addtgt()
1464 t->maxout = t->nframes / 2; in addtgt()
1575 t->nframes = n; in aoecmd_cfg_rsp()
1610 t->ssthresh = t->nframes / 2; in aoecmd_wreset()
1611 t->next_cwnd = t->nframes; in aoecmd_wreset()
Daoe.h140 ushort nframes; /* cap on frames to use */ member
Daoeblk.c139 (*t)->maxout, (*t)->nframes); in aoedisk_debugfs_show()
/Linux-v5.4/drivers/media/usb/uvc/
Duvc_driver.c567 format->nframes = 1; in uvc_parse_format()
591 frame = &format->frame[format->nframes]; in uvc_parse_format()
669 format->nframes++; in uvc_parse_format()
708 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local
837 nframes++; in uvc_parse_streaming()
851 nframes++; in uvc_parse_streaming()
857 nframes++; in uvc_parse_streaming()
874 size = nformats * sizeof(*format) + nframes * sizeof(*frame) in uvc_parse_streaming()
883 interval = (u32 *)&frame[nframes]; in uvc_parse_streaming()
901 frame += format->nframes; in uvc_parse_streaming()
Duvc_v4l2.c194 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format()
402 for (i = 0; i < format->nframes && maxd != 0; i++) { in uvc_v4l2_set_streamparm()
1185 for (i = 0, index = 0; i < format->nframes; i++) { in uvc_ioctl_enum_framesizes()
1195 if (i == format->nframes) in uvc_ioctl_enum_framesizes()
1226 for (i = 0; i < format->nframes; i++) { in uvc_ioctl_enum_frameintervals()
1236 if (i == format->nframes) in uvc_ioctl_enum_frameintervals()
Duvc_video.c141 for (i = 0; i < format->nframes; ++i) { in uvc_fixup_video_ctrl()
2031 if (format->nframes == 0) { in uvc_video_init()
2042 for (i = format->nframes; i > 0; --i) { in uvc_video_init()
/Linux-v5.4/sound/aoa/soundbus/i2sbus/
Dpcm.c637 u32 fc, nframes; in handle_interrupt() local
671 nframes = i * runtime->period_size; in handle_interrupt()
672 if (fc < pi->frame_count + nframes) in handle_interrupt()
673 pi->frame_count = fc - nframes; in handle_interrupt()
/Linux-v5.4/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()
/Linux-v5.4/block/
Dcompat_ioctl.c101 compat_int_t nframes; member
/Linux-v5.4/include/uapi/linux/
Dcdrom.h243 int nframes; /* number of 2352-byte-frames to read at once */ member

12