Home
last modified time | relevance | path

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

/linux/drivers/input/keyboard/
H 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()
/linux/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c127 const long (*temp_map)[THRESH_COUNT][STAGE_COUNT]; member
312 long stage2_threshold_min = (*chip->data->temp_map)[THRESH_MIN][STAGE2]; in qpnp_tm_update_critical_trip_temp()
313 long stage2_threshold_max = (*chip->data->temp_map)[THRESH_MAX][STAGE2]; in qpnp_tm_update_critical_trip_temp()
348 memcpy(chip->temp_thresh_map, chip->data->temp_map[threshold], in qpnp_tm_update_critical_trip_temp()
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()
[all …]