Searched refs:ep_size (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-audio.c | 747 int i, ep_size, interval, num_urb, npackets; in em28xx_audio_urb_init() local 779 ep_size = em28xx_audio_ep_packet_size(dev->udev, ep); in em28xx_audio_urb_init() 786 ep_size); in em28xx_audio_urb_init() 803 num_urb = DIV_ROUND_UP(bytes_per_transfer, ep_size); in em28xx_audio_urb_init() 820 if (urb_size > ep_size * npackets) in em28xx_audio_urb_init() 821 npackets = DIV_ROUND_UP(urb_size, ep_size); in em28xx_audio_urb_init() 859 buf = usb_alloc_coherent(dev->udev, npackets * ep_size, GFP_ATOMIC, in em28xx_audio_urb_init() 876 urb->transfer_buffer_length = ep_size * npackets; in em28xx_audio_urb_init() 878 for (j = k = 0; j < npackets; j++, k += ep_size) { in em28xx_audio_urb_init() 880 urb->iso_frame_desc[j].length = ep_size; in em28xx_audio_urb_init()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | ppc4xx_pci.c | 1859 resource_size_t ep_size = 32 << 20; in ppc4xx_configure_pciex_PIMs() local 1867 sa = (0xffffffffffffffffull << ilog2(ep_size)); in ppc4xx_configure_pciex_PIMs()
|