• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/

Lines Matching refs:bnx2

0 /* bnx2.c: Broadcom NX2 network driver.
57 #include "bnx2.h"
60 #define DRV_MODULE_NAME "bnx2"
63 #define FW_MIPS_FILE_06 "bnx2/bnx2-mips-06-5.0.0.j6.fw"
64 #define FW_RV2P_FILE_06 "bnx2/bnx2-rv2p-06-5.0.0.j3.fw"
65 #define FW_MIPS_FILE_09 "bnx2/bnx2-mips-09-5.0.0.j15.fw"
66 #define FW_RV2P_FILE_09_Ax "bnx2/bnx2-rv2p-09ax-5.0.0.j10.fw"
67 #define FW_RV2P_FILE_09 "bnx2/bnx2-rv2p-09-5.0.0.j10.fw"
249 static void bnx2_init_napi(struct bnx2 *bp);
250 static void bnx2_del_napi(struct bnx2 *bp);
252 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr)
272 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset)
284 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val)
293 bnx2_shmem_wr(struct bnx2 *bp, u32 offset, u32 val)
299 bnx2_shmem_rd(struct bnx2 *bp, u32 offset)
305 bnx2_ctx_wr(struct bnx2 *bp, u32 cid_addr, u32 offset, u32 val)
332 struct bnx2 *bp = netdev_priv(dev);
351 static void bnx2_setup_cnic_irq_info(struct bnx2 *bp)
381 struct bnx2 *bp = netdev_priv(dev);
403 struct bnx2 *bp = netdev_priv(dev);
418 struct bnx2 *bp = netdev_priv(dev);
434 bnx2_cnic_stop(struct bnx2 *bp)
449 bnx2_cnic_start(struct bnx2 *bp)
471 bnx2_cnic_stop(struct bnx2 *bp)
476 bnx2_cnic_start(struct bnx2 *bp)
483 bnx2_read_phy(struct bnx2 *bp, u32 reg, u32 *val)
540 bnx2_write_phy(struct bnx2 *bp, u32 reg, u32 val)
589 bnx2_disable_int(struct bnx2 *bp)
603 bnx2_enable_int(struct bnx2 *bp)
624 bnx2_disable_int_sync(struct bnx2 *bp)
638 bnx2_napi_disable(struct bnx2 *bp)
647 bnx2_napi_enable(struct bnx2 *bp)
656 bnx2_netif_stop(struct bnx2 *bp, bool stop_cnic)
669 bnx2_netif_start(struct bnx2 *bp, bool start_cnic)
687 bnx2_free_tx_mem(struct bnx2 *bp)
707 bnx2_free_rx_mem(struct bnx2 *bp)
739 bnx2_alloc_tx_mem(struct bnx2 *bp)
761 bnx2_alloc_rx_mem(struct bnx2 *bp)
814 bnx2_free_mem(struct bnx2 *bp)
840 bnx2_alloc_mem(struct bnx2 *bp)
918 bnx2_report_fw_link(struct bnx2 *bp)
977 bnx2_xceiver_str(struct bnx2 *bp)
985 bnx2_report_link(struct bnx2 *bp)
1016 bnx2_resolve_flow_ctrl(struct bnx2 *bp)
1092 bnx2_5709s_linkup(struct bnx2 *bp)
1131 bnx2_5708s_linkup(struct bnx2 *bp)
1160 bnx2_5706s_linkup(struct bnx2 *bp)
1197 bnx2_copper_linkup(struct bnx2 *bp)
1263 bnx2_init_rx_context(struct bnx2 *bp, u32 cid)
1299 bnx2_init_all_rx_contexts(struct bnx2 *bp)
1312 bnx2_set_mac_link(struct bnx2 *bp)
1380 bnx2_enable_bmsr1(struct bnx2 *bp)
1389 bnx2_disable_bmsr1(struct bnx2 *bp)
1398 bnx2_test_and_enable_2g5(struct bnx2 *bp)
1427 bnx2_test_and_disable_2g5(struct bnx2 *bp)
1453 bnx2_enable_forced_2g5(struct bnx2 *bp)
1497 bnx2_disable_forced_2g5(struct bnx2 *bp)
1536 bnx2_5706s_force_link_dn(struct bnx2 *bp, int start)
1549 bnx2_set_link(struct bnx2 *bp)
1633 bnx2_reset_phy(struct bnx2 *bp)
1657 bnx2_phy_get_pause_adv(struct bnx2 *bp)
1690 static int bnx2_fw_sync(struct bnx2 *, u32, int, int);
1693 bnx2_setup_remote_phy(struct bnx2 *bp, u8 port)
1752 bnx2_setup_serdes_phy(struct bnx2 *bp, u8 port)
1884 bnx2_set_default_remote_link(struct bnx2 *bp)
1931 bnx2_set_default_link(struct bnx2 *bp)
1957 bnx2_send_heart_beat(struct bnx2 *bp)
1971 bnx2_remote_phy_event(struct bnx2 *bp)
2048 bnx2_set_remote_link(struct bnx2 *bp)
2066 bnx2_setup_copper_phy(struct bnx2 *bp)
2165 bnx2_setup_phy(struct bnx2 *bp, u8 port)
2181 bnx2_init_5709s_phy(struct bnx2 *bp, int reset_phy)
2231 bnx2_init_5708s_phy(struct bnx2 *bp, int reset_phy)
2289 bnx2_init_5706s_phy(struct bnx2 *bp, int reset_phy)
2327 bnx2_init_copper_phy(struct bnx2 *bp, int reset_phy)
2380 bnx2_init_phy(struct bnx2 *bp, int reset_phy)
2426 bnx2_set_mac_loopback(struct bnx2 *bp)
2438 static int bnx2_test_link(struct bnx2 *);
2441 bnx2_set_phy_loopback(struct bnx2 *bp)
2471 bnx2_fw_sync(struct bnx2 *bp, u32 msg_data, int ack, int silent)
2516 bnx2_init_5709_context(struct bnx2 *bp)
2564 bnx2_init_context(struct bnx2 *bp)
2607 bnx2_alloc_bad_rbuf(struct bnx2 *bp)
2658 bnx2_set_mac_addr(struct bnx2 *bp, u8 *mac_addr, u32 pos)
2673 bnx2_alloc_rx_page(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index, gfp_t gfp)
2698 bnx2_free_rx_page(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index)
2714 bnx2_alloc_rx_skb(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, u16 index, gfp_t gfp)
2750 bnx2_phy_event_is_set(struct bnx2 *bp, struct bnx2_napi *bnapi, u32 event)
2770 bnx2_phy_int(struct bnx2 *bp, struct bnx2_napi *bnapi)
2798 bnx2_tx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget)
2889 bnx2_reuse_rx_skb_pages(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr,
2945 bnx2_reuse_rx_skb(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr,
2976 bnx2_rx_skb(struct bnx2 *bp, struct bnx2_rx_ring_info *rxr, struct sk_buff *skb,
3090 bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget)
3281 struct bnx2 *bp = bnapi->bp;
3301 struct bnx2 *bp = bnapi->bp;
3318 struct bnx2 *bp = bnapi->bp;
3389 bnx2_chk_missed_msi(struct bnx2 *bp)
3411 static void bnx2_poll_cnic(struct bnx2 *bp, struct bnx2_napi *bnapi)
3427 static void bnx2_poll_link(struct bnx2 *bp, struct bnx2_napi *bnapi)
3447 static int bnx2_poll_work(struct bnx2 *bp, struct bnx2_napi *bnapi,
3465 struct bnx2 *bp = bnapi->bp;
3492 struct bnx2 *bp = bnapi->bp;
3544 struct bnx2 *bp = netdev_priv(dev);
3659 bnx2_request_firmware(struct bnx2 *bp)
3723 load_rv2p_fw(struct bnx2 *bp, u32 rv2p_proc,
3783 load_cpu_fw(struct bnx2 *bp, const struct cpu_reg *cpu_reg,
3855 bnx2_init_cpus(struct bnx2 *bp)
3895 bnx2_set_power_state(struct bnx2 *bp, pci_power_t state)
4033 bnx2_acquire_nvram_lock(struct bnx2 *bp)
4055 bnx2_release_nvram_lock(struct bnx2 *bp)
4079 bnx2_enable_nvram_write(struct bnx2 *bp)
4108 bnx2_disable_nvram_write(struct bnx2 *bp)
4118 bnx2_enable_nvram_access(struct bnx2 *bp)
4129 bnx2_disable_nvram_access(struct bnx2 *bp)
4141 bnx2_nvram_erase_page(struct bnx2 *bp, u32 offset)
4181 bnx2_nvram_read_dword(struct bnx2 *bp, u32 offset, u8 *ret_val, u32 cmd_flags)
4226 bnx2_nvram_write_dword(struct bnx2 *bp, u32 offset, u8 *val, u32 cmd_flags)
4270 bnx2_init_nvram(struct bnx2 *bp)
4353 bnx2_nvram_read(struct bnx2 *bp, u32 offset, u8 *ret_buf,
4463 bnx2_nvram_write(struct bnx2 *bp, u32 offset, u8 *data_buf,
4643 bnx2_init_fw_cap(struct bnx2 *bp)
4683 bnx2_setup_msix_tbl(struct bnx2 *bp)
4692 bnx2_reset_chip(struct bnx2 *bp, u32 reset_code)
4802 bnx2_init_chip(struct bnx2 *bp)
5027 bnx2_clear_ring_states(struct bnx2 *bp)
5050 bnx2_init_tx_context(struct bnx2 *bp, u32 cid, struct bnx2_tx_ring_info *txr)
5080 bnx2_init_tx_ring(struct bnx2 *bp, int ring_num)
5136 bnx2_init_rx_ring(struct bnx2 *bp, int ring_num)
5222 bnx2_init_all_rings(struct bnx2 *bp)
5286 bnx2_set_rx_ring_size(struct bnx2 *bp, u32 size)
5325 bnx2_free_tx_skbs(struct bnx2 *bp)
5369 bnx2_free_rx_skbs(struct bnx2 *bp)
5403 bnx2_free_skbs(struct bnx2 *bp)
5410 bnx2_reset_nic(struct bnx2 *bp, u32 reset_code)
5427 bnx2_init_nic(struct bnx2 *bp, int reset_phy)
5444 bnx2_shutdown_chip(struct bnx2 *bp)
5459 bnx2_test_registers(struct bnx2 *bp)
5630 bnx2_do_mem_test(struct bnx2 *bp, u32 start, u32 size)
5653 bnx2_test_memory(struct bnx2 *bp)
5698 bnx2_run_loopback(struct bnx2 *bp, int loopback_mode)
5835 bnx2_test_loopback(struct bnx2 *bp)
5857 bnx2_test_nvram(struct bnx2 *bp)
5892 bnx2_test_link(struct bnx2 *bp)
5918 bnx2_test_intr(struct bnx2 *bp)
5949 bnx2_5706_serdes_has_link(struct bnx2 *bp)
5980 bnx2_5706_serdes_timer(struct bnx2 *bp)
6042 bnx2_5708_serdes_timer(struct bnx2 *bp)
6077 struct bnx2 *bp = (struct bnx2 *) data;
6110 bnx2_request_irq(struct bnx2 *bp)
6133 bnx2_free_irq(struct bnx2 *bp)
6153 bnx2_enable_msix(struct bnx2 *bp, int msix_vecs)
6204 bnx2_setup_int_mode(struct bnx2 *bp, int dis_msi)
6241 struct bnx2 *bp = netdev_priv(dev);
6317 struct bnx2 *bp = container_of(work, struct bnx2, reset_task);
6335 bnx2_dump_state(struct bnx2 *bp)
6370 struct bnx2 *bp = netdev_priv(dev);
6383 struct bnx2 *bp = netdev_priv(dev);
6408 struct bnx2 *bp = netdev_priv(dev);
6579 struct bnx2 *bp = netdev_priv(dev);
6598 bnx2_save_stats(struct bnx2 *bp)
6635 struct bnx2 *bp = netdev_priv(dev);
6710 struct bnx2 *bp = netdev_priv(dev);
6769 struct bnx2 *bp = netdev_priv(dev);
6847 struct bnx2 *bp = netdev_priv(dev);
6868 struct bnx2 *bp = netdev_priv(dev);
6916 struct bnx2 *bp = netdev_priv(dev);
6935 struct bnx2 *bp = netdev_priv(dev);
6955 struct bnx2 *bp = netdev_priv(dev);
7001 struct bnx2 *bp = netdev_priv(dev);
7009 struct bnx2 *bp = netdev_priv(dev);
7021 struct bnx2 *bp = netdev_priv(dev);
7038 struct bnx2 *bp = netdev_priv(dev);
7054 struct bnx2 *bp = netdev_priv(dev);
7076 struct bnx2 *bp = netdev_priv(dev);
7125 struct bnx2 *bp = netdev_priv(dev);
7140 bnx2_change_ring_size(struct bnx2 *bp, u32 rx, u32 tx)
7182 struct bnx2 *bp = netdev_priv(dev);
7198 struct bnx2 *bp = netdev_priv(dev);
7208 struct bnx2 *bp = netdev_priv(dev);
7235 struct bnx2 *bp = netdev_priv(dev);
7243 struct bnx2 *bp = netdev_priv(dev);
7252 struct bnx2 *bp = netdev_priv(dev);
7419 struct bnx2 *bp = netdev_priv(dev);
7494 struct bnx2 *bp = netdev_priv(dev);
7540 struct bnx2 *bp = netdev_priv(dev);
7580 struct bnx2 *bp = netdev_priv(dev);
7632 struct bnx2 *bp = netdev_priv(dev);
7683 struct bnx2 *bp = netdev_priv(dev);
7699 struct bnx2 *bp = netdev_priv(dev);
7713 struct bnx2 *bp = netdev_priv(dev);
7727 bnx2_get_5709_media(struct bnx2 *bp)
7765 bnx2_get_pci_speed(struct bnx2 *bp)
7817 bnx2_read_vpd_fw_ver(struct bnx2 *bp)
7887 struct bnx2 *bp;
8259 bnx2_bus_string(struct bnx2 *bp, char *str)
8279 bnx2_del_napi(struct bnx2 *bp)
8288 bnx2_init_napi(struct bnx2 *bp)
8337 struct bnx2 *bp;
8421 struct bnx2 *bp = netdev_priv(dev);
8447 struct bnx2 *bp = netdev_priv(dev);
8471 struct bnx2 *bp = netdev_priv(dev);
8496 struct bnx2 *bp = netdev_priv(dev);
8528 struct bnx2 *bp = netdev_priv(dev);
8560 struct bnx2 *bp = netdev_priv(dev);