Searched refs:AD5504_ADDR (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/iio/dac/
H A Dad5504.c28 #define AD5504_ADDR(addr) ((addr) << 12) macro
72 st->data[0] = cpu_to_be16(AD5504_CMD_WRITE | AD5504_ADDR(addr) | ad5504_spi_write()
87 st->data[0] = cpu_to_be16(AD5504_CMD_READ | AD5504_ADDR(addr)); ad5504_spi_read()

Completed in 33 milliseconds