Searched refs:temp_map (Results 1 – 4 of 4) sorted by relevance
132 unsigned short temp_map[NR_KEYS]; in amikbd_init_console_keymaps() local138 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()
712 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 …]
83 const long (*temp_map)[THRESH_COUNT][STAGE_COUNT]; member117 if (!chip->temp_map || chip->thresh >= THRESH_COUNT || stage == 0 || in qpnp_tm_decode_temp()121 return (*chip->temp_map)[chip->thresh][stage - 1]; in qpnp_tm_decode_temp()221 long stage2_threshold_min = (*chip->temp_map)[THRESH_MIN][1]; in qpnp_tm_update_critical_trip_temp()222 long stage2_threshold_max = (*chip->temp_map)[THRESH_MAX][1]; in qpnp_tm_update_critical_trip_temp()414 chip->temp_map = &temp_map_gen2_v1; in qpnp_tm_probe()416 chip->temp_map = &temp_map_gen1; in qpnp_tm_probe()
180 const int *temp_map; member254 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()