temp_map 304 drivers/iio/adc/cpcap-adc.c static const int temp_map[CPCAP_MAX_TEMP_LVL][2] = { temp_map 716 drivers/iio/adc/cpcap-adc.c if (value <= temp_map[CPCAP_MAX_TEMP_LVL - 1][0]) temp_map 717 drivers/iio/adc/cpcap-adc.c return temp_map[CPCAP_MAX_TEMP_LVL - 1][1]; temp_map 719 drivers/iio/adc/cpcap-adc.c if (value >= temp_map[0][0]) temp_map 720 drivers/iio/adc/cpcap-adc.c return temp_map[0][1]; temp_map 723 drivers/iio/adc/cpcap-adc.c if ((value <= temp_map[i][0]) && temp_map 724 drivers/iio/adc/cpcap-adc.c (value >= temp_map[i + 1][0])) { temp_map 725 drivers/iio/adc/cpcap-adc.c if (value == temp_map[i][0]) { temp_map 726 drivers/iio/adc/cpcap-adc.c result = temp_map[i][1]; temp_map 727 drivers/iio/adc/cpcap-adc.c } else if (value == temp_map[i + 1][0]) { temp_map 728 drivers/iio/adc/cpcap-adc.c result = temp_map[i + 1][1]; temp_map 730 drivers/iio/adc/cpcap-adc.c alpha = ((value - temp_map[i][0]) * 1000) / temp_map 731 drivers/iio/adc/cpcap-adc.c (temp_map[i + 1][0] - temp_map[i][0]); temp_map 733 drivers/iio/adc/cpcap-adc.c result = temp_map[i][1] + temp_map 734 drivers/iio/adc/cpcap-adc.c ((alpha * (temp_map[i + 1][1] - temp_map 735 drivers/iio/adc/cpcap-adc.c temp_map[i][1])) / 1000); temp_map 135 drivers/input/keyboard/amikbd.c unsigned short temp_map[NR_KEYS]; temp_map 141 drivers/input/keyboard/amikbd.c memset(temp_map, 0, sizeof(temp_map)); temp_map 145 drivers/input/keyboard/amikbd.c temp_map[j] = key_maps[i][amikbd_keycode[j]]; temp_map 148 drivers/input/keyboard/amikbd.c if (!temp_map[j]) temp_map 149 drivers/input/keyboard/amikbd.c temp_map[j] = 0xf200; temp_map 151 drivers/input/keyboard/amikbd.c memcpy(key_maps[i], temp_map, sizeof(temp_map));