Lines Matching refs:bnx2x

192 static int bnx2x_get_port_type(struct bnx2x *bp)  in bnx2x_get_port_type()
224 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_link_ksettings()
264 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link_ksettings()
371 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_link_ksettings()
692 static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) in __bnx2x_get_preset_regs_len()
708 static int __bnx2x_get_regs_len(struct bnx2x *bp) in __bnx2x_get_regs_len()
722 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs_len()
745 static const u32 *__bnx2x_get_page_addr_ar(struct bnx2x *bp) in __bnx2x_get_page_addr_ar()
755 static u32 __bnx2x_get_page_reg_num(struct bnx2x *bp) in __bnx2x_get_page_reg_num()
765 static const u32 *__bnx2x_get_page_write_ar(struct bnx2x *bp) in __bnx2x_get_page_write_ar()
775 static u32 __bnx2x_get_page_write_num(struct bnx2x *bp) in __bnx2x_get_page_write_num()
785 static const struct reg_addr *__bnx2x_get_page_read_ar(struct bnx2x *bp) in __bnx2x_get_page_read_ar()
795 static u32 __bnx2x_get_page_read_num(struct bnx2x *bp) in __bnx2x_get_page_read_num()
805 static bool bnx2x_is_reg_in_chip(struct bnx2x *bp, in bnx2x_is_reg_in_chip()
822 static bool bnx2x_is_wreg_in_chip(struct bnx2x *bp, in bnx2x_is_wreg_in_chip()
851 static void bnx2x_read_pages_regs(struct bnx2x *bp, u32 *p, u32 preset) in bnx2x_read_pages_regs()
887 static int __bnx2x_get_preset_regs(struct bnx2x *bp, u32 *p, u32 preset) in __bnx2x_get_preset_regs()
946 static void __bnx2x_get_regs(struct bnx2x *bp, u32 *p) in __bnx2x_get_regs()
967 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs()
1021 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_preset_regs_len()
1033 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_dump()
1046 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_dump_flag()
1062 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_dump_data()
1110 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_drvinfo()
1143 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_wol()
1160 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_wol()
1184 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_msglevel()
1191 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_msglevel()
1203 struct bnx2x *bp = netdev_priv(dev); in bnx2x_nway_reset()
1219 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link()
1233 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eeprom_len()
1251 static int bnx2x_acquire_nvram_lock(struct bnx2x *bp) in bnx2x_acquire_nvram_lock()
1287 static int bnx2x_release_nvram_lock(struct bnx2x *bp) in bnx2x_release_nvram_lock()
1321 static void bnx2x_enable_nvram_access(struct bnx2x *bp) in bnx2x_enable_nvram_access()
1333 static void bnx2x_disable_nvram_access(struct bnx2x *bp) in bnx2x_disable_nvram_access()
1345 static int bnx2x_nvram_read_dword(struct bnx2x *bp, u32 offset, __be32 *ret_val, in bnx2x_nvram_read_dword()
1393 int bnx2x_nvram_read(struct bnx2x *bp, u32 offset, u8 *ret_buf, in bnx2x_nvram_read()
1448 static int bnx2x_nvram_read32(struct bnx2x *bp, u32 offset, u32 *buf, in bnx2x_nvram_read32()
1465 static bool bnx2x_is_nvm_accessible(struct bnx2x *bp) in bnx2x_is_nvm_accessible()
1485 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eeprom()
1507 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_module_eeprom()
1571 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_module_info()
1619 static int bnx2x_nvram_write_dword(struct bnx2x *bp, u32 offset, u32 val, in bnx2x_nvram_write_dword()
1664 static int bnx2x_nvram_write1(struct bnx2x *bp, u32 offset, u8 *data_buf, in bnx2x_nvram_write1()
1712 static int bnx2x_nvram_write(struct bnx2x *bp, u32 offset, u8 *data_buf, in bnx2x_nvram_write()
1798 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_eeprom()
1883 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_coalesce()
1896 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_coalesce()
1915 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ringparam()
1939 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_ringparam()
1975 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_pauseparam()
2000 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_pauseparam()
2105 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eee()
2138 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_eee()
2224 static int bnx2x_test_registers(struct bnx2x *bp) in bnx2x_test_registers()
2379 static int bnx2x_test_memory(struct bnx2x *bp) in bnx2x_test_memory()
2465 static void bnx2x_wait_for_link(struct bnx2x *bp, u8 link_up, u8 is_serdes) in bnx2x_wait_for_link()
2486 static int bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode) in bnx2x_run_loopback()
2690 static int bnx2x_test_loopback(struct bnx2x *bp) in bnx2x_test_loopback()
2721 static int bnx2x_test_ext_loopback(struct bnx2x *bp) in bnx2x_test_ext_loopback()
2775 static int bnx2x_nvram_crc(struct bnx2x *bp, in bnx2x_nvram_crc()
2804 static int bnx2x_test_nvram_dir(struct bnx2x *bp, in bnx2x_test_nvram_dir()
2824 static int bnx2x_test_dir_entry(struct bnx2x *bp, u32 addr, u8 *buff) in bnx2x_test_dir_entry()
2836 static int bnx2x_test_nvram_ext_dirs(struct bnx2x *bp, u8 *buff) in bnx2x_test_nvram_ext_dirs()
2870 static int bnx2x_test_nvram_dirs(struct bnx2x *bp, u8 *buff) in bnx2x_test_nvram_dirs()
2893 static int bnx2x_test_nvram_tbl(struct bnx2x *bp, in bnx2x_test_nvram_tbl()
2912 static int bnx2x_test_nvram(struct bnx2x *bp) in bnx2x_test_nvram()
2983 static int bnx2x_test_intr(struct bnx2x *bp) in bnx2x_test_intr()
3004 struct bnx2x *bp = netdev_priv(dev); in bnx2x_self_test()
3129 static int bnx2x_num_stat_queues(struct bnx2x *bp) in bnx2x_num_stat_queues()
3136 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_sset_count()
3168 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_private_flags()
3180 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_strings()
3231 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ethtool_stats()
3284 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_phys_id()
3321 static int bnx2x_get_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_get_rss_flags()
3358 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_rxnfc()
3372 static int bnx2x_set_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_set_rss_flags()
3465 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_rxnfc()
3484 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_rxfh()
3514 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_rxfh()
3555 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_channels()
3570 static void bnx2x_change_num_queues(struct bnx2x *bp, int num_rss) in bnx2x_change_num_queues()
3588 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_channels()
3632 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ts_info()
3726 void bnx2x_set_ethtool_ops(struct bnx2x *bp, struct net_device *netdev) in bnx2x_set_ethtool_ops()