Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/dac/
H A Dad5504.c27 #define AD5504_ADDR(addr) ((addr) << 12) macro
70 st->data[0] = cpu_to_be16(AD5504_CMD_WRITE | AD5504_ADDR(addr) | in ad5504_spi_write()
85 st->data[0] = cpu_to_be16(AD5504_CMD_READ | AD5504_ADDR(addr)); in ad5504_spi_read()