Lines Matching refs:ae_algo

84 	if (!h->ae_algo->ops->set_loopback ||  in hns3_lp_setup()
85 !h->ae_algo->ops->set_promisc_mode) in hns3_lp_setup()
93 ret = h->ae_algo->ops->set_loopback(h, loop, en); in hns3_lp_setup()
104 h->ae_algo->ops->set_promisc_mode(h, true, true); in hns3_lp_setup()
350 if (h->ae_algo->ops->enable_vlan_filter) in hns3_self_test()
351 h->ae_algo->ops->enable_vlan_filter(h, false); in hns3_self_test()
358 if (h->ae_algo->ops->halt_autoneg) in hns3_self_test()
359 h->ae_algo->ops->halt_autoneg(h, true); in hns3_self_test()
383 if (h->ae_algo->ops->halt_autoneg) in hns3_self_test()
384 h->ae_algo->ops->halt_autoneg(h, false); in hns3_self_test()
387 if (h->ae_algo->ops->enable_vlan_filter) in hns3_self_test()
388 h->ae_algo->ops->enable_vlan_filter(h, true); in hns3_self_test()
400 const struct hnae3_ae_ops *ops = h->ae_algo->ops; in hns3_get_sset_count()
464 const struct hnae3_ae_ops *ops = h->ae_algo->ops; in hns3_get_strings()
528 if (!h->ae_algo->ops->get_stats || !h->ae_algo->ops->update_stats) { in hns3_get_stats()
533 h->ae_algo->ops->update_stats(h, &netdev->stats); in hns3_get_stats()
539 h->ae_algo->ops->get_stats(h, p); in hns3_get_stats()
549 if (!h->ae_algo->ops->get_fw_version) { in hns3_get_drvinfo()
562 fw_version = priv->ae_handle->ae_algo->ops->get_fw_version(h); in hns3_get_drvinfo()
580 if (h->ae_algo->ops->get_status) in hns3_get_link()
581 return h->ae_algo->ops->get_status(h); in hns3_get_link()
610 if (h->ae_algo->ops->get_pauseparam) in hns3_get_pauseparam()
611 h->ae_algo->ops->get_pauseparam(h, &param->autoneg, in hns3_get_pauseparam()
624 if (h->ae_algo->ops->set_pauseparam) in hns3_set_pauseparam()
625 return h->ae_algo->ops->set_pauseparam(h, param->autoneg, in hns3_set_pauseparam()
634 const struct hnae3_ae_ops *ops = h->ae_algo->ops; in hns3_get_ksettings()
664 ops = h->ae_algo->ops; in hns3_get_link_ksettings()
716 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns3_check_ksettings_param()
763 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns3_set_link_ksettings()
817 if (!h->ae_algo->ops->get_rss_key_size) in hns3_get_rss_key_size()
820 return h->ae_algo->ops->get_rss_key_size(h); in hns3_get_rss_key_size()
827 if (!h->ae_algo->ops->get_rss_indir_size) in hns3_get_rss_indir_size()
830 return h->ae_algo->ops->get_rss_indir_size(h); in hns3_get_rss_indir_size()
838 if (!h->ae_algo->ops->get_rss) in hns3_get_rss()
841 return h->ae_algo->ops->get_rss(h, indir, key, hfunc); in hns3_get_rss()
850 if (!h->ae_algo->ops->set_rss) in hns3_set_rss()
866 return h->ae_algo->ops->set_rss(h, indir, key, hfunc); in hns3_set_rss()
880 if (h->ae_algo->ops->get_rss_tuple) in hns3_get_rxnfc()
881 return h->ae_algo->ops->get_rss_tuple(h, cmd); in hns3_get_rxnfc()
884 if (h->ae_algo->ops->get_fd_rule_cnt) in hns3_get_rxnfc()
885 return h->ae_algo->ops->get_fd_rule_cnt(h, cmd); in hns3_get_rxnfc()
888 if (h->ae_algo->ops->get_fd_rule_info) in hns3_get_rxnfc()
889 return h->ae_algo->ops->get_fd_rule_info(h, cmd); in hns3_get_rxnfc()
892 if (h->ae_algo->ops->get_fd_all_rules) in hns3_get_rxnfc()
893 return h->ae_algo->ops->get_fd_all_rules(h, cmd, in hns3_get_rxnfc()
1027 if (h->ae_algo->ops->set_rss_tuple) in hns3_set_rxnfc()
1028 return h->ae_algo->ops->set_rss_tuple(h, cmd); in hns3_set_rxnfc()
1031 if (h->ae_algo->ops->add_fd_entry) in hns3_set_rxnfc()
1032 return h->ae_algo->ops->add_fd_entry(h, cmd); in hns3_set_rxnfc()
1035 if (h->ae_algo->ops->del_fd_entry) in hns3_set_rxnfc()
1036 return h->ae_algo->ops->del_fd_entry(h, cmd); in hns3_set_rxnfc()
1046 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns3_nway_reset()
1082 if (h->ae_algo->ops->get_channels) in hns3_get_channels()
1083 h->ae_algo->ops->get_channels(h, ch); in hns3_get_channels()
1278 if (!h->ae_algo->ops->get_regs_len) in hns3_get_regs_len()
1281 return h->ae_algo->ops->get_regs_len(h); in hns3_get_regs_len()
1289 if (!h->ae_algo->ops->get_regs) in hns3_get_regs()
1292 h->ae_algo->ops->get_regs(h, &cmd->version, data); in hns3_get_regs()
1300 if (!h->ae_algo->ops->set_led_id) in hns3_set_phys_id()
1303 return h->ae_algo->ops->set_led_id(h, state); in hns3_set_phys_id()
1362 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns3_get_fecparam()
1385 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns3_set_fecparam()
1407 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns3_get_module_info()
1457 const struct hnae3_ae_ops *ops = handle->ae_algo->ops; in hns3_get_module_eeprom()