Lines Matching refs:coef
113 u8 coef[18]; in dps310_get_coefs() local
118 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs()
119 sizeof(coef)); in dps310_get_coefs()
127 c0 = (coef[0] << 4) | (coef[1] >> 4); in dps310_get_coefs()
130 c1 = ((coef[1] & GENMASK(3, 0)) << 8) | coef[2]; in dps310_get_coefs()
138 c00 = (coef[3] << 12) | (coef[4] << 4) | (coef[5] >> 4); in dps310_get_coefs()
141 c10 = ((coef[5] & GENMASK(3, 0)) << 16) | (coef[6] << 8) | coef[7]; in dps310_get_coefs()
144 c01 = (coef[8] << 8) | coef[9]; in dps310_get_coefs()
147 c11 = (coef[10] << 8) | coef[11]; in dps310_get_coefs()
150 c20 = (coef[12] << 8) | coef[13]; in dps310_get_coefs()
153 c21 = (coef[14] << 8) | coef[15]; in dps310_get_coefs()
156 c30 = (coef[16] << 8) | coef[17]; in dps310_get_coefs()