Lines Matching refs:set_settings
392 u8 autoneg, u32 speed, u32 *set_settings) in get_link_settings_type() argument
403 *set_settings |= HILINK_LINK_SET_AUTONEG; in get_link_settings_type()
414 *set_settings |= HILINK_LINK_SET_SPEED; in get_link_settings_type()
424 u32 set_settings, u8 autoneg, in set_link_settings_separate_cmd() argument
430 if (set_settings & HILINK_LINK_SET_AUTONEG) { in set_link_settings_separate_cmd()
443 if (!err && (set_settings & HILINK_LINK_SET_SPEED)) { in set_link_settings_separate_cmd()
458 u32 set_settings, u8 autoneg, u32 speed) in hinic_set_settings_to_hw() argument
467 autoneg_str = (set_settings & HILINK_LINK_SET_AUTONEG) ? in hinic_set_settings_to_hw()
470 if (set_settings & HILINK_LINK_SET_SPEED) { in hinic_set_settings_to_hw()
482 settings.valid_bitmap = set_settings; in hinic_set_settings_to_hw()
498 return set_link_settings_separate_cmd(nic_dev, set_settings, autoneg, in hinic_set_settings_to_hw()
505 u32 set_settings = 0; in set_link_settings() local
508 err = get_link_settings_type(nic_dev, autoneg, speed, &set_settings); in set_link_settings()
512 if (set_settings) in set_link_settings()
513 err = hinic_set_settings_to_hw(nic_dev, set_settings, in set_link_settings()