Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c146 const struct mlxsw_fw_rev *req_rev) in mlxsw_core_fw_rev_minor_subminor_validate() argument
148 return rev->minor > req_rev->minor || in mlxsw_core_fw_rev_minor_subminor_validate()
149 (rev->minor == req_rev->minor && in mlxsw_core_fw_rev_minor_subminor_validate()
150 rev->subminor >= req_rev->subminor); in mlxsw_core_fw_rev_minor_subminor_validate()
1061 const struct mlxsw_fw_rev *req_rev, in mlxsw_core_fw_rev_validate() argument
1070 if (!req_rev || !filename) in mlxsw_core_fw_rev_validate()
1083 if (rev->major != req_rev->major) { in mlxsw_core_fw_rev_validate()
1085 rev->major, req_rev->major); in mlxsw_core_fw_rev_validate()
1088 if (mlxsw_core_fw_rev_minor_subminor_validate(rev, req_rev)) in mlxsw_core_fw_rev_validate()
1092 rev->major, rev->minor, rev->subminor, req_rev->major, in mlxsw_core_fw_rev_validate()
[all …]
Dcore.h39 const struct mlxsw_fw_rev *req_rev);