Lines Matching refs:bnx_softc

300 void	bnx_dump_mbuf(struct bnx_softc *, struct mbuf *);
301 void bnx_dump_tx_mbuf_chain(struct bnx_softc *, int, int);
302 void bnx_dump_rx_mbuf_chain(struct bnx_softc *, int, int);
303 void bnx_dump_txbd(struct bnx_softc *, int, struct tx_bd *);
304 void bnx_dump_rxbd(struct bnx_softc *, int, struct rx_bd *);
305 void bnx_dump_l2fhdr(struct bnx_softc *, int, struct l2_fhdr *);
306 void bnx_dump_tx_chain(struct bnx_softc *, int, int);
307 void bnx_dump_rx_chain(struct bnx_softc *, int, int);
308 void bnx_dump_status_block(struct bnx_softc *);
309 void bnx_dump_stats_block(struct bnx_softc *);
310 void bnx_dump_driver_state(struct bnx_softc *);
311 void bnx_dump_hw_state(struct bnx_softc *);
312 void bnx_breakpoint(struct bnx_softc *);
318 uint32_t bnx_reg_rd_ind(struct bnx_softc *, uint32_t);
319 void bnx_reg_wr_ind(struct bnx_softc *, uint32_t, uint32_t);
320 void bnx_ctx_wr(struct bnx_softc *, uint32_t, uint32_t, uint32_t);
328 int bnx_acquire_nvram_lock(struct bnx_softc *);
329 int bnx_release_nvram_lock(struct bnx_softc *);
330 void bnx_enable_nvram_access(struct bnx_softc *);
331 void bnx_disable_nvram_access(struct bnx_softc *);
332 int bnx_nvram_read_dword(struct bnx_softc *, uint32_t, uint8_t *,
334 int bnx_init_nvram(struct bnx_softc *);
335 int bnx_nvram_read(struct bnx_softc *, uint32_t, uint8_t *, int);
336 int bnx_nvram_test(struct bnx_softc *);
338 int bnx_enable_nvram_write(struct bnx_softc *);
339 void bnx_disable_nvram_write(struct bnx_softc *);
340 int bnx_nvram_erase_page(struct bnx_softc *, uint32_t);
341 int bnx_nvram_write_dword(struct bnx_softc *, uint32_t, uint8_t *,
343 int bnx_nvram_write(struct bnx_softc *, uint32_t, uint8_t *, int);
349 void bnx_get_media(struct bnx_softc *);
350 void bnx_init_media(struct bnx_softc *);
351 int bnx_dma_alloc(struct bnx_softc *);
352 void bnx_dma_free(struct bnx_softc *);
353 void bnx_release_resources(struct bnx_softc *);
358 int bnx_fw_sync(struct bnx_softc *, uint32_t);
359 void bnx_load_rv2p_fw(struct bnx_softc *, uint32_t *, uint32_t, uint32_t);
360 void bnx_load_cpu_fw(struct bnx_softc *, struct cpu_reg *,
362 void bnx_init_cpus(struct bnx_softc *);
364 static void bnx_print_adapter_info(struct bnx_softc *);
365 static void bnx_probe_pci_caps(struct bnx_softc *);
367 int bnx_reset(struct bnx_softc *, uint32_t);
368 int bnx_chipinit(struct bnx_softc *);
369 int bnx_blockinit(struct bnx_softc *);
370 static int bnx_add_buf(struct bnx_softc *, struct mbuf *, uint16_t *,
372 int bnx_get_buf(struct bnx_softc *, uint16_t *, uint16_t *, uint32_t *);
374 int bnx_init_tx_chain(struct bnx_softc *);
375 void bnx_init_tx_context(struct bnx_softc *);
376 int bnx_init_rx_chain(struct bnx_softc *);
377 void bnx_init_rx_context(struct bnx_softc *);
378 void bnx_free_rx_chain(struct bnx_softc *);
379 void bnx_free_tx_chain(struct bnx_softc *);
381 int bnx_tx_encap(struct bnx_softc *, struct mbuf *);
388 static void bnx_mgmt_init(struct bnx_softc *);
390 void bnx_init_context(struct bnx_softc *);
391 void bnx_get_mac_addr(struct bnx_softc *);
392 void bnx_set_mac_addr(struct bnx_softc *);
393 void bnx_phy_intr(struct bnx_softc *);
394 void bnx_rx_intr(struct bnx_softc *);
395 void bnx_tx_intr(struct bnx_softc *);
396 void bnx_disable_intr(struct bnx_softc *);
397 void bnx_enable_intr(struct bnx_softc *);
400 void bnx_iff(struct bnx_softc *);
401 void bnx_stats_update(struct bnx_softc *);
410 CFATTACH_DECL3_NEW(bnx, sizeof(struct bnx_softc),
463 bnx_print_adapter_info(struct bnx_softc *sc)
526 bnx_probe_pci_caps(struct bnx_softc *sc)
576 struct bnx_softc *sc = device_private(self);
964 struct bnx_softc *sc;
1007 bnx_reg_rd_ind(struct bnx_softc *sc, uint32_t offset)
1038 bnx_reg_wr_ind(struct bnx_softc *sc, uint32_t offset, uint32_t val)
1060 bnx_ctx_wr(struct bnx_softc *sc, uint32_t cid_addr, uint32_t ctx_offset,
1102 struct bnx_softc *sc = device_private(dev);
1182 struct bnx_softc *sc = device_private(dev);
1256 struct bnx_softc *sc = ifp->if_softc;
1357 bnx_acquire_nvram_lock(struct bnx_softc *sc)
1393 bnx_release_nvram_lock(struct bnx_softc *sc)
1429 bnx_enable_nvram_write(struct bnx_softc *sc)
1472 bnx_disable_nvram_write(struct bnx_softc *sc)
1493 bnx_enable_nvram_access(struct bnx_softc *sc)
1514 bnx_disable_nvram_access(struct bnx_softc *sc)
1538 bnx_nvram_erase_page(struct bnx_softc *sc, uint32_t offset)
1591 bnx_nvram_read_dword(struct bnx_softc *sc, uint32_t offset,
1653 bnx_nvram_write_dword(struct bnx_softc *sc, uint32_t offset, uint8_t *val,
1707 bnx_init_nvram(struct bnx_softc *sc)
1819 bnx_nvram_read(struct bnx_softc *sc, uint32_t offset, uint8_t *ret_buf,
1937 bnx_nvram_write(struct bnx_softc *sc, uint32_t offset, uint8_t *data_buf,
2122 bnx_nvram_test(struct bnx_softc *sc)
2181 bnx_get_media(struct bnx_softc *sc)
2282 bnx_init_media(struct bnx_softc *sc)
2314 bnx_dma_free(struct bnx_softc *sc)
2430 bnx_dma_alloc(struct bnx_softc *sc)
2715 bnx_release_resources(struct bnx_softc *sc)
2745 bnx_fw_sync(struct bnx_softc *sc, uint32_t msg_data)
2801 bnx_load_rv2p_fw(struct bnx_softc *sc, uint32_t *rv2p_code,
2845 bnx_load_cpu_fw(struct bnx_softc *sc, struct cpu_reg *cpu_reg,
2923 bnx_init_cpus(struct bnx_softc *sc)
3336 bnx_init_context(struct bnx_softc *sc)
3419 bnx_get_mac_addr(struct bnx_softc *sc)
3458 bnx_set_mac_addr(struct bnx_softc *sc)
3485 struct bnx_softc *sc = ifp->if_softc;
3528 bnx_reset(struct bnx_softc *sc, uint32_t reset_code)
3638 bnx_chipinit(struct bnx_softc *sc)
3754 bnx_blockinit(struct bnx_softc *sc)
3862 bnx_add_buf(struct bnx_softc *sc, struct mbuf *m_new, uint16_t *prod,
3980 bnx_get_buf(struct bnx_softc *sc, uint16_t *prod,
4077 struct bnx_softc *sc = arg;
4120 bnx_init_tx_context(struct bnx_softc *sc)
4162 bnx_init_tx_chain(struct bnx_softc *sc)
4226 bnx_free_tx_chain(struct bnx_softc *sc)
4276 bnx_init_rx_context(struct bnx_softc *sc)
4309 bnx_init_rx_chain(struct bnx_softc *sc)
4386 bnx_free_rx_chain(struct bnx_softc *sc)
4433 struct bnx_softc *sc;
4460 struct bnx_softc *sc;
4485 bnx_phy_intr(struct bnx_softc *sc)
4527 bnx_rx_intr(struct bnx_softc *sc)
4833 bnx_tx_intr(struct bnx_softc *sc)
4953 bnx_disable_intr(struct bnx_softc *sc)
4966 bnx_enable_intr(struct bnx_softc *sc)
4987 struct bnx_softc *sc = ifp->if_softc;
5069 bnx_mgmt_init(struct bnx_softc *sc)
5106 bnx_tx_encap(struct bnx_softc *sc, struct mbuf *m)
5276 struct bnx_softc *sc = ifp->if_softc;
5377 struct bnx_softc *sc = ifp->if_softc;
5443 struct bnx_softc *sc = ifp->if_softc;
5477 struct bnx_softc *sc = xsc;
5572 bnx_iff(struct bnx_softc *sc)
5665 bnx_stats_update(struct bnx_softc *sc)
5878 struct bnx_softc *sc = xsc;
5940 bnx_dump_mbuf(struct bnx_softc *sc, struct mbuf *m)
5975 bnx_dump_tx_mbuf_chain(struct bnx_softc *sc, int chain_prod, int count)
6003 bnx_dump_rx_mbuf_chain(struct bnx_softc *sc, int chain_prod, int count)
6027 bnx_dump_txbd(struct bnx_softc *sc, int idx, struct tx_bd *txbd)
6047 bnx_dump_rxbd(struct bnx_softc *sc, int idx, struct rx_bd *rxbd)
6066 bnx_dump_l2fhdr(struct bnx_softc *sc, int idx, struct l2_fhdr *l2fhdr)
6080 bnx_dump_tx_chain(struct bnx_softc *sc, int tx_prod, int count)
6123 bnx_dump_rx_chain(struct bnx_softc *sc, int rx_prod, int count)
6168 bnx_dump_status_block(struct bnx_softc *sc)
6259 bnx_dump_stats_block(struct bnx_softc *sc)
6496 bnx_dump_driver_state(struct bnx_softc *sc)
6600 bnx_dump_hw_state(struct bnx_softc *sc)
6663 bnx_breakpoint(struct bnx_softc *sc)