Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dmcp3422.c43 #define MCP3422_SAMPLE_RATE(config) (((config) & MCP3422_SRATE_MASK) >> 2) macro
111 u8 sample_rate = MCP3422_SAMPLE_RATE(adc->config); in mcp3422_read()
150 msleep(mcp3422_read_times[MCP3422_SAMPLE_RATE(adc->config)]); in mcp3422_read_channel()
167 u8 sample_rate = MCP3422_SAMPLE_RATE(adc->config); in mcp3422_read_raw()
184 *val1 = mcp3422_sample_rates[MCP3422_SAMPLE_RATE(adc->config)]; in mcp3422_read_raw()
202 u8 sample_rate = MCP3422_SAMPLE_RATE(config); in mcp3422_write_raw()
286 u8 sample_rate = MCP3422_SAMPLE_RATE(adc->config); in mcp3422_show_scales()