Searched refs:reg_write_tx_buf (Results 1 – 2 of 2) sorted by relevance
36 u8 reg_write_tx_buf[1] __aligned(IIO_DMA_MINALIGN);105 st->reg_write_tx_buf[0] = ADXL367_SPI_WRITE_COMMAND; in adxl367_spi_probe()106 st->reg_write_xfer[0].tx_buf = st->reg_write_tx_buf; in adxl367_spi_probe()107 st->reg_write_xfer[0].len = sizeof(st->reg_write_tx_buf); in adxl367_spi_probe()
307 u8 reg_write_tx_buf[4]; member427 st->reg_write_tx_buf[0] = reg; in ad4130_reg_write()431 put_unaligned_be24(val, &st->reg_write_tx_buf[1]); in ad4130_reg_write()434 put_unaligned_be16(val, &st->reg_write_tx_buf[1]); in ad4130_reg_write()437 st->reg_write_tx_buf[1] = val; in ad4130_reg_write()443 return spi_write(st->spi, st->reg_write_tx_buf, size + 1); in ad4130_reg_write()