Searched refs:sc_type (Results 1 – 4 of 4) sorted by relevance
101 unsigned int sc_type; member138 return (sc->sc_type == TWL_DEVICE_4030); in twl_is_4030()145 return (sc->sc_type == TWL_DEVICE_6025); in twl_is_6025()152 return (sc->sc_type == TWL_DEVICE_6030); in twl_is_6030()360 sc->sc_type = TWL_DEVICE_UNKNOWN; in twl_probe()364 sc->sc_type = TWL_DEVICE_6030; in twl_probe()366 sc->sc_type = TWL_DEVICE_6025; in twl_probe()368 sc->sc_type = TWL_DEVICE_4030; in twl_probe()370 if (sc->sc_type != TWL_DEVICE_UNKNOWN) in twl_probe()379 switch (sc->sc_type) { in twl_probe()
66 uint8_t sc_type; member148 sc->sc_type = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in ti_gate_attach()151 if (sc->sc_type != TI_CLKDM_GATE_CLOCK) { in ti_gate_attach()
53 int sc_type; member247 sc->sc_type = ofw_bus_search_compatible( in a37x0_gpio_probe()249 switch (sc->sc_type) { in a37x0_gpio_probe()
319 int sc_type; member465 sc->sc_type = MV_TYPE_PCIE; in mv_pcib_attach()471 sc->sc_type = MV_TYPE_PCIE; in mv_pcib_attach()477 sc->sc_type = MV_TYPE_PCI; in mv_pcib_attach()988 if (sc->sc_type != MV_TYPE_PCIE) in pcib_write_irq_mask()1012 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread()1014 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread()1047 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite()1049 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite()1079 return ((sc->sc_type != MV_TYPE_PCI) ? 1 : PCI_SLOTMAX); in mv_pcib_maxslots()