Lines Matching refs:coef
114 u8 coef[18]; in dps310_get_coefs() local
119 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs()
120 sizeof(coef)); in dps310_get_coefs()
128 c0 = (coef[0] << 4) | (coef[1] >> 4); in dps310_get_coefs()
131 c1 = ((coef[1] & GENMASK(3, 0)) << 8) | coef[2]; in dps310_get_coefs()
139 c00 = (coef[3] << 12) | (coef[4] << 4) | (coef[5] >> 4); in dps310_get_coefs()
142 c10 = ((coef[5] & GENMASK(3, 0)) << 16) | (coef[6] << 8) | coef[7]; in dps310_get_coefs()
145 c01 = (coef[8] << 8) | coef[9]; in dps310_get_coefs()
148 c11 = (coef[10] << 8) | coef[11]; in dps310_get_coefs()
151 c20 = (coef[12] << 8) | coef[13]; in dps310_get_coefs()
154 c21 = (coef[14] << 8) | coef[15]; in dps310_get_coefs()
157 c30 = (coef[16] << 8) | coef[17]; in dps310_get_coefs()