Home
last modified time | relevance | path

Searched refs:read_sensor (Results 1 – 22 of 22) sorted by relevance

/drivers/hwmon/
Dlochnagar-hwmon.c174 static int read_sensor(struct device *dev, int chan, in read_sensor() function
215 ret = read_sensor(dev, chan, LN2_VOLT, 1, LN2_PWR_UNITS, val); in read_power()
222 ret = read_sensor(dev, chan, LN2_CURR, nsamples, LN2_PWR_UNITS, val); in read_power()
265 return read_sensor(dev, chan, LN2_VOLT, 1, LN2_VOLT_UNITS, val); in lochnagar_read()
267 return read_sensor(dev, chan, LN2_CURR, 1, LN2_CURR_UNITS, val); in lochnagar_read()
269 return read_sensor(dev, chan, LN2_TEMP, 1, LN2_TEMP_UNITS, val); in lochnagar_read()
Dabx500.h24 int (*read_sensor)(struct abx500_temp *, u8, int *); member
Dabx500.c73 ret = data->ops.read_sensor(data, data->gpadc_addr[i], &temp); in gpadc_monitor()
148 ret = data->ops.read_sensor(data, gpadc_addr, &temp); in input_show()
397 if (err < 0 || !data->ops.read_sensor || !data->ops.show_name || in abx500_temp_probe()
Dab8500.c195 data->ops.read_sensor = ab8500_read_sensor; in abx500_hwmon_init()
/drivers/media/usb/gspca/stv06xx/
Dstv06xx_sensor.h57 int (*read_sensor)(struct sd *sd, const u8 address, member
/drivers/gpu/drm/amd/powerplay/inc/
Damdgpu_smu.h432 int (*read_sensor)(struct smu_context *smu, enum amd_pp_sensors sensor, member
503 int (*read_sensor)(struct smu_context *smu, enum amd_pp_sensors sensor, member
655 ((smu)->ppt_funcs->read_sensor? (smu)->ppt_funcs->read_sensor((smu), (sensor), (data), (size)) : 0)
657 ((smu)->funcs->read_sensor? (smu)->funcs->read_sensor((smu), (sensor), (data), (size)) : -EINVAL)
Dhwmgr.h321 int (*read_sensor)(struct pp_hwmgr *hwmgr, int idx, void *value, int *size); member
/drivers/gpu/drm/amd/include/
Dkgd_pp_interface.h253 int (*read_sensor)(void *handle, int idx, void *value, int *size); member
/drivers/gpu/drm/amd/powerplay/
Damd_powerplay.c854 ret = hwmgr->hwmgr_func->read_sensor(hwmgr, idx, value, size); in pp_dpm_read_sensor()
1574 .read_sensor = pp_dpm_read_sensor,
Dnavi10_ppt.c1635 .read_sensor = navi10_read_sensor,
Dsmu_v11_0.c1790 .read_sensor = smu_v11_0_read_sensor,
Darcturus_ppt.c1928 .read_sensor = arcturus_read_sensor,
Dvega20_ppt.c3176 .read_sensor = vega20_read_sensor,
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu10_hwmgr.c1347 .read_sensor = smu10_read_sensor,
Dsmu8_hwmgr.c1986 .read_sensor = smu8_read_sensor,
Dvega12_hwmgr.c2685 .read_sensor = vega12_read_sensor,
Dvega20_hwmgr.c4197 .read_sensor = vega20_read_sensor,
Dvega10_hwmgr.c5298 .read_sensor = vega10_read_sensor,
Dsmu7_hwmgr.c5148 .read_sensor = smu7_read_sensor,
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pm.c110 if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->read_sensor) in amdgpu_dpm_read_sensor()
111 ret = adev->powerplay.pp_funcs->read_sensor((adev)->powerplay.pp_handle, in amdgpu_dpm_read_sensor()
Dkv_dpm.c3370 .read_sensor = &kv_dpm_read_sensor,
Dsi_dpm.c8068 .read_sensor = &si_dpm_read_sensor,