Home
last modified time | relevance | path

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

/linux/drivers/iio/accel/
A Dadxl355_core.c176 u8 transf_buf[3]; member
292 return regmap_bulk_read(data->regmap, addr, data->transf_buf, 2); in adxl355_get_temp_data()
299 ret = regmap_bulk_read(data->regmap, addr, data->transf_buf, in adxl355_read_axis()
300 ARRAY_SIZE(data->transf_buf)); in adxl355_read_axis()
304 return get_unaligned_be24(data->transf_buf); in adxl355_read_axis()
408 put_unaligned_be16(calibbias, data->transf_buf); in adxl355_set_calibbias()
411 data->transf_buf, 2); in adxl355_set_calibbias()
445 *val = get_unaligned_be16(data->transf_buf); in adxl355_read_raw()
A Dadxl313_core.c49 __le16 transf_buf ____cacheline_aligned;
115 &data->transf_buf, sizeof(data->transf_buf)); in adxl313_read_axis()
119 ret = le16_to_cpu(data->transf_buf); in adxl313_read_axis()
/linux/drivers/iio/dac/
A Dad5770r.c143 u8 transf_buf[2] ____cacheline_aligned; member
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()

Completed in 10 milliseconds