Lines Matching defs:mod
85 struct usbhs_mod mod;
102 container_of(usbhs_mod_get(priv, USBHS_HOST), struct usbhsh_hpriv, mod)
118 #define usbhsh_hpriv_to_priv(h) ((h)->mod.priv)
188 * by checking mod.irq_attch
193 return (hpriv->mod.irq_attch == NULL);
1332 hpriv->mod.irq_attch = NULL;
1333 usbhs_irq_callback_update(priv, &hpriv->mod);
1358 hpriv->mod.irq_attch = usbhsh_irq_attch;
1359 usbhs_irq_callback_update(priv, &hpriv->mod);
1452 struct usbhs_mod *mod = usbhs_mod_get_current(priv);
1481 mod->irq_attch = usbhsh_irq_attch;
1482 mod->irq_dtch = usbhsh_irq_dtch;
1483 mod->irq_sack = usbhsh_irq_setup_ack;
1484 mod->irq_sign = usbhsh_irq_setup_err;
1485 usbhs_irq_callback_update(priv, mod);
1496 struct usbhs_mod *mod = usbhs_mod_get_current(priv);
1502 mod->irq_attch = NULL;
1503 mod->irq_dtch = NULL;
1504 mod->irq_sack = NULL;
1505 mod->irq_sign = NULL;
1506 usbhs_irq_callback_update(priv, mod);
1547 usbhs_mod_register(priv, &hpriv->mod, USBHS_HOST);
1550 hpriv->mod.name = "host";
1551 hpriv->mod.start = usbhsh_start;
1552 hpriv->mod.stop = usbhsh_stop;