Lines Matching refs:bnxt

35 	struct bnxt *bp = netdev_priv(dev);  in bnxt_get_msglevel()
42 struct bnxt *bp = netdev_priv(dev); in bnxt_set_msglevel()
50 struct bnxt *bp = netdev_priv(dev); in bnxt_get_coalesce()
80 struct bnxt *bp = netdev_priv(dev); in bnxt_set_coalesce()
465 static int bnxt_get_num_tpa_ring_stats(struct bnxt *bp) in bnxt_get_num_tpa_ring_stats()
478 static int bnxt_get_num_ring_stats(struct bnxt *bp) in bnxt_get_num_ring_stats()
490 static int bnxt_get_num_stats(struct bnxt *bp) in bnxt_get_num_stats()
511 struct bnxt *bp = netdev_priv(dev); in bnxt_get_sset_count()
525 static bool is_rx_ring(struct bnxt *bp, int ring_num) in is_rx_ring()
530 static bool is_tx_ring(struct bnxt *bp, int ring_num) in is_tx_ring()
546 struct bnxt *bp = netdev_priv(dev); in bnxt_get_ethtool_stats()
653 struct bnxt *bp = netdev_priv(dev); in bnxt_get_strings()
765 struct bnxt *bp = netdev_priv(dev); in bnxt_get_ringparam()
779 struct bnxt *bp = netdev_priv(dev); in bnxt_set_ringparam()
802 struct bnxt *bp = netdev_priv(dev); in bnxt_get_channels()
851 struct bnxt *bp = netdev_priv(dev); in bnxt_set_channels()
947 static int bnxt_grxclsrlall(struct bnxt *bp, struct ethtool_rxnfc *cmd, in bnxt_grxclsrlall()
972 static int bnxt_grxclsrule(struct bnxt *bp, struct ethtool_rxnfc *cmd) in bnxt_grxclsrule()
1052 static u64 get_ethtool_ipv4_rss(struct bnxt *bp) in get_ethtool_ipv4_rss()
1059 static u64 get_ethtool_ipv6_rss(struct bnxt *bp) in get_ethtool_ipv6_rss()
1066 static int bnxt_grxfh(struct bnxt *bp, struct ethtool_rxnfc *cmd) in bnxt_grxfh()
1114 static int bnxt_srxfh(struct bnxt *bp, struct ethtool_rxnfc *cmd) in bnxt_srxfh()
1194 struct bnxt *bp = netdev_priv(dev); in bnxt_get_rxnfc()
1231 struct bnxt *bp = netdev_priv(dev); in bnxt_set_rxnfc()
1248 struct bnxt *bp = netdev_priv(dev); in bnxt_get_rxfh_indir_size()
1263 struct bnxt *bp = netdev_priv(dev); in bnxt_get_rxfh()
1289 struct bnxt *bp = netdev_priv(dev); in bnxt_set_rxfh()
1318 struct bnxt *bp = netdev_priv(dev); in bnxt_get_drvinfo()
1333 struct bnxt *bp = netdev_priv(dev); in bnxt_get_regs_len()
1352 struct bnxt *bp = netdev_priv(dev); in bnxt_get_regs()
1389 struct bnxt *bp = netdev_priv(dev); in bnxt_get_wol()
1403 struct bnxt *bp = netdev_priv(dev); in bnxt_set_wol()
1664 struct bnxt *bp = netdev_priv(dev); in bnxt_get_link_ksettings()
1725 struct bnxt *bp = netdev_priv(dev); in bnxt_force_link_speed()
1830 struct bnxt *bp = netdev_priv(dev); in bnxt_set_link_ksettings()
1893 struct bnxt *bp = netdev_priv(dev); in bnxt_get_fecparam()
1951 struct bnxt *bp = netdev_priv(dev); in bnxt_set_fecparam()
1997 struct bnxt *bp = netdev_priv(dev); in bnxt_get_pauseparam()
2010 struct bnxt *bp = netdev_priv(dev); in bnxt_get_pause_stats()
2027 struct bnxt *bp = netdev_priv(dev); in bnxt_set_pauseparam()
2069 struct bnxt *bp = netdev_priv(dev); in bnxt_get_link()
2075 int bnxt_hwrm_nvm_get_dev_info(struct bnxt *bp, in bnxt_hwrm_nvm_get_dev_info()
2094 static void bnxt_print_admin_err(struct bnxt *bp) in bnxt_print_admin_err()
2111 struct bnxt *bp = netdev_priv(dev); in bnxt_flash_nvram()
2147 struct bnxt *bp = netdev_priv(dev); in bnxt_hwrm_firmware_reset()
2206 struct bnxt *bp = netdev_priv(dev); in bnxt_firmware_reset_chip()
2425 struct bnxt *bp = netdev_priv(dev); in bnxt_flash_package_from_file()
2523 if (!BNXT_PF((struct bnxt *)netdev_priv(dev))) { in bnxt_flash_device()
2538 struct bnxt *bp = netdev_priv(dev); in nvm_get_dir_info()
2557 struct bnxt *bp = netdev_priv(dev); in bnxt_get_eeprom_len()
2570 struct bnxt *bp = netdev_priv(dev); in bnxt_get_nvram_directory()
2615 struct bnxt *bp = netdev_priv(dev); in bnxt_get_nvram_item()
2648 struct bnxt *bp = netdev_priv(dev); in bnxt_find_nvram_item()
2709 struct bnxt *bp = netdev_priv(dev); in bnxt_get_pkgver()
2765 struct bnxt *bp = netdev_priv(dev); in bnxt_erase_nvram_directory()
2777 struct bnxt *bp = netdev_priv(dev); in bnxt_set_eeprom()
2816 struct bnxt *bp = netdev_priv(dev); in bnxt_set_eee()
2874 struct bnxt *bp = netdev_priv(dev); in bnxt_get_eee()
2894 static int bnxt_read_sfp_module_eeprom_info(struct bnxt *bp, u16 i2c_addr, in bnxt_read_sfp_module_eeprom_info()
2931 struct bnxt *bp = netdev_priv(dev); in bnxt_get_module_info()
2981 struct bnxt *bp = netdev_priv(dev); in bnxt_get_module_eeprom()
3013 struct bnxt *bp = netdev_priv(dev); in bnxt_nway_reset()
3032 struct bnxt *bp = netdev_priv(dev); in bnxt_set_phys_id()
3066 static int bnxt_hwrm_selftest_irq(struct bnxt *bp, u16 cmpl_ring) in bnxt_hwrm_selftest_irq()
3074 static int bnxt_test_irq(struct bnxt *bp) in bnxt_test_irq()
3089 static int bnxt_hwrm_mac_loopback(struct bnxt *bp, bool enable) in bnxt_hwrm_mac_loopback()
3103 static int bnxt_query_force_speeds(struct bnxt *bp, u16 *force_speeds) in bnxt_query_force_speeds()
3119 static int bnxt_disable_an_for_lpbk(struct bnxt *bp, in bnxt_disable_an_for_lpbk()
3156 static int bnxt_hwrm_phy_loopback(struct bnxt *bp, bool enable, bool ext) in bnxt_hwrm_phy_loopback()
3175 static int bnxt_rx_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_rx_loopback()
3208 static int bnxt_poll_loopback(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, in bnxt_poll_loopback()
3243 static int bnxt_run_loopback(struct bnxt *bp) in bnxt_run_loopback()
3288 static int bnxt_run_fw_tests(struct bnxt *bp, u8 test_mask, u8 *test_results) in bnxt_run_fw_tests()
3313 struct bnxt *bp = netdev_priv(dev); in bnxt_self_test()
3407 struct bnxt *bp = netdev_priv(dev); in bnxt_reset()
3459 static int bnxt_hwrm_dbg_dma_data(struct bnxt *bp, void *msg, int msg_len, in bnxt_hwrm_dbg_dma_data()
3533 static int bnxt_hwrm_dbg_coredump_list(struct bnxt *bp, in bnxt_hwrm_dbg_coredump_list()
3556 static int bnxt_hwrm_dbg_coredump_initiate(struct bnxt *bp, u16 component_id, in bnxt_hwrm_dbg_coredump_initiate()
3568 static int bnxt_hwrm_dbg_coredump_retrieve(struct bnxt *bp, u16 component_id, in bnxt_hwrm_dbg_coredump_retrieve()
3599 bnxt_fill_coredump_seg_hdr(struct bnxt *bp, in bnxt_fill_coredump_seg_hdr()
3627 bnxt_fill_coredump_record(struct bnxt *bp, struct bnxt_coredump_record *record, in bnxt_fill_coredump_record()
3676 static int bnxt_get_coredump(struct bnxt *bp, void *buf, u32 *dump_len) in bnxt_get_coredump()
3781 struct bnxt *bp = netdev_priv(dev); in bnxt_set_dump()
3799 struct bnxt *bp = netdev_priv(dev); in bnxt_get_dump_flag()
3820 struct bnxt *bp = netdev_priv(dev); in bnxt_get_dump_data()
3839 void bnxt_ethtool_init(struct bnxt *bp) in bnxt_ethtool_init()
3903 void bnxt_ethtool_free(struct bnxt *bp) in bnxt_ethtool_free()