Searched refs:ver_expected (Results 1 – 3 of 3) sorted by relevance
163 aq_hw_ver_match(const struct aq_hw_fw_version* ver_expected, in aq_hw_ver_match() argument168 if (ver_actual->major_version != ver_expected->major_version) in aq_hw_ver_match()169 return (ver_actual->major_version > ver_expected->major_version); in aq_hw_ver_match()170 if (ver_actual->minor_version != ver_expected->minor_version) in aq_hw_ver_match()171 return (ver_actual->minor_version > ver_expected->minor_version); in aq_hw_ver_match()172 return (ver_actual->build_number >= ver_expected->build_number); in aq_hw_ver_match()217 struct aq_hw_fw_version ver_expected = { .raw = AQ_CFG_FW_MIN_VER_EXPECTED }; in aq_hw_init_ucp() local218 if (!aq_hw_ver_match(&ver_expected, &hw->fw_version)) in aq_hw_init_ucp()
711 struct aq_hw_fw_version ver_expected = { .raw = FW2X_FW_MIN_VER_LED}; in aq_fw2x_led_control() local712 if (aq_hw_ver_match(&ver_expected, &hw->fw_version)) in aq_fw2x_led_control()
401 int aq_hw_ver_match(const struct aq_hw_fw_version* ver_expected,