Lines Matching defs:musb

105 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral")  argument
192 struct musb *musb; member
268 struct musb { struct
273 struct musb_io io; argument
274 const struct musb_platform_ops *ops; argument
275 struct musb_context_registers context; argument
293 enum musb_h_ep0_state ep0_stage; argument
301 struct musb_hw_ep *bulk_ep; argument
303 struct list_head control; /* of musb_qh */ argument
304 struct list_head in_bulk; /* of musb_qh */ argument
305 struct list_head out_bulk; /* of musb_qh */ argument
306 struct list_head pending_list; /* pending work list */
308 struct timer_list otg_timer;
309 struct timer_list dev_timer;
310 struct notifier_block nb;
312 struct dma_controller *dma_controller;
336 struct musb_hw_ep endpoints[MUSB_C_NUM_EPS]; argument
348 enum musb_mode port_mode; argument
369 #define can_bulk_split(musb,type) \ argument
373 #define can_bulk_combine(musb,type) \ argument
398 enum musb_g_ep0_state ep0_state; argument
403 const struct musb_hdrc_config *config; argument
411 /* This must be included after struct musb is defined */ argument
443 static inline int musb_read_fifosize(struct musb *musb, in musb_read_fifosize()
473 static inline void musb_configure_ep0(struct musb *musb) in musb_configure_ep0()
500 static inline void musb_platform_set_vbus(struct musb *musb, int is_on) in musb_platform_set_vbus()
506 static inline void musb_platform_enable(struct musb *musb) in musb_platform_enable()
512 static inline void musb_platform_disable(struct musb *musb) in musb_platform_disable()
518 static inline int musb_platform_set_mode(struct musb *musb, u8 mode) in musb_platform_set_mode()
526 static inline void musb_platform_try_idle(struct musb *musb, in musb_platform_try_idle()
533 static inline int musb_platform_recover(struct musb *musb) in musb_platform_recover()
541 static inline int musb_platform_get_vbus_status(struct musb *musb) in musb_platform_get_vbus_status()
549 static inline int musb_platform_init(struct musb *musb) in musb_platform_init()
557 static inline int musb_platform_exit(struct musb *musb) in musb_platform_exit()
565 static inline void musb_platform_pre_root_reset_end(struct musb *musb) in musb_platform_pre_root_reset_end()
571 static inline void musb_platform_post_root_reset_end(struct musb *musb) in musb_platform_post_root_reset_end()
577 static inline void musb_platform_clear_ep_rxintr(struct musb *musb, int epnum) in musb_platform_clear_ep_rxintr()