Searched defs:fotg210 (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 81 #define fotg210_dbg(fotg210, fmt, args...) \ argument 83 #define fotg210_err(fotg210, fmt, args...) \ argument 85 #define fotg210_info(fotg210, fmt, args...) \ argument 87 #define fotg210_warn(fotg210, fmt, args...) \ argument 93 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcs_params() 104 static void dbg_hcc_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcc_params() 115 dbg_qtd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd) in dbg_qtd() 131 dbg_qh(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in dbg_qh() 143 dbg_itd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_itd *itd) in dbg_itd() 262 #define dbg_status(fotg210, label, status) { \ argument [all …]
|
H A D | fotg210-udc.c | 32 static void fotg210_ack_int(struct fotg210_udc *fotg210, u32 offset, u32 mask) in fotg210_ack_int() 62 static void fotg210_set_cxdone(struct fotg210_udc *fotg210) in fotg210_set_cxdone() 96 struct fotg210_udc *fotg210 = ep->fotg210; in fotg210_fifo_ep_mapping() local 123 struct fotg210_udc *fotg210 = ep->fotg210; in fotg210_set_fifo_dir() local 133 struct fotg210_udc *fotg210 = ep->fotg210; in fotg210_set_tfrtype() local 144 struct fotg210_udc *fotg210 = ep->fotg210; in fotg210_set_mps() local 157 struct fotg210_udc *fotg210 = ep->fotg210; in fotg210_config_ep() local 185 static void fotg210_reset_tseq(struct fotg210_udc *fotg210, u8 epnum) in fotg210_reset_tseq() 269 struct fotg210_udc *fotg210 = ep->fotg210; in fotg210_enable_dma() local 457 struct fotg210_udc *fotg210 = ep->fotg210; in fotg210_set_epnstall() local [all …]
|
H A D | fotg210.h | 11 struct fotg210 { struct 20 void fotg210_vbus(struct fotg210 *fotg, bool enable); argument
|
H A D | fotg210-hcd.h | 195 static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210) in fotg210_to_hcd() 213 #define HC_LENGTH(fotg210, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \ argument 215 #define HC_VERSION(fotg210, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \ argument 308 #define QTD_NEXT(fotg210, dma) cpu_to_hc32(fotg210, (u32)dma) argument 337 #define ACTIVE_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_ACTIVE) argument 338 #define HALT_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_HALT) argument 339 #define STATUS_BIT(fotg210) cpu_to_hc32(fotg210, QTD_STS_STS) argument 352 #define QTD_MASK(fotg210) cpu_to_hc32(fotg210, ~0x1f) argument 359 #define Q_NEXT_TYPE(fotg210, dma) ((dma) & cpu_to_hc32(fotg210, 3 << 1)) argument 375 #define QH_NEXT(fotg210, dma) \ argument [all …]
|
H A D | fotg210-udc.h | 219 struct fotg210_udc *fotg210; member
|