Home
last modified time | relevance | path

Searched refs:temp_map (Results 1 – 3 of 3) 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/iio/adc/
H A Dcpcap-adc.c303 static const int temp_map[CPCAP_MAX_TEMP_LVL][2] = { variable
708 if (value <= temp_map[CPCAP_MAX_TEMP_LVL - 1][0]) in cpcap_adc_table_to_millicelcius()
709 return temp_map[CPCAP_MAX_TEMP_LVL - 1][1]; in cpcap_adc_table_to_millicelcius()
711 if (value >= temp_map[0][0]) in cpcap_adc_table_to_millicelcius()
712 return temp_map[0][1]; in cpcap_adc_table_to_millicelcius()
715 if ((value <= temp_map[i][0]) && in cpcap_adc_table_to_millicelcius()
716 (value >= temp_map[i + 1][0])) { in cpcap_adc_table_to_millicelcius()
717 if (value == temp_map[i][0]) { in cpcap_adc_table_to_millicelcius()
718 result = temp_map[i][1]; in cpcap_adc_table_to_millicelcius()
719 } else if (value == temp_map[i + 1][0]) { in cpcap_adc_table_to_millicelcius()
[all …]
/linux/drivers/hwmon/
H A Dlenovo-ec-sensors.c201 const int *temp_map; member
275 return lenovo_ec_do_read_temp(data, attr, data->temp_map[channel], val); in lenovo_ec_hwmon_read()
553 ec_data->temp_map = px_temp_map; in lenovo_ec_probe()
560 ec_data->temp_map = gen_temp_map; in lenovo_ec_probe()
567 ec_data->temp_map = gen_temp_map; in lenovo_ec_probe()
574 ec_data->temp_map = p8_temp_map; in lenovo_ec_probe()