Home
last modified time | relevance | path

Searched refs:rawdata (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/iio/adc/
Dlp8788_adc.c55 u8 rawdata[2]; in lp8788_get_adc_result() local
56 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()
Dmt6577_auxadc.c89 static int mt_auxadc_get_cali_data(int rawdata, bool enable_cali) in mt_auxadc_get_cali_data() argument
91 return rawdata; in mt_auxadc_get_cali_data()
/kernel/linux/linux-5.10/security/apparmor/
Dapparmorfs.c1404 static void remove_rawdata_dents(struct aa_loaddata *rawdata) in remove_rawdata_dents() argument
1409 if (!IS_ERR_OR_NULL(rawdata->dents[i])) { in remove_rawdata_dents()
1411 aafs_remove(rawdata->dents[i]); in remove_rawdata_dents()
1412 rawdata->dents[i] = NULL; in remove_rawdata_dents()
1417 void __aa_fs_remove_rawdata(struct aa_loaddata *rawdata) in __aa_fs_remove_rawdata() argument
1419 AA_BUG(rawdata->ns && !mutex_is_locked(&rawdata->ns->lock)); in __aa_fs_remove_rawdata()
1421 if (rawdata->ns) { in __aa_fs_remove_rawdata()
1422 remove_rawdata_dents(rawdata); in __aa_fs_remove_rawdata()
1423 list_del_init(&rawdata->list); in __aa_fs_remove_rawdata()
1424 aa_put_ns(rawdata->ns); in __aa_fs_remove_rawdata()
[all …]
Dpolicy.c244 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()
/kernel/linux/linux-5.10/security/apparmor/include/
Dapparmorfs.h117 void __aa_fs_remove_rawdata(struct aa_loaddata *rawdata);
118 int __aa_fs_create_rawdata(struct aa_ns *ns, struct aa_loaddata *rawdata);
Dpolicy.h157 struct aa_loaddata *rawdata; member
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0021_linux_drivers_hwmon.patch197 + short rawdata[3], data[3];
202 + rawdata[0] = *x;
203 + rawdata[1] = *y;
204 + rawdata[2] = *z;
208 + data[i] += rawdata[j] * ACCHAL[position][i][j];
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch184 + short rawdata[3], data[3];
190 + rawdata[0] = axis_data->x;
191 + rawdata[1] = axis_data->y;
192 + rawdata[2] = axis_data->z;
196 + data[i] += rawdata[j] * fxas2100x_position_setting[position][i][j];
921 + short rawdata[3], data[3];
925 + rawdata[0] = axis_data->x;
926 + rawdata[1] = axis_data->y;
927 + rawdata[2] = axis_data->z;
931 + data[i] += rawdata[j] * fxos8700_position_settings[position][i][j];
/kernel/linux/linux-5.10/drivers/thermal/
Dsprd_thermal.c179 u32 rawdata) in sprd_thm_rawdata_to_temp() argument
181 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()