Lines Matching defs:ch_map
45 * @ch_map: map of channels that are defined for the touchscreen
55 u8 ch_map[GRTS_CH_MAX];
64 x = touch_info[st->ch_map[GRTS_CH_X]];
65 y = touch_info[st->ch_map[GRTS_CH_Y]];
67 if (st->ch_map[GRTS_CH_PRESSURE] < GRTS_MAX_CHANNELS) {
68 press = touch_info[st->ch_map[GRTS_CH_PRESSURE]];
69 } else if (st->ch_map[GRTS_CH_Z1] < GRTS_MAX_CHANNELS) {
70 unsigned int z1 = touch_info[st->ch_map[GRTS_CH_Z1]];
71 unsigned int z2 = touch_info[st->ch_map[GRTS_CH_Z2]];
149 st->ch_map[type] = idx;
170 if (st->ch_map[GRTS_CH_PRESSURE] < GRTS_MAX_CHANNELS) {
180 if (st->ch_map[GRTS_CH_Z1] >= GRTS_MAX_CHANNELS)