Lines Matching refs:ti_softc
152 static void ti_txeof_tigon1(struct ti_softc *);
153 static void ti_txeof_tigon2(struct ti_softc *);
154 static void ti_rxeof(struct ti_softc *);
156 static void ti_stats_update(struct ti_softc *);
157 static int ti_encap_tigon1(struct ti_softc *, struct mbuf *, uint32_t *);
158 static int ti_encap_tigon2(struct ti_softc *, struct mbuf *, uint32_t *);
164 static void ti_init2(struct ti_softc *);
165 static void ti_stop(struct ti_softc *);
170 static uint32_t ti_eeprom_putbyte(struct ti_softc *, int);
171 static uint8_t ti_eeprom_getbyte(struct ti_softc *, int, uint8_t *);
172 static int ti_read_eeprom(struct ti_softc *, void *, int, int);
174 static void ti_add_mcast(struct ti_softc *, struct ether_addr *);
175 static void ti_del_mcast(struct ti_softc *, struct ether_addr *);
176 static void ti_setmulti(struct ti_softc *);
178 static void ti_mem(struct ti_softc *, uint32_t, uint32_t, const void *);
179 static void ti_loadfw(struct ti_softc *);
180 static void ti_cmd(struct ti_softc *, struct ti_cmd_desc *);
181 static void ti_cmd_ext(struct ti_softc *, struct ti_cmd_desc *, void *, int);
182 static void ti_handle_events(struct ti_softc *);
183 static int ti_alloc_jumbo_mem(struct ti_softc *);
184 static void *ti_jalloc(struct ti_softc *);
186 static int ti_newbuf_std(struct ti_softc *, int, struct mbuf *, bus_dmamap_t);
187 static int ti_newbuf_mini(struct ti_softc *, int, struct mbuf *, bus_dmamap_t);
188 static int ti_newbuf_jumbo(struct ti_softc *, int, struct mbuf *);
189 static int ti_init_rx_ring_std(struct ti_softc *);
190 static void ti_free_rx_ring_std(struct ti_softc *);
191 static int ti_init_rx_ring_jumbo(struct ti_softc *);
192 static void ti_free_rx_ring_jumbo(struct ti_softc *);
193 static int ti_init_rx_ring_mini(struct ti_softc *);
194 static void ti_free_rx_ring_mini(struct ti_softc *);
195 static void ti_free_tx_ring(struct ti_softc *);
196 static int ti_init_tx_ring(struct ti_softc *);
198 static int ti_64bitslot_war(struct ti_softc *);
199 static int ti_chipinit(struct ti_softc *);
200 static int ti_gibinit(struct ti_softc *);
204 CFATTACH_DECL_NEW(ti, sizeof(struct ti_softc),
211 ti_eeprom_putbyte(struct ti_softc *sc, int byte)
256 ti_eeprom_getbyte(struct ti_softc *sc, int addr, uint8_t *dest)
328 ti_read_eeprom(struct ti_softc *sc, void *destv, int off, int cnt)
349 ti_mem(struct ti_softc *sc, uint32_t addr, uint32_t len, const void *xbuf)
394 ti_loadfw(struct ti_softc *sc)
447 ti_cmd(struct ti_softc *sc, struct ti_cmd_desc *cmd)
463 ti_cmd_ext(struct ti_softc *sc, struct ti_cmd_desc *cmd, void *argv, int len)
485 ti_handle_events(struct ti_softc *sc)
562 ti_alloc_jumbo_mem(struct ti_softc *sc)
630 ti_jalloc(struct ti_softc *sc)
653 struct ti_softc *sc;
658 sc = (struct ti_softc *)arg;
689 ti_newbuf_std(struct ti_softc *sc, int i, struct mbuf *m, bus_dmamap_t dmamap)
764 ti_newbuf_mini(struct ti_softc *sc, int i, struct mbuf *m, bus_dmamap_t dmamap)
831 ti_newbuf_jumbo(struct ti_softc *sc, int i, struct mbuf *m)
893 ti_init_rx_ring_std(struct ti_softc *sc)
910 ti_free_rx_ring_std(struct ti_softc *sc)
931 ti_init_rx_ring_jumbo(struct ti_softc *sc)
948 ti_free_rx_ring_jumbo(struct ti_softc *sc)
963 ti_init_rx_ring_mini(struct ti_softc *sc)
979 ti_free_rx_ring_mini(struct ti_softc *sc)
1000 ti_free_tx_ring(struct ti_softc *sc)
1034 ti_init_tx_ring(struct ti_softc *sc)
1074 ti_add_mcast(struct ti_softc *sc, struct ether_addr *addr)
1102 ti_del_mcast(struct ti_softc *sc, struct ether_addr *addr)
1144 ti_softc *sc)
1223 ti_64bitslot_war(struct ti_softc *sc)
1248 ti_chipinit(struct ti_softc *sc)
1399 ti_gibinit(struct ti_softc *sc)
1616 struct ti_softc *sc;
1907 ti_rxeof(struct ti_softc *sc)
2044 ti_txeof_tigon1(struct ti_softc *sc)
2098 ti_txeof_tigon2(struct ti_softc *sc)
2149 struct ti_softc *sc;
2185 ti_stats_update(struct ti_softc *sc)
2207 ti_encap_tigon1(struct ti_softc *sc, struct mbuf *m_head, uint32_t *txidx)
2310 ti_encap_tigon2(struct ti_softc *sc, struct mbuf *m_head, uint32_t *txidx)
2409 struct ti_softc *sc;
2451 struct ti_softc *sc = xsc;
2470 ti_init2(struct ti_softc *sc)
2563 struct ti_softc *sc;
2633 struct ti_softc *sc;
2683 struct ti_softc *sc = ifp->if_softc;
2714 struct ti_softc *sc = ifp->if_softc;
2789 struct ti_softc *sc;
2805 ti_stop(struct ti_softc *sc)
2851 struct ti_softc *sc;