Lines Matching refs:ch_reg
295 struct iqs269_ch_reg ch_reg[IQS269_NUM_CH]; member
320 engine_a = be16_to_cpu(iqs269->ch_reg[ch_num].engine_a); in iqs269_ati_mode_set()
325 iqs269->ch_reg[ch_num].engine_a = cpu_to_be16(engine_a); in iqs269_ati_mode_set()
342 engine_a = be16_to_cpu(iqs269->ch_reg[ch_num].engine_a); in iqs269_ati_mode_get()
382 engine_b = be16_to_cpu(iqs269->ch_reg[ch_num].engine_b); in iqs269_ati_base_set()
387 iqs269->ch_reg[ch_num].engine_b = cpu_to_be16(engine_b); in iqs269_ati_base_set()
404 engine_b = be16_to_cpu(iqs269->ch_reg[ch_num].engine_b); in iqs269_ati_base_get()
442 engine_b = be16_to_cpu(iqs269->ch_reg[ch_num].engine_b); in iqs269_ati_target_set()
447 iqs269->ch_reg[ch_num].engine_b = cpu_to_be16(engine_b); in iqs269_ati_target_set()
464 engine_b = be16_to_cpu(iqs269->ch_reg[ch_num].engine_b); in iqs269_ati_target_get()
506 struct iqs269_ch_reg *ch_reg; in iqs269_parse_chan() local
534 ch_reg = &iqs269->ch_reg[reg]; in iqs269_parse_chan()
537 IQS269_CHx_SETTINGS + reg * sizeof(*ch_reg) / 2, in iqs269_parse_chan()
538 ch_reg, sizeof(*ch_reg)); in iqs269_parse_chan()
543 &ch_reg->rx_enable); in iqs269_parse_chan()
551 &ch_reg->tx_enable); in iqs269_parse_chan()
558 engine_a = be16_to_cpu(ch_reg->engine_a); in iqs269_parse_chan()
559 engine_b = be16_to_cpu(ch_reg->engine_b); in iqs269_parse_chan()
636 ch_reg->engine_a = cpu_to_be16(engine_a); in iqs269_parse_chan()
637 ch_reg->engine_b = cpu_to_be16(engine_b); in iqs269_parse_chan()
668 &ch_reg->assoc_select); in iqs269_parse_chan()
683 ch_reg->assoc_weight = val; in iqs269_parse_chan()
700 ch_reg->thresh[iqs269_events[i].th_offs] = val; in iqs269_parse_chan()
704 u8 *hyst = &ch_reg->hyst; in iqs269_parse_chan()
1036 struct iqs269_ch_reg *ch_reg; in iqs269_dev_init() local
1052 ch_reg = &iqs269->ch_reg[i]; in iqs269_dev_init()
1056 sizeof(*ch_reg) / 2, ch_reg, in iqs269_dev_init()
1057 sizeof(*ch_reg)); in iqs269_dev_init()
1356 switch (iqs269->ch_reg[IQS269_CHx_HALL_ACTIVE].rx_enable & in hall_bin_show()
1357 iqs269->ch_reg[IQS269_CHx_HALL_INACTIVE].rx_enable) { in hall_bin_show()
1439 iqs269->ch_reg[iqs269->ch_num].rx_enable); in rx_enable_show()
1459 iqs269->ch_reg[iqs269->ch_num].rx_enable = val; in rx_enable_store()