Lines Matching refs:autoneg

72 	u8	autoneg;  member
271 link_ksettings->base.autoneg = AUTONEG_DISABLE; in hinic_get_link_ksettings()
297 link_ksettings->base.autoneg = AUTONEG_ENABLE; in hinic_get_link_ksettings()
392 u8 autoneg, u32 speed, u32 *set_settings) in get_link_settings_type() argument
405 if (autoneg == AUTONEG_ENABLE) { in get_link_settings_type()
424 u32 set_settings, u8 autoneg, in set_link_settings_separate_cmd() argument
432 (autoneg == AUTONEG_ENABLE)); in set_link_settings_separate_cmd()
435 (autoneg == AUTONEG_ENABLE) ? in set_link_settings_separate_cmd()
439 (autoneg == AUTONEG_ENABLE) ? in set_link_settings_separate_cmd()
458 u32 set_settings, u8 autoneg, u32 speed) in hinic_set_settings_to_hw() argument
468 (autoneg ? "autong enable " : "autong disable ") : ""; in hinic_set_settings_to_hw()
483 settings.autoneg = autoneg; in hinic_set_settings_to_hw()
498 return set_link_settings_separate_cmd(nic_dev, set_settings, autoneg, in hinic_set_settings_to_hw()
502 static int set_link_settings(struct net_device *netdev, u8 autoneg, u32 speed) in set_link_settings() argument
508 err = get_link_settings_type(nic_dev, autoneg, speed, &set_settings); in set_link_settings()
514 autoneg, speed); in set_link_settings()
525 return set_link_settings(netdev, link_settings->base.autoneg, in hinic_set_link_ksettings()
838 pause->autoneg = pause_info.auto_neg; in hinic_get_pauseparam()
861 if (pause->autoneg != port_cap.autoneg_state) in hinic_set_pauseparam()
864 pause_info.auto_neg = pause->autoneg; in hinic_set_pauseparam()
875 nic_dev->hwdev->func_to_io.nic_cfg.auto_neg = pause->autoneg; in hinic_set_pauseparam()