Home
last modified time | relevance | path

Searched refs:ver_expected (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/aq/
H A Daq_hw.c163 aq_hw_ver_match(const struct aq_hw_fw_version* ver_expected, in aq_hw_ver_match() argument
168 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() local
218 if (!aq_hw_ver_match(&ver_expected, &hw->fw_version)) in aq_hw_init_ucp()
H A Daq_fw2x.c711 struct aq_hw_fw_version ver_expected = { .raw = FW2X_FW_MIN_VER_LED}; in aq_fw2x_led_control() local
712 if (aq_hw_ver_match(&ver_expected, &hw->fw_version)) in aq_fw2x_led_control()
H A Daq_hw.h401 int aq_hw_ver_match(const struct aq_hw_fw_version* ver_expected,