Home
last modified time | relevance | path

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

/linux/drivers/iio/frequency/
H A Dadmv4420.c116 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()
/linux/drivers/iio/accel/
H A Dadxl355_core.c231 u8 transf_buf[3]; member
345 return regmap_bulk_read(data->regmap, addr, data->transf_buf, 2); in adxl355_get_temp_data()
352 ret = regmap_bulk_read(data->regmap, addr, data->transf_buf, in adxl355_read_axis()
353 ARRAY_SIZE(data->transf_buf)); in adxl355_read_axis()
357 return get_unaligned_be24(data->transf_buf); in adxl355_read_axis()
461 put_unaligned_be16(calibbias, data->transf_buf); in adxl355_set_calibbias()
464 data->transf_buf, 2); in adxl355_set_calibbias()
498 *val = get_unaligned_be16(data->transf_buf); in adxl355_read_raw()
H A Dadxl380.c244 u8 transf_buf[3]; member
439 ret = regmap_bulk_read(st->regmap, addr, &st->transf_buf, 2); in adxl380_read_chn()
443 return get_unaligned_be16(st->transf_buf); in adxl380_read_chn()
673 put_unaligned_be24(reg_val, &st->transf_buf[0]); in _adxl380_set_act_inact_time_ms()
675 ret = regmap_bulk_write(st->regmap, reg, st->transf_buf, sizeof(st->transf_buf)); in _adxl380_set_act_inact_time_ms()
905 &st->transf_buf, 2); in adxl380_get_status()
909 *status0 = st->transf_buf[0]; in adxl380_get_status()
910 *status1 = st->transf_buf[1]; in adxl380_get_status()
920 &st->transf_buf, 2); in adxl380_get_fifo_entries()
924 *fifo_entries = st->transf_buf[0] | ((BIT(0) & st->transf_buf[1]) << 8); in adxl380_get_fifo_entries()
[all …]
H A Dadxl313_core.c224 &data->transf_buf, sizeof(data->transf_buf)); in adxl313_read_axis()
228 ret = le16_to_cpu(data->transf_buf); in adxl313_read_axis()
H A Dadxl313.h67 __le16 transf_buf __aligned(IIO_DMA_MINALIGN);