Searched refs:rawdata (Results 1 – 7 of 7) sorted by relevance
55 u8 rawdata[2]; in lp8788_get_adc_result() local56 int size = ARRAY_SIZE(rawdata); in lp8788_get_adc_result()79 ret = lp8788_read_multi_bytes(adc->lp, LP8788_ADC_RAW, rawdata, size); in lp8788_get_adc_result()83 msb = (rawdata[0] << 4) & 0x00000ff0; in lp8788_get_adc_result()84 lsb = (rawdata[1] >> 4) & 0x0000000f; in lp8788_get_adc_result()
85 static int mt_auxadc_get_cali_data(int rawdata, bool enable_cali) in mt_auxadc_get_cali_data() argument87 return rawdata; in mt_auxadc_get_cali_data()
1402 static void remove_rawdata_dents(struct aa_loaddata *rawdata) in remove_rawdata_dents() argument1407 if (!IS_ERR_OR_NULL(rawdata->dents[i])) { in remove_rawdata_dents()1409 aafs_remove(rawdata->dents[i]); in remove_rawdata_dents()1410 rawdata->dents[i] = NULL; in remove_rawdata_dents()1415 void __aa_fs_remove_rawdata(struct aa_loaddata *rawdata) in __aa_fs_remove_rawdata() argument1417 AA_BUG(rawdata->ns && !mutex_is_locked(&rawdata->ns->lock)); in __aa_fs_remove_rawdata()1419 if (rawdata->ns) { in __aa_fs_remove_rawdata()1420 remove_rawdata_dents(rawdata); in __aa_fs_remove_rawdata()1421 list_del_init(&rawdata->list); in __aa_fs_remove_rawdata()1422 aa_put_ns(rawdata->ns); in __aa_fs_remove_rawdata()[all …]
244 aa_put_loaddata(profile->rawdata); in aa_free_profile()932 ent->new->rawdata = aa_get_loaddata(udata); in aa_replace_profiles()1005 if (ent->old && ent->old->rawdata == ent->new->rawdata) { in aa_replace_profiles()
117 void __aa_fs_remove_rawdata(struct aa_loaddata *rawdata);118 int __aa_fs_create_rawdata(struct aa_ns *ns, struct aa_loaddata *rawdata);
157 struct aa_loaddata *rawdata; member
179 u32 rawdata) in sprd_thm_rawdata_to_temp() argument181 clamp(rawdata, (u32)SPRD_THM_RAW_DATA_LOW, (u32)SPRD_THM_RAW_DATA_HIGH); in sprd_thm_rawdata_to_temp()188 return sen->cal_slope * rawdata - sen->cal_offset; in sprd_thm_rawdata_to_temp()