Searched refs:MCP3911_GAIN_MASK (Results 1 – 1 of 1) sorted by relevance
33 #define MCP3911_GAIN_MASK(ch) (GENMASK(2, 0) << 3 * (ch)) macro34 #define MCP3911_GAIN_VAL(ch, val) ((val << 3 * (ch)) & MCP3911_GAIN_MASK(ch))268 MCP3911_GAIN_MASK(channel), in mcp3910_set_scale()275 MCP3911_GAIN_MASK(channel), in mcp3911_set_scale()594 regval &= ~MCP3911_GAIN_MASK(i); in mcp3911_config()657 regval &= ~MCP3911_GAIN_MASK(i); in mcp3910_config()743 MCP3911_GAIN_MASK(i), in mcp3911_probe()