Lines Matching refs:hinic_dev
259 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_link_ksettings()
365 static bool hinic_is_speed_legal(struct hinic_dev *nic_dev, u32 speed) in hinic_is_speed_legal()
391 static int get_link_settings_type(struct hinic_dev *nic_dev, in get_link_settings_type()
423 static int set_link_settings_separate_cmd(struct hinic_dev *nic_dev, in set_link_settings_separate_cmd()
457 static int hinic_set_settings_to_hw(struct hinic_dev *nic_dev, in hinic_set_settings_to_hw()
504 struct hinic_dev *nic_dev = netdev_priv(netdev); in set_link_settings()
532 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_drvinfo()
553 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_ringparam()
561 static int check_ringparam_valid(struct hinic_dev *nic_dev, in check_ringparam_valid()
588 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_set_ringparam()
634 struct hinic_dev *nic_dev = netdev_priv(netdev); in __hinic_get_coalesce()
677 static int set_queue_coalesce(struct hinic_dev *nic_dev, u16 q_id, in set_queue_coalesce()
716 static int __set_hw_coal_param(struct hinic_dev *nic_dev, in __set_hw_coal_param()
748 struct hinic_dev *nic_dev = netdev_priv(netdev); in __hinic_set_coalesce()
829 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_pauseparam()
852 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_set_pauseparam()
886 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_channels()
896 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_set_channels()
922 static int hinic_get_rss_hash_opts(struct hinic_dev *nic_dev, in hinic_get_rss_hash_opts()
1003 static int hinic_set_rss_hash_opts(struct hinic_dev *nic_dev, in hinic_set_rss_hash_opts()
1060 struct hinic_dev *nic_dev = netdev_priv(netdev); in __set_rss_rxfh()
1104 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_rxnfc()
1124 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_set_rxnfc()
1142 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_rxfh()
1176 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_set_rxfh()
1366 static void get_drv_queue_stats(struct hinic_dev *nic_dev, u64 *data) in get_drv_queue_stats()
1403 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_ethtool_stats()
1448 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_sset_count()
1471 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_strings()
1512 static int hinic_run_lp_test(struct hinic_dev *nic_dev, u32 test_time) in hinic_run_lp_test()
1590 static int do_lp_test(struct hinic_dev *nic_dev, u32 flags, u32 test_time, in do_lp_test()
1638 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_diag_test()
1674 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_set_phys_id()
1707 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_module_info()
1751 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_module_eeprom()
1774 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_get_link_ext_state()
1855 struct hinic_dev *nic_dev = netdev_priv(netdev); in hinic_set_ethtool_ops()