Home
last modified time | relevance | path

Searched refs:sc_pdev (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/arm/ti/twl/
H A Dtwl_clks.c128 device_t sc_pdev; /* parent device (twl) */ member
213 if (twl_is_4030(sc->sc_pdev)) { in twl_clks_is_enabled()
218 } else if (twl_is_6030(sc->sc_pdev) || twl_is_6025(sc->sc_pdev)) { in twl_clks_is_enabled()
222 if (twl_is_6030(sc->sc_pdev)) { in twl_clks_is_enabled()
283 if (twl_is_4030(sc->sc_pdev)) { in twl_clks_set_state()
294 } else if (twl_is_6030(sc->sc_pdev) || twl_is_6025(sc->sc_pdev)) { in twl_clks_set_state()
304 if (twl_is_6030(sc->sc_pdev)) in twl_clks_set_state()
509 child = ofw_bus_get_node(sc->sc_pdev); in twl_clks_add_clocks()
566 if (twl_is_4030(sc->sc_pdev)) in twl_clks_init()
568 else if (twl_is_6030(sc->sc_pdev) || twl_is_6025(sc->sc_pdev)) in twl_clks_init()
[all …]
H A Dtwl_vreg.c227 device_t sc_pdev; member
365 if (twl_is_4030(sc->sc_pdev)) { in twl_vreg_is_regulator_enabled()
372 } else if (twl_is_6030(sc->sc_pdev) || twl_is_6025(sc->sc_pdev)) { in twl_vreg_is_regulator_enabled()
374 if (twl_is_6030(sc->sc_pdev)) { in twl_vreg_is_regulator_enabled()
432 if (twl_is_4030(sc->sc_pdev)) { in twl_vreg_disable_regulator()
444 } else if (twl_is_6030(sc->sc_pdev) || twl_is_6025(sc->sc_pdev)) { in twl_vreg_disable_regulator()
446 if (twl_is_6030(sc->sc_pdev)) in twl_vreg_disable_regulator()
500 if (twl_is_4030(sc->sc_pdev)) { in twl_vreg_enable_regulator()
507 } else if (twl_is_6030(sc->sc_pdev) || twl_is_6025(sc->sc_pdev)) { in twl_vreg_enable_regulator()
939 if (twl_is_4030(sc->sc_pdev)) in twl_vreg_init()
[all …]
/f-stack/freebsd/arm/ti/
H A Dti_pruss.c112 struct cdev *sc_pdev; member
138 struct cdev *sc_pdev; member
324 device_printf( sc->sc_pdev->si_drv1, in ti_pruss_interrupts_enable()
331 if (sc->sc_irq_devs[irq].sc_pdev) { in ti_pruss_interrupts_enable()
333 sc->sc_irq_devs[irq].sc_pdev = NULL; in ti_pruss_interrupts_enable()
388 device_printf( sc->sc_pdev->si_drv1, in ti_pruss_event_map()
396 device_printf( sc->sc_pdev->si_drv1, in ti_pruss_event_map()
442 device_printf(sc->sc_pdev->si_drv1, in ti_pruss_channel_map()
692 sc->sc_pdev->si_drv1 = dev; in ti_pruss_attach()
734 if (sc->sc_pdev) in ti_pruss_detach()
[all …]