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()
89 static int mt_auxadc_get_cali_data(int rawdata, bool enable_cali) in mt_auxadc_get_cali_data() argument91 return rawdata; in mt_auxadc_get_cali_data()
1409 rawdata->dents[i] = NULL; in remove_rawdata_dents()1416 AA_BUG(rawdata->ns && !mutex_is_locked(&rawdata->ns->lock)); in __aa_fs_remove_rawdata()1418 if (rawdata->ns) { in __aa_fs_remove_rawdata()1421 aa_put_ns(rawdata->ns); in __aa_fs_remove_rawdata()1422 rawdata->ns = NULL; in __aa_fs_remove_rawdata()1431 AA_BUG(!rawdata); in __aa_fs_create_rawdata()1441 if (!rawdata->name) in __aa_fs_create_rawdata()1471 rawdata, in __aa_fs_create_rawdata()1484 rawdata->ns = aa_get_ns(ns); in __aa_fs_create_rawdata()1491 remove_rawdata_dents(rawdata); in __aa_fs_create_rawdata()[all …]
244 aa_put_loaddata(profile->rawdata); in aa_free_profile()972 ent->new->rawdata = aa_get_loaddata(udata); in aa_replace_profiles()1045 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()
Completed in 17 milliseconds