Home
last modified time | relevance | path

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

/NextBSD/sys/dev/iicbus/
HDds133x.c84 int sc_type; member
117 ds133x_detect(device_t dev, int *sc_type) in ds133x_detect() argument
146 *sc_type = DS1338; in ds133x_detect()
175 *sc_type = DS1339; in ds133x_detect()
180 *sc_type = DS1337; in ds133x_detect()
232 if ((error = ds133x_detect(dev, &sc->sc_type))) in ds133x_probe()
235 switch (sc->sc_type) { in ds133x_probe()
259 if (sc->sc_type == DS1338) in ds133x_attach()
304 if (sc->sc_type == DS1338) in ds133x_gettime()
331 if (sc->sc_type == DS1338) in ds133x_settime()
/NextBSD/sys/arm/ti/twl/
HDtwl.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()
/NextBSD/sys/dev/usb/net/
HDuhso.c83 uint32_t sc_type; /* Interface definition */ member
596 CTLFLAG_RD, uhso_port[UHSO_IFACE_PORT(sc->sc_type)], 0, in uhso_attach()
606 device_set_desc_copy(self, uhso_port_type[UHSO_IFACE_PORT_TYPE(sc->sc_type)]); in uhso_attach()
609 uhso_port_type[UHSO_IFACE_PORT_TYPE(sc->sc_type)], in uhso_attach()
630 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) in uhso_attach()
633 port = UHSO_IFACE_PORT_TYPE(sc->sc_type); in uhso_attach()
900 sc->sc_type = type; in uhso_probe_iface()
916 sc->sc_type = UHSO_IFACE_SPEC( in uhso_probe_iface()
1361 if (!(UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_BULK)) in uhso_bs_cfg()
1447 if (!(UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_BULK)) in uhso_ucom_cfg_set_dtr()
[all …]
/NextBSD/sys/dev/si/
HDsi.c289 sc->sc_typename = si_type[sc->sc_type]; in siattach()
313 switch (sc->sc_type) { in siattach()
340 if (SI_ISJET(sc->sc_type)) { in siattach()
359 switch (sc->sc_type) { in siattach()
433 sc->sc_type = SIEMPTY; in siattach()
436 if (SI_ISJET(sc->sc_type)) { in siattach()
454 si_type[sc->sc_type]); in siattach()
575 ccbp->type, si_modulename(sc->sc_type, ccbp->type), in siattach()
576 uart_type, si_modulename(sc->sc_type, uart_type)); in siattach()
597 si_modulename(sc->sc_type, uart_type)); in siattach()
[all …]
HDsi_pci.c73 sc->sc_type = SIPCI; in si_pci_attach()
77 sc->sc_type = SIJETPCI; in si_pci_attach()
HDsivar.h43 int sc_type; /* adapter type */ member
HDsi_eisa.c74 sc->sc_type = SIEISA; in si_eisa_attach()
HDsi_isa.c248 sc->sc_type = type; in si_isa_probe()
/NextBSD/sys/arm/mv/
HDmv_pci.c310 int sc_type; member
437 sc->sc_type = MV_TYPE_PCIE; in mv_pcib_attach()
442 sc->sc_type = MV_TYPE_PCI; in mv_pcib_attach()
925 if (!sc->sc_type != MV_TYPE_PCI) in pcib_write_irq_mask()
949 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread()
951 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread()
984 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite()
986 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite()
1016 return ((sc->sc_type != MV_TYPE_PCI) ? 1 : PCI_SLOTMAX); in mv_pcib_maxslots()
/NextBSD/sys/dev/powermac_nvram/
HDpowermac_nvram.c149 sc->sc_type = FLASH_TYPE_AMD; in powermac_nvram_attach()
151 sc->sc_type = FLASH_TYPE_SM; in powermac_nvram_attach()
501 if (sc->sc_type == FLASH_TYPE_AMD) in erase_bank()
513 if (sc->sc_type == FLASH_TYPE_AMD) in write_bank()
HDpowermac_nvramvar.h57 int sc_type; member
/NextBSD/sys/geom/stripe/
HDg_stripe.c686 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run()
693 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run()
784 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) { in g_stripe_add_disk()
868 sc->sc_type = type; in g_stripe_create()
998 if (sc->sc_type != G_STRIPE_TYPE_AUTOMATIC) in g_stripe_taste()
1248 switch (sc->sc_type) { in g_stripe_dumpconf()
HDg_stripe.h71 u_int sc_type; /* provider type */ member
/NextBSD/sys/geom/concat/
HDg_concat.c424 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) in g_concat_check_and_run()
518 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) { in g_concat_add_disk()
592 sc->sc_type = type; in g_concat_create()
723 if (sc->sc_type != G_CONCAT_TYPE_AUTOMATIC) in g_concat_taste()
971 switch (sc->sc_type) { in g_concat_dumpconf()
HDg_concat.h79 u_int sc_type; /* provider type */ member
/NextBSD/sys/geom/shsec/
HDg_shsec.h71 u_int sc_type; /* provider type */ member
/NextBSD/sys/geom/cache/
HDg_cache.h67 int sc_type; member
HDg_cache.c507 sc->sc_type = type; in g_cache_create()
829 if (sc->sc_type != G_CACHE_TYPE_AUTOMATIC) in g_cache_ctl_configure()
/NextBSD/lib/libthr/thread/
HDthr_sleepq.c44 int sc_type; member
/NextBSD/sys/geom/journal/
HDg_journal.c2265 else if (sc != NULL && (sc->sc_type & md->md_type) != 0) { in g_journal_create()
2286 sc->sc_type = 0; in g_journal_create()
2333 sc->sc_type |= md->md_type; in g_journal_create()
2386 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) { in g_journal_create()
2556 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_find_device()
2882 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_do_switch()
2994 if ((sc->sc_type & GJ_TYPE_COMPLETE) == GJ_TYPE_COMPLETE && in g_journal_do_switch()
HDg_journal.h122 uint8_t sc_type; member
/NextBSD/sys/dev/de/
HDif_devar.h714 tulip_srom_connection_t sc_type; member
HDif_de.c2405 if (tulip_srom_conninfo[idx2].sc_type == sc->tulip_conntype in tulip_srom_decode()
2406 || tulip_srom_conninfo[idx2].sc_type == TULIP_SROM_CONNTYPE_NOT_USED) in tulip_srom_decode()