Searched refs:temp_map (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/input/keyboard/
H A Damikbd.c131 /* We can spare 512 bytes on stack for temp_map in init path. */
132 unsigned short temp_map[NR_KEYS]; local
138 memset(temp_map, 0, sizeof(temp_map));
142 temp_map[j] = key_maps[i][amikbd_keycode[j]];
145 if (!temp_map[j])
146 temp_map[j] = 0xf200;
148 memcpy(key_maps[i], temp_map, sizeof(temp_map));
/linux-master/drivers/iio/adc/
H A Dcpcap-adc.c304 static const int temp_map[CPCAP_MAX_TEMP_LVL][2] = { variable
717 if (value <= temp_map[CPCAP_MAX_TEMP_LVL - 1][0])
718 return temp_map[CPCAP_MAX_TEMP_LVL - 1][1];
720 if (value >= temp_map[0][0])
721 return temp_map[0][1];
724 if ((value <= temp_map[i][0]) &&
725 (value >= temp_map[i + 1][0])) {
726 if (value == temp_map[i][0]) {
727 result = temp_map[i][1];
728 } else if (value == temp_map[
[all...]
/linux-master/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c84 const long (*temp_map)[THRESH_COUNT][STAGE_COUNT]; member in struct:qpnp_tm_chip
118 if (!chip->temp_map || chip->thresh >= THRESH_COUNT || stage == 0 ||
122 return (*chip->temp_map)[chip->thresh][stage - 1];
222 long stage2_threshold_min = (*chip->temp_map)[THRESH_MIN][1];
223 long stage2_threshold_max = (*chip->temp_map)[THRESH_MAX][1];
436 chip->temp_map = &temp_map_gen2_v1;
438 chip->temp_map = &temp_map_gen1;

Completed in 128 milliseconds