Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/iio/adc/
Dhi8435.c54 u8 reg_buffer[3] ____cacheline_aligned; member
89 priv->reg_buffer[0] = reg | HI8435_WRITE_OPCODE; in hi8435_writeb()
90 priv->reg_buffer[1] = val; in hi8435_writeb()
92 return spi_write(priv->spi, priv->reg_buffer, 2); in hi8435_writeb()
97 priv->reg_buffer[0] = reg | HI8435_WRITE_OPCODE; in hi8435_writew()
98 priv->reg_buffer[1] = (val >> 8) & 0xff; in hi8435_writew()
99 priv->reg_buffer[2] = val & 0xff; in hi8435_writew()
101 return spi_write(priv->spi, priv->reg_buffer, 3); in hi8435_writew()