Documented in 1 files:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/hwmon/ntc_thermistor.c, line 528
- drivers/iio/adc/qcom-vadc-common.c
- drivers/platform/x86/acer-wmi.c
- drivers/platform/x86/hp/hp-wmi.c
- drivers/platform/x86/uniwill/uniwill-acpi.c, line 1430
- drivers/power/supply/power_supply_core.c
Smatch caller information:
drivers/iio/adc/qcom-vadc-common.c qcom_vadc_map_temp_voltage() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 4 | x | 1 |
| DATA_SOURCE | 4 | x | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tz->lock |
drivers/iio/adc/qcom-vadc-common.c qcom_vadc_map_voltage_temp() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | x | 44-s32max |
| DATA_SOURCE | 4 | x | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/uniwill/uniwill-acpi.c uniwill_read() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x0 | 0 |
| PARAM_VALUE | 1 | y0 | 0 |
| PARAM_VALUE | 2 | x1 | 200 |
| PARAM_VALUE | 3 | y1 | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/acer-wmi.c acer_wmi_hwmon_read() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x0 | 0 |
| PARAM_VALUE | 1 | y0 | 0 |
| PARAM_VALUE | 2 | x1 | 100 |
| PARAM_VALUE | 3 | y1 | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/acer-wmi.c acer_wmi_hwmon_write() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x0 | 0 |
| PARAM_VALUE | 1 | y0 | 0 |
| PARAM_VALUE | 2 | x1 | 255 |
| PARAM_VALUE | 3 | y1 | 100 |
| PARAM_VALUE | 4 | x | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | x | 1-254 |
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/power/supply/power_supply_core.c power_supply_ocv2cap_simple() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 4 | x | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &data->lock |
drivers/power/supply/power_supply_core.c power_supply_temp2resist_simple() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 4 | x | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/power/supply/power_supply_core.c power_supply_vbat2ri() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 4 | x | 1 |
| DATA_SOURCE | 4 | x | $1 |
drivers/platform/x86/hp/hp-wmi.c pwm_to_rpm() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x0 | 0 |
| PARAM_VALUE | 1 | y0 | 0 |
| PARAM_VALUE | 2 | x1 | 255 |
| PARAM_VALUE | 4 | x | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | x | 1-254 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/platform/x86/hp/hp-wmi.c rpm_to_pwm() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x0 | 0 |
| PARAM_VALUE | 1 | y0 | 0 |
| PARAM_VALUE | 3 | y1 | 255 |
| PARAM_VALUE | 4 | x | 0-255 |
| CAPPED_DATA | 4 | x | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/ntc_thermistor.c get_temp_mc() -> fixp_linear_interpolate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | x | 0-s32max |
| CAPPED_DATA | 4 | x | 1 |
| DATA_SOURCE | 4 | x | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tz->lock |