22 #define usbhs_priv_to_modinfo(priv) (&priv->mod_info)
23 #define usbhs_mod_info_call(priv, func, param...) \
25 struct usbhs_mod_info *info; \
26 info = usbhs_priv_to_modinfo(priv); \
62 info->
irq_vbus = usbhsm_autonomy_irq_vbus;
63 priv->
pfunc.get_vbus = usbhsm_autonomy_get_vbus;
151 goto mod_init_host_err;
155 priv->
irqflags, dev_name(dev), priv);
157 dev_err(dev,
"irq request err\n");
158 goto mod_init_gadget_err;
216 u16 intenb0, intenb1;
239 if (!(intenb0 & state->
intsts0) &&
252 #define INTSTS0_MAGIC 0xF800
253 #define INTSTS1_MAGIC 0xA870
259 if (usbhs_status_get_each_irq(priv, &irq_state) < 0)