Searched refs:temp_map (Results 1 – 2 of 2) sorted by relevance
135 unsigned short temp_map[NR_KEYS]; in amikbd_init_console_keymaps() local141 memset(temp_map, 0, sizeof(temp_map)); in amikbd_init_console_keymaps()145 temp_map[j] = key_maps[i][amikbd_keycode[j]]; in amikbd_init_console_keymaps()148 if (!temp_map[j]) in amikbd_init_console_keymaps()149 temp_map[j] = 0xf200; in amikbd_init_console_keymaps()151 memcpy(key_maps[i], temp_map, sizeof(temp_map)); in amikbd_init_console_keymaps()
304 static const int temp_map[CPCAP_MAX_TEMP_LVL][2] = { variable716 if (value <= temp_map[CPCAP_MAX_TEMP_LVL - 1][0]) in cpcap_adc_table_to_millicelcius()717 return temp_map[CPCAP_MAX_TEMP_LVL - 1][1]; in cpcap_adc_table_to_millicelcius()719 if (value >= temp_map[0][0]) in cpcap_adc_table_to_millicelcius()720 return temp_map[0][1]; in cpcap_adc_table_to_millicelcius()723 if ((value <= temp_map[i][0]) && in cpcap_adc_table_to_millicelcius()724 (value >= temp_map[i + 1][0])) { in cpcap_adc_table_to_millicelcius()725 if (value == temp_map[i][0]) { in cpcap_adc_table_to_millicelcius()726 result = temp_map[i][1]; in cpcap_adc_table_to_millicelcius()727 } else if (value == temp_map[i + 1][0]) { in cpcap_adc_table_to_millicelcius()[all …]