Lines Matching refs:usbhs_priv
33 int (*start)(struct usbhs_priv *priv);
34 int (*stop)(struct usbhs_priv *priv);
41 int (*irq_dev_state)(struct usbhs_priv *priv,
45 int (*irq_ctrl_stage)(struct usbhs_priv *priv,
49 int (*irq_empty)(struct usbhs_priv *priv,
54 int (*irq_ready)(struct usbhs_priv *priv,
63 int (*irq_attch)(struct usbhs_priv *priv,
67 int (*irq_dtch)(struct usbhs_priv *priv,
71 int (*irq_sign)(struct usbhs_priv *priv,
75 int (*irq_sack)(struct usbhs_priv *priv,
78 struct usbhs_priv *priv;
94 int (*irq_vbus)(struct usbhs_priv *priv,
107 struct usbhs_mod *usbhs_mod_get(struct usbhs_priv *priv, int id);
108 struct usbhs_mod *usbhs_mod_get_current(struct usbhs_priv *priv);
109 void usbhs_mod_register(struct usbhs_priv *priv, struct usbhs_mod *usb, int id);
110 int usbhs_mod_is_host(struct usbhs_priv *priv);
111 int usbhs_mod_change(struct usbhs_priv *priv, int id);
112 int usbhs_mod_probe(struct usbhs_priv *priv);
113 void usbhs_mod_remove(struct usbhs_priv *priv);
115 void usbhs_mod_autonomy_mode(struct usbhs_priv *priv);
116 void usbhs_mod_non_autonomy_mode(struct usbhs_priv *priv);
127 void usbhs_irq_callback_update(struct usbhs_priv *priv, struct usbhs_mod *mod);
153 extern int usbhs_mod_host_probe(struct usbhs_priv *priv);
154 extern int usbhs_mod_host_remove(struct usbhs_priv *priv);
156 static inline int usbhs_mod_host_probe(struct usbhs_priv *priv) in usbhs_mod_host_probe()
160 static inline void usbhs_mod_host_remove(struct usbhs_priv *priv) in usbhs_mod_host_remove()
167 extern int usbhs_mod_gadget_probe(struct usbhs_priv *priv);
168 extern void usbhs_mod_gadget_remove(struct usbhs_priv *priv);
170 static inline int usbhs_mod_gadget_probe(struct usbhs_priv *priv) in usbhs_mod_gadget_probe()
174 static inline void usbhs_mod_gadget_remove(struct usbhs_priv *priv) in usbhs_mod_gadget_remove()