Home
last modified time | relevance | path

Searched refs:get_unaligned_be24 (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v6.6/drivers/iio/pressure/
Ddlhl60d.c132 *pressure = get_unaligned_be24(&st->rx_buf[1]); in dlh_read_direct()
133 *temperature = get_unaligned_be24(&st->rx_buf[4]); in dlh_read_direct()
Dms5611_i2c.c53 *val = get_unaligned_be24(&buf[0]); in ms5611_i2c_read_adc()
Dms5611_spi.c48 *val = get_unaligned_be24(&buf[0]); in ms5611_spi_read_adc()
Dhp206c.c103 return get_unaligned_be24(&values[0]) & GENMASK(19, 0); in hp206c_read_20bit()
Dmprls0025pa.c245 *press = get_unaligned_be24(&buf[1]); in mpr_read_pressure()
Dbmp280-core.c378 adc_temp = FIELD_GET(BMP280_MEAS_TRIM_MASK, get_unaligned_be24(data->buf)); in bmp280_read_temp()
417 adc_press = FIELD_GET(BMP280_MEAS_TRIM_MASK, get_unaligned_be24(data->buf)); in bmp280_read_press()
1915 *val = get_unaligned_be24(data->buf) >> (8 - oss); in bmp180_read_adc_press()
/Linux-v6.6/drivers/iio/light/
Dsi1133.c636 *val = sign_extend32(get_unaligned_be24(&buffer[0]), 23); in si1133_measure()
725 high_vis = sign_extend32(get_unaligned_be24(&buffer[0]), 23); in si1133_get_lux()
727 low_vis = sign_extend32(get_unaligned_be24(&buffer[3]), 23); in si1133_get_lux()
729 ir = sign_extend32(get_unaligned_be24(&buffer[6]), 23); in si1133_get_lux()
/Linux-v6.6/drivers/iio/gyro/
Dadis16130.c64 *val = get_unaligned_be24(&st->buf[1]); in adis16130_spi_read()
/Linux-v6.6/drivers/media/v4l2-core/
Dv4l2-cci.c46 *val = get_unaligned_be24(buf); in cci_read()
/Linux-v6.6/drivers/iio/adc/
Dltc2497.c67 *val = (get_unaligned_be24(st->data.d8) >> 6) in ltc2497_result_and_measure()
Dti-ads124s08.c219 return get_unaligned_be24(&priv->data[2]); in ads124s_read()
Dmcp3422.c117 temp = get_unaligned_be24(&buf[0]); in mcp3422_read()
Dad_sigma_delta.c159 *val = get_unaligned_be24(sigma_delta->rx_buf); in ad_sd_read_reg()
Dmcp3911.c365 adc->scan.channels[i] = get_unaligned_be24(&adc->rx_buf[scan_chan->channel * 3]); in mcp3911_trigger_handler()
/Linux-v6.6/include/asm-generic/
Dunaligned.h90 static inline u32 get_unaligned_be24(const void *p) in get_unaligned_be24() function
/Linux-v6.6/drivers/iio/health/
Dafe4403.c232 *val = get_unaligned_be24(&rx[0]); in afe4403_read()
332 afe->buffer[i++] = get_unaligned_be24(&rx[0]); in afe4403_trigger_handler()
/Linux-v6.6/drivers/target/
Dtarget_core_pscsi.c154 sdev->sector_size = get_unaligned_be24(&buf[9]); in pscsi_tape_read_blocksize()
664 blocksize = get_unaligned_be24(&buf[9]); in pscsi_complete_cmd()
666 blocksize = get_unaligned_be24(&buf[13]); in pscsi_complete_cmd()
/Linux-v6.6/drivers/scsi/
Dscsi_trace.c23 lba = get_unaligned_be24(&cdb[1]) & 0x1fffff; in scsi_trace_rw6()
/Linux-v6.6/drivers/iio/temperature/
Dmax31856.c174 *val = get_unaligned_be24(&reg_val[0]) >> 5; in max31856_thermocouple_read()
/Linux-v6.6/drivers/iio/frequency/
Dadrf6780.c110 *val = (get_unaligned_be24(&st->data[0]) >> 1) & GENMASK(15, 0); in __adrf6780_spi_read()
Dadmv1013.c124 *val = FIELD_GET(ADMV1013_REG_DATA_MSK, get_unaligned_be24(&st->data[0])); in __admv1013_spi_read()
Dadmv1014.c154 *val = FIELD_GET(ADMV1014_REG_DATA_MSK, get_unaligned_be24(&st->data[0])); in __admv1014_spi_read()
/Linux-v6.6/drivers/iio/magnetometer/
Drm3100-core.c221 *val = sign_extend32(get_unaligned_be24(&buffer[0]), 23); in rm3100_read_mag()
/Linux-v6.6/drivers/iio/cdc/
Dad7746.c612 *val = get_unaligned_be24(data) - 0x800000; in ad7746_read_channel()
/Linux-v6.6/drivers/iio/accel/
Dadxl355_core.c357 return get_unaligned_be24(data->transf_buf); in adxl355_read_axis()

12