/freebsd-11-stable/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_8316.c | 80 arswitch_writereg(sc->sc_dev, AR8X16_REG_MODE, 82 device_printf(sc->sc_dev, 86 arswitch_writereg(sc->sc_dev, AR8X16_REG_MODE, 88 device_printf(sc->sc_dev, 92 arswitch_writereg(sc->sc_dev, AR8X16_REG_MODE, 94 device_printf(sc->sc_dev, "%s: MAC port == GMII\n", __func__); 96 device_printf(sc->sc_dev, "%s: unknown switch PHY config\n", 107 device_printf(sc->sc_dev, 112 arswitch_writedbg(sc->sc_dev, 4, 0x12, 0x480c); 114 arswitch_writedbg(sc->sc_dev, [all...] |
H A D | arswitch_9340.c | 85 arswitch_writereg(sc->sc_dev, AR8X16_REG_CPU_PORT, 89 arswitch_writereg(sc->sc_dev, AR8X16_REG_TAG_PRIO, 0xfa50); 92 arswitch_writereg(sc->sc_dev, AR934X_REG_AT_CTRL, 98 arswitch_modifyreg(sc->sc_dev, AR934X_REG_QM_CTRL, 102 arswitch_modifyreg(sc->sc_dev, AR934X_REG_FLOOD_MASK, 105 arswitch_modifyreg(sc->sc_dev, AR934X_REG_FLOOD_MASK, 110 arswitch_modifyreg(sc->sc_dev, AR8X16_REG_MIB_FUNC0, 114 arswitch_modifyreg(sc->sc_dev, AR8X16_REG_GLOBAL_CTRL, 119 arswitch_modifyreg(sc->sc_dev, AR8X16_REG_SERVICE_TAG, 133 device_printf(sc->sc_dev, " [all...] |
H A D | arswitch_8327.c | 87 if (arswitch_waitreg(sc->sc_dev, AR8327_REG_VTU_FUNC1, 96 err = arswitch_writereg(sc->sc_dev, AR8327_REG_VTU_FUNC0, data); 110 arswitch_writereg(sc->sc_dev, AR8327_REG_VTU_FUNC1, op); 115 if (arswitch_waitreg(sc->sc_dev, AR8327_REG_VTU_FUNC1, 126 device_printf(sc->sc_dev, 133 arswitch_writedbg(sc->sc_dev, phy, 0, 0x02ea); 135 arswitch_writedbg(sc->sc_dev, phy, 0x3d, 0x68a0); 139 arswitch_writemmd(sc->sc_dev, phy, 0x7, 0x3c); 140 arswitch_writemmd(sc->sc_dev, phy, 0x4007, 0x0); 143 arswitch_writemmd(sc->sc_dev, ph [all...] |
H A D | arswitch_7240.c | 85 arswitch_writereg(sc->sc_dev, AR8X16_REG_CPU_PORT, 89 arswitch_writereg(sc->sc_dev, AR8X16_REG_TAG_PRIO, 0xfa50); 92 arswitch_writereg(sc->sc_dev, AR8X16_REG_FLOOD_MASK, 96 arswitch_modifyreg(sc->sc_dev, AR8X16_REG_GLOBAL_CTRL, 103 arswitch_modifyreg(sc->sc_dev, AR8X16_REG_SERVICE_TAG,
|
H A D | arswitch_vlans.c | 63 if (arswitch_waitreg(sc->sc_dev, AR8X16_REG_VLAN_CTRL, 69 err = arswitch_writereg(sc->sc_dev, AR8X16_REG_VLAN_DATA, 78 arswitch_writereg(sc->sc_dev, AR8X16_REG_VLAN_CTRL, op); 81 if (arswitch_waitreg(sc->sc_dev, AR8X16_REG_VLAN_CTRL, 116 reg = arswitch_readreg(sc->sc_dev, AR8X16_REG_VLAN_DATA); 149 reg = arswitch_readreg(sc->sc_dev, AR8X16_REG_PORT_VLAN(port)); 163 err = arswitch_modifyreg(sc->sc_dev, AR8X16_REG_PORT_VLAN(port), 189 if (arswitch_modifyreg(sc->sc_dev, AR8X16_REG_PORT_CTRL(i), 209 arswitch_modifyreg(sc->sc_dev, 237 arswitch_modifyreg(sc->sc_dev, [all...] |
/freebsd-11-stable/sys/mips/cavium/octe/ |
H A D | octebusvar.h | 33 device_t sc_dev; member in struct:octebus_softc
|
/freebsd-11-stable/sys/dev/etherswitch/ip17x/ |
H A D | ip175d.c | 64 ip17x_writephy(sc->sc_dev, IP175D_RESET_PHY, IP175D_RESET_REG, 0x175d); 68 ip17x_updatephy(sc->sc_dev, 21, 22, 0x3, 0x0); 71 ip17x_writephy(sc->sc_dev, 22, 3, 0x8100); 100 ip17x_writephy(sc->sc_dev, 22, 14 + i, i + 1); 109 ip17x_writephy(sc->sc_dev, 22, 14 + i, 124 ip17x_writephy(sc->sc_dev, 23, i, 126 ip17x_writephy(sc->sc_dev, 23, i + 8, 128 ip17x_writephy(sc->sc_dev, 23, i + 16, 133 ip17x_writephy(sc->sc_dev, 22, 10, vlan_mask); 137 ip17x_writephy(sc->sc_dev, 2 [all...] |
H A D | ip175c.c | 63 if (ip17x_writephy(sc->sc_dev, IP175C_RESET_PHY, IP175C_RESET_REG, 69 data = ip17x_readphy(sc->sc_dev, IP175C_MODE_PHY, IP175C_MODE_REG); 71 if (ip17x_writephy(sc->sc_dev, IP175C_MODE_PHY, IP175C_MODE_REG, 111 err = ip17x_writephy(sc->sc_dev, 29, 19, reg[0]); 113 err = ip17x_writephy(sc->sc_dev, 29, 20, reg[1]); 115 err = ip17x_updatephy(sc->sc_dev, 29, 21, 0xff00, reg[2]); 117 err = ip17x_updatephy(sc->sc_dev, 30, 18, 0x00ff, reg[2]); 139 if (ip17x_writephy(sc->sc_dev, 29, 23, data)) 143 if (ip17x_updatephy(sc->sc_dev, 30, 9, 0x70, 0)) 158 if (ip17x_writephy(sc->sc_dev, 3 [all...] |
/freebsd-11-stable/sys/dev/adb/ |
H A D | adbvar.h | 39 device_t sc_dev; member in struct:adb_softc
|
/freebsd-11-stable/sys/dev/sound/macio/ |
H A D | aoa.h | 38 device_t sc_dev; member in struct:aoa_softc
|
/freebsd-11-stable/sys/dev/gpio/ |
H A D | gpiospi.c | 58 device_t sc_dev; member in struct:gpio_spi_softc 99 sc->sc_dev = dev; 158 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_sclk, 160 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_mosi, 163 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_miso, 167 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_cs0, 171 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_cs1, 174 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_cs2, 177 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_cs3, 200 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, [all...] |
H A D | gpioiic.c | 58 device_t sc_dev; member in struct:gpioiic_softc 110 sc->sc_dev = dev; 162 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sda_pin, 164 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->scl_pin, 174 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, sc->sda_pin, 0); 175 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sda_pin, 178 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sda_pin, 189 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, sc->scl_pin, 0); 190 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->scl_pin, 193 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, s [all...] |
H A D | gpioled.c | 55 device_get_nameunit((_sc)->sc_dev), "gpioled", MTX_DEF) 60 device_t sc_dev; member in struct:gpioled_softc 78 if (GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, GPIOLED_PIN, 80 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, GPIOLED_PIN, 102 sc->sc_dev = dev;
|
H A D | gpioled_fdt.c | 59 device_t sc_dev; member in struct:gpioleds_softc 101 device_printf(sc->sc_dev, 112 device_printf(sc->sc_dev, 117 err = gpio_pin_get_by_ofw_idx(sc->sc_dev, node, 0, &led->pin); 119 device_printf(sc->sc_dev, "<%s> failed to map pin\n", name); 166 sc->sc_dev = dev;
|
/freebsd-11-stable/sys/arm/ti/ |
H A D | ti_scm.h | 47 device_t sc_dev; member in struct:ti_scm_softc
|
H A D | ti_gpio.h | 62 device_t sc_dev; member in struct:ti_gpio_softc
|
/freebsd-11-stable/sys/gnu/dev/bwn/phy_n/ |
H A D | if_bwn_phy_n_ppr.c | 153 if (siba_sprom_get_core_power_info(sc->sc_dev, i, 166 sprom_ofdm_po = siba_sprom_get_ofdm2gpo(sc->sc_dev); 167 siba_sprom_get_mcs2gpo(sc->sc_dev, sprom_mcs_po); 168 extra_cdd_po = (siba_sprom_get_cddpo(sc->sc_dev) >> 0) & 0xf; 169 extra_stbc_po = (siba_sprom_get_stbcpo(sc->sc_dev) >> 0) & 0xf; 174 sprom_ofdm_po = siba_sprom_get_ofdm5glpo(sc->sc_dev); 175 siba_sprom_get_mcs5glpo(sc->sc_dev, sprom_mcs_po); 176 extra_cdd_po = (siba_sprom_get_cddpo(sc->sc_dev) >> 8) & 0xf; 177 extra_stbc_po = (siba_sprom_get_stbcpo(sc->sc_dev) >> 8) & 0xf; 182 sprom_ofdm_po = siba_sprom_get_ofdm5gpo(sc->sc_dev); [all...] |
/freebsd-11-stable/sys/arm/ti/usb/ |
H A D | omap_host.c | 108 device_t sc_dev; member in struct:omap_uhh_softc 147 device_printf(isc->sc_dev, "UHH revision 0x%08x\n", isc->uhh_rev); 160 device_printf(isc->sc_dev, 163 device_printf(isc->sc_dev, 168 device_printf(isc->sc_dev, 173 device_printf(isc->sc_dev, 177 device_printf(isc->sc_dev, "unknown port mode %d for port 0\n", isc->port_mode[0]); 184 device_printf(isc->sc_dev, 187 device_printf(isc->sc_dev, 192 device_printf(isc->sc_dev, [all...] |
/freebsd-11-stable/sys/powerpc/ofw/ |
H A D | ofw_pci.h | 52 device_t sc_dev; member in struct:ofw_pci_softc
|
/freebsd-11-stable/sys/sparc64/pci/ |
H A D | psychovar.h | 58 device_t sc_dev; member in struct:psycho_softc
|
/freebsd-11-stable/sys/arm/xscale/ixp425/ |
H A D | ixp425_npe.c | 104 device_t sc_dev; member in struct:ixpnpe_softc 237 DPRINTFn(9, sc->sc_dev, "%s(0x%lx) => 0x%x\n", __func__, off, v); 244 DPRINTFn(9, sc->sc_dev, "%s(0x%lx, 0x%x)\n", __func__, off, val); 299 sc->sc_dev = dev; 351 bus_teardown_intr(sc->sc_dev, sc->sc_irq, sc->sc_ih); 371 DPRINTF(sc->sc_dev, "%s: error %d\n", __func__, error); 387 DPRINTF(sc->sc_dev, "%s: error %d\n", __func__, error); 413 DPRINTF(sc->sc_dev, "%s: error %d\n", __func__, error); 445 DPRINTF(sc->sc_dev, "%s: off %u mark 0x%x id 0x%x size %u\n", 454 DPRINTF(sc->sc_dev, "imageI [all...] |
/freebsd-11-stable/sys/dev/dpaa/ |
H A D | if_dtsec.c | 164 device_printf(sc->sc_dev, "MDIO event %i: %s.\n", exception, 174 device_printf(sc->sc_dev, "MAC exception %i: %s.\n", exception, 211 device_printf(sc->sc_dev, "couldn't configure FM_MAC module.\n" 218 device_printf(sc->sc_dev, "couldn't enable reset on init " 228 device_printf(sc->sc_dev, "couldn't disable pause frames " 236 device_printf(sc->sc_dev, "couldn't initialize FM_MAC module." 270 device_printf(sc->sc_dev, "RX exception: %i: %s.\n", exception, 281 device_printf(sc->sc_dev, "TX exception: %i: %s.\n", exception, 354 dtsec_miibus_statchg(sc->sc_dev); 458 device_printf(sc->sc_dev, "could [all...] |
H A D | portals.h | 44 device_t sc_dev; /* device handle */ member in struct:dpaa_portals_softc
|
/freebsd-11-stable/sys/sparc64/fhc/ |
H A D | clkbrd.c | 55 struct device *sc_dev; member in struct:clkbrd_softc 111 sc->sc_dev = dev; 115 sc->sc_res[i] = bus_alloc_resource_any(sc->sc_dev, 119 device_printf(sc->sc_dev, 151 device_printf(sc->sc_dev, "Sun Enterprise Exx00 machine: %d slots\n", 190 bus_release_resource(sc->sc_dev, SYS_RES_MEMORY,
|
/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm.c | 472 device_printf(sc->sc_dev, 496 device_printf(sc->sc_dev, 521 device_printf(sc->sc_dev, 580 device_printf(sc->sc_dev, 602 device_printf(sc->sc_dev, "invalid firmware %s\n", 628 device_printf(sc->sc_dev, 638 device_printf(sc->sc_dev, 659 device_printf(sc->sc_dev, 670 device_printf(sc->sc_dev, 693 device_printf(sc->sc_dev, [all...] |