Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dagg-rx.c32 tid->nframes--; in mt76_aggr_release()
64 int start, idx, nframes; in mt76_rx_aggr_check_release() local
66 if (!tid->nframes) in mt76_rx_aggr_check_release()
72 nframes = tid->nframes; in mt76_rx_aggr_check_release()
75 idx != start && nframes; in mt76_rx_aggr_check_release()
82 nframes--; in mt76_rx_aggr_check_release()
101 int nframes; in mt76_rx_aggr_reorder_work() local
110 nframes = tid->nframes; in mt76_rx_aggr_reorder_work()
113 if (nframes) in mt76_rx_aggr_reorder_work()
207 if (tid->nframes) in mt76_rx_aggr_reorder()
[all …]
Dmt76x2_tx.c135 int i, nframes; in mt76x2_pre_tbtt_tasklet() local
147 nframes = skb_queue_len(&data.q); in mt76x2_pre_tbtt_tasklet()
151 } while (nframes != skb_queue_len(&data.q)); in mt76x2_pre_tbtt_tasklet()
153 if (!nframes) in mt76x2_pre_tbtt_tasklet()
Dtx.c175 u16 tids, int nframes, in mt76_release_buffered_frames() argument
185 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames()
201 nframes--; in mt76_release_buffered_frames()
206 } while (nframes); in mt76_release_buffered_frames()
Dmt76.h197 u8 nframes; member
531 u16 tids, int nframes,
/Linux-v4.19/net/can/
Dbcm.c110 u32 nframes; member
196 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show()
198 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show()
225 seq_printf(m, "(%u) ", op->nframes); in bcm_proc_show()
227 seq_printf(m, "[%u] ", op->nframes); in bcm_proc_show()
284 if (op->currframe >= op->nframes) in bcm_can_tx()
301 unsigned int datalen = head->nframes * op->cfsiz; in bcm_send_to_user()
310 if (head->nframes) { in bcm_send_to_user()
322 if (head->nframes == 1) in bcm_send_to_user()
383 msg_head.nframes = 0; in bcm_tx_timeout_tsklet()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/include/uapi/linux/can/
Dbcm.h73 __u32 nframes; member
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dxmit.c62 struct ath_tx_status *ts, int nframes, int nbad,
453 int *nframes, int *nbad) in ath_tx_count_frames() argument
462 *nframes = 0; in ath_tx_count_frames()
474 (*nframes)++; in ath_tx_count_frames()
502 int nframes; in ath_tx_complete_aggr() local
570 ath_tx_count_frames(sc, bf, ts, txok, &nframes, &nbad); in ath_tx_complete_aggr()
627 ath_tx_rc_status(sc, bf, ts, nframes, nbad, txok); in ath_tx_complete_aggr()
1043 int nframes = 0, ndelim; in ath_tx_form_aggr() local
1061 if (nframes) { in ath_tx_form_aggr()
1063 ath_lookup_legacy(bf) || nframes >= h_baw) in ath_tx_form_aggr()
[all …]
/Linux-v4.19/drivers/isdn/i4l/
Disdn_v110.c469 int nframes; in isdn_v110_encode() local
485 nframes = (rlen + 3) / 4; in isdn_v110_encode()
487 if ((nframes * 40) > v->maxsize) { in isdn_v110_encode()
491 size = nframes * 40; in isdn_v110_encode()
/Linux-v4.19/tools/testing/selftests/net/
Dpsock_tpacket.c395 int nframes; in walk_tx() local
402 nframes = ring->rd_num; in walk_tx()
404 nframes = ring->req3.tp_frame_nr; in walk_tx()
407 bug_on(nframes < NUM_PACKETS); in walk_tx()
479 frame_num = (frame_num + 1) % nframes; in walk_tx()
/Linux-v4.19/drivers/net/usb/
Dcdc_mbim.c417 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()
Dcdc_ncm.c1500 int nframes; in cdc_ncm_rx_fixup() local
1514 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_ncm_rx_fixup()
1515 if (nframes < 0) in cdc_ncm_rx_fixup()
1528 for (x = 0; x < nframes; x++, dpe16++) { in cdc_ncm_rx_fixup()
/Linux-v4.19/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-v4.19/drivers/block/aoe/
Daoecmd.c802 if (ifp && ++ifp->lost > (t->nframes << 1) in rexmit_timer()
1003 if (!t || t->maxout >= t->nframes) in calc_rttavg()
1444 addtgt(struct aoedev *d, char *addr, ulong nframes) in addtgt() argument
1461 t->nframes = nframes; in addtgt()
1466 t->maxout = t->nframes / 2; in addtgt()
1577 t->nframes = n; in aoecmd_cfg_rsp()
1612 t->ssthresh = t->nframes / 2; in aoecmd_wreset()
1613 t->next_cwnd = t->nframes; in aoecmd_wreset()
Daoe.h134 ushort nframes; /* cap on frames to use */ member
Daoeblk.c139 (*t)->maxout, (*t)->nframes); in aoedisk_debugfs_show()
/Linux-v4.19/drivers/media/usb/uvc/
Duvc_driver.c523 format->nframes = 1; in uvc_parse_format()
547 frame = &format->frame[format->nframes]; in uvc_parse_format()
625 format->nframes++; in uvc_parse_format()
664 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local
798 nframes++; in uvc_parse_streaming()
812 nframes++; in uvc_parse_streaming()
818 nframes++; in uvc_parse_streaming()
835 size = nformats * sizeof(*format) + nframes * sizeof(*frame) in uvc_parse_streaming()
844 interval = (u32 *)&frame[nframes]; in uvc_parse_streaming()
862 frame += format->nframes; in uvc_parse_streaming()
Duvc_v4l2.c199 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format()
409 for (i = 0; i < format->nframes && maxd != 0; i++) { in uvc_v4l2_set_streamparm()
1191 for (i = 0, index = 0; i < format->nframes; i++) { in uvc_ioctl_enum_framesizes()
1201 if (i == format->nframes) in uvc_ioctl_enum_framesizes()
1232 for (i = 0; i < format->nframes; i++) { in uvc_ioctl_enum_frameintervals()
1242 if (i == format->nframes) in uvc_ioctl_enum_frameintervals()
Duvcvideo.h375 unsigned int nframes; member
/Linux-v4.19/sound/aoa/soundbus/i2sbus/
Dpcm.c638 u32 fc, nframes; in handle_interrupt() local
672 nframes = i * runtime->period_size; in handle_interrupt()
673 if (fc < pi->frame_count + nframes) in handle_interrupt()
674 pi->frame_count = fc - nframes; in handle_interrupt()
/Linux-v4.19/drivers/net/
Dthunderbolt.c1023 unsigned int nframes, i; in tbnet_start_xmit() local
1030 nframes = DIV_ROUND_UP(data_len, TBNET_MAX_PAYLOAD_SIZE); in tbnet_start_xmit()
1031 if (tbnet_available_buffers(&net->tx_ring) < nframes) { in tbnet_start_xmit()
/Linux-v4.19/block/
Dcompat_ioctl.c101 compat_int_t nframes; member
/Linux-v4.19/drivers/scsi/
Dosst.c1479 int nframes = STp->cur_frames; in osst_read_back_buffer_and_rewrite() local
1482 - (nframes + pending - 1); in osst_read_back_buffer_and_rewrite()
1484 - (nframes + pending - 1) * blks_per_frame; in osst_read_back_buffer_and_rewrite()
1491 if ((buffer = vmalloc(array_size((nframes + 1), OS_DATA_SIZE))) == NULL) in osst_read_back_buffer_and_rewrite()
1495 name, nframes, pending?" and one that was pending":""); in osst_read_back_buffer_and_rewrite()
1497 osst_copy_from_buffer(STp->buffer, (p = &buffer[nframes * OS_DATA_SIZE])); in osst_read_back_buffer_and_rewrite()
1501 name, frame_seq_number + nframes, in osst_read_back_buffer_and_rewrite()
1502 logical_blk_num + nframes * blks_per_frame, in osst_read_back_buffer_and_rewrite()
1505 for (i = 0, p = buffer; i < nframes; i++, p += OS_DATA_SIZE) { in osst_read_back_buffer_and_rewrite()
1538 for (flag=1, new_frame=frame, p=buffer, i=0; i < nframes + pending; ) { in osst_read_back_buffer_and_rewrite()
[all …]
/Linux-v4.19/include/uapi/linux/
Dcdrom.h243 int nframes; /* number of 2352-byte-frames to read at once */ member

12