Home
last modified time | relevance | path

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

/trueos/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()
/trueos/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()
/trueos/sys/dev/usb/net/
HDuhso.c82 uint32_t sc_type; /* Interface definition */ member
594 CTLFLAG_RD, uhso_port[UHSO_IFACE_PORT(sc->sc_type)], 0, in uhso_attach()
604 device_set_desc_copy(self, uhso_port_type[UHSO_IFACE_PORT_TYPE(sc->sc_type)]); in uhso_attach()
607 uhso_port_type[UHSO_IFACE_PORT_TYPE(sc->sc_type)], in uhso_attach()
628 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) in uhso_attach()
631 port = UHSO_IFACE_PORT_TYPE(sc->sc_type); in uhso_attach()
898 sc->sc_type = type; in uhso_probe_iface()
914 sc->sc_type = UHSO_IFACE_SPEC( in uhso_probe_iface()
1359 if (!(UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_BULK)) in uhso_bs_cfg()
1445 if (!(UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_BULK)) in uhso_ucom_cfg_set_dtr()
[all …]
/trueos/sys/dev/si/
HDsi.c290 sc->sc_typename = si_type[sc->sc_type]; in siattach()
314 switch (sc->sc_type) { in siattach()
341 if (SI_ISJET(sc->sc_type)) { in siattach()
360 switch (sc->sc_type) { in siattach()
434 sc->sc_type = SIEMPTY; in siattach()
437 if (SI_ISJET(sc->sc_type)) { in siattach()
455 si_type[sc->sc_type]); in siattach()
576 ccbp->type, si_modulename(sc->sc_type, ccbp->type), in siattach()
577 uart_type, si_modulename(sc->sc_type, uart_type)); in siattach()
598 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()
/trueos/sys/arm/mv/
HDmv_pci.c311 int sc_type; member
438 sc->sc_type = MV_TYPE_PCIE; in mv_pcib_attach()
443 sc->sc_type = MV_TYPE_PCI; in mv_pcib_attach()
926 if (!sc->sc_type != MV_TYPE_PCI) in pcib_write_irq_mask()
950 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread()
952 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread()
985 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite()
987 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite()
1017 return ((sc->sc_type != MV_TYPE_PCI) ? 1 : PCI_SLOTMAX); in mv_pcib_maxslots()
/trueos/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
/trueos/sys/geom/stripe/
HDg_stripe.c689 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run()
696 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run()
787 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) { in g_stripe_add_disk()
871 sc->sc_type = type; in g_stripe_create()
1001 if (sc->sc_type != G_STRIPE_TYPE_AUTOMATIC) in g_stripe_taste()
1251 switch (sc->sc_type) { in g_stripe_dumpconf()
HDg_stripe.h71 u_int sc_type; /* provider type */ member
/trueos/sys/geom/concat/
HDg_concat.c425 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) in g_concat_check_and_run()
519 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) { in g_concat_add_disk()
593 sc->sc_type = type; in g_concat_create()
724 if (sc->sc_type != G_CONCAT_TYPE_AUTOMATIC) in g_concat_taste()
972 switch (sc->sc_type) { in g_concat_dumpconf()
HDg_concat.h79 u_int sc_type; /* provider type */ member
/trueos/sys/geom/shsec/
HDg_shsec.h71 u_int sc_type; /* provider type */ member
/trueos/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()
/trueos/lib/libthr/thread/
HDthr_sleepq.c44 int sc_type; member
/trueos/sys/geom/journal/
HDg_journal.c2268 else if (sc != NULL && (sc->sc_type & md->md_type) != 0) { in g_journal_create()
2289 sc->sc_type = 0; in g_journal_create()
2336 sc->sc_type |= md->md_type; in g_journal_create()
2389 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) { in g_journal_create()
2559 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_find_device()
2885 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_do_switch()
2997 if ((sc->sc_type & GJ_TYPE_COMPLETE) == GJ_TYPE_COMPLETE && in g_journal_do_switch()
HDg_journal.h122 uint8_t sc_type; member
/trueos/sys/dev/de/
HDif_devar.h714 tulip_srom_connection_t sc_type; member
HDif_de.c2404 if (tulip_srom_conninfo[idx2].sc_type == sc->tulip_conntype in tulip_srom_decode()
2405 || tulip_srom_conninfo[idx2].sc_type == TULIP_SROM_CONNTYPE_NOT_USED) in tulip_srom_decode()