• Home
  • Raw
  • Download

Lines Matching defs:bp

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() local
264 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link_ksettings() local
371 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_link_ksettings() local
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() local
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() local
1021 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_preset_regs_len() local
1033 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_dump() local
1046 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_dump_flag() local
1062 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_dump_data() local
1110 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_drvinfo() local
1143 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_wol() local
1160 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_wol() local
1184 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_msglevel() local
1191 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_msglevel() local
1203 struct bnx2x *bp = netdev_priv(dev); in bnx2x_nway_reset() local
1219 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_link() local
1233 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eeprom_len() local
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() local
1507 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_module_eeprom() local
1571 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_module_info() local
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() local
1885 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_coalesce() local
1900 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_coalesce() local
1921 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ringparam() local
1947 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_ringparam() local
1983 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_pauseparam() local
2008 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_pauseparam() local
2113 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_eee() local
2146 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_eee() local
2232 static int bnx2x_test_registers(struct bnx2x *bp) in bnx2x_test_registers()
2387 static int bnx2x_test_memory(struct bnx2x *bp) in bnx2x_test_memory()
2473 static void bnx2x_wait_for_link(struct bnx2x *bp, u8 link_up, u8 is_serdes) in bnx2x_wait_for_link()
2494 static int bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode) in bnx2x_run_loopback()
2698 static int bnx2x_test_loopback(struct bnx2x *bp) in bnx2x_test_loopback()
2729 static int bnx2x_test_ext_loopback(struct bnx2x *bp) in bnx2x_test_ext_loopback()
2783 static int bnx2x_nvram_crc(struct bnx2x *bp, in bnx2x_nvram_crc()
2812 static int bnx2x_test_nvram_dir(struct bnx2x *bp, in bnx2x_test_nvram_dir()
2832 static int bnx2x_test_dir_entry(struct bnx2x *bp, u32 addr, u8 *buff) in bnx2x_test_dir_entry()
2844 static int bnx2x_test_nvram_ext_dirs(struct bnx2x *bp, u8 *buff) in bnx2x_test_nvram_ext_dirs()
2878 static int bnx2x_test_nvram_dirs(struct bnx2x *bp, u8 *buff) in bnx2x_test_nvram_dirs()
2901 static int bnx2x_test_nvram_tbl(struct bnx2x *bp, in bnx2x_test_nvram_tbl()
2920 static int bnx2x_test_nvram(struct bnx2x *bp) in bnx2x_test_nvram()
2991 static int bnx2x_test_intr(struct bnx2x *bp) in bnx2x_test_intr()
3012 struct bnx2x *bp = netdev_priv(dev); in bnx2x_self_test() local
3132 #define HIDE_PORT_STAT(bp) IS_VF(bp) argument
3137 static int bnx2x_num_stat_queues(struct bnx2x *bp) in bnx2x_num_stat_queues()
3144 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_sset_count() local
3176 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_private_flags() local
3188 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_strings() local
3239 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ethtool_stats() local
3292 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_phys_id() local
3329 static int bnx2x_get_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_get_rss_flags()
3366 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_rxnfc() local
3380 static int bnx2x_set_rss_flags(struct bnx2x *bp, struct ethtool_rxnfc *info) in bnx2x_set_rss_flags()
3473 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_rxnfc() local
3492 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_rxfh() local
3522 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_rxfh() local
3563 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_channels() local
3578 static void bnx2x_change_num_queues(struct bnx2x *bp, int num_rss) in bnx2x_change_num_queues()
3596 struct bnx2x *bp = netdev_priv(dev); in bnx2x_set_channels() local
3640 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_ts_info() local
3734 void bnx2x_set_ethtool_ops(struct bnx2x *bp, struct net_device *netdev) in bnx2x_set_ethtool_ops()