Lines Matching defs:musb
70 #define is_peripheral_enabled(musb) ((musb)->board_mode != MUSB_HOST) argument
71 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL) argument
72 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG) argument
81 #define is_peripheral_enabled(musb) is_peripheral_capable() argument
82 #define is_host_enabled(musb) is_host_capable() argument
83 #define is_otg_enabled(musb) 0 argument
85 #define is_peripheral_active(musb) is_peripheral_capable() argument
86 #define is_host_active(musb) is_host_capable() argument
229 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") argument
239 struct musb *musb; member
306 struct musb { struct
321 enum musb_h_ep0_state ep0_stage; argument
329 struct musb_hw_ep *bulk_ep; argument
331 struct list_head control; /* of musb_qh */ argument
332 struct list_head in_bulk; /* of musb_qh */ argument
333 struct list_head out_bulk; /* of musb_qh */ argument
334 struct musb_qh *periodic[32]; /* tree of interrupt+iso */ argument
340 void (*board_set_vbus)(struct musb *, int is_on); argument
364 struct musb_hw_ep endpoints[MUSB_C_NUM_EPS]; argument
372 u8 board_mode; /* enum musb_mode */ argument
392 #define can_bulk_split(musb,type) \ argument
395 #define can_bulk_split(musb, type) 0 argument
400 #define can_bulk_combine(musb,type) \ argument
403 #define can_bulk_combine(musb, type) 0 argument
427 enum musb_g_ep0_state ep0_state; argument
432 struct musb_hdrc_config *config; argument
439 static inline void musb_set_vbus(struct musb *musb, int is_on) in musb_set_vbus()
452 static inline int musb_read_fifosize(struct musb *musb, in musb_read_fifosize()
470 static inline void musb_configure_ep0(struct musb *musb) in musb_configure_ep0()
479 static inline int musb_read_fifosize(struct musb *musb, in musb_read_fifosize()
508 static inline void musb_configure_ep0(struct musb *musb) in musb_configure_ep0()