| /linux/drivers/media/usb/em28xx/ |
| H A D | em28xx-audio.c | 663 int i, ep_size, interval, num_urb, npackets; in em28xx_audio_urb_init() local 734 npackets = EM28XX_MIN_AUDIO_PACKETS; in em28xx_audio_urb_init() 735 if (urb_size > ep_size * npackets) in em28xx_audio_urb_init() 736 npackets = DIV_ROUND_UP(urb_size, ep_size); in em28xx_audio_urb_init() 740 num_urb, npackets, urb_size); in em28xx_audio_urb_init() 743 dev->adev.period = urb_size * npackets; in em28xx_audio_urb_init() 766 urb = usb_alloc_urb(npackets, GFP_KERNEL); in em28xx_audio_urb_init() 773 buf = usb_alloc_coherent(udev, npackets * ep_size, GFP_KERNEL, in em28xx_audio_urb_init() 790 urb->number_of_packets = npackets; in em28xx_audio_urb_init() 791 urb->transfer_buffer_length = ep_size * npackets; in em28xx_audio_urb_init() [all …]
|
| /linux/drivers/media/usb/uvc/ |
| H A D | uvc_video.c | 1799 unsigned int npackets; in uvc_alloc_urb_buffers() local 1810 npackets = DIV_ROUND_UP(size, psize); in uvc_alloc_urb_buffers() 1811 if (npackets > UVC_MAX_PACKETS) in uvc_alloc_urb_buffers() 1812 npackets = UVC_MAX_PACKETS; in uvc_alloc_urb_buffers() 1815 for (; npackets > 0; npackets /= 2) { in uvc_alloc_urb_buffers() 1816 unsigned int urb_size = psize * npackets; in uvc_alloc_urb_buffers() 1833 UVC_URBS, npackets, psize); in uvc_alloc_urb_buffers() 1835 return npackets; in uvc_alloc_urb_buffers() 1883 unsigned int npackets, i; in uvc_init_video_isoc() local 1890 npackets = uvc_alloc_urb_buffers(stream, size, psize, gfp_flags); in uvc_init_video_isoc() [all …]
|
| /linux/drivers/media/test-drivers/vidtv/ |
| H A D | vidtv_mux.h | 123 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/thunderbolt/ |
| H A D | dma_test.c | 261 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()
|
| H A D | icm.c | 290 if (hdr->packet_id < req->npackets) { in icm_copy() 300 void *response, size_t response_size, size_t npackets, in icm_request() argument 319 req->npackets = npackets; in icm_request() 426 size_t npackets = ICM_GET_TOPOLOGY_PACKETS; in icm_fr_get_route() local 430 switches = kzalloc_objs(*switches, npackets); in icm_fr_get_route() 435 sizeof(*switches), npackets, ICM_RETRIES, ICM_TIMEOUT); in icm_fr_get_route() 2271 req->npackets = 1; in icm_usb4_switch_nvm_authenticate()
|
| /linux/drivers/net/ethernet/amd/ |
| H A D | pcnet32.c | 1284 int npackets = 0; in pcnet32_rx() local 1287 while (npackets < budget && (short)le16_to_cpu(rxp->status) >= 0) { in pcnet32_rx() 1289 npackets += 1; in pcnet32_rx() 1301 return npackets; in pcnet32_rx()
|
| /linux/drivers/net/wireless/ath/ath12k/wifi7/ |
| H A D | dp_mon.c | 2587 u32 *npackets, u32 *ppdu_id) in ath12k_wifi7_dp_rx_mon_mpdu_pop() argument 2768 *npackets = 1; in ath12k_wifi7_dp_rx_mon_mpdu_pop() 2786 u32 mpdu_rx_bufs_used, npackets = 0; in ath12k_wifi7_dp_rx_mon_dest_process() local 2817 &npackets, in ath12k_wifi7_dp_rx_mon_dest_process()
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | cassini.c | 2242 int npackets = 0; in cas_rx_ringN() local 2313 npackets++; in cas_rx_ringN() 2341 if (budget && (npackets >= budget)) in cas_rx_ringN() 2349 return npackets; in cas_rx_ringN()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | dp_rx.c | 4687 struct sk_buff **tail_msdu, u32 *npackets, in ath11k_dp_rx_mon_mpdu_pop() argument 4873 *npackets = 1; in ath11k_dp_rx_mon_mpdu_pop() 5145 u32 npackets = 0; in ath11k_dp_rx_mon_dest_process() local 5173 &npackets, &ppdu_id); in ath11k_dp_rx_mon_dest_process()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_hsi.h | 3175 u16 npackets; member 3193 u16 npackets;
|