Lines Matching refs:bnx2x

190 static int bnx2x_get_port_type(struct bnx2x *bp)  in bnx2x_get_port_type()
222 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_link_ksettings()
262 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link_ksettings()
369 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_link_ksettings()
690 static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) in __bnx2x_get_preset_regs_len()
706 static int __bnx2x_get_regs_len(struct bnx2x *bp) in __bnx2x_get_regs_len()
720 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs_len()
743 static const u32 *__bnx2x_get_page_addr_ar(struct bnx2x *bp) in __bnx2x_get_page_addr_ar()
753 static u32 __bnx2x_get_page_reg_num(struct bnx2x *bp) in __bnx2x_get_page_reg_num()
763 static const u32 *__bnx2x_get_page_write_ar(struct bnx2x *bp) in __bnx2x_get_page_write_ar()
773 static u32 __bnx2x_get_page_write_num(struct bnx2x *bp) in __bnx2x_get_page_write_num()
783 static const struct reg_addr *__bnx2x_get_page_read_ar(struct bnx2x *bp) in __bnx2x_get_page_read_ar()
793 static u32 __bnx2x_get_page_read_num(struct bnx2x *bp) in __bnx2x_get_page_read_num()
803 static bool bnx2x_is_reg_in_chip(struct bnx2x *bp, in bnx2x_is_reg_in_chip()
820 static bool bnx2x_is_wreg_in_chip(struct bnx2x *bp, in bnx2x_is_wreg_in_chip()
848 static void bnx2x_read_pages_regs(struct bnx2x *bp, u32 *p, u32 preset) in bnx2x_read_pages_regs()
884 static int __bnx2x_get_preset_regs(struct bnx2x *bp, u32 *p, u32 preset) in __bnx2x_get_preset_regs()
943 static void __bnx2x_get_regs(struct bnx2x *bp, u32 *p) in __bnx2x_get_regs()
964 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs()
1018 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_preset_regs_len()
1030 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_dump()
1043 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_dump_flag()
1059 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_dump_data()
1107 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_drvinfo()
1119 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_wol()
1136 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_wol()
1160 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_msglevel()
1167 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_msglevel()
1179 struct bnx2x *bp = netdev_priv(dev); in bnx2x_nway_reset()
1195 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link()
1209 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eeprom_len()
1227 static int bnx2x_acquire_nvram_lock(struct bnx2x *bp) in bnx2x_acquire_nvram_lock()
1263 static int bnx2x_release_nvram_lock(struct bnx2x *bp) in bnx2x_release_nvram_lock()
1297 static void bnx2x_enable_nvram_access(struct bnx2x *bp) in bnx2x_enable_nvram_access()
1309 static void bnx2x_disable_nvram_access(struct bnx2x *bp) in bnx2x_disable_nvram_access()
1321 static int bnx2x_nvram_read_dword(struct bnx2x *bp, u32 offset, __be32 *ret_val, in bnx2x_nvram_read_dword()
1369 int bnx2x_nvram_read(struct bnx2x *bp, u32 offset, u8 *ret_buf, in bnx2x_nvram_read()
1424 static int bnx2x_nvram_read32(struct bnx2x *bp, u32 offset, u32 *buf, in bnx2x_nvram_read32()
1441 static bool bnx2x_is_nvm_accessible(struct bnx2x *bp) in bnx2x_is_nvm_accessible()
1461 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eeprom()
1483 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_module_eeprom()
1547 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_module_info()
1594 static int bnx2x_nvram_write_dword(struct bnx2x *bp, u32 offset, u32 val, in bnx2x_nvram_write_dword()
1639 static int bnx2x_nvram_write1(struct bnx2x *bp, u32 offset, u8 *data_buf, in bnx2x_nvram_write1()
1687 static int bnx2x_nvram_write(struct bnx2x *bp, u32 offset, u8 *data_buf, in bnx2x_nvram_write()
1773 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_eeprom()
1858 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_coalesce()
1871 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_coalesce()
1890 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ringparam()
1914 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_ringparam()
1950 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_pauseparam()
1975 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_pauseparam()
2080 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eee()
2113 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_eee()
2199 static int bnx2x_test_registers(struct bnx2x *bp) in bnx2x_test_registers()
2354 static int bnx2x_test_memory(struct bnx2x *bp) in bnx2x_test_memory()
2440 static void bnx2x_wait_for_link(struct bnx2x *bp, u8 link_up, u8 is_serdes) in bnx2x_wait_for_link()
2461 static int bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode) in bnx2x_run_loopback()
2666 static int bnx2x_test_loopback(struct bnx2x *bp) in bnx2x_test_loopback()
2697 static int bnx2x_test_ext_loopback(struct bnx2x *bp) in bnx2x_test_ext_loopback()
2751 static int bnx2x_nvram_crc(struct bnx2x *bp, in bnx2x_nvram_crc()
2780 static int bnx2x_test_nvram_dir(struct bnx2x *bp, in bnx2x_test_nvram_dir()
2800 static int bnx2x_test_dir_entry(struct bnx2x *bp, u32 addr, u8 *buff) in bnx2x_test_dir_entry()
2812 static int bnx2x_test_nvram_ext_dirs(struct bnx2x *bp, u8 *buff) in bnx2x_test_nvram_ext_dirs()
2846 static int bnx2x_test_nvram_dirs(struct bnx2x *bp, u8 *buff) in bnx2x_test_nvram_dirs()
2869 static int bnx2x_test_nvram_tbl(struct bnx2x *bp, in bnx2x_test_nvram_tbl()
2888 static int bnx2x_test_nvram(struct bnx2x *bp) in bnx2x_test_nvram()
2959 static int bnx2x_test_intr(struct bnx2x *bp) in bnx2x_test_intr()
2980 struct bnx2x *bp = netdev_priv(dev); in bnx2x_self_test()
3105 static int bnx2x_num_stat_queues(struct bnx2x *bp) in bnx2x_num_stat_queues()
3112 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_sset_count()
3144 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_private_flags()
3156 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_strings()
3207 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ethtool_stats()
3260 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_phys_id()
3297 static int bnx2x_get_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_get_rss_flags()
3334 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_rxnfc()
3348 static int bnx2x_set_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_set_rss_flags()
3441 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_rxnfc()
3460 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_rxfh()
3490 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_rxfh()
3531 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_channels()
3545 static void bnx2x_change_num_queues(struct bnx2x *bp, int num_rss) in bnx2x_change_num_queues()
3563 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_channels()
3607 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ts_info()
3700 void bnx2x_set_ethtool_ops(struct bnx2x *bp, struct net_device *netdev) in bnx2x_set_ethtool_ops()