HomeSort by: relevance | last modified time | path
    Searched refs:sc_variant (Results 1 - 13 of 13) sorted by relevancy

  /src/sys/dev/ic/
mcp23xxxgpiovar.h 77 const struct mcpgpio_variant *sc_variant; member in struct:mcpgpio_softc
seeq8005var.h 82 enum seeq_variant sc_variant; /* Chip variant */ member in struct:seeq8005_softc
gemvar.h 149 u_int sc_variant; /* which GEM are we dealing with? */ member in struct:gem_softc
157 ((sc)->sc_variant == GEM_SUN_GEM || \
158 (sc)->sc_variant == GEM_SUN_ERI)
160 ((sc)->sc_variant == GEM_APPLE_GMAC || \
161 (sc)->sc_variant == GEM_APPLE_K2_GMAC)
mcp23xxxgpio.c 68 if (sc->sc_variant->type == MCPGPIO_TYPE_23x08) {
102 if (sc->sc_variant->type == MCPGPIO_TYPE_23x08) {
288 KASSERT(sc->sc_variant != NULL);
295 sc->sc_npins = sc->sc_variant->type == MCPGPIO_TYPE_23x08
310 if (error == 0 && sc->sc_variant->type != MCPGPIO_TYPE_23x08) {
325 pin_output_caps = sc->sc_variant->type == MCPGPIO_TYPE_23x18
seeq8005.c 206 sc->sc_variant = SEEQ_8004;
222 sc->sc_variant = SEEQ_8005;
263 if (sc->sc_variant == SEEQ_8004)
488 if (sc->sc_variant == SEEQ_8004) {
666 if (sc->sc_variant == SEEQ_8004 &&
768 if (sc->sc_variant == SEEQ_8004) {
780 if (sc->sc_variant == SEEQ_8004) {
791 else if ((ifp->if_flags & IFF_ALLMULTI) || sc->sc_variant == SEEQ_8004)
1072 switch (sc->sc_variant) {
1359 switch (sc->sc_variant) {
    [all...]
gem.c 397 switch (sc->sc_variant) {
415 (sc->sc_variant == GEM_APPLE_K2_GMAC))) {
419 switch (sc->sc_variant) {
470 if (sc->sc_variant != GEM_SUN_ERI)
1150 sc->sc_variant != GEM_SUN_ERI)
  /src/sys/dev/spi/
mcp23xxxgpio_spi.c 247 sc->sc_variant = mcpgpio_spi_lookup(sa);
252 aprint_normal(": %s I/O Expander\n", sc->sc_variant->name);
268 if (sc->sc_variant->type == MCPGPIO_TYPE_23x08) {
307 (sc->sc_variant->type == MCPGPIO_TYPE_23x08 &&
309 (sc->sc_variant->type != MCPGPIO_TYPE_23x08 &&
318 (sc->sc_variant->type == MCPGPIO_TYPE_23x08 ? MCP23x08_GPIO_NPINS
328 if (sc->sc_variant->type != MCPGPIO_TYPE_23x08) {
  /src/sys/dev/i2c/
mcp23xxxgpio_i2c.c 164 sc->sc_variant = dce->data;
169 aprint_normal(": %s I/O Expander\n", sc->sc_variant->name);
  /src/sys/dev/pci/
if_gem_pci.c 206 sc->sc_variant = (u_int)dce->value;
207 aprint_debug_dev(sc->sc_dev, "variant = %u\n", sc->sc_variant);
256 if (sc->sc_variant == GEM_SUN_GEM &&
if_casvar.h 161 u_int sc_variant; member in struct:cas_softc
if_pcn.c 246 const struct pcn_variant *sc_variant; member in struct:pcn_softc
655 sc->sc_variant = pcn_lookup_variant(CHIPID_PARTID(chipid));
658 sc->sc_variant->pcv_desc, CHIPID_VER(chipid),
754 (*sc->sc_variant->pcv_mediainit)(sc);
759 switch (sc->sc_variant->pcv_chipid) {
1609 if (sc->sc_variant->pcv_chipid == PARTID_Am79c970)
1714 switch (sc->sc_variant->pcv_chipid) {
1737 switch (sc->sc_variant->pcv_chipid) {
2003 if (sc->sc_variant->pcv_chipid == PARTID_Am79c970A)
2006 if (sc->sc_variant->pcv_chipid == PARTID_Am79c970A
    [all...]
if_cas.c 415 sc->sc_variant = (u_int)dce->value;
417 aprint_debug_dev(sc->sc_dev, "variant = %d\n", sc->sc_variant);
636 if (sc->sc_variant == CAS_SATURN) {
  /src/sys/dev/sbus/
if_gem_sbus.c 133 sc->sc_variant = GEM_SUN_GEM;

Completed in 19 milliseconds