Searched refs:npackets (Results 1 – 7 of 7) sorted by relevance
| /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/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 = kcalloc(npackets, sizeof(*switches), GFP_KERNEL); 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/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/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_hsi.h | 3175 u16 npackets; member 3193 u16 npackets;
|