Home
last modified time | relevance | path

Searched defs:epnum (Results 1 – 25 of 47) sorted by relevance

12

/linux/drivers/usb/mtu3/
H A Dmtu3.h35 #define MU3D_EP_TXCR0(epnum) (U3D_TX1CSR0 + (((epnum) - 1) * 0x10)) argument
36 #define MU3D_EP_TXCR1(epnum) (U3D_TX1CSR1 + (((epnum) - 1) * 0x10)) argument
37 #define MU3D_EP_TXCR2(epnum) (U3D_TX1CSR2 + (((epnum) - 1) * 0x10)) argument
39 #define MU3D_EP_RXCR0(epnum) (U3D_RX1CSR0 + (((epnum) - 1) * 0x10)) argument
40 #define MU3D_EP_RXCR1(epnum) (U3D_RX1CSR1 + (((epnum) - 1) * 0x10)) argument
41 #define MU3D_EP_RXCR2(epnum) (U3D_RX1CSR2 + (((epnum) - 1) * 0x10)) argument
43 #define USB_QMU_TQHIAR(epnum) (U3D_TXQHIAR1 + (((epnum) - 1) * 0x4)) argument
44 #define USB_QMU_RQHIAR(epnum) (U3D_RXQHIAR1 + (((epnum) - 1) * 0x4)) argument
46 #define USB_QMU_RQCSR(epnum) (U3D_RXQCSR1 + (((epnum) - 1) * 0x10)) argument
47 #define USB_QMU_RQSAR(epnum) (U3D_RXQSAR1 + (((epnum) - 1) * 0x10)) argument
[all …]
H A Dmtu3_qmu.c73 static dma_addr_t read_txq_cur_addr(void __iomem *mbase, u8 epnum) in read_txq_cur_addr()
84 static dma_addr_t read_rxq_cur_addr(void __iomem *mbase, u8 epnum) in read_rxq_cur_addr()
95 static void write_txq_start_addr(void __iomem *mbase, u8 epnum, dma_addr_t dma) in write_txq_start_addr()
107 static void write_rxq_start_addr(void __iomem *mbase, u8 epnum, dma_addr_t dma) in write_rxq_start_addr()
193 int epnum = mep->epnum; in mtu3_qmu_resume() local
336 u8 epnum = mep->epnum; in mtu3_qmu_start() local
379 int epnum = mep->epnum; in mtu3_qmu_stop() local
425 static void qmu_tx_zlp_error_handler(struct mtu3 *mtu, u8 epnum) in qmu_tx_zlp_error_handler()
474 static void qmu_error_rx(struct mtu3 *mtu, u8 epnum) in qmu_error_rx()
508 static void qmu_done_tx(struct mtu3 *mtu, u8 epnum) in qmu_done_tx()
[all …]
H A Dmtu3_core.c312 u8 epnum = mep->epnum; in mtu3_ep_stall_set() local
409 int epnum = mep->epnum; in mtu3_config_ep() local
509 int epnum = mep->epnum; in mtu3_deconfig_ep() local
H A Dmtu3_gadget.c647 u32 epnum, u32 is_in) in init_hw_ep()
691 u8 epnum; in mtu3_gadget_init_eps() local
H A Dmtu3_gadget_ep0.c211 u8 epnum = 0; in ep0_get_status() local
389 u8 epnum; in ep0_handle_feature() local
/linux/drivers/usb/musb/
H A Dmusb_regs.h282 static inline void musb_write_rxfunaddr(struct musb *musb, u8 epnum, in musb_write_rxfunaddr()
290 static inline void musb_write_rxhubaddr(struct musb *musb, u8 epnum, in musb_write_rxhubaddr()
297 static inline void musb_write_rxhubport(struct musb *musb, u8 epnum, in musb_write_rxhubport()
304 static inline void musb_write_txfunaddr(struct musb *musb, u8 epnum, in musb_write_txfunaddr()
312 static inline void musb_write_txhubaddr(struct musb *musb, u8 epnum, in musb_write_txhubaddr()
319 static inline void musb_write_txhubport(struct musb *musb, u8 epnum, in musb_write_txhubport()
326 static inline u8 musb_read_rxfunaddr(struct musb *musb, u8 epnum) in musb_read_rxfunaddr()
332 static inline u8 musb_read_rxhubaddr(struct musb *musb, u8 epnum) in musb_read_rxhubaddr()
338 static inline u8 musb_read_rxhubport(struct musb *musb, u8 epnum) in musb_read_rxhubport()
344 static inline u8 musb_read_txfunaddr(struct musb *musb, u8 epnum) in musb_read_txfunaddr()
[all …]
H A Dmusb_gadget.h33 static inline void musb_g_tx(struct musb *musb, u8 epnum) {} in musb_g_tx()
34 static inline void musb_g_rx(struct musb *musb, u8 epnum) {} in musb_g_rx()
59 u8 epnum; member
H A Dmusb_host.h36 u8 epnum; member
92 static inline void musb_host_tx(struct musb *musb, u8 epnum) {} in musb_host_tx()
93 static inline void musb_host_rx(struct musb *musb, u8 epnum) {} in musb_host_rx()
H A Dmusbhsdma.c60 u8 epnum; member
344 u8 epnum = musb_channel->epnum; in dma_controller_irq() local
H A Dmusb_core.h210 u8 epnum; member
453 struct musb_hw_ep *hw_ep, u8 epnum) in musb_read_fifosize()
589 static inline void musb_platform_clear_ep_rxintr(struct musb *musb, int epnum) in musb_platform_clear_ep_rxintr()
H A Dtusb6010_omap.c33 int epnum; member
/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_cmd.c285 int bdc_ep_set_stall(struct bdc *bdc, int epnum) in bdc_ep_set_stall()
297 int bdc_ep_clear_stall(struct bdc *bdc, int epnum) in bdc_ep_clear_stall()
335 int bdc_stop_ep(struct bdc *bdc, int epnum) in bdc_stop_ep()
H A Dbdc_ep.c341 void bdc_notify_xfr(struct bdc *bdc, u32 epnum) in bdc_notify_xfr()
904 u8 epnum; in bdc_free_ep() local
1236 int epnum; in ep0_handle_feature() local
1310 u32 epnum; in ep0_handle_status() local
1944 static int init_ep(struct bdc *bdc, u32 epnum, u32 dir) in init_ep()
2002 u8 epnum; in bdc_init_ep() local
/linux/drivers/usb/fotg210/
H A Dfotg210-udc.c93 static void fotg210_fifo_ep_mapping(struct fotg210_ep *ep, u32 epnum, in fotg210_fifo_ep_mapping()
121 static void fotg210_set_fifo_dir(struct fotg210_ep *ep, u32 epnum, u32 dir_in) in fotg210_set_fifo_dir()
131 static void fotg210_set_tfrtype(struct fotg210_ep *ep, u32 epnum, u32 type) in fotg210_set_tfrtype()
141 static void fotg210_set_mps(struct fotg210_ep *ep, u32 epnum, u32 mps, in fotg210_set_mps()
185 static void fotg210_reset_tseq(struct fotg210_udc *fotg210, u8 epnum) in fotg210_reset_tseq()
662 u8 epnum; in fotg210_set_feature() local
737 u8 epnum; in fotg210_get_status() local
H A Dfotg210-hcd.c2043 unsigned is_out, epnum; in qh_update() local
2938 int epnum, void **ptr) in qh_append_tds()
3013 int epnum; in submit_async() local
3817 unsigned epnum; in intr_submit() local
3916 unsigned epnum, maxp; in iso_stream_init() local
3968 unsigned epnum; in iso_stream_find() local
5436 int epnum = usb_endpoint_num(&ep->desc); in fotg210_endpoint_reset() local
/linux/drivers/usb/host/
H A Dmax3421-hcd.c483 max3421_set_address(struct usb_hcd *hcd, struct usb_device *dev, int epnum) in max3421_set_address()
515 int epnum = usb_pipeendpoint(urb->pipe); in max3421_transfer_in() local
527 int epnum = usb_pipeendpoint(urb->pipe); in max3421_transfer_out() local
635 int epnum; in max3421_select_and_start_urb() local
1157 int epnum, ret; in dump_eps() local
1353 int epnum = usb_endpoint_num(&urb->ep->desc); in max3421_urb_done() local
H A Dehci-sched.c910 unsigned epnum; in intr_submit() local
1027 unsigned epnum, maxp; in iso_stream_init() local
1128 unsigned epnum; in iso_stream_find() local
/linux/drivers/usb/gadget/udc/
H A Dgoku_udc.c84 command(struct goku_udc_regs __iomem *regs, int command, unsigned epnum) in command()
504 struct goku_udc_regs __iomem *regs, int epnum) in pio_irq_enable()
513 struct goku_udc_regs __iomem *regs, int epnum) in pio_irq_disable()
H A Dgoku_udc.h135 #define DATASET_A(epnum) (1<<(2*(epnum))) argument
136 #define DATASET_B(epnum) (2<<(2*(epnum))) argument
137 #define DATASET_AB(epnum) (3<<(2*(epnum))) argument
/linux/drivers/usb/dwc3/
H A Ddebug.h260 u8 epnum = event->endpoint_number; in dwc3_ep_event_string() local
H A Dgadget.c2523 u32 epnum; in dwc3_stop_active_transfers() local
3301 static int dwc3_gadget_init_endpoint(struct dwc3 *dwc, u8 epnum) in dwc3_gadget_init_endpoint()
3354 u8 epnum; in dwc3_gadget_init_endpoints() local
3372 u8 epnum; in dwc3_gadget_free_endpoints() local
3811 u8 epnum = event->endpoint_number; in dwc3_endpoint_interrupt() local
3962 u32 epnum; in dwc3_clear_stall_all_ep() local
/linux/drivers/usb/core/
H A Dmessage.c1285 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_disable_endpoint() local
1319 unsigned int epnum = epaddr & USB_ENDPOINT_NUMBER_MASK; in usb_reset_endpoint() local
1456 int epnum = usb_endpoint_num(&ep->desc); in usb_enable_endpoint() local
/linux/drivers/usb/renesas_usbhs/
H A Dpipe.c408 u16 epnum = 0; in usbhsp_setup_pipecfg() local
503 u16 epnum, u16 maxp) in usbhs_pipe_config_update()
/linux/drivers/usb/usbip/
H A Dstub_rx.c341 int epnum = pdu->base.ep; in get_pipe() local
/linux/drivers/usb/dwc2/
H A Dgadget.c2390 static void dwc2_hsotg_handle_outdone(struct dwc2_hsotg *hsotg, int epnum) in dwc2_hsotg_handle_outdone()
2484 u32 epnum, status, size; in dwc2_hsotg_handle_rx() local
4802 int epnum, in dwc2_hsotg_initep()
4981 int epnum; in dwc2_gadget_init() local

12