Home
last modified time | relevance | path

Searched refs:req_channel (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/adc/
H A Dmcp3422.c135 u8 req_channel = channel->channel; in mcp3422_read_channel() local
139 if (req_channel != MCP3422_CHANNEL(adc->config)) { in mcp3422_read_channel()
142 config |= MCP3422_CHANNEL_VALUE(req_channel); in mcp3422_read_channel()
144 config |= MCP3422_PGA_VALUE(adc->pga[req_channel]); in mcp3422_read_channel()
201 u8 req_channel = channel->channel; in mcp3422_write_raw() local
212 adc->pga[req_channel] = i; in mcp3422_write_raw()
215 config |= MCP3422_CHANNEL_VALUE(req_channel); in mcp3422_write_raw()
217 config |= MCP3422_PGA_VALUE(adc->pga[req_channel]); in mcp3422_write_raw()
245 config |= MCP3422_CHANNEL_VALUE(req_channel); in mcp3422_write_raw()