Home
last modified time | relevance | path

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

1234

/openbmc/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
46 #define USB_QMU_RQCSR(epnum) (U3D_RXQCSR1 + (((epnum) - 1) * 0x10)) argument
47 #define USB_QMU_RQSAR(epnum) (U3D_RXQSAR1 + (((epnum) - 1) * 0x10)) argument
48 #define USB_QMU_RQCPR(epnum) (U3D_RXQCPR1 + (((epnum) - 1) * 0x10)) argument
278 u8 epnum; member
[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
/openbmc/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()
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()
350 static inline u8 musb_read_txhubaddr(struct musb *musb, u8 epnum) in musb_read_txhubaddr()
[all …]
H A Dmusb_gadget.c225 u8 epnum = req->epnum; in txstate() local
406 void musb_g_tx(struct musb *musb, u8 epnum) in musb_g_tx()
520 const u8 epnum = req->epnum; in rxstate() local
790 void musb_g_rx(struct musb *musb, u8 epnum) in musb_g_rx()
917 u8 epnum; in musb_gadget_enable() local
1088 u8 epnum; in musb_gadget_disable() local
1331 u8 epnum = musb_ep->current_epnum; in musb_gadget_set_halt() local
1434 int epnum = musb_ep->current_epnum; in musb_gadget_fifo_status() local
1453 u8 epnum = musb_ep->current_epnum; in musb_gadget_fifo_flush() local
1695 init_peripheral_ep(struct musb *musb, struct musb_ep *ep, u8 epnum, int is_in) in init_peripheral_ep()
[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 Dmusb_core.c219 static u32 musb_default_fifo_offset(u8 epnum) in musb_default_fifo_offset()
225 static void musb_flat_ep_select(void __iomem *mbase, u8 epnum) in musb_flat_ep_select()
229 static u32 musb_flat_ep_offset(u8 epnum, u16 offset) in musb_flat_ep_offset()
235 static void musb_indexed_ep_select(void __iomem *mbase, u8 epnum) in musb_indexed_ep_select()
240 static u32 musb_indexed_ep_offset(u8 epnum, u16 offset) in musb_indexed_ep_offset()
245 static u32 musb_default_busctl_offset(u8 epnum, u16 offset) in musb_default_busctl_offset()
1545 u8 epnum = 0; in ep_config_from_hw() local
1725 unsigned long epnum; in musb_interrupt() local
1799 void musb_dma_completion(struct musb *musb, u8 epnum, u8 transmit) in musb_dma_completion()
2146 int epnum; in allocate_instance() local
H A Dtusb6010.c131 static u32 tusb_fifo_offset(u8 epnum) in tusb_fifo_offset()
136 static u32 tusb_ep_offset(u8 epnum, u16 offset) in tusb_ep_offset()
142 static void tusb_ep_select(void __iomem *mbase, u8 epnum) in tusb_ep_select()
230 u8 epnum = hw_ep->epnum; in tusb_write_fifo() local
280 u8 epnum = hw_ep->epnum; in tusb_read_fifo() local
H A Dmusb_gadget_ep0.c56 u8 result[2], epnum = 0; in service_tx_status_request() local
236 const u8 epnum = in service_zero_data_request() local
397 const u8 epnum = in service_zero_data_request() local
H A Dmediatek.c193 static u32 mtk_musb_busctl_offset(u8 epnum, u16 offset) in mtk_musb_busctl_offset()
306 u8 epnum = qh->hw_ep->epnum; in mtk_musb_get_toggle() local
316 u8 epnum = qh->hw_ep->epnum; in mtk_musb_set_toggle() local
H A Dmusb_host.c204 int epnum = hw_ep->epnum; in musb_start_urb() local
413 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) in musb_host_packet_rx()
514 musb_rx_reinit(struct musb *musb, struct musb_qh *qh, u8 epnum) in musb_rx_reinit()
669 static void musb_ep_program(struct musb *musb, u8 epnum, in musb_ep_program()
1195 void musb_host_tx(struct musb *musb, u8 epnum) in musb_host_tx()
1729 void musb_host_rx(struct musb *musb, u8 epnum) in musb_host_rx()
2000 int best_end, epnum; in musb_schedule() local
H A Dsunxi.c397 static u32 sunxi_musb_fifo_offset(u8 epnum) in sunxi_musb_fifo_offset()
402 static u32 sunxi_musb_ep_offset(u8 epnum, u16 offset) in sunxi_musb_ep_offset()
410 static u32 sunxi_musb_busctl_offset(u8 epnum, u16 offset) in sunxi_musb_busctl_offset()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget.c315 u8 epnum = req->epnum; in txstate() local
485 void musb_g_tx(struct musb *musb, u8 epnum) in musb_g_tx()
636 const u8 epnum = req->epnum; in rxstate() local
904 void musb_g_rx(struct musb *musb, u8 epnum) in musb_g_rx()
1035 u8 epnum; in musb_gadget_enable() local
1215 u8 epnum; in musb_gadget_disable() local
1430 u8 epnum = musb_ep->current_epnum; in musb_gadget_set_halt() local
1534 int epnum = musb_ep->current_epnum; in musb_gadget_fifo_status() local
1553 u8 epnum = musb_ep->current_epnum; in musb_gadget_fifo_flush() local
1823 init_peripheral_ep(struct musb *musb, struct musb_ep *ep, u8 epnum, int is_in) in init_peripheral_ep()
[all …]
H A Dmusb_regs.h215 #define MUSB_FIFO_OFFSET(epnum) (0x200 + ((epnum) * 0x20)) argument
217 #define MUSB_FIFO_OFFSET(epnum) (0x20 + ((epnum) * 4)) argument
317 #define MUSB_FIFO_OFFSET(epnum) (0x00 + ((epnum) * 4)) argument
476 static inline void musb_write_txfunaddr(void __iomem *mbase, u8 epnum, in musb_write_txfunaddr()
483 static inline void musb_write_txhubaddr(void __iomem *mbase, u8 epnum, in musb_write_txhubaddr()
497 static inline u8 musb_read_rxfunaddr(void __iomem *mbase, u8 epnum) in musb_read_rxfunaddr()
502 static inline u8 musb_read_rxhubaddr(void __iomem *mbase, u8 epnum) in musb_read_rxhubaddr()
507 static inline u8 musb_read_rxhubport(void __iomem *mbase, u8 epnum) in musb_read_rxhubport()
512 static inline u8 musb_read_txfunaddr(void __iomem *mbase, u8 epnum) in musb_read_txfunaddr()
517 static inline u8 musb_read_txhubaddr(void __iomem *mbase, u8 epnum) in musb_read_txhubaddr()
[all …]
H A Dmusb_host.c199 int epnum = hw_ep->epnum; in musb_start_urb() local
449 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) in musb_host_packet_rx()
682 static void musb_ep_program(struct musb *musb, u8 epnum, in musb_ep_program()
1102 void musb_host_tx(struct musb *musb, u8 epnum) in musb_host_tx()
1431 void musb_host_rx(struct musb *musb, u8 epnum) in musb_host_rx()
1789 int best_end, epnum; in musb_schedule() local
H A Dmusb_gadget_ep0.c62 u8 result[2], epnum = 0; in service_tx_status_request() local
238 const u8 epnum = in service_zero_data_request() local
403 const u8 epnum = in service_zero_data_request() local
/openbmc/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
/openbmc/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
/openbmc/u-boot/drivers/usb/dwc3/
H A Dep0.c49 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum, dma_addr_t buf_dma, in dwc3_ep0_start_trans()
309 u32 epnum; in dwc3_wIndex_to_dep() local
779 u8 epnum; in dwc3_ep0_complete_data() local
1089 u8 epnum = event->endpoint_number; in dwc3_ep0_interrupt() local
H A Dgadget.c1579 u8 epnum = (i << 1) | (!!direction); in dwc3_gadget_init_hw_endpoints() local
1648 u8 epnum; in dwc3_gadget_free_endpoints() local
1837 u8 epnum = event->endpoint_number; in dwc3_endpoint_interrupt() local
1951 static void dwc3_stop_active_transfer(struct dwc3 *dwc, u32 epnum, bool force) in dwc3_stop_active_transfer()
1996 u32 epnum; in dwc3_stop_active_transfers() local
2014 u32 epnum; in dwc3_clear_stall_all_ep() local
/openbmc/qemu/hw/usb/
H A Dhcd-musb.c310 int epnum; member
462 void musb_set_size(MUSBState *s, int epnum, int size, int is_tx) in musb_set_size()
609 int epnum, int pid, int len, USBCallback cb, int dir) in musb_packet()
662 int epnum = ep->epnum; in musb_tx_packet_complete() local
742 int epnum = ep->epnum; in musb_rx_packet_complete() local
836 static void musb_tx_rdy(MUSBState *s, int epnum) in musb_tx_rdy()
875 static void musb_rx_req(MUSBState *s, int epnum) in musb_rx_req()
/openbmc/linux/drivers/usb/host/
H A Dehci-q.c96 unsigned is_out, epnum; in qh_update() local
1025 int epnum, in qh_append_tds()
1109 int epnum; in submit_async() local
/openbmc/u-boot/drivers/usb/gadget/
H A Depautoconf.c21 static unsigned epnum; variable

1234