Home
last modified time | relevance | path

Searched refs:temp_map (Results 1 – 4 of 4) sorted by relevance

/drivers/input/keyboard/
A Damikbd.c132 unsigned short temp_map[NR_KEYS]; in amikbd_init_console_keymaps() local
138 memset(temp_map, 0, sizeof(temp_map)); in amikbd_init_console_keymaps()
142 temp_map[j] = key_maps[i][amikbd_keycode[j]]; in amikbd_init_console_keymaps()
145 if (!temp_map[j]) in amikbd_init_console_keymaps()
146 temp_map[j] = 0xf200; in amikbd_init_console_keymaps()
148 memcpy(key_maps[i], temp_map, sizeof(temp_map)); in amikbd_init_console_keymaps()
/drivers/iio/adc/
A Dcpcap-adc.c712 if (value >= temp_map[0][0]) in cpcap_adc_table_to_millicelcius()
713 return temp_map[0][1]; in cpcap_adc_table_to_millicelcius()
716 if ((value <= temp_map[i][0]) && in cpcap_adc_table_to_millicelcius()
717 (value >= temp_map[i + 1][0])) { in cpcap_adc_table_to_millicelcius()
718 if (value == temp_map[i][0]) { in cpcap_adc_table_to_millicelcius()
719 result = temp_map[i][1]; in cpcap_adc_table_to_millicelcius()
721 result = temp_map[i + 1][1]; in cpcap_adc_table_to_millicelcius()
724 (temp_map[i + 1][0] - temp_map[i][0]); in cpcap_adc_table_to_millicelcius()
726 result = temp_map[i][1] + in cpcap_adc_table_to_millicelcius()
727 ((alpha * (temp_map[i + 1][1] - in cpcap_adc_table_to_millicelcius()
[all …]
/drivers/thermal/qcom/
A Dqcom-spmi-temp-alarm.c127 const long (*temp_map)[THRESH_COUNT][STAGE_COUNT]; member
429 const long *temp_map; in qpnp_tm_lite_set_temp_thresh() local
442 temp_map = temp_lite_warning_map; in qpnp_tm_lite_set_temp_thresh()
454 temp_map = temp_lite_shutdown_map; in qpnp_tm_lite_set_temp_thresh()
461 if (temp < temp_map[THRESH_MIN] || temp > temp_map[THRESH_MAX]) { in qpnp_tm_lite_set_temp_thresh()
467 temp_cfg = temp_map[thresh]; in qpnp_tm_lite_set_temp_thresh()
469 if (temp >= temp_map[i]) { in qpnp_tm_lite_set_temp_thresh()
471 temp_cfg = temp_map[i]; in qpnp_tm_lite_set_temp_thresh()
679 .temp_map = &temp_map_gen1,
687 .temp_map = &temp_map_gen1,
[all …]
/drivers/hwmon/
A Dlenovo-ec-sensors.c180 const int *temp_map; member
254 return lenovo_ec_do_read_temp(data, attr, data->temp_map[channel], val); in lenovo_ec_hwmon_read()
529 ec_data->temp_map = px_temp_map; in lenovo_ec_probe()
536 ec_data->temp_map = gen_temp_map; in lenovo_ec_probe()
543 ec_data->temp_map = gen_temp_map; in lenovo_ec_probe()
550 ec_data->temp_map = gen_temp_map; in lenovo_ec_probe()

Completed in 14 milliseconds