Lines Matching refs:ch_map
55 u8 ch_map[GRTS_CH_MAX]; member
64 x = touch_info[st->ch_map[GRTS_CH_X]]; in grts_cb()
65 y = touch_info[st->ch_map[GRTS_CH_Y]]; in grts_cb()
67 if (st->ch_map[GRTS_CH_PRESSURE] < GRTS_MAX_CHANNELS) { in grts_cb()
68 press = touch_info[st->ch_map[GRTS_CH_PRESSURE]]; in grts_cb()
69 } else if (st->ch_map[GRTS_CH_Z1] < GRTS_MAX_CHANNELS) { in grts_cb()
70 unsigned int z1 = touch_info[st->ch_map[GRTS_CH_Z1]]; in grts_cb()
71 unsigned int z2 = touch_info[st->ch_map[GRTS_CH_Z2]]; in grts_cb()
149 st->ch_map[type] = idx; in grts_map_channel()
170 if (st->ch_map[GRTS_CH_PRESSURE] < GRTS_MAX_CHANNELS) { in grts_get_properties()
180 if (st->ch_map[GRTS_CH_Z1] >= GRTS_MAX_CHANNELS) in grts_get_properties()