Lines Matching full:revision
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()
71 version->revision = revision; in es58x_parse_sw_version()
77 * es58x_parse_hw_rev() - Extract hardware revision number.
81 * @prod_info contains the hardware revision prefixed by a magic
83 * the device, the hardware revision format is either
87 * Parse @prod_info and store the hardware revision number in
99 /* The only occurrence of 'H' is in the hardware revision prefix. */ in es58x_parse_hw_rev()
103 /* Go to beginning of the hardware revision */ in es58x_parse_hw_rev()
126 * revision.
128 * If the function fails, set the version or revision to an invalid
137 .revision = -1, in es58x_parse_product_info()
179 sw_ver->revision < 100; in es58x_sw_version_is_valid()
183 * es58x_hw_revision_is_valid() - Check if the revision is a valid number.
184 * @hw_rev: Revision number of the hardware.
187 * any of the hardware revision sub-numbers do not fit on three
188 * digits, the revision is invalid, most probably because the product
191 * Return: @true if the hardware revision is valid, @false otherwise.
206 * revision and the serial number through netlink.
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()