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_settings()
258 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_settings()
342 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_settings()
645 static int __bnx2x_get_preset_regs_len(struct bnx2x *bp, u32 preset) in __bnx2x_get_preset_regs_len()
661 static int __bnx2x_get_regs_len(struct bnx2x *bp) in __bnx2x_get_regs_len()
675 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs_len()
698 static const u32 *__bnx2x_get_page_addr_ar(struct bnx2x *bp) in __bnx2x_get_page_addr_ar()
708 static u32 __bnx2x_get_page_reg_num(struct bnx2x *bp) in __bnx2x_get_page_reg_num()
718 static const u32 *__bnx2x_get_page_write_ar(struct bnx2x *bp) in __bnx2x_get_page_write_ar()
728 static u32 __bnx2x_get_page_write_num(struct bnx2x *bp) in __bnx2x_get_page_write_num()
738 static const struct reg_addr *__bnx2x_get_page_read_ar(struct bnx2x *bp) in __bnx2x_get_page_read_ar()
748 static u32 __bnx2x_get_page_read_num(struct bnx2x *bp) in __bnx2x_get_page_read_num()
758 static bool bnx2x_is_reg_in_chip(struct bnx2x *bp, in bnx2x_is_reg_in_chip()
775 static bool bnx2x_is_wreg_in_chip(struct bnx2x *bp, in bnx2x_is_wreg_in_chip()
803 static void bnx2x_read_pages_regs(struct bnx2x *bp, u32 *p, u32 preset) in bnx2x_read_pages_regs()
839 static int __bnx2x_get_preset_regs(struct bnx2x *bp, u32 *p, u32 preset) in __bnx2x_get_preset_regs()
898 static void __bnx2x_get_regs(struct bnx2x *bp, u32 *p) in __bnx2x_get_regs()
919 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_regs()
968 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_preset_regs_len()
980 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_dump()
993 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_dump_flag()
1009 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_dump_data()
1057 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_drvinfo()
1073 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_wol()
1090 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_wol()
1111 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_msglevel()
1118 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_msglevel()
1130 struct bnx2x *bp = netdev_priv(dev); in bnx2x_nway_reset()
1146 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link()
1160 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eeprom_len()
1178 static int bnx2x_acquire_nvram_lock(struct bnx2x *bp) in bnx2x_acquire_nvram_lock()
1213 static int bnx2x_release_nvram_lock(struct bnx2x *bp) in bnx2x_release_nvram_lock()
1247 static void bnx2x_enable_nvram_access(struct bnx2x *bp) in bnx2x_enable_nvram_access()
1259 static void bnx2x_disable_nvram_access(struct bnx2x *bp) in bnx2x_disable_nvram_access()
1271 static int bnx2x_nvram_read_dword(struct bnx2x *bp, u32 offset, __be32 *ret_val, in bnx2x_nvram_read_dword()
1319 static int bnx2x_nvram_read(struct bnx2x *bp, u32 offset, u8 *ret_buf, in bnx2x_nvram_read()
1374 static int bnx2x_nvram_read32(struct bnx2x *bp, u32 offset, u32 *buf, in bnx2x_nvram_read32()
1391 static bool bnx2x_is_nvm_accessible(struct bnx2x *bp) in bnx2x_is_nvm_accessible()
1411 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eeprom()
1433 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_module_eeprom()
1497 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_module_info()
1544 static int bnx2x_nvram_write_dword(struct bnx2x *bp, u32 offset, u32 val, in bnx2x_nvram_write_dword()
1589 static int bnx2x_nvram_write1(struct bnx2x *bp, u32 offset, u8 *data_buf, in bnx2x_nvram_write1()
1637 static int bnx2x_nvram_write(struct bnx2x *bp, u32 offset, u8 *data_buf, in bnx2x_nvram_write()
1707 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_eeprom()
1792 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_coalesce()
1805 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_coalesce()
1824 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ringparam()
1840 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_ringparam()
1876 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_pauseparam()
1901 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_pauseparam()
2005 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eee()
2038 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_eee()
2124 static int bnx2x_test_registers(struct bnx2x *bp) in bnx2x_test_registers()
2279 static int bnx2x_test_memory(struct bnx2x *bp) in bnx2x_test_memory()
2365 static void bnx2x_wait_for_link(struct bnx2x *bp, u8 link_up, u8 is_serdes) in bnx2x_wait_for_link()
2386 static int bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode) in bnx2x_run_loopback()
2590 static int bnx2x_test_loopback(struct bnx2x *bp) in bnx2x_test_loopback()
2621 static int bnx2x_test_ext_loopback(struct bnx2x *bp) in bnx2x_test_ext_loopback()
2675 static int bnx2x_nvram_crc(struct bnx2x *bp, in bnx2x_nvram_crc()
2704 static int bnx2x_test_nvram_dir(struct bnx2x *bp, in bnx2x_test_nvram_dir()
2724 static int bnx2x_test_dir_entry(struct bnx2x *bp, u32 addr, u8 *buff) in bnx2x_test_dir_entry()
2736 static int bnx2x_test_nvram_ext_dirs(struct bnx2x *bp, u8 *buff) in bnx2x_test_nvram_ext_dirs()
2770 static int bnx2x_test_nvram_dirs(struct bnx2x *bp, u8 *buff) in bnx2x_test_nvram_dirs()
2793 static int bnx2x_test_nvram_tbl(struct bnx2x *bp, in bnx2x_test_nvram_tbl()
2812 static int bnx2x_test_nvram(struct bnx2x *bp) in bnx2x_test_nvram()
2883 static int bnx2x_test_intr(struct bnx2x *bp) in bnx2x_test_intr()
2904 struct bnx2x *bp = netdev_priv(dev); in bnx2x_self_test()
3033 static int bnx2x_num_stat_queues(struct bnx2x *bp) in bnx2x_num_stat_queues()
3040 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_sset_count()
3072 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_private_flags()
3084 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_strings()
3134 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ethtool_stats()
3187 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_phys_id()
3224 static int bnx2x_get_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_get_rss_flags()
3261 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_rxnfc()
3275 static int bnx2x_set_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_set_rss_flags()
3357 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_rxnfc()
3376 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_rxfh()
3406 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_rxfh()
3444 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_channels()
3458 static void bnx2x_change_num_queues(struct bnx2x *bp, int num_rss) in bnx2x_change_num_queues()
3476 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_channels()
3520 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ts_info()
3622 void bnx2x_set_ethtool_ops(struct bnx2x *bp, struct net_device *netdev) in bnx2x_set_ethtool_ops()