/freebsd-10.1-release/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_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, 101 arswitch_modifyreg(sc->sc_dev, AR8X16_REG_SERVICE_TAG,
|
H A D | arswitch_vlans.c | 58 if (arswitch_waitreg(sc->sc_dev, AR8X16_REG_VLAN_CTRL, 64 err = arswitch_writereg(sc->sc_dev, AR8X16_REG_VLAN_DATA, 73 arswitch_writereg(sc->sc_dev, AR8X16_REG_VLAN_CTRL, op); 76 if (arswitch_waitreg(sc->sc_dev, AR8X16_REG_VLAN_CTRL, 110 reg = arswitch_readreg(sc->sc_dev, AR8X16_REG_VLAN_DATA); 141 reg = arswitch_readreg(sc->sc_dev, AR8X16_REG_PORT_VLAN(port)); 155 err = arswitch_modifyreg(sc->sc_dev, AR8X16_REG_PORT_VLAN(port), 181 if (arswitch_modifyreg(sc->sc_dev, AR8X16_REG_PORT_CTRL(i), 201 arswitch_modifyreg(sc->sc_dev, 229 arswitch_modifyreg(sc->sc_dev, [all...] |
/freebsd-10.1-release/sys/mips/cavium/octe/ |
H A D | octebusvar.h | 33 device_t sc_dev; member in struct:octebus_softc
|
/freebsd-10.1-release/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-10.1-release/sys/dev/adb/ |
H A D | adbvar.h | 39 device_t sc_dev; member in struct:adb_softc
|
/freebsd-10.1-release/sys/dev/sound/macio/ |
H A D | aoa.h | 38 device_t sc_dev; member in struct:aoa_softc
|
/freebsd-10.1-release/sys/dev/gpio/ |
H A D | gpioiic.c | 61 device_t sc_dev; member in struct:gpioiic_softc 104 sc->sc_dev = dev; 147 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sda_pin, 149 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->scl_pin, 162 GPIOBUS_ACQUIRE_BUS(sc->sc_busdev, sc->sc_dev); 167 GPIOBUS_RELEASE_BUS(sc->sc_busdev, sc->sc_dev); 183 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, sc->sda_pin, 0); 184 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sda_pin, 187 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sda_pin, 198 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, s [all...] |
H A D | gpioled.c | 62 mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->sc_dev), \ 68 device_t sc_dev; member in struct:gpioled_softc 85 GPIOBUS_ACQUIRE_BUS(sc->sc_busdev, sc->sc_dev); 86 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, GPIOLED_PIN, 88 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, GPIOLED_PIN, 90 GPIOBUS_RELEASE_BUS(sc->sc_busdev, sc->sc_dev); 169 sc->sc_dev = dev;
|
/freebsd-10.1-release/sys/arm/freescale/imx/ |
H A D | imx_gptvar.h | 36 device_t sc_dev; member in struct:imx_gpt_softc
|
/freebsd-10.1-release/sys/dev/siba/ |
H A D | siba_pcibvar.h | 35 device_t sc_dev; /* Device ID */ member in struct:siba_pcib_softc
|
/freebsd-10.1-release/sys/arm/ti/ |
H A D | ti_adcvar.h | 39 device_t sc_dev; member in struct:ti_adc_softc 62 mtx_init(&_sc->sc_mtx, device_get_nameunit(_sc->sc_dev), \
|
/freebsd-10.1-release/sys/dev/acpi_support/ |
H A D | atk0110.c | 69 struct device *sc_dev; member in struct:aibs_softc 123 sc->sc_dev = dev; 166 device_printf(sc->sc_dev, "%s not found\n", name); 173 device_printf(sc->sc_dev, "%s[0]: invalid type\n", name); 180 device_printf(sc->sc_dev, "%s: invalid package\n", name); 189 device_printf(sc->sc_dev, "%s: malformed package: %i/%i" 193 device_printf(sc->sc_dev, "%s: no members in the package\n", 201 device_printf(sc->sc_dev, "%s: malloc fail\n", name); 218 so = SYSCTL_ADD_NODE(device_get_sysctl_ctx(sc->sc_dev), 219 SYSCTL_CHILDREN(device_get_sysctl_tree(sc->sc_dev)), s [all...] |
/freebsd-10.1-release/sys/arm/xscale/ixp425/ |
H A D | ixp425_npe.c | 106 device_t sc_dev; member in struct:ixpnpe_softc 240 DPRINTFn(9, sc->sc_dev, "%s(0x%lx) => 0x%x\n", __func__, off, v); 247 DPRINTFn(9, sc->sc_dev, "%s(0x%lx, 0x%x)\n", __func__, off, val); 302 sc->sc_dev = dev; 354 bus_teardown_intr(sc->sc_dev, sc->sc_irq, sc->sc_ih); 374 DPRINTF(sc->sc_dev, "%s: error %d\n", __func__, error); 390 DPRINTF(sc->sc_dev, "%s: error %d\n", __func__, error); 416 DPRINTF(sc->sc_dev, "%s: error %d\n", __func__, error); 448 DPRINTF(sc->sc_dev, "%s: off %u mark 0x%x id 0x%x size %u\n", 457 DPRINTF(sc->sc_dev, "imageI [all...] |
/freebsd-10.1-release/sys/powerpc/mpc85xx/ |
H A D | pci_mpc85xx.c | 104 device_t sc_dev; member in struct:fsl_pcib_softc 201 sc->sc_dev = dev; 437 fsl_pcib_write_config(sc->sc_dev, bus, slot, fn, 0x52, 0x34, 1); 438 fsl_pcib_write_config(sc->sc_dev, bus, slot, fn, 0x77, 0x00, 1); 439 fsl_pcib_write_config(sc->sc_dev, bus, slot, fn, 0x83, 0x98, 1); 440 fsl_pcib_write_config(sc->sc_dev, bus, slot, fn, 0x85, 0x03, 1); 443 fsl_pcib_write_config(sc->sc_dev, bus, slot, fn, 0x40, 0x0b, 1); 466 fsl_pcib_write_config(sc->sc_dev, bus, slot, func, reg, addr, 4); 470 fsl_pcib_write_config(sc->sc_dev, bus, slot, func, reg, ~0, 4); 471 size = fsl_pcib_read_config(sc->sc_dev, bu [all...] |
/freebsd-10.1-release/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-10.1-release/sys/mips/cavium/ |
H A D | octeon_wdog.c | 52 device_t sc_dev; member in struct:octeon_wdog_softc 133 device_printf(sc->sc_dev, "%s: cmd: %x\n", __func__, cmd); 153 struct sysctl_ctx_list *ctx = device_get_sysctl_ctx(sc->sc_dev); 154 struct sysctl_oid *tree = device_get_sysctl_tree(sc->sc_dev); 176 csc->csc_intr = bus_alloc_resource(sc->sc_dev, SYS_RES_IRQ, &rid, 182 error = bus_setup_intr(sc->sc_dev, csc->csc_intr, INTR_TYPE_MISC, 188 bus_bind_intr(sc->sc_dev, csc->csc_intr, core); 189 bus_describe_intr(sc->sc_dev, csc->csc_intr, csc->csc_intr_cookie, 237 sc->sc_dev = dev;
|
/freebsd-10.1-release/sys/arm/arm/ |
H A D | pl310.c | 97 device_printf(sc->sc_dev, "Early BRESP response: %s\n", 99 device_printf(sc->sc_dev, "Instruction prefetch: %s\n", 101 device_printf(sc->sc_dev, "Data prefetch: %s\n", 103 device_printf(sc->sc_dev, "Non-secure interrupt control: %s\n", 105 device_printf(sc->sc_dev, "Non-secure lockdown: %s\n", 107 device_printf(sc->sc_dev, "Share override: %s\n", 110 device_printf(sc->sc_dev, "Double linefill: %s\n", 112 device_printf(sc->sc_dev, "Instruction prefetch: %s\n", 114 device_printf(sc->sc_dev, "Data prefetch: %s\n", 116 device_printf(sc->sc_dev, "Doubl [all...] |
/freebsd-10.1-release/sys/arm/s3c2xx0/ |
H A D | s3c2xx0var.h | 49 device_t sc_dev; member in struct:s3c2xx0_softc
|
/freebsd-10.1-release/sys/dev/uart/ |
H A D | uart_dev_ti8250.c | 84 node = ofw_bus_get_node(sc->sc_dev); 86 device_printf(sc->sc_dev, 88 if (device_get_unit(sc->sc_dev) != 0) 112 device_set_desc(sc->sc_dev, "TI UART (16550 compatible)");
|
/freebsd-10.1-release/sys/mips/nlm/dev/sec/ |
H A D | nlmrsalib.h | 57 device_t sc_dev; /* device backpointer */ member in struct:xlp_rsa_softc
|
/freebsd-10.1-release/sys/mips/rmi/dev/iic/ |
H A D | max6657.c | 64 device_t sc_dev; member in struct:max6657_softc 101 sc->sc_dev = dev; 109 max6657_read(sc->sc_dev, sc->sc_addr, MAX6657_EXT_TEMP)); 135 v = max6657_read(sc->sc_dev, sc->sc_addr, MAX6657_EXT_TEMP);
|
/freebsd-10.1-release/sys/powerpc/ofw/ |
H A D | ofw_pci.h | 52 device_t sc_dev; member in struct:ofw_pci_softc
|
/freebsd-10.1-release/sys/powerpc/powermac/ |
H A D | hrowpicvar.h | 66 device_t sc_dev; /* macio device */ member in struct:hrowpic_softc
|