| /linux/net/can/ |
| H A D | bcm.c | 117 u32 nframes; member 236 seq_printf(m, "(%u)", op->nframes); in bcm_proc_show() 238 seq_printf(m, "[%u]", op->nframes); in bcm_proc_show() 265 seq_printf(m, "(%u) ", op->nframes); in bcm_proc_show() 267 seq_printf(m, "[%u] ", op->nframes); in bcm_proc_show() 337 if (op->currframe >= op->nframes) in bcm_can_tx() 359 unsigned int datalen = head->nframes * op->cfsiz; in bcm_send_to_user() 378 if (head->nframes) { in bcm_send_to_user() 388 * BCM, where nframes is 1 in bcm_send_to_user() 390 if (head->nframes in bcm_send_to_user() [all...] |
| /linux/drivers/usb/host/ |
| H A D | uhci-debug.c | 381 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/staging/media/av7110/ |
| H A D | av7110_ipack.c | 46 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/net/wireless/ath/ath9k/ |
| H A D | xmit.c | 68 struct ath_tx_status *ts, int nframes, int nbad, 453 int txok, int *nframes, int *nbad) in ath_tx_count_frames() argument 461 *nframes = 0; in ath_tx_count_frames() 474 (*nframes)++; in ath_tx_count_frames() 501 int nframes; in ath_tx_complete_aggr() local 567 ath_tx_count_frames(bf, ts, txok, &nframes, &nbad); in ath_tx_complete_aggr() 624 ath_tx_rc_status(sc, bf, ts, nframes, nbad, txok); in ath_tx_complete_aggr() 1033 int nframes = 0, ndelim, ret; in ath_tx_form_aggr() local 1051 if (nframes) { in ath_tx_form_aggr() 1053 ath_lookup_legacy(bf) || nframes >= h_baw) in ath_tx_form_aggr() [all …]
|
| H A D | ath9k.h | 613 u16 tids, int nframes,
|
| /linux/drivers/cdrom/ |
| H A D | cdrom.c | 2097 int lba, int nframes) in cdrom_read_cdda_old() argument 2110 nr = nframes; in cdrom_read_cdda_old() 2123 while (nframes > 0) { in cdrom_read_cdda_old() 2124 if (nr > nframes) in cdrom_read_cdda_old() 2125 nr = nframes; in cdrom_read_cdda_old() 2135 nframes -= nr; in cdrom_read_cdda_old() 2143 int lba, int nframes) in cdrom_read_cdda_bpc() argument 2151 while (nframes) { in cdrom_read_cdda_bpc() 2155 nr = min(nframes, max_frames); in cdrom_read_cdda_bpc() 2162 nframes -= nr; in cdrom_read_cdda_bpc() [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | psock_tpacket.c | 381 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 D | bcm.h | 73 __u32 nframes; member
|
| /linux/drivers/net/usb/ |
| H A D | cdc_mbim.c | 417 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()
|
| H A D | cdc_ncm.c | 1730 int nframes; in cdc_ncm_rx_fixup() local 1756 nframes = cdc_ncm_rx_verify_ndp16(skb_in, ndpoffset); in cdc_ncm_rx_fixup() 1757 if (nframes < 0) in cdc_ncm_rx_fixup() 1770 nframes = cdc_ncm_rx_verify_ndp32(skb_in, ndpoffset); in cdc_ncm_rx_fixup() 1771 if (nframes < 0) in cdc_ncm_rx_fixup() 1785 for (x = 0; x < nframes; x++) { in cdc_ncm_rx_fixup()
|
| /linux/kernel/bpf/ |
| H A D | cpumap.c | 187 int i, nframes = 0; in cpu_map_bpf_prog_run_xdp() local 210 frames[nframes++] = xdpf; in cpu_map_bpf_prog_run_xdp() 233 stats->pass += nframes; in cpu_map_bpf_prog_run_xdp() 235 return nframes; in cpu_map_bpf_prog_run_xdp()
|
| /linux/drivers/block/aoe/ |
| H A D | aoecmd.c | 810 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 D | aoe.h | 141 ushort nframes; /* cap on frames to use */ member
|
| /linux/net/bpf/ |
| H A D | test_run.c | 241 static int xdp_recv_frames(struct xdp_frame **frames, int nframes, in xdp_recv_frames() argument 249 n = kmem_cache_alloc_bulk(net_hotdata.skbuff_cache, gfp, nframes, in xdp_recv_frames() 252 for (i = 0; i < nframes; i++) in xdp_recv_frames() 257 for (i = 0; i < nframes; i++) { in xdp_recv_frames() 278 int err = 0, act, ret, i, nframes = 0, batch_sz; in xdp_test_run_batch() local 335 frames[nframes++] = frm; in xdp_test_run_batch() 349 if (nframes) { in xdp_test_run_batch() 350 ret = xdp_recv_frames(frames, nframes, xdp->skbs, xdp->dev); in xdp_test_run_batch()
|
| /linux/drivers/media/usb/uvc/ |
| H A D | uvc_driver.c | 475 format->nframes = 1; in uvc_parse_format() 501 frame = &frames[format->nframes]; in uvc_parse_format() 507 format->nframes++; in uvc_parse_format() 551 unsigned int nformats = 0, nframes = 0, nintervals = 0; in uvc_parse_streaming() local 685 nframes++; in uvc_parse_streaming() 699 nframes++; in uvc_parse_streaming() 705 nframes++; in uvc_parse_streaming() 728 size = ALIGN(size, __alignof__(*frame)) + nframes * sizeof(*frame); in uvc_parse_streaming() 740 interval = (void *)frame + nframes * sizeof(*frame); in uvc_parse_streaming() 761 frame += format->nframes; in uvc_parse_streaming()
|
| /linux/include/linux/ |
| H A D | cdrom.h | 93 u32 lba, u32 nframes, u8 *last_sense);
|
| /linux/drivers/net/thunderbolt/ |
| H A D | main.c | 1111 unsigned int nframes, i; in tbnet_start_xmit() local 1120 nframes = DIV_ROUND_UP(data_len, TBNET_MAX_PAYLOAD_SIZE); in tbnet_start_xmit() 1121 if (tbnet_available_buffers(&net->tx_ring) < nframes) { in tbnet_start_xmit()
|
| /linux/include/uapi/linux/ |
| H A D | cdrom.h | 245 int nframes; /* number of 2352-byte-frames to read at once */ member
|
| /linux/Documentation/networking/ |
| H A D | can.rst | 744 __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 D | airoha_eth.c | 544 int nframes = 0; in airoha_qdma_fill_rx_queue() local 560 nframes++; in airoha_qdma_fill_rx_queue() 581 return nframes; in airoha_qdma_fill_rx_queue()
|
| /linux/Documentation/userspace-api/ioctl/ |
| H A D | cdrom.rst | 523 - EINVAL nframes not in range [1 75]
|