Searched refs:transf_buf (Results 1 – 5 of 5) sorted by relevance
/drivers/iio/frequency/ |
D | admv4420.c | 116 u8 transf_buf[4] __aligned(IIO_DMA_MINALIGN); 142 put_unaligned_le32(frac_val, st->transf_buf); in admv4420_set_n_counter() 143 ret = regmap_bulk_write(st->regmap, ADMV4420_FRAC_L, st->transf_buf, 3); in admv4420_set_n_counter() 147 put_unaligned_le32(mod_val, st->transf_buf); in admv4420_set_n_counter() 148 ret = regmap_bulk_write(st->regmap, ADMV4420_MOD_L, st->transf_buf, 3); in admv4420_set_n_counter() 152 put_unaligned_le32(int_val, st->transf_buf); in admv4420_set_n_counter() 153 return regmap_bulk_write(st->regmap, ADMV4420_INT_L, st->transf_buf, 2); in admv4420_set_n_counter()
|
/drivers/iio/accel/ |
D | adxl355_core.c | 175 u8 transf_buf[3]; member 291 return regmap_bulk_read(data->regmap, addr, data->transf_buf, 2); in adxl355_get_temp_data() 298 ret = regmap_bulk_read(data->regmap, addr, data->transf_buf, in adxl355_read_axis() 299 ARRAY_SIZE(data->transf_buf)); in adxl355_read_axis() 303 return get_unaligned_be24(data->transf_buf); in adxl355_read_axis() 407 put_unaligned_be16(calibbias, data->transf_buf); in adxl355_set_calibbias() 410 data->transf_buf, 2); in adxl355_set_calibbias() 444 *val = get_unaligned_be16(data->transf_buf); in adxl355_read_raw()
|
D | adxl313_core.c | 224 &data->transf_buf, sizeof(data->transf_buf)); in adxl313_read_axis() 228 ret = le16_to_cpu(data->transf_buf); in adxl313_read_axis()
|
D | adxl313.h | 67 __le16 transf_buf __aligned(IIO_DMA_MINALIGN);
|
/drivers/iio/dac/ |
D | ad5770r.c | 143 u8 transf_buf[2] __aligned(IIO_DMA_MINALIGN); 324 st->transf_buf, 2); in ad5770r_read_raw() 328 buf16 = st->transf_buf[0] + (st->transf_buf[1] << 8); in ad5770r_read_raw() 363 st->transf_buf[0] = ((u16)val >> 6); in ad5770r_write_raw() 364 st->transf_buf[1] = (val & GENMASK(5, 0)) << 2; in ad5770r_write_raw() 366 st->transf_buf, 2); in ad5770r_write_raw()
|