Lines Matching refs:ste_dev
355 device_printf(sc->ste_dev, "command never completed!\n"); in ste_wait()
377 device_printf(sc->ste_dev, "eeprom failed to come ready\n"); in ste_eeprom_wait()
699 device_printf(sc->ste_dev, "TX error : 0x%b\n", in ste_txeoc()
707 device_printf(sc->ste_dev, in ste_txeoc()
753 ste_miibus_statchg(sc->ste_dev); in ste_tick()
915 sc->ste_dev = dev; in ste_attach()
943 resource_int_value(device_get_name(sc->ste_dev), in ste_attach()
944 device_get_unit(sc->ste_dev), "prefer_iomap", in ste_attach()
1136 bus_get_dma_tag(sc->ste_dev), /* parent */ in ste_dma_alloc()
1148 device_printf(sc->ste_dev, in ste_dma_alloc()
1167 device_printf(sc->ste_dev, in ste_dma_alloc()
1186 device_printf(sc->ste_dev, in ste_dma_alloc()
1205 device_printf(sc->ste_dev, "could not create Tx DMA tag.\n"); in ste_dma_alloc()
1223 device_printf(sc->ste_dev, "could not create Rx DMA tag.\n"); in ste_dma_alloc()
1233 device_printf(sc->ste_dev, in ste_dma_alloc()
1242 device_printf(sc->ste_dev, in ste_dma_alloc()
1254 device_printf(sc->ste_dev, in ste_dma_alloc()
1263 device_printf(sc->ste_dev, in ste_dma_alloc()
1280 device_printf(sc->ste_dev, in ste_dma_alloc()
1288 device_printf(sc->ste_dev, in ste_dma_alloc()
1301 device_printf(sc->ste_dev, in ste_dma_alloc()
1534 device_printf(sc->ste_dev, in ste_init_locked()
1662 device_printf(sc->ste_dev, "Stopping MAC timed out\n"); in ste_stop()
1719 device_printf(sc->ste_dev, "global reset never completed\n"); in ste_reset()
1739 device_printf(sc->ste_dev, "starting Tx failed"); in ste_restart_tx()
2012 if (pci_find_cap(sc->ste_dev, PCIY_PMG, &pmc) == 0) { in ste_resume()
2014 pmstat = pci_read_config(sc->ste_dev, in ste_resume()
2018 pci_write_config(sc->ste_dev, in ste_resume()
2046 ctx = device_get_sysctl_ctx(sc->ste_dev); in ste_sysctl_node()
2047 child = SYSCTL_CHILDREN(device_get_sysctl_tree(sc->ste_dev)); in ste_sysctl_node()
2053 resource_int_value(device_get_name(sc->ste_dev), in ste_sysctl_node()
2054 device_get_unit(sc->ste_dev), "int_rx_mod", &sc->ste_int_rx_mod); in ste_sysctl_node()
2116 if (pci_find_cap(sc->ste_dev, PCIY_PMG, &pmc) != 0) { in ste_setwol()
2131 pmstat = pci_read_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, 2); in ste_setwol()
2135 pci_write_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ste_setwol()