Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/adc/
H A Dmcp3911.c60 #define MCP3911_REG_READ(reg, id) ((((reg) << 1) | ((id) << 6) | (1 << 0)) & 0xff) macro
91 reg = MCP3911_REG_READ(reg, adc->dev_addr); in mcp3911_read()
354 adc->tx_buf = MCP3911_REG_READ(MCP3911_CHANNEL(0), adc->dev_addr); in mcp3911_trigger_handler()