Home
last modified time | relevance | path

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

/freebsd-14.2/sys/arm/ti/twl/
H A Dtwl.c99 unsigned int sc_type; member
136 return (sc->sc_type == TWL_DEVICE_4030); in twl_is_4030()
143 return (sc->sc_type == TWL_DEVICE_6025); in twl_is_6025()
150 return (sc->sc_type == TWL_DEVICE_6030); in twl_is_6030()
358 sc->sc_type = TWL_DEVICE_UNKNOWN; in twl_probe()
362 sc->sc_type = TWL_DEVICE_6030; in twl_probe()
364 sc->sc_type = TWL_DEVICE_6025; in twl_probe()
366 sc->sc_type = TWL_DEVICE_4030; in twl_probe()
368 if (sc->sc_type != TWL_DEVICE_UNKNOWN) in twl_probe()
377 switch (sc->sc_type) { in twl_probe()
/freebsd-14.2/sys/powerpc/powernv/
H A Dopal_sensor.c54 int sc_type; member
142 switch (sc->sc_type) { in opal_sensor_sysctl()
191 sc->sc_type = -1; in opal_sensor_attach()
194 sc->sc_type = i; in opal_sensor_attach()
198 if (sc->sc_type == -1) { in opal_sensor_attach()
210 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", "current value"); in opal_sensor_attach()
213 CTLFLAG_RD, __DECONST(char *, opal_sensor_types[sc->sc_type]), in opal_sensor_attach()
226 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", in opal_sensor_attach()
236 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", in opal_sensor_attach()
/freebsd-14.2/sys/dev/usb/net/
H A Duhso.c83 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()
1363 if (!(UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_BULK)) in uhso_bs_cfg()
1484 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) { in uhso_ucom_start_read()
1502 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) { in uhso_ucom_stop_read()
1520 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) { in uhso_ucom_start_write()
[all …]
/freebsd-14.2/sys/arm/ti/clk/
H A Dti_gate_clock.c62 uint8_t sc_type; member
144 sc->sc_type = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in ti_gate_attach()
147 if (sc->sc_type != TI_CLKDM_GATE_CLOCK) { in ti_gate_attach()
/freebsd-14.2/sys/arm/mv/
H A Da37x0_gpio.c51 int sc_type; member
245 sc->sc_type = ofw_bus_search_compatible( in a37x0_gpio_probe()
247 switch (sc->sc_type) { in a37x0_gpio_probe()
H A Dmv_pci.c317 int sc_type; member
461 sc->sc_type = MV_TYPE_PCIE; in mv_pcib_attach()
467 sc->sc_type = MV_TYPE_PCIE; in mv_pcib_attach()
473 sc->sc_type = MV_TYPE_PCI; in mv_pcib_attach()
984 if (sc->sc_type != MV_TYPE_PCIE) in pcib_write_irq_mask()
1008 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread()
1010 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread()
1043 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite()
1045 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite()
1075 return ((sc->sc_type != MV_TYPE_PCI) ? 1 : PCI_SLOTMAX); in mv_pcib_maxslots()
/freebsd-14.2/sys/dev/powermac_nvram/
H A Dpowermac_nvram.c147 sc->sc_type = FLASH_TYPE_AMD; in powermac_nvram_attach()
149 sc->sc_type = FLASH_TYPE_SM; in powermac_nvram_attach()
523 if (sc->sc_type == FLASH_TYPE_AMD) in erase_bank()
537 if (sc->sc_type == FLASH_TYPE_AMD) in write_bank()
H A Dpowermac_nvramvar.h58 int sc_type; member
/freebsd-14.2/sys/geom/shsec/
H A Dg_shsec.h53 u_int sc_type; /* provider type */ member
/freebsd-14.2/sys/geom/concat/
H A Dg_concat.c460 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) in g_concat_check_and_run()
577 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) { in g_concat_add_disk()
664 sc->sc_type = type; in g_concat_create()
804 if (sc->sc_type != G_CONCAT_TYPE_AUTOMATIC) in g_concat_taste()
1173 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) { in g_concat_ctl_append()
1245 switch (sc->sc_type) { in g_concat_dumpconf()
H A Dg_concat.h67 u_int sc_type; /* provider type */ member
/freebsd-14.2/sys/geom/stripe/
H A Dg_stripe.c688 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run()
695 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run()
786 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) { in g_stripe_add_disk()
884 sc->sc_type = type; in g_stripe_create()
1017 if (sc->sc_type != G_STRIPE_TYPE_AUTOMATIC) in g_stripe_taste()
1255 switch (sc->sc_type) { in g_stripe_dumpconf()
H A Dg_stripe.h58 u_int sc_type; /* provider type */ member
/freebsd-14.2/sys/geom/cache/
H A Dg_cache.h52 int sc_type; member
H A Dg_cache.c510 sc->sc_type = type; in g_cache_create()
825 if (sc->sc_type != G_CACHE_TYPE_AUTOMATIC) in g_cache_ctl_configure()
/freebsd-14.2/lib/libthr/thread/
H A Dthr_sleepq.c44 int sc_type; member
/freebsd-14.2/sys/dev/safexcel/
H A Dsafexcel_var.h404 uint32_t sc_type; /* EIP-97 or 197 */ member
H A Dsafexcel.c307 if (sc->sc_type == 197) { in safexcel_configure()
1145 sc->sc_type = ofw_bus_search_compatible(dev, safexcel_compat)->ocd_data; in safexcel_probe()
1146 if (sc->sc_type == 0) in safexcel_probe()
/freebsd-14.2/sys/geom/journal/
H A Dg_journal.c2226 else if (sc != NULL && (sc->sc_type & md->md_type) != 0) { in g_journal_create()
2247 sc->sc_type = 0; in g_journal_create()
2294 sc->sc_type |= md->md_type; in g_journal_create()
2351 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) { in g_journal_create()
2523 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_find_device()
2838 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_do_switch()
2946 if ((sc->sc_type & GJ_TYPE_COMPLETE) == GJ_TYPE_COMPLETE && in g_journal_do_switch()
H A Dg_journal.h104 uint8_t sc_type; member
/freebsd-14.2/sys/geom/mirror/
H A Dg_mirror_ctl.c691 mdsize = (sc->sc_type == G_MIRROR_TYPE_AUTOMATIC) ? in g_mirror_ctl_insert()
704 if (sc->sc_type != G_MIRROR_TYPE_AUTOMATIC) { in g_mirror_ctl_insert()
H A Dg_mirror.h170 u_int sc_type; /* Device type (manual/automatic). */ member
H A Dg_mirror.c737 if (disk->d_softc->sc_type != G_MIRROR_TYPE_AUTOMATIC) in g_mirror_clear_metadata()
797 if (sc->sc_type != G_MIRROR_TYPE_AUTOMATIC) in g_mirror_update_metadata()
3160 sc->sc_type = type; in g_mirror_create()
3334 if (sc->sc_type != G_MIRROR_TYPE_AUTOMATIC) in g_mirror_taste()
3489 switch (sc->sc_type) { in g_mirror_dumpconf()