Lines Matching refs:bnx_softc

299 void	bnx_dump_mbuf(struct bnx_softc *, struct mbuf *);
300 void bnx_dump_tx_mbuf_chain(struct bnx_softc *, int, int);
301 void bnx_dump_rx_mbuf_chain(struct bnx_softc *, int, int);
302 void bnx_dump_txbd(struct bnx_softc *, int, struct tx_bd *);
303 void bnx_dump_rxbd(struct bnx_softc *, int, struct rx_bd *);
304 void bnx_dump_l2fhdr(struct bnx_softc *, int, struct l2_fhdr *);
305 void bnx_dump_tx_chain(struct bnx_softc *, int, int);
306 void bnx_dump_rx_chain(struct bnx_softc *, int, int);
307 void bnx_dump_status_block(struct bnx_softc *);
308 void bnx_dump_stats_block(struct bnx_softc *);
309 void bnx_dump_driver_state(struct bnx_softc *);
310 void bnx_dump_hw_state(struct bnx_softc *);
311 void bnx_breakpoint(struct bnx_softc *);
317 u_int32_t bnx_reg_rd_ind(struct bnx_softc *, u_int32_t);
318 void bnx_reg_wr_ind(struct bnx_softc *, u_int32_t, u_int32_t);
319 void bnx_ctx_wr(struct bnx_softc *, u_int32_t, u_int32_t, u_int32_t);
327 int bnx_acquire_nvram_lock(struct bnx_softc *);
328 int bnx_release_nvram_lock(struct bnx_softc *);
329 void bnx_enable_nvram_access(struct bnx_softc *);
330 void bnx_disable_nvram_access(struct bnx_softc *);
331 int bnx_nvram_read_dword(struct bnx_softc *, u_int32_t, u_int8_t *,
333 int bnx_init_nvram(struct bnx_softc *);
334 int bnx_nvram_read(struct bnx_softc *, u_int32_t, u_int8_t *, int);
335 int bnx_nvram_test(struct bnx_softc *);
337 int bnx_enable_nvram_write(struct bnx_softc *);
338 void bnx_disable_nvram_write(struct bnx_softc *);
339 int bnx_nvram_erase_page(struct bnx_softc *, u_int32_t);
340 int bnx_nvram_write_dword(struct bnx_softc *, u_int32_t, u_int8_t *,
342 int bnx_nvram_write(struct bnx_softc *, u_int32_t, u_int8_t *, int);
348 void bnx_get_media(struct bnx_softc *);
349 void bnx_init_media(struct bnx_softc *);
350 int bnx_dma_alloc(struct bnx_softc *);
351 void bnx_dma_free(struct bnx_softc *);
352 void bnx_release_resources(struct bnx_softc *);
357 int bnx_fw_sync(struct bnx_softc *, u_int32_t);
358 void bnx_load_rv2p_fw(struct bnx_softc *, u_int32_t *, u_int32_t,
360 void bnx_load_cpu_fw(struct bnx_softc *, struct cpu_reg *,
362 void bnx_init_cpus(struct bnx_softc *);
365 int bnx_reset(struct bnx_softc *, u_int32_t);
366 int bnx_chipinit(struct bnx_softc *);
367 int bnx_blockinit(struct bnx_softc *);
368 static int bnx_add_buf(struct bnx_softc *, struct mbuf *, u_int16_t *,
370 int bnx_get_buf(struct bnx_softc *, u_int16_t *, u_int16_t *, u_int32_t *);
372 int bnx_init_tx_chain(struct bnx_softc *);
373 void bnx_init_tx_context(struct bnx_softc *);
374 int bnx_init_rx_chain(struct bnx_softc *);
375 void bnx_init_rx_context(struct bnx_softc *);
376 void bnx_free_rx_chain(struct bnx_softc *);
377 void bnx_free_tx_chain(struct bnx_softc *);
379 int bnx_tx_encap(struct bnx_softc *, struct mbuf *);
385 void bnx_init_context(struct bnx_softc *);
386 void bnx_get_mac_addr(struct bnx_softc *);
387 void bnx_set_mac_addr(struct bnx_softc *);
388 void bnx_phy_intr(struct bnx_softc *);
389 void bnx_rx_intr(struct bnx_softc *);
390 void bnx_tx_intr(struct bnx_softc *);
391 void bnx_disable_intr(struct bnx_softc *);
392 void bnx_enable_intr(struct bnx_softc *);
395 void bnx_iff(struct bnx_softc *);
396 void bnx_stats_update(struct bnx_softc *);
405 CFATTACH_DECL3_NEW(bnx, sizeof(struct bnx_softc),
462 struct bnx_softc *sc = device_private(self);
783 struct bnx_softc *sc;
836 bnx_reg_rd_ind(struct bnx_softc *sc, u_int32_t offset)
867 bnx_reg_wr_ind(struct bnx_softc *sc, u_int32_t offset, u_int32_t val)
889 bnx_ctx_wr(struct bnx_softc *sc, u_int32_t cid_addr, u_int32_t ctx_offset,
931 struct bnx_softc *sc = device_private(dev);
1016 struct bnx_softc *sc = device_private(dev);
1094 struct bnx_softc *sc = device_private(dev);
1156 bnx_acquire_nvram_lock(struct bnx_softc *sc)
1192 bnx_release_nvram_lock(struct bnx_softc *sc)
1228 bnx_enable_nvram_write(struct bnx_softc *sc)
1271 bnx_disable_nvram_write(struct bnx_softc *sc)
1292 bnx_enable_nvram_access(struct bnx_softc *sc)
1313 bnx_disable_nvram_access(struct bnx_softc *sc)
1337 bnx_nvram_erase_page(struct bnx_softc *sc, u_int32_t offset)
1390 bnx_nvram_read_dword(struct bnx_softc *sc, u_int32_t offset,
1452 bnx_nvram_write_dword(struct bnx_softc *sc, u_int32_t offset, u_int8_t *val,
1506 bnx_init_nvram(struct bnx_softc *sc)
1618 bnx_nvram_read(struct bnx_softc *sc, u_int32_t offset, u_int8_t *ret_buf,
1736 bnx_nvram_write(struct bnx_softc *sc, u_int32_t offset, u_int8_t *data_buf,
1922 bnx_nvram_test(struct bnx_softc *sc)
1981 bnx_get_media(struct bnx_softc *sc)
2082 bnx_init_media(struct bnx_softc *sc)
2114 bnx_dma_free(struct bnx_softc *sc)
2221 bnx_dma_alloc(struct bnx_softc *sc)
2503 bnx_release_resources(struct bnx_softc *sc)
2530 bnx_fw_sync(struct bnx_softc *sc, u_int32_t msg_data)
2586 bnx_load_rv2p_fw(struct bnx_softc *sc, u_int32_t *rv2p_code,
2630 bnx_load_cpu_fw(struct bnx_softc *sc, struct cpu_reg *cpu_reg,
2708 bnx_init_cpus(struct bnx_softc *sc)
3121 bnx_init_context(struct bnx_softc *sc)
3208 bnx_get_mac_addr(struct bnx_softc *sc)
3247 bnx_set_mac_addr(struct bnx_softc *sc)
3274 struct bnx_softc *sc = ifp->if_softc;
3313 bnx_reset(struct bnx_softc *sc, u_int32_t reset_code)
3414 bnx_chipinit(struct bnx_softc *sc)
3523 bnx_blockinit(struct bnx_softc *sc)
3639 bnx_add_buf(struct bnx_softc *sc, struct mbuf *m_new, u_int16_t *prod,
3757 bnx_get_buf(struct bnx_softc *sc, u_int16_t *prod,
3853 struct bnx_softc *sc = arg;
3904 bnx_init_tx_context(struct bnx_softc *sc)
3946 bnx_init_tx_chain(struct bnx_softc *sc)
4013 bnx_free_tx_chain(struct bnx_softc *sc)
4077 bnx_init_rx_context(struct bnx_softc *sc)
4124 bnx_init_rx_chain(struct bnx_softc *sc)
4201 bnx_free_rx_chain(struct bnx_softc *sc)
4246 bnx_phy_intr(struct bnx_softc *sc)
4287 bnx_rx_intr(struct bnx_softc *sc)
4603 bnx_tx_intr(struct bnx_softc *sc)
4723 bnx_disable_intr(struct bnx_softc *sc)
4736 bnx_enable_intr(struct bnx_softc *sc)
4757 struct bnx_softc *sc = ifp->if_softc;
4848 bnx_tx_encap(struct bnx_softc *sc, struct mbuf *m)
5006 struct bnx_softc *sc = ifp->if_softc;
5091 struct bnx_softc *sc = ifp->if_softc;
5145 struct bnx_softc *sc = ifp->if_softc;
5179 struct bnx_softc *sc;
5300 bnx_iff(struct bnx_softc *sc)
5390 bnx_stats_update(struct bnx_softc *sc)
5589 struct bnx_softc *sc = xsc;
5636 bnx_dump_mbuf(struct bnx_softc *sc, struct mbuf *m)
5671 bnx_dump_tx_mbuf_chain(struct bnx_softc *sc, int chain_prod, int count)
5699 bnx_dump_rx_mbuf_chain(struct bnx_softc *sc, int chain_prod, int count)
5723 bnx_dump_txbd(struct bnx_softc *sc, int idx, struct tx_bd *txbd)
5743 bnx_dump_rxbd(struct bnx_softc *sc, int idx, struct rx_bd *rxbd)
5762 bnx_dump_l2fhdr(struct bnx_softc *sc, int idx, struct l2_fhdr *l2fhdr)
5776 bnx_dump_tx_chain(struct bnx_softc *sc, int tx_prod, int count)
5819 bnx_dump_rx_chain(struct bnx_softc *sc, int rx_prod, int count)
5864 bnx_dump_status_block(struct bnx_softc *sc)
5955 bnx_dump_stats_block(struct bnx_softc *sc)
6192 bnx_dump_driver_state(struct bnx_softc *sc)
6296 bnx_dump_hw_state(struct bnx_softc *sc)
6358 bnx_breakpoint(struct bnx_softc *sc)