Lines Matching defs:version
172 * @version_names: version letters or namings
210 * @version: device version
225 unsigned int version;
406 /* The second version of YAS537 needs to include calibration coefficients */
407 if (yas5xx->version == YAS537_VERSION_1) {
445 if (yas5xx->version == YAS530_VERSION_A)
451 if (yas5xx->version == YAS532_VERSION_AB)
521 * YAS532/YAS533 version AC uses the temperature deviation as a
522 * multiplier. YAS530 and YAS532 version AB use solely the t value.
526 yas5xx->version == YAS532_VERSION_AC) {
839 /* Extract version */
840 yas5xx->version = data[15] & GENMASK(1, 0);
894 /* Only one bit of version info reserved here as far as we know */
895 yas5xx->version = data[13] & BIT(0);
950 /* Extract version information */
951 yas5xx->version = FIELD_GET(GENMASK(7, 6), data[16]);
954 switch (yas5xx->version) {
957 * The first version simply writes data back into registers:
1001 * The second version writes some data into registers but also
1114 dev_err(yas5xx->dev, "unknown version of YAS537\n");
1149 if (yas5xx->version == YAS537_VERSION_1) {
1373 .version_names = { "v0", "v1" }, /* version naming unknown */
1458 ci->version_names[yas5xx->version]);