Lines Matching refs:tsec_softc

75 static void	tsec_dma_ctl(struct tsec_softc *sc, int state);
76 static void tsec_encap(struct ifnet *ifp, struct tsec_softc *sc,
78 static void tsec_free_dma(struct tsec_softc *sc);
86 static void tsec_intrs_ctl(struct tsec_softc *sc, int state);
88 static void tsec_init_locked(struct tsec_softc *sc);
90 static void tsec_reset_mac(struct tsec_softc *sc);
91 static void tsec_setfilter(struct tsec_softc *sc);
92 static void tsec_set_mac_address(struct tsec_softc *sc);
95 static void tsec_stop(struct tsec_softc *sc);
97 static void tsec_watchdog(struct tsec_softc *sc);
98 static void tsec_add_sysctls(struct tsec_softc *sc);
101 static void tsec_set_rxic(struct tsec_softc *sc);
102 static void tsec_set_txic(struct tsec_softc *sc);
103 static int tsec_receive_intr_locked(struct tsec_softc *sc, int count);
104 static void tsec_transmit_intr_locked(struct tsec_softc *sc);
105 static void tsec_error_intr_locked(struct tsec_softc *sc, int count);
106 static void tsec_offload_setup(struct tsec_softc *sc);
107 static void tsec_offload_process_frame(struct tsec_softc *sc,
109 static void tsec_setup_multicast(struct tsec_softc *sc);
110 static int tsec_set_mtu(struct tsec_softc *sc, unsigned int mtu);
120 tsec_attach(struct tsec_softc *sc) in tsec_attach()
294 tsec_detach(struct tsec_softc *sc) in tsec_detach()
322 struct tsec_softc *sc; in tsec_shutdown()
351 struct tsec_softc *sc = xsc; in tsec_init()
359 tsec_mii_wait(struct tsec_softc *sc, uint32_t flags) in tsec_mii_wait()
377 tsec_init_locked(struct tsec_softc *sc) in tsec_init_locked()
570 tsec_set_mac_address(struct tsec_softc *sc) in tsec_set_mac_address()
600 tsec_dma_ctl(struct tsec_softc *sc, int state) in tsec_dma_ctl()
656 tsec_intrs_ctl(struct tsec_softc *sc, int state) in tsec_intrs_ctl()
679 tsec_reset_mac(struct tsec_softc *sc) in tsec_reset_mac()
695 tsec_watchdog(struct tsec_softc *sc) in tsec_watchdog()
715 struct tsec_softc *sc = ifp->if_softc; in tsec_start()
725 struct tsec_softc *sc; in tsec_start_locked()
794 tsec_encap(struct ifnet *ifp, struct tsec_softc *sc, struct mbuf *m0, in tsec_encap()
874 tsec_setfilter(struct tsec_softc *sc) in tsec_setfilter()
898 struct tsec_softc *sc = ifp->if_softc; in tsec_poll()
932 struct tsec_softc *sc = ifp->if_softc; in tsec_ioctl()
1022 struct tsec_softc *sc = ifp->if_softc; in tsec_ifmedia_upd()
1037 struct tsec_softc *sc = ifp->if_softc; in tsec_ifmedia_sts()
1175 tsec_free_dma(struct tsec_softc *sc) in tsec_free_dma()
1215 tsec_stop(struct tsec_softc *sc) in tsec_stop()
1255 struct tsec_softc *sc = arg; in tsec_tick()
1285 tsec_receive_intr_locked(struct tsec_softc *sc, int count) in tsec_receive_intr_locked()
1414 struct tsec_softc *sc = arg; in tsec_receive_intr()
1433 tsec_transmit_intr_locked(struct tsec_softc *sc) in tsec_transmit_intr_locked()
1495 struct tsec_softc *sc = arg; in tsec_transmit_intr()
1513 tsec_error_intr_locked(struct tsec_softc *sc, int count) in tsec_error_intr_locked()
1565 struct tsec_softc *sc = arg; in tsec_error_intr()
1575 struct tsec_softc *sc; in tsec_miibus_readreg()
1599 struct tsec_softc *sc; in tsec_miibus_writereg()
1619 struct tsec_softc *sc; in tsec_miibus_statchg()
1671 tsec_add_sysctls(struct tsec_softc *sc) in tsec_add_sysctls()
1731 struct tsec_softc *sc = (struct tsec_softc *)arg1; in tsec_sysctl_ic_time()
1760 struct tsec_softc *sc = (struct tsec_softc *)arg1; in tsec_sysctl_ic_count()
1785 tsec_set_rxic(struct tsec_softc *sc) in tsec_set_rxic()
1802 tsec_set_txic(struct tsec_softc *sc) in tsec_set_txic()
1819 tsec_offload_setup(struct tsec_softc *sc) in tsec_offload_setup()
1848 tsec_offload_process_frame(struct tsec_softc *sc, struct mbuf *m) in tsec_offload_process_frame()
1896 tsec_setup_multicast(struct tsec_softc *sc) in tsec_setup_multicast()
1918 tsec_set_mtu(struct tsec_softc *sc, unsigned int mtu) in tsec_set_mtu()