Lines Matching refs:scx_softc
453 struct scx_softc { struct
558 CFATTACH_DECL_NEW(scx_fdt, sizeof(struct scx_softc),
561 CFATTACH_DECL_NEW(scx_acpi, sizeof(struct scx_softc),
564 static void scx_attach_i(struct scx_softc *);
565 static void scx_reset(struct scx_softc *);
569 static void scx_set_rcvfilt(struct scx_softc *);
573 static void txreap(struct scx_softc *);
574 static void rxfill(struct scx_softc *);
575 static int add_rxbuf(struct scx_softc *, int);
576 static void rxdrain(struct scx_softc *sc);
582 static void dump_hwfeature(struct scx_softc *);
584 static void resetuengine(struct scx_softc *);
585 static void loaducode(struct scx_softc *);
586 static void injectucode(struct scx_softc *, int, bus_addr_t, bus_size_t);
587 static void forcephyloopback(struct scx_softc *);
588 static void resetphytonormal(struct scx_softc *);
598 wait_for_bits(struct scx_softc *sc, int reg, in wait_for_bits()
617 mac_read(struct scx_softc *sc, int reg) in mac_read()
626 mac_write(struct scx_softc *sc, int reg, int val) in mac_write()
688 struct scx_softc * const sc = device_private(self); in scx_fdt_attach()
780 struct scx_softc * const sc = device_private(self); in scx_acpi_attach()
870 scx_attach_i(struct scx_softc *sc) in scx_attach_i()
1083 scx_reset(struct scx_softc *sc) in scx_reset()
1100 struct scx_softc *sc = ifp->if_softc; in scx_stop()
1126 struct scx_softc *sc = ifp->if_softc; in scx_init()
1223 struct scx_softc *sc = ifp->if_softc; in scx_ioctl()
1282 scx_set_rcvfilt(struct scx_softc *sc) in scx_set_rcvfilt()
1365 struct scx_softc *sc = ifp->if_softc; in scx_start()
1487 struct scx_softc *sc = ifp->if_softc; in scx_watchdog()
1530 struct scx_softc *sc = arg; in scx_intr()
1564 txreap(struct scx_softc *sc) in txreap()
1599 rxfill(struct scx_softc *sc) in rxfill()
1651 add_rxbuf(struct scx_softc *sc, int i) in add_rxbuf()
1683 rxdrain(struct scx_softc *sc) in rxdrain()
1703 struct scx_softc *sc = ifp->if_softc; in mii_statchg()
1768 struct scx_softc *sc = ifp->if_softc; in scx_ifmedia_sts()
1780 struct scx_softc *sc = device_private(self); in mii_readreg()
1800 struct scx_softc *sc = device_private(self); in mii_writereg()
1822 struct scx_softc *sc = arg; in phy_tick()
1836 resetuengine(struct scx_softc *sc) in resetuengine()
1859 loaducode(struct scx_softc *sc) in loaducode()
1894 injectucode(struct scx_softc *sc, int port, in injectucode()
1914 forcephyloopback(struct scx_softc *sc) in forcephyloopback()
1941 resetphytonormal(struct scx_softc *sc) in resetphytonormal()
1986 dump_hwfeature(struct scx_softc *sc) in dump_hwfeature()