Home
last modified time | relevance | path

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

/linux/drivers/media/test-drivers/vidtv/
H 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/media/usb/em28xx/
H A Dem28xx-audio.c663 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/net/ethernet/amd/
H A Dpcnet32.c1284 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/broadcom/bnx2x/
H A Dbnx2x_hsi.h3175 u16 npackets; member
3193 u16 npackets;