Home
last modified time | relevance | path

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

12

/openbmc/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()
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()
206 if (tid->nframes) in mt76_rx_aggr_reorder()
232 tid->nframes++; in mt76_rx_aggr_reorder()
[all …]
H A Dsdio_txrx.c165 nframes += ret; in mt76s_rx_handler()
173 nframes += ret; in mt76s_rx_handler()
179 return nframes; in mt76s_rx_handler()
279 nframes++; in mt76s_tx_run_queue()
284 nframes++; in mt76s_tx_run_queue()
296 if (nframes) { in mt76s_tx_run_queue()
306 return nframes; in mt76s_tx_run_queue()
320 nframes = 0; in mt76s_txrx_worker()
326 nframes += ret; in mt76s_txrx_worker()
330 nframes += ret; in mt76s_txrx_worker()
[all …]
H A Dsdio.c386 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()
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; in mt76s_status_worker() local
[all …]
H A Dmt76x02_beacon.c183 int i, nframes; in mt76x02_enqueue_buffered_bc() local
189 nframes = skb_queue_len(&data->q); in mt76x02_enqueue_buffered_bc()
193 } while (nframes != skb_queue_len(&data->q) && in mt76x02_enqueue_buffered_bc()
H A Dtx.c396 u16 tids, int nframes, in mt76_release_buffered_frames() argument
407 for (i = 0; tids && nframes; i++, tids >>= 1) { in mt76_release_buffered_frames()
420 nframes--; in mt76_release_buffered_frames()
425 } while (nframes); in mt76_release_buffered_frames()
/openbmc/linux/net/can/
H A Dbcm.c114 u32 nframes; member
335 if (head->nframes) { in bcm_send_to_user()
456 head.nframes = 1; in bcm_rx_changed()
849 msg_head->nframes = op->nframes; in bcm_read_op()
873 if (msg_head->nframes < 1 || msg_head->nframes > MAX_NFRAMES) in bcm_tx_setup()
890 if (msg_head->nframes > op->nframes) in bcm_tx_setup()
985 if (op->nframes != msg_head->nframes) { in bcm_tx_setup()
986 op->nframes = msg_head->nframes; in bcm_tx_setup()
1076 if (msg_head->nframes > op->nframes) in bcm_rx_setup()
1090 op->nframes = msg_head->nframes; in bcm_rx_setup()
[all …]
/openbmc/u-boot/arch/arm/mach-tegra/
H A Divc.c91 BUG_ON(frame >= ivc->nframes); in tegra_ivc_frame_addr()
141 if (w_count - r_count > ivc->nframes) in tegra_ivc_channel_empty()
155 ivc->nframes; in tegra_ivc_channel_full()
163 if (ivc->r_pos == ivc->nframes - 1) in tegra_ivc_advance_rx()
174 if (ivc->w_pos == ivc->nframes - 1) in tegra_ivc_advance_tx()
281 ivc->nframes - 1) in tegra_ivc_read_advance()
494 if ((uint64_t)nframes * (uint64_t)frame_size >= 0x100000000) { in check_ivc_params()
515 if (qbase1 + frame_size * nframes > qbase2) in check_ivc_params()
518 if (qbase2 + frame_size * nframes > qbase1) in check_ivc_params()
531 uint32_t nframes, uint32_t frame_size, in tegra_ivc_init() argument
[all …]
/openbmc/linux/kernel/bpf/
H A Dcpumap.c183 int i, nframes = 0; in cpu_map_bpf_prog_run_xdp() local
207 frames[nframes++] = xdpf; in cpu_map_bpf_prog_run_xdp()
233 return nframes; in cpu_map_bpf_prog_run_xdp()
242 int nframes; in cpu_map_bpf_prog_run() local
259 return nframes; in cpu_map_bpf_prog_run()
279 int i, n, m, nframes, xdp_n; in cpu_map_kthread_run() local
331 if (nframes) { in cpu_map_kthread_run()
332 m = kmem_cache_alloc_bulk(skbuff_cache, gfp, nframes, skbs); in cpu_map_kthread_run()
334 for (i = 0; i < nframes; i++) in cpu_map_kthread_run()
336 kmem_alloc_drops += nframes; in cpu_map_kthread_run()
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/
H A Divc.h71 uint32_t nframes; member
175 uint32_t nframes, uint32_t frame_size,
/openbmc/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()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dbeacon.c108 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()
H A Dmain.c447 u16 tids, int nframes, in mt7603_release_buffered_frames() argument
462 if (!nframes) in mt7603_release_buffered_frames()
472 nframes--; in mt7603_release_buffered_frames()
481 if (nframes) in mt7603_release_buffered_frames()
482 mt76_release_buffered_frames(hw, sta, tids, nframes, reason, in mt7603_release_buffered_frames()
/openbmc/linux/drivers/staging/media/av7110/
H A 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()
/openbmc/linux/include/uapi/linux/can/
H A Dbcm.h73 __u32 nframes; member
/openbmc/qemu/audio/
H A Djackaudio.c264 static int qjack_process(jack_nframes_t nframes, void *arg) in qjack_process() argument
274 c->process_buffers[i] = jack_port_get_buffer(c->port[i], nframes); in qjack_process()
279 qjack_buffer_read_l(&c->fifo, c->process_buffers, nframes); in qjack_process()
282 memset(c->process_buffers[i], 0, nframes * sizeof(float)); in qjack_process()
287 qjack_buffer_write_l(&c->fifo, c->process_buffers, nframes); in qjack_process()
/openbmc/linux/drivers/cdrom/
H A Dcdrom.c2114 nr = nframes; in cdrom_read_cdda_old()
2127 while (nframes > 0) { in cdrom_read_cdda_old()
2128 if (nr > nframes) in cdrom_read_cdda_old()
2129 nr = nframes; in cdrom_read_cdda_old()
2139 nframes -= nr; in cdrom_read_cdda_old()
2155 while (nframes) { in cdrom_read_cdda_bpc()
2166 nframes -= nr; in cdrom_read_cdda_bpc()
2175 int lba, int nframes) in cdrom_read_cdda() argument
2998 compat_int_t nframes; in mmc_ioctl_cdrom_read_audio() member
3008 .nframes = ra32.nframes, in mmc_ioctl_cdrom_read_audio()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dxmit.c466 *nframes = 0; in ath_tx_count_frames()
479 (*nframes)++; in ath_tx_count_frames()
506 int nframes; in ath_tx_complete_aggr() local
1056 if (nframes) { in ath_tx_form_aggr()
1075 !nframes); in ath_tx_form_aggr()
1078 nframes++; in ath_tx_form_aggr()
1506 int nframes = 0, ret; in ath_tx_form_burst() local
1511 nframes++; in ath_tx_form_burst()
1517 if (nframes >= 2) in ath_tx_form_burst()
1713 while (nframes > 0) { in ath9k_release_buffered_frames()
[all …]
/openbmc/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()
/openbmc/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c259 int nframes, n, dpeoffset; in mhi_mbim_rx() local
269 nframes = mbim_rx_verify_ndp16(skb, &ndp16); in mhi_mbim_rx()
270 if (nframes < 0) { in mhi_mbim_rx()
294 for (n = 0; n < nframes; n++, dpeoffset += sizeof(dpe16)) { in mhi_mbim_rx()
/openbmc/linux/drivers/net/usb/
H A 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()
/openbmc/linux/drivers/block/aoe/
H A Daoecmd.c809 if (ifp && ++ifp->lost > (t->nframes << 1) in rexmit_timer()
997 if (!t || t->maxout >= t->nframes) in calc_rttavg()
1443 addtgt(struct aoedev *d, char *addr, ulong nframes) in addtgt() argument
1460 t->nframes = nframes; in addtgt()
1465 t->maxout = t->nframes / 2; in addtgt()
1576 t->nframes = n; in aoecmd_cfg_rsp()
1611 t->ssthresh = t->nframes / 2; in aoecmd_wreset()
1612 t->next_cwnd = t->nframes; in aoecmd_wreset()
/openbmc/linux/drivers/media/usb/uvc/
H A Duvc_v4l2.c258 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format()
334 for (i = 0; i < format->nframes; ++i) { in uvc_v4l2_try_format()
341 if (i == format->nframes) in uvc_v4l2_try_format()
502 for (i = 0; i < format->nframes && maxd != 0; i++) { in uvc_v4l2_set_streamparm()
1269 for (i = 0, index = 0; i < format->nframes; i++) { in uvc_ioctl_enum_framesizes()
1279 if (i == format->nframes) in uvc_ioctl_enum_framesizes()
1310 for (i = 0; i < format->nframes; i++) { in uvc_ioctl_enum_frameintervals()
1320 if (i == format->nframes) in uvc_ioctl_enum_frameintervals()
H A Duvc_driver.c351 format->nframes = 1; in uvc_parse_format()
378 frame = &frames[format->nframes]; in uvc_parse_format()
474 format->nframes++; in uvc_parse_format()
519 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local
653 nframes++; in uvc_parse_streaming()
667 nframes++; in uvc_parse_streaming()
673 nframes++; in uvc_parse_streaming()
696 size = ALIGN(size, __alignof__(*frame)) + nframes * sizeof(*frame); in uvc_parse_streaming()
708 interval = (void *)frame + nframes * sizeof(*frame); in uvc_parse_streaming()
729 frame += format->nframes; in uvc_parse_streaming()
/openbmc/linux/net/bpf/
H A Dtest_run.c250 static int xdp_recv_frames(struct xdp_frame **frames, int nframes, in xdp_recv_frames() argument
258 n = kmem_cache_alloc_bulk(skbuff_cache, gfp, nframes, (void **)skbs); in xdp_recv_frames()
260 for (i = 0; i < nframes; i++) in xdp_recv_frames()
265 for (i = 0; i < nframes; i++) { in xdp_recv_frames()
286 int err = 0, act, ret, i, nframes = 0, batch_sz; in xdp_test_run_batch() local
340 frames[nframes++] = frm; in xdp_test_run_batch()
354 if (nframes) { in xdp_test_run_batch()
355 ret = xdp_recv_frames(frames, nframes, xdp->skbs, xdp->dev); in xdp_test_run_batch()
/openbmc/linux/sound/aoa/soundbus/i2sbus/
H A 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()

12