Lines Matching refs:mod
94 struct usbhs_mod mod; member
111 container_of(usbhs_mod_get(priv, USBHS_HOST), struct usbhsh_hpriv, mod)
127 #define usbhsh_hpriv_to_priv(h) ((h)->mod.priv)
206 return (hpriv->mod.irq_attch == NULL); in usbhsh_is_running()
1345 hpriv->mod.irq_attch = NULL; in usbhsh_irq_attch()
1346 usbhs_irq_callback_update(priv, &hpriv->mod); in usbhsh_irq_attch()
1371 hpriv->mod.irq_attch = usbhsh_irq_attch; in usbhsh_irq_dtch()
1372 usbhs_irq_callback_update(priv, &hpriv->mod); in usbhsh_irq_dtch()
1464 struct usbhs_mod *mod = usbhs_mod_get_current(priv); in usbhsh_start() local
1492 mod->irq_attch = usbhsh_irq_attch; in usbhsh_start()
1493 mod->irq_dtch = usbhsh_irq_dtch; in usbhsh_start()
1494 mod->irq_sack = usbhsh_irq_setup_ack; in usbhsh_start()
1495 mod->irq_sign = usbhsh_irq_setup_err; in usbhsh_start()
1496 usbhs_irq_callback_update(priv, mod); in usbhsh_start()
1507 struct usbhs_mod *mod = usbhs_mod_get_current(priv); in usbhsh_stop() local
1513 mod->irq_attch = NULL; in usbhsh_stop()
1514 mod->irq_dtch = NULL; in usbhsh_stop()
1515 mod->irq_sack = NULL; in usbhsh_stop()
1516 mod->irq_sign = NULL; in usbhsh_stop()
1517 usbhs_irq_callback_update(priv, mod); in usbhsh_stop()
1558 usbhs_mod_register(priv, &hpriv->mod, USBHS_HOST); in usbhs_mod_host_probe()
1561 hpriv->mod.name = "host"; in usbhs_mod_host_probe()
1562 hpriv->mod.start = usbhsh_start; in usbhs_mod_host_probe()
1563 hpriv->mod.stop = usbhsh_stop; in usbhs_mod_host_probe()