Home | History | Annotate | Download | only in marvell

Lines Matching refs:STATIC

72 #define STATIC /* nothing */
74 #define STATIC static
78 STATIC int mvxpe_match(device_t, struct cfdata *, void *);
79 STATIC void mvxpe_attach(device_t, device_t, void *);
80 STATIC int mvxpe_evcnt_attach(struct mvxpe_softc *);
83 STATIC void mvxpe_sc_lock(struct mvxpe_softc *);
84 STATIC void mvxpe_sc_unlock(struct mvxpe_softc *);
87 STATIC int mvxpe_miibus_readreg(device_t, int, int, uint16_t *);
88 STATIC int mvxpe_miibus_writereg(device_t, int, int, uint16_t);
89 STATIC void mvxpe_miibus_statchg(struct ifnet *);
92 STATIC void mvxpe_wininit(struct mvxpe_softc *, enum marvell_tags *);
95 STATIC int mvxpe_initreg(struct ifnet *);
98 STATIC void *mvxpe_dma_memalloc(struct mvxpe_softc *, bus_dmamap_t *, size_t);
99 STATIC int mvxpe_ring_alloc_queue(struct mvxpe_softc *, int);
100 STATIC void mvxpe_ring_dealloc_queue(struct mvxpe_softc *, int);
101 STATIC void mvxpe_ring_init_queue(struct mvxpe_softc *, int);
102 STATIC void mvxpe_ring_flush_queue(struct mvxpe_softc *, int);
103 STATIC void mvxpe_ring_sync_rx(struct mvxpe_softc *, int, int, int, int);
104 STATIC void mvxpe_ring_sync_tx(struct mvxpe_softc *, int, int, int, int);
107 STATIC int mvxpe_rx_queue_init(struct ifnet *, int);
108 STATIC int mvxpe_tx_queue_init(struct ifnet *, int);
109 STATIC int mvxpe_rx_queue_enable(struct ifnet *, int);
110 STATIC int mvxpe_tx_queue_enable(struct ifnet *, int);
111 STATIC void mvxpe_rx_lockq(struct mvxpe_softc *, int);
112 STATIC void mvxpe_rx_unlockq(struct mvxpe_softc *, int);
113 STATIC void mvxpe_tx_lockq(struct mvxpe_softc *, int);
114 STATIC void mvxpe_tx_unlockq(struct mvxpe_softc *, int);
117 STATIC void mvxpe_disable_intr(struct mvxpe_softc *);
118 STATIC void mvxpe_enable_intr(struct mvxpe_softc *);
119 STATIC int mvxpe_rxtxth_intr(void *);
120 STATIC int mvxpe_misc_intr(void *);
121 STATIC int mvxpe_rxtx_intr(void *);
122 STATIC void mvxpe_tick(void *);
125 STATIC void mvxpe_start(struct ifnet *);
126 STATIC int mvxpe_ioctl(struct ifnet *, u_long, void *);
127 STATIC int mvxpe_init(struct ifnet *);
128 STATIC void mvxpe_stop(struct ifnet *, int);
129 STATIC void mvxpe_watchdog(struct ifnet *);
130 STATIC int mvxpe_ifflags_cb(struct ethercom *);
131 STATIC int mvxpe_mediachange(struct ifnet *);
132 STATIC void mvxpe_mediastatus(struct ifnet *, struct ifmediareq *);
135 STATIC void mvxpe_linkupdate(struct mvxpe_softc *sc);
136 STATIC void mvxpe_linkup(struct mvxpe_softc *);
137 STATIC void mvxpe_linkdown(struct mvxpe_softc *);
138 STATIC void mvxpe_linkreset(struct mvxpe_softc *);
141 STATIC int mvxpe_tx_queue_select(struct mvxpe_softc *, struct mbuf *);
142 STATIC int mvxpe_tx_queue(struct mvxpe_softc *, struct mbuf *, int);
143 STATIC void mvxpe_tx_set_csumflag(struct ifnet *,
145 STATIC void mvxpe_tx_complete(struct mvxpe_softc *, uint32_t);
146 STATIC void mvxpe_tx_queue_complete(struct mvxpe_softc *, int);
149 STATIC void mvxpe_rx(struct mvxpe_softc *, uint32_t);
150 STATIC void mvxpe_rx_queue(struct mvxpe_softc *, int, int);
151 STATIC int mvxpe_rx_queue_select(struct mvxpe_softc *, uint32_t, int *);
152 STATIC void mvxpe_rx_refill(struct mvxpe_softc *, uint32_t);
153 STATIC void mvxpe_rx_queue_refill(struct mvxpe_softc *, int);
154 STATIC int mvxpe_rx_queue_add(struct mvxpe_softc *, int);
155 STATIC void mvxpe_rx_set_csumflag(struct ifnet *,
159 STATIC uint8_t mvxpe_crc8(const uint8_t *, size_t);
160 STATIC void mvxpe_filter_setup(struct mvxpe_softc *);
163 STATIC int sysctl_read_mib(SYSCTLFN_PROTO);
164 STATIC int sysctl_clear_mib(SYSCTLFN_PROTO);
165 STATIC int sysctl_set_queue_length(SYSCTLFN_PROTO);
166 STATIC int sysctl_set_queue_rxthtime(SYSCTLFN_PROTO);
167 STATIC void sysctl_mvxpe_init(struct mvxpe_softc *);
170 STATIC void mvxpe_clear_mib(struct mvxpe_softc *);
171 STATIC void mvxpe_update_mib(struct mvxpe_softc *);
174 STATIC void mvxpe_dump_txdesc(struct mvxpe_tx_desc *, int) __attribute__((__unused__));
175 STATIC void mvxpe_dump_rxdesc(struct mvxpe_rx_desc *, int) __attribute__((__unused__));
177 STATIC int mvxpe_root_num;
178 STATIC kmutex_t mii_mutex;
179 STATIC int mii_init = 0;
181 STATIC int mvxpe_debug = MVXPE_DEBUG;
187 STATIC struct mvxpe_mib_def {
263 STATIC int
285 STATIC void
518 STATIC int
619 static const char *rxq_desc[] = {
631 static const char *txq_desc[] = {
643 static const char *rxqe_desc[] = {
655 static const char *txqe_desc[] = {
670 STATIC void
676 STATIC void
685 STATIC int
730 STATIC int
774 STATIC void
784 STATIC void
839 STATIC int
955 STATIC void *
1002 STATIC int
1036 STATIC void
1077 STATIC void
1084 static const int rx_default_queue_len[] = {
1090 static const int tx_default_queue_len[] = {
1138 STATIC void
1174 STATIC void
1195 STATIC void
1218 STATIC int
1253 STATIC int
1278 STATIC int
1309 STATIC int
1333 STATIC void
1341 STATIC void
1349 STATIC void
1357 STATIC void
1368 STATIC void
1382 STATIC void
1424 STATIC int
1488 STATIC int
1558 STATIC int
1616 STATIC void
1651 STATIC void
1717 STATIC int
1741 STATIC int
1793 STATIC void
1905 STATIC void
1950 STATIC int
1977 STATIC int
1983 STATIC void
1992 STATIC void mvxpe_linkupdate(struct mvxpe_softc *sc)
2018 STATIC void
2051 STATIC void
2070 STATIC void
2091 STATIC int
2101 STATIC int
2204 STATIC void
2271 STATIC void
2293 STATIC void
2379 STATIC void
2393 STATIC void
2502 STATIC int
2532 STATIC void
2550 STATIC void
2592 STATIC int
2620 STATIC void
2674 STATIC uint8_t
2691 STATIC void
2805 STATIC int
2840 STATIC int
2869 STATIC int
2957 STATIC int
3018 STATIC void
3112 static const char *sysctl_queue_names[] = {
3121 static const char *sysctl_queue_descrs[] = {
3215 STATIC void
3230 STATIC void
3280 STATIC void
3295 STATIC void