Home
last modified time | relevance | path

Searched refs:req_rev (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c214 const struct mlxsw_fw_rev *req_rev) in mlxsw_core_fw_rev_minor_subminor_validate() argument
216 return rev->minor > req_rev->minor || in mlxsw_core_fw_rev_minor_subminor_validate()
217 (rev->minor == req_rev->minor && in mlxsw_core_fw_rev_minor_subminor_validate()
218 rev->subminor >= req_rev->subminor); in mlxsw_core_fw_rev_minor_subminor_validate()
1161 const struct mlxsw_fw_rev *req_rev, in mlxsw_core_fw_rev_validate() argument
1170 if (!req_rev || !filename) in mlxsw_core_fw_rev_validate()
1183 if (rev->major != req_rev->major) { in mlxsw_core_fw_rev_validate()
1185 rev->major, req_rev->major); in mlxsw_core_fw_rev_validate()
1188 if (mlxsw_core_fw_rev_minor_subminor_validate(rev, req_rev)) in mlxsw_core_fw_rev_validate()
1192 rev->major, rev->minor, rev->subminor, req_rev->major, in mlxsw_core_fw_rev_validate()
[all …]
Dcore.h49 const struct mlxsw_fw_rev *req_rev);