Home
last modified time | relevance | path

Searched refs:sc_type (Results 1 – 22 of 22) sorted by relevance

/freebsd-12.1/sys/arm/ti/twl/
H A Dtwl.c101 unsigned int sc_type; member
139 return (sc->sc_type == TWL_DEVICE_4030); in twl_is_4030()
146 return (sc->sc_type == TWL_DEVICE_6025); in twl_is_6025()
153 return (sc->sc_type == TWL_DEVICE_6030); in twl_is_6030()
364 sc->sc_type = TWL_DEVICE_UNKNOWN; in twl_probe()
368 sc->sc_type = TWL_DEVICE_6030; in twl_probe()
370 sc->sc_type = TWL_DEVICE_6025; in twl_probe()
372 sc->sc_type = TWL_DEVICE_4030; in twl_probe()
374 if (sc->sc_type != TWL_DEVICE_UNKNOWN) in twl_probe()
383 switch (sc->sc_type) { in twl_probe()
/freebsd-12.1/sys/powerpc/powernv/
H A Dopal_sensor.c54 int sc_type; member
147 switch (sc->sc_type) { in opal_sensor_sysctl()
196 sc->sc_type = -1; in opal_sensor_attach()
199 sc->sc_type = i; in opal_sensor_attach()
203 if (sc->sc_type == -1) { in opal_sensor_attach()
214 opal_sensor_sysctl, (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", in opal_sensor_attach()
218 CTLFLAG_RD, __DECONST(char *, opal_sensor_types[sc->sc_type]), in opal_sensor_attach()
231 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", in opal_sensor_attach()
241 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", in opal_sensor_attach()
/freebsd-12.1/sys/dev/usb/net/
H A Duhso.c85 uint32_t sc_type; /* Interface definition */ member
611 uhso_port_type[UHSO_IFACE_PORT_TYPE(sc->sc_type)], in uhso_attach()
632 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) in uhso_attach()
635 port = UHSO_IFACE_PORT_TYPE(sc->sc_type); in uhso_attach()
902 sc->sc_type = type; in uhso_probe_iface()
918 sc->sc_type = UHSO_IFACE_SPEC( in uhso_probe_iface()
1365 if (!(UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_BULK)) in uhso_bs_cfg()
1486 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) { in uhso_ucom_start_read()
1504 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) { in uhso_ucom_stop_read()
1522 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) { in uhso_ucom_start_write()
[all …]
/freebsd-12.1/sys/arm/mv/
H A Dmv_pci.c319 int sc_type; member
465 sc->sc_type = MV_TYPE_PCIE; in mv_pcib_attach()
473 sc->sc_type = MV_TYPE_PCIE; in mv_pcib_attach()
479 sc->sc_type = MV_TYPE_PCI; in mv_pcib_attach()
990 if (sc->sc_type != MV_TYPE_PCIE) in pcib_write_irq_mask()
1014 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread()
1016 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread()
1049 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite()
1051 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite()
1081 return ((sc->sc_type != MV_TYPE_PCI) ? 1 : PCI_SLOTMAX); in mv_pcib_maxslots()
H A Da37x0_gpio.c53 int sc_type; member
248 sc->sc_type = ofw_bus_search_compatible( in a37x0_gpio_probe()
250 switch (sc->sc_type) { in a37x0_gpio_probe()
/freebsd-12.1/sys/dev/powermac_nvram/
H A Dpowermac_nvram.c151 sc->sc_type = FLASH_TYPE_AMD; in powermac_nvram_attach()
153 sc->sc_type = FLASH_TYPE_SM; in powermac_nvram_attach()
503 if (sc->sc_type == FLASH_TYPE_AMD) in erase_bank()
515 if (sc->sc_type == FLASH_TYPE_AMD) in write_bank()
H A Dpowermac_nvramvar.h59 int sc_type; member
/freebsd-12.1/sys/geom/stripe/
H A Dg_stripe.c687 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run()
694 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run()
785 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) { in g_stripe_add_disk()
869 sc->sc_type = type; in g_stripe_create()
999 if (sc->sc_type != G_STRIPE_TYPE_AUTOMATIC) in g_stripe_taste()
1249 switch (sc->sc_type) { in g_stripe_dumpconf()
H A Dg_stripe.h73 u_int sc_type; /* provider type */ member
/freebsd-12.1/sys/geom/concat/
H A Dg_concat.c448 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) in g_concat_check_and_run()
552 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) { in g_concat_add_disk()
626 sc->sc_type = type; in g_concat_create()
757 if (sc->sc_type != G_CONCAT_TYPE_AUTOMATIC) in g_concat_taste()
1005 switch (sc->sc_type) { in g_concat_dumpconf()
H A Dg_concat.h82 u_int sc_type; /* provider type */ member
/freebsd-12.1/sys/geom/shsec/
H A Dg_shsec.h73 u_int sc_type; /* provider type */ member
/freebsd-12.1/sys/geom/cache/
H A Dg_cache.h69 int sc_type; member
H A Dg_cache.c509 sc->sc_type = type; in g_cache_create()
831 if (sc->sc_type != G_CACHE_TYPE_AUTOMATIC) in g_cache_ctl_configure()
/freebsd-12.1/lib/libthr/thread/
H A Dthr_sleepq.c47 int sc_type; member
/freebsd-12.1/sys/geom/journal/
H A Dg_journal.c2220 else if (sc != NULL && (sc->sc_type & md->md_type) != 0) { in g_journal_create()
2241 sc->sc_type = 0; in g_journal_create()
2288 sc->sc_type |= md->md_type; in g_journal_create()
2345 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) { in g_journal_create()
2514 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_find_device()
2827 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_do_switch()
2935 if ((sc->sc_type & GJ_TYPE_COMPLETE) == GJ_TYPE_COMPLETE && in g_journal_do_switch()
H A Dg_journal.h124 uint8_t sc_type; member
/freebsd-12.1/sys/geom/mirror/
H A Dg_mirror_ctl.c651 mdsize = (sc->sc_type == G_MIRROR_TYPE_AUTOMATIC) ? in g_mirror_ctl_insert()
664 if (sc->sc_type != G_MIRROR_TYPE_AUTOMATIC) { in g_mirror_ctl_insert()
H A Dg_mirror.h185 u_int sc_type; /* Device type (manual/automatic). */ member
H A Dg_mirror.c714 if (disk->d_softc->sc_type != G_MIRROR_TYPE_AUTOMATIC) in g_mirror_clear_metadata()
781 if (sc->sc_type != G_MIRROR_TYPE_AUTOMATIC) in g_mirror_update_metadata()
3056 sc->sc_type = type; in g_mirror_create()
3228 if (sc->sc_type != G_MIRROR_TYPE_AUTOMATIC) in g_mirror_taste()
3383 switch (sc->sc_type) { in g_mirror_dumpconf()
/freebsd-12.1/sys/dev/de/
H A Dif_devar.h716 tulip_srom_connection_t sc_type; member
H A Dif_de.c2407 if (tulip_srom_conninfo[idx2].sc_type == sc->tulip_conntype in tulip_srom_decode()
2408 || tulip_srom_conninfo[idx2].sc_type == TULIP_SROM_CONNTYPE_NOT_USED) in tulip_srom_decode()