| /freebsd-13.1/sys/arm/ti/twl/ |
| H A D | twl.c | 101 unsigned int sc_type; member 138 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()
|
| /freebsd-13.1/sys/powerpc/powernv/ |
| H A D | opal_sensor.c | 56 int sc_type; member 144 switch (sc->sc_type) { in opal_sensor_sysctl() 193 sc->sc_type = -1; in opal_sensor_attach() 196 sc->sc_type = i; in opal_sensor_attach() 200 if (sc->sc_type == -1) { in opal_sensor_attach() 212 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", "current value"); in opal_sensor_attach() 215 CTLFLAG_RD, __DECONST(char *, opal_sensor_types[sc->sc_type]), in opal_sensor_attach() 228 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", in opal_sensor_attach() 238 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", in opal_sensor_attach()
|
| /freebsd-13.1/sys/dev/usb/net/ |
| H A D | uhso.c | 85 uint32_t sc_type; /* Interface definition */ member 614 uhso_port_type[UHSO_IFACE_PORT_TYPE(sc->sc_type)], in uhso_attach() 635 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) in uhso_attach() 638 port = UHSO_IFACE_PORT_TYPE(sc->sc_type); in uhso_attach() 905 sc->sc_type = type; in uhso_probe_iface() 921 sc->sc_type = UHSO_IFACE_SPEC( in uhso_probe_iface() 1366 if (!(UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_BULK)) in uhso_bs_cfg() 1487 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) { in uhso_ucom_start_read() 1505 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) { in uhso_ucom_stop_read() 1523 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) { in uhso_ucom_start_write() [all …]
|
| /freebsd-13.1/sys/arm/ti/clk/ |
| H A D | ti_gate_clock.c | 66 uint8_t sc_type; member 148 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()
|
| /freebsd-13.1/sys/arm/mv/ |
| H A D | a37x0_gpio.c | 53 int sc_type; member 247 sc->sc_type = ofw_bus_search_compatible( in a37x0_gpio_probe() 249 switch (sc->sc_type) { in a37x0_gpio_probe()
|
| H A D | mv_pci.c | 319 int sc_type; member 465 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()
|
| /freebsd-13.1/sys/dev/powermac_nvram/ |
| H A D | powermac_nvram.c | 151 sc->sc_type = FLASH_TYPE_AMD; in powermac_nvram_attach() 153 sc->sc_type = FLASH_TYPE_SM; in powermac_nvram_attach() 527 if (sc->sc_type == FLASH_TYPE_AMD) in erase_bank() 541 if (sc->sc_type == FLASH_TYPE_AMD) in write_bank()
|
| H A D | powermac_nvramvar.h | 60 int sc_type; member
|
| /freebsd-13.1/sys/geom/shsec/ |
| H A D | g_shsec.h | 55 u_int sc_type; /* provider type */ member
|
| /freebsd-13.1/sys/geom/stripe/ |
| H A D | g_stripe.c | 685 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run() 692 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run() 783 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) { in g_stripe_add_disk() 867 sc->sc_type = type; in g_stripe_create() 1000 if (sc->sc_type != G_STRIPE_TYPE_AUTOMATIC) in g_stripe_taste() 1238 switch (sc->sc_type) { in g_stripe_dumpconf()
|
| H A D | g_stripe.h | 58 u_int sc_type; /* provider type */ member
|
| /freebsd-13.1/sys/geom/concat/ |
| H A D | g_concat.h | 67 u_int sc_type; /* provider type */ member
|
| H A D | g_concat.c | 452 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) in g_concat_check_and_run() 556 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) { in g_concat_add_disk() 630 sc->sc_type = type; in g_concat_create() 764 if (sc->sc_type != G_CONCAT_TYPE_AUTOMATIC) in g_concat_taste() 1003 switch (sc->sc_type) { in g_concat_dumpconf()
|
| /freebsd-13.1/sys/geom/cache/ |
| H A D | g_cache.h | 54 int sc_type; member
|
| H A D | g_cache.c | 512 sc->sc_type = type; in g_cache_create() 827 if (sc->sc_type != G_CACHE_TYPE_AUTOMATIC) in g_cache_ctl_configure()
|
| /freebsd-13.1/lib/libthr/thread/ |
| H A D | thr_sleepq.c | 47 int sc_type; member
|
| /freebsd-13.1/sys/dev/safexcel/ |
| H A D | safexcel_var.h | 406 uint32_t sc_type; /* EIP-97 or 197 */ member
|
| H A D | safexcel.c | 309 if (sc->sc_type == 197) { in safexcel_configure() 1147 sc->sc_type = ofw_bus_search_compatible(dev, safexcel_compat)->ocd_data; in safexcel_probe() 1148 if (sc->sc_type == 0) in safexcel_probe()
|
| /freebsd-13.1/sys/geom/journal/ |
| H A D | g_journal.c | 2228 else if (sc != NULL && (sc->sc_type & md->md_type) != 0) { in g_journal_create() 2249 sc->sc_type = 0; in g_journal_create() 2296 sc->sc_type |= md->md_type; in g_journal_create() 2353 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) { in g_journal_create() 2525 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_find_device() 2839 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_do_switch() 2947 if ((sc->sc_type & GJ_TYPE_COMPLETE) == GJ_TYPE_COMPLETE && in g_journal_do_switch()
|
| H A D | g_journal.h | 106 uint8_t sc_type; member
|
| /freebsd-13.1/sys/geom/mirror/ |
| H A D | g_mirror_ctl.c | 693 mdsize = (sc->sc_type == G_MIRROR_TYPE_AUTOMATIC) ? in g_mirror_ctl_insert() 706 if (sc->sc_type != G_MIRROR_TYPE_AUTOMATIC) { in g_mirror_ctl_insert()
|
| H A D | g_mirror.h | 171 u_int sc_type; /* Device type (manual/automatic). */ member
|
| H A D | g_mirror.c | 733 if (disk->d_softc->sc_type != G_MIRROR_TYPE_AUTOMATIC) in g_mirror_clear_metadata() 793 if (sc->sc_type != G_MIRROR_TYPE_AUTOMATIC) in g_mirror_update_metadata() 3132 sc->sc_type = type; in g_mirror_create() 3306 if (sc->sc_type != G_MIRROR_TYPE_AUTOMATIC) in g_mirror_taste() 3461 switch (sc->sc_type) { in g_mirror_dumpconf()
|