Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dmcp3911.c32 #define MCP3911_GAIN_MASK(ch) (GENMASK(2, 0) << 3 * ch) macro
33 #define MCP3911_GAIN_VAL(ch, val) ((val << 3 * ch) & MCP3911_GAIN_MASK(ch))
230 MCP3911_GAIN_MASK(channel->channel), in mcp3911_write_raw()
535 MCP3911_GAIN_MASK(i), in mcp3911_probe()