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