Searched refs:ch_index (Results 1 – 3 of 3) sorted by relevance
179 unsigned int ch_addr, mode, ch_index; in ad7616_write_scale_sw() local189 ch_index = ch >> 1; in ad7616_write_scale_sw()191 ch_addr = AD7616_RANGE_CH_ADDR(ch_index); in ad7616_write_scale_sw()199 mode = AD7616_RANGE_CH_MODE(ch_index, ((val + 1) & 0b11)); in ad7616_write_scale_sw()200 return st->bops->write_mask(st, ch_addr, AD7616_RANGE_CH_MSK(ch_index), in ad7616_write_scale_sw()
38 uint32_t ch_index; member
262 u8 ch_index = ch_id_to_ch_index(ch_id); in channel_id_to_txp() local263 if (ch_index == 0xff) in channel_id_to_txp()274 if (le16_to_cpu(txp_chg->max_channel_idx) >= ch_index) in channel_id_to_txp()