Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-audio.c663 int i, ep_size, interval, num_urb, npackets; in em28xx_audio_urb_init() local
695 ep_size = em28xx_audio_ep_packet_size(udev, ep); in em28xx_audio_urb_init()
701 dev->ifnum, alt, interval, ep_size); in em28xx_audio_urb_init()
718 num_urb = DIV_ROUND_UP(bytes_per_transfer, ep_size); 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()
773 buf = usb_alloc_coherent(udev, npackets * ep_size, GFP_KERNEL, in em28xx_audio_urb_init()
791 urb->transfer_buffer_length = ep_size * npackets; in em28xx_audio_urb_init()
793 for (j = k = 0; j < npackets; j++, k += ep_size) { in em28xx_audio_urb_init()
795 urb->iso_frame_desc[j].length = ep_size; in em28xx_audio_urb_init()
/openbmc/u-boot/drivers/usb/gadget/
H A Daspeed_usbtty.c571 int ep_num, ep_addr, ep_isout, ep_type, ep_size; in udc_setup_ep() local
596 ep_size = ep_isout ? endpoint->rcv_packetSize : endpoint->tx_packetSize; in udc_setup_ep()
604 ep_size); in udc_setup_ep()
607 if (ep_size == 1024) in udc_setup_ep()
610 ep_conf = EP_SET_MAX_PKT(ep_size); in udc_setup_ep()
H A Dpxa27x_udc.c526 int ep_num, ep_addr, ep_isout, ep_type, ep_size; in udc_setup_ep() local
560 ep_size = ep_isout ? endpoint->rcv_packetSize : endpoint->tx_packetSize; in udc_setup_ep()
568 ep_size in udc_setup_ep()
579 tmp |= (ep_size << UDCCONR_MPS_S) & UDCCONR_MPS; in udc_setup_ep()
/openbmc/linux/arch/powerpc/platforms/4xx/
H A Dpci.c1846 resource_size_t ep_size = 32 << 20; in ppc4xx_configure_pciex_PIMs() local
1854 sa = (0xffffffffffffffffull << ilog2(ep_size)); in ppc4xx_configure_pciex_PIMs()