Lines Matching refs:bnxt
48 struct bnxt *bp = netdev_priv(dev); in bnxt_get_msglevel()
55 struct bnxt *bp = netdev_priv(dev); in bnxt_set_msglevel()
65 struct bnxt *bp = netdev_priv(dev); in bnxt_get_coalesce()
103 struct bnxt *bp = netdev_priv(dev); in bnxt_set_coalesce()
510 static int bnxt_get_num_tpa_ring_stats(struct bnxt *bp) in bnxt_get_num_tpa_ring_stats()
523 static int bnxt_get_num_ring_stats(struct bnxt *bp) in bnxt_get_num_ring_stats()
536 static int bnxt_get_num_stats(struct bnxt *bp) in bnxt_get_num_stats()
562 struct bnxt *bp = netdev_priv(dev); in bnxt_get_sset_count()
576 static bool is_rx_ring(struct bnxt *bp, int ring_num) in is_rx_ring()
581 static bool is_tx_ring(struct bnxt *bp, int ring_num) in is_tx_ring()
597 struct bnxt *bp = netdev_priv(dev); in bnxt_get_ethtool_stats()
707 struct bnxt *bp = netdev_priv(dev); in bnxt_get_strings()
827 struct bnxt *bp = netdev_priv(dev); in bnxt_get_ringparam()
850 struct bnxt *bp = netdev_priv(dev); in bnxt_set_ringparam()
873 struct bnxt *bp = netdev_priv(dev); in bnxt_get_channels()
922 struct bnxt *bp = netdev_priv(dev); in bnxt_set_channels()
1015 static u32 bnxt_get_all_fltr_ids_rcu(struct bnxt *bp, struct hlist_head tbl[], in bnxt_get_all_fltr_ids_rcu()
1040 static struct bnxt_filter_base *bnxt_get_one_fltr_rcu(struct bnxt *bp, in bnxt_get_one_fltr_rcu()
1059 static int bnxt_grxclsrlall(struct bnxt *bp, struct ethtool_rxnfc *cmd, in bnxt_grxclsrlall()
1078 static int bnxt_grxclsrule(struct bnxt *bp, struct ethtool_rxnfc *cmd) in bnxt_grxclsrule()
1208 static struct bnxt_rss_ctx *bnxt_get_rss_ctx_from_index(struct bnxt *bp, in bnxt_get_rss_ctx_from_index()
1219 static int bnxt_alloc_vnic_rss_table(struct bnxt *bp, in bnxt_alloc_vnic_rss_table()
1237 static int bnxt_add_l2_cls_rule(struct bnxt *bp, in bnxt_add_l2_cls_rule()
1311 static int bnxt_add_ntuple_cls_rule(struct bnxt *bp, in bnxt_add_ntuple_cls_rule()
1472 static int bnxt_srxclsrlins(struct bnxt *bp, struct ethtool_rxnfc *cmd) in bnxt_srxclsrlins()
1514 static int bnxt_srxclsrldel(struct bnxt *bp, struct ethtool_rxnfc *cmd) in bnxt_srxclsrldel()
1551 static u64 get_ethtool_ipv4_rss(struct bnxt *bp) in get_ethtool_ipv4_rss()
1558 static u64 get_ethtool_ipv6_rss(struct bnxt *bp) in get_ethtool_ipv6_rss()
1565 static int bnxt_grxfh(struct bnxt *bp, struct ethtool_rxnfc *cmd) in bnxt_grxfh()
1625 static int bnxt_srxfh(struct bnxt *bp, struct ethtool_rxnfc *cmd) in bnxt_srxfh()
1725 struct bnxt *bp = netdev_priv(dev); in bnxt_get_rxnfc()
1760 struct bnxt *bp = netdev_priv(dev); in bnxt_set_rxnfc()
1785 struct bnxt *bp = netdev_priv(dev); in bnxt_get_rxfh_indir_size()
1802 struct bnxt *bp = netdev_priv(dev); in bnxt_get_rxfh()
1836 static void bnxt_modify_rss(struct bnxt *bp, struct ethtool_rxfh_context *ctx, in bnxt_modify_rss()
1863 static int bnxt_rxfh_context_check(struct bnxt *bp, in bnxt_rxfh_context_check()
1890 struct bnxt *bp = netdev_priv(dev); in bnxt_create_rxfh_context()
1960 struct bnxt *bp = netdev_priv(dev); in bnxt_modify_rxfh_context()
1980 struct bnxt *bp = netdev_priv(dev); in bnxt_remove_rxfh_context()
1993 struct bnxt *bp = netdev_priv(dev); in bnxt_set_rxfh()
2011 struct bnxt *bp = netdev_priv(dev); in bnxt_get_drvinfo()
2026 struct bnxt *bp = netdev_priv(dev); in bnxt_get_regs_len()
2045 struct bnxt *bp = netdev_priv(dev); in bnxt_get_regs()
2083 struct bnxt *bp = netdev_priv(dev); in bnxt_get_wol()
2097 struct bnxt *bp = netdev_priv(dev); in bnxt_set_wol()
2419 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); in bnxt_get_ethtool_modes()
2576 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); in bnxt_get_all_ethtool_support_speeds()
2601 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); in bnxt_get_all_ethtool_adv_speeds()
2625 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); in bnxt_get_all_ethtool_lp_speeds()
2662 struct bnxt *bp = container_of(link_info, struct bnxt, link_info); in bnxt_set_ethtool_speeds()
2805 struct bnxt *bp = netdev_priv(dev); in bnxt_get_link_ksettings()
2867 struct bnxt *bp = netdev_priv(dev); in bnxt_force_link_speed()
3026 struct bnxt *bp = netdev_priv(dev); in bnxt_set_link_ksettings()
3087 struct bnxt *bp = netdev_priv(dev); in bnxt_get_fecparam()
3133 struct bnxt *bp = netdev_priv(dev); in bnxt_get_fec_stats()
3170 struct bnxt *bp = netdev_priv(dev); in bnxt_set_fecparam()
3218 struct bnxt *bp = netdev_priv(dev); in bnxt_get_pauseparam()
3231 struct bnxt *bp = netdev_priv(dev); in bnxt_get_pause_stats()
3248 struct bnxt *bp = netdev_priv(dev); in bnxt_set_pauseparam()
3288 struct bnxt *bp = netdev_priv(dev); in bnxt_get_link()
3294 int bnxt_hwrm_nvm_get_dev_info(struct bnxt *bp, in bnxt_hwrm_nvm_get_dev_info()
3316 static void bnxt_print_admin_err(struct bnxt *bp) in bnxt_print_admin_err()
3330 struct bnxt *bp = netdev_priv(dev); in bnxt_flash_nvram()
3370 struct bnxt *bp = netdev_priv(dev); in bnxt_hwrm_firmware_reset()
3436 struct bnxt *bp = netdev_priv(dev); in bnxt_firmware_reset_chip()
3742 struct bnxt *bp = netdev_priv(dev); in bnxt_flash_package_from_fw_obj()
3919 if (!BNXT_PF((struct bnxt *)netdev_priv(dev))) { in bnxt_flash_device()
3936 struct bnxt *bp = netdev_priv(dev); in nvm_get_dir_info()
3955 struct bnxt *bp = netdev_priv(dev); in bnxt_get_eeprom_len()
3968 struct bnxt *bp = netdev_priv(dev); in bnxt_get_nvram_directory()
4016 struct bnxt *bp = netdev_priv(dev); in bnxt_get_nvram_item()
4054 struct bnxt *bp = netdev_priv(dev); in bnxt_find_nvram_item()
4116 struct bnxt *bp = netdev_priv(dev); in bnxt_get_pkginfo()
4155 struct bnxt *bp = netdev_priv(dev); in bnxt_get_pkgver()
4190 struct bnxt *bp = netdev_priv(dev); in bnxt_erase_nvram_directory()
4205 struct bnxt *bp = netdev_priv(dev); in bnxt_set_eeprom()
4246 struct bnxt *bp = netdev_priv(dev); in bnxt_set_eee()
4302 struct bnxt *bp = netdev_priv(dev); in bnxt_get_eee()
4322 static int bnxt_read_sfp_module_eeprom_info(struct bnxt *bp, u16 i2c_addr, in bnxt_read_sfp_module_eeprom_info()
4367 struct bnxt *bp = netdev_priv(dev); in bnxt_get_module_info()
4417 struct bnxt *bp = netdev_priv(dev); in bnxt_get_module_eeprom()
4445 static int bnxt_get_module_status(struct bnxt *bp, struct netlink_ext_ack *extack) in bnxt_get_module_status()
4472 struct bnxt *bp = netdev_priv(dev); in bnxt_get_module_eeprom_by_page()
4505 struct bnxt *bp = netdev_priv(dev); in bnxt_nway_reset()
4524 struct bnxt *bp = netdev_priv(dev); in bnxt_set_phys_id()
4561 static int bnxt_hwrm_selftest_irq(struct bnxt *bp, u16 cmpl_ring) in bnxt_hwrm_selftest_irq()
4574 static int bnxt_test_irq(struct bnxt *bp) in bnxt_test_irq()
4589 static int bnxt_hwrm_mac_loopback(struct bnxt *bp, bool enable) in bnxt_hwrm_mac_loopback()
4606 static int bnxt_query_force_speeds(struct bnxt *bp, u16 *force_speeds) in bnxt_query_force_speeds()
4625 static int bnxt_disable_an_for_lpbk(struct bnxt *bp, in bnxt_disable_an_for_lpbk()
4662 static int bnxt_hwrm_phy_loopback(struct bnxt *bp, bool enable, bool ext) in bnxt_hwrm_phy_loopback()
4689 static int bnxt_rx_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_rx_loopback()
4722 static int bnxt_poll_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_poll_loopback()
4758 static int bnxt_run_loopback(struct bnxt *bp) in bnxt_run_loopback()
4803 static int bnxt_run_fw_tests(struct bnxt *bp, u8 test_mask, u8 *test_results) in bnxt_run_fw_tests()
4832 struct bnxt *bp = netdev_priv(dev); in bnxt_self_test()
4932 struct bnxt *bp = netdev_priv(dev); in bnxt_reset()
4986 struct bnxt *bp = netdev_priv(dev); in bnxt_set_dump()
5011 struct bnxt *bp = netdev_priv(dev); in bnxt_get_dump_flag()
5029 struct bnxt *bp = netdev_priv(dev); in bnxt_get_dump_data()
5043 struct bnxt *bp = netdev_priv(dev); in bnxt_get_ts_info()
5069 void bnxt_ethtool_init(struct bnxt *bp) in bnxt_ethtool_init()
5134 struct bnxt *bp = netdev_priv(dev); in bnxt_get_eth_phy_stats()
5148 struct bnxt *bp = netdev_priv(dev); in bnxt_get_eth_mac_stats()
5172 struct bnxt *bp = netdev_priv(dev); in bnxt_get_eth_ctrl_stats()
5201 struct bnxt *bp = netdev_priv(dev); in bnxt_get_rmon_stats()
5261 struct bnxt *bp = netdev_priv(dev); in bnxt_get_ptp_stats()
5274 struct bnxt *bp = netdev_priv(dev); in bnxt_get_link_ext_stats()
5285 void bnxt_ethtool_free(struct bnxt *bp) in bnxt_ethtool_free()