Lines Matching refs:major
46 int major, minor, revision; in es58x_parse_sw_version() local
66 if (sscanf(prod_info, "%2u.%2u.%2u", &major, &minor, &revision) != 3) in es58x_parse_sw_version()
69 version->major = major; in es58x_parse_sw_version()
97 int major, minor; in es58x_parse_hw_rev() local
109 if (sscanf(prod_info, "%c%3u/%3u", &letter, &major, &minor) != 3) in es58x_parse_hw_rev()
113 es58x_dev->hardware_revision.major = major; in es58x_parse_hw_rev()
135 .major = -1, in es58x_parse_product_info()
141 .major = -1, in es58x_parse_product_info()
178 return sw_ver->major < 100 && sw_ver->minor < 100 && in es58x_sw_version_is_valid()
195 return isalnum(hw_rev->letter) && hw_rev->major < 1000 && in es58x_hw_revision_is_valid()
223 fw_ver->major, fw_ver->minor, fw_ver->revision); in es58x_devlink_info_get()
233 bl_ver->major, bl_ver->minor, bl_ver->revision); in es58x_devlink_info_get()
243 hw_rev->letter, hw_rev->major, hw_rev->minor); in es58x_devlink_info_get()