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()
697 device_printf(sc->ste_dev, "TX error : 0x%b\n", in ste_txeoc()
705 device_printf(sc->ste_dev, in ste_txeoc()
751 ste_miibus_statchg(sc->ste_dev); in ste_tick()
913 sc->ste_dev = dev; in ste_attach()
941 resource_int_value(device_get_name(sc->ste_dev), in ste_attach()
942 device_get_unit(sc->ste_dev), "prefer_iomap", in ste_attach()
1134 bus_get_dma_tag(sc->ste_dev), /* parent */ in ste_dma_alloc()
1146 device_printf(sc->ste_dev, in ste_dma_alloc()
1165 device_printf(sc->ste_dev, in ste_dma_alloc()
1184 device_printf(sc->ste_dev, in ste_dma_alloc()
1203 device_printf(sc->ste_dev, "could not create Tx DMA tag.\n"); in ste_dma_alloc()
1221 device_printf(sc->ste_dev, "could not create Rx DMA tag.\n"); in ste_dma_alloc()
1231 device_printf(sc->ste_dev, in ste_dma_alloc()
1240 device_printf(sc->ste_dev, in ste_dma_alloc()
1252 device_printf(sc->ste_dev, in ste_dma_alloc()
1261 device_printf(sc->ste_dev, in ste_dma_alloc()
1278 device_printf(sc->ste_dev, in ste_dma_alloc()
1286 device_printf(sc->ste_dev, in ste_dma_alloc()
1299 device_printf(sc->ste_dev, in ste_dma_alloc()
1532 device_printf(sc->ste_dev, in ste_init_locked()
1660 device_printf(sc->ste_dev, "Stopping MAC timed out\n"); in ste_stop()
1717 device_printf(sc->ste_dev, "global reset never completed\n"); in ste_reset()
1737 device_printf(sc->ste_dev, "starting Tx failed"); in ste_restart_tx()
2010 if (pci_find_cap(sc->ste_dev, PCIY_PMG, &pmc) == 0) { in ste_resume()
2012 pmstat = pci_read_config(sc->ste_dev, in ste_resume()
2016 pci_write_config(sc->ste_dev, in ste_resume()
2044 ctx = device_get_sysctl_ctx(sc->ste_dev); in ste_sysctl_node()
2045 child = SYSCTL_CHILDREN(device_get_sysctl_tree(sc->ste_dev)); in ste_sysctl_node()
2051 resource_int_value(device_get_name(sc->ste_dev), in ste_sysctl_node()
2052 device_get_unit(sc->ste_dev), "int_rx_mod", &sc->ste_int_rx_mod); in ste_sysctl_node()
2114 if (pci_find_cap(sc->ste_dev, PCIY_PMG, &pmc) != 0) { in ste_setwol()
2129 pmstat = pci_read_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, 2); in ste_setwol()
2133 pci_write_config(sc->ste_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in ste_setwol()