Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/potentiometer/
H A Dmcp4131.c48 #define MCP4131_WIPER_SHIFT 4 macro
176 data->buf[0] = (address << MCP4131_WIPER_SHIFT) | MCP4131_READ; in mcp4131_read_raw()
211 int address = chan->channel << MCP4131_WIPER_SHIFT; in mcp4131_write_raw()
225 data->buf[0] = address << MCP4131_WIPER_SHIFT; in mcp4131_write_raw()