Home
last modified time | relevance | path

Searched refs:npackets (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/media/usb/em28xx/
A Dem28xx-audio.c673 int i, ep_size, interval, num_urb, npackets; in em28xx_audio_urb_init() local
744 npackets = EM28XX_MIN_AUDIO_PACKETS; in em28xx_audio_urb_init()
745 if (urb_size > ep_size * npackets) in em28xx_audio_urb_init()
746 npackets = DIV_ROUND_UP(urb_size, ep_size); in em28xx_audio_urb_init()
750 num_urb, npackets, urb_size); in em28xx_audio_urb_init()
753 dev->adev.period = urb_size * npackets; in em28xx_audio_urb_init()
776 urb = usb_alloc_urb(npackets, GFP_KERNEL); in em28xx_audio_urb_init()
783 buf = usb_alloc_coherent(udev, npackets * ep_size, GFP_KERNEL, in em28xx_audio_urb_init()
800 urb->number_of_packets = npackets; in em28xx_audio_urb_init()
801 urb->transfer_buffer_length = ep_size * npackets; in em28xx_audio_urb_init()
[all …]
/linux/drivers/media/usb/uvc/
A Duvc_video.c1684 unsigned int npackets; in uvc_alloc_urb_buffers() local
1696 npackets = UVC_MAX_PACKETS; in uvc_alloc_urb_buffers()
1699 for (; npackets > 1; npackets /= 2) { in uvc_alloc_urb_buffers()
1716 UVC_URBS, npackets, psize); in uvc_alloc_urb_buffers()
1717 return npackets; in uvc_alloc_urb_buffers()
1791 unsigned int npackets, i; in uvc_init_video_isoc() local
1799 if (npackets == 0) in uvc_init_video_isoc()
1802 size = npackets * psize; in uvc_init_video_isoc()
1843 unsigned int npackets, pipe; in uvc_init_video_bulk() local
1852 if (npackets == 0) in uvc_init_video_bulk()
[all …]
/linux/drivers/media/test-drivers/vidtv/
A Dvidtv_mux.h123 void (*on_new_packets_available_cb)(void *priv, u8 *buf, u32 npackets);
162 void (*on_new_packets_available_cb)(void *priv, u8 *buf, u32 npackets);
/linux/drivers/net/ethernet/
A Ddnet.c366 int npackets = 0; in dnet_poll() local
374 while (npackets < budget) { in dnet_poll()
402 npackets++; in dnet_poll()
409 if (npackets < budget) { in dnet_poll()
413 napi_complete_done(napi, npackets); in dnet_poll()
419 return npackets; in dnet_poll()
/linux/drivers/media/usb/dvb-usb/
A Dcxusb-analog.c688 int *npackets) in cxusb_medion_v_ss_auxbuf_alloc() argument
703 *npackets = min_t(int, (framelen + CXUSB_VIDEO_PKT_SIZE - 1) / in cxusb_medion_v_ss_auxbuf_alloc()
706 urblen = *npackets * CXUSB_VIDEO_PKT_SIZE; in cxusb_medion_v_ss_auxbuf_alloc()
710 *npackets, urblen, (unsigned int)cxdev->width, in cxusb_medion_v_ss_auxbuf_alloc()
778 int npackets, i; in cxusb_medion_v_start_streaming() local
806 ret = cxusb_medion_v_ss_auxbuf_alloc(cxdev, &npackets); in cxusb_medion_v_start_streaming()
820 streambuf = kmalloc(npackets * CXUSB_VIDEO_PKT_SIZE, in cxusb_medion_v_start_streaming()
830 surb = usb_alloc_urb(npackets, GFP_KERNEL); in cxusb_medion_v_start_streaming()
848 surb->number_of_packets = npackets; in cxusb_medion_v_start_streaming()
849 surb->transfer_buffer_length = npackets * CXUSB_VIDEO_PKT_SIZE; in cxusb_medion_v_start_streaming()
[all …]
/linux/drivers/thunderbolt/
A Ddma_test.c261 static int dma_test_submit_rx(struct dma_test *dt, size_t npackets) in dma_test_submit_rx() argument
266 for (i = 0; i < npackets; i++) { in dma_test_submit_rx()
312 static int dma_test_submit_tx(struct dma_test *dt, size_t npackets) in dma_test_submit_tx() argument
317 for (i = 0; i < npackets; i++) { in dma_test_submit_tx()
A Dctl.h85 size_t npackets; member
A Dicm.c288 if (hdr->packet_id < req->npackets) { in icm_copy()
298 void *response, size_t response_size, size_t npackets, in icm_request() argument
318 req->npackets = npackets; in icm_request()
404 size_t npackets = ICM_GET_TOPOLOGY_PACKETS; in icm_fr_get_route() local
408 switches = kcalloc(npackets, sizeof(*switches), GFP_KERNEL); in icm_fr_get_route()
413 sizeof(*switches), npackets, ICM_TIMEOUT); in icm_fr_get_route()
2234 req->npackets = 1; in icm_usb4_switch_nvm_authenticate()
/linux/drivers/net/ethernet/smsc/
A Dsmsc911x.c1214 int npackets = 0; in smsc911x_poll() local
1216 while (npackets < budget) { in smsc911x_poll()
1236 npackets++; in smsc911x_poll()
1278 return npackets; in smsc911x_poll()
/linux/drivers/net/ethernet/amd/
A Dpcnet32.c1276 int npackets = 0; in pcnet32_rx() local
1279 while (npackets < budget && (short)le16_to_cpu(rxp->status) >= 0) { in pcnet32_rx()
1281 npackets += 1; in pcnet32_rx()
1293 return npackets; in pcnet32_rx()
/linux/drivers/net/ethernet/sun/
A Dcassini.c2271 int npackets = 0; in cas_rx_ringN() local
2342 npackets++; in cas_rx_ringN()
2370 if (budget && (npackets >= budget)) in cas_rx_ringN()
2378 return npackets; in cas_rx_ringN()
/linux/drivers/net/wireless/ath/ath11k/
A Ddp_rx.c4626 struct sk_buff **tail_msdu, u32 *npackets, in ath11k_dp_rx_mon_mpdu_pop() argument
4813 *npackets = 1; in ath11k_dp_rx_mon_mpdu_pop()
4990 u32 npackets = 0; in ath11k_dp_rx_mon_dest_process() local
5023 &npackets, &ppdu_id); in ath11k_dp_rx_mon_dest_process()
/linux/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_hsi.h3174 u16 npackets; member
3192 u16 npackets;

Completed in 92 milliseconds