Searched refs:get_unaligned_be24 (Results 1 – 25 of 35) sorted by relevance
12
/Linux-v6.6/drivers/iio/pressure/ |
D | dlhl60d.c | 132 *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()
|
D | ms5611_i2c.c | 53 *val = get_unaligned_be24(&buf[0]); in ms5611_i2c_read_adc()
|
D | ms5611_spi.c | 48 *val = get_unaligned_be24(&buf[0]); in ms5611_spi_read_adc()
|
D | hp206c.c | 103 return get_unaligned_be24(&values[0]) & GENMASK(19, 0); in hp206c_read_20bit()
|
D | mprls0025pa.c | 245 *press = get_unaligned_be24(&buf[1]); in mpr_read_pressure()
|
D | bmp280-core.c | 378 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/ |
D | si1133.c | 636 *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/ |
D | adis16130.c | 64 *val = get_unaligned_be24(&st->buf[1]); in adis16130_spi_read()
|
/Linux-v6.6/drivers/media/v4l2-core/ |
D | v4l2-cci.c | 46 *val = get_unaligned_be24(buf); in cci_read()
|
/Linux-v6.6/drivers/iio/adc/ |
D | ltc2497.c | 67 *val = (get_unaligned_be24(st->data.d8) >> 6) in ltc2497_result_and_measure()
|
D | ti-ads124s08.c | 219 return get_unaligned_be24(&priv->data[2]); in ads124s_read()
|
D | mcp3422.c | 117 temp = get_unaligned_be24(&buf[0]); in mcp3422_read()
|
D | ad_sigma_delta.c | 159 *val = get_unaligned_be24(sigma_delta->rx_buf); in ad_sd_read_reg()
|
D | mcp3911.c | 365 adc->scan.channels[i] = get_unaligned_be24(&adc->rx_buf[scan_chan->channel * 3]); in mcp3911_trigger_handler()
|
/Linux-v6.6/include/asm-generic/ |
D | unaligned.h | 90 static inline u32 get_unaligned_be24(const void *p) in get_unaligned_be24() function
|
/Linux-v6.6/drivers/iio/health/ |
D | afe4403.c | 232 *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/ |
D | target_core_pscsi.c | 154 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/ |
D | scsi_trace.c | 23 lba = get_unaligned_be24(&cdb[1]) & 0x1fffff; in scsi_trace_rw6()
|
/Linux-v6.6/drivers/iio/temperature/ |
D | max31856.c | 174 *val = get_unaligned_be24(®_val[0]) >> 5; in max31856_thermocouple_read()
|
/Linux-v6.6/drivers/iio/frequency/ |
D | adrf6780.c | 110 *val = (get_unaligned_be24(&st->data[0]) >> 1) & GENMASK(15, 0); in __adrf6780_spi_read()
|
D | admv1013.c | 124 *val = FIELD_GET(ADMV1013_REG_DATA_MSK, get_unaligned_be24(&st->data[0])); in __admv1013_spi_read()
|
D | admv1014.c | 154 *val = FIELD_GET(ADMV1014_REG_DATA_MSK, get_unaligned_be24(&st->data[0])); in __admv1014_spi_read()
|
/Linux-v6.6/drivers/iio/magnetometer/ |
D | rm3100-core.c | 221 *val = sign_extend32(get_unaligned_be24(&buffer[0]), 23); in rm3100_read_mag()
|
/Linux-v6.6/drivers/iio/cdc/ |
D | ad7746.c | 612 *val = get_unaligned_be24(data) - 0x800000; in ad7746_read_channel()
|
/Linux-v6.6/drivers/iio/accel/ |
D | adxl355_core.c | 357 return get_unaligned_be24(data->transf_buf); in adxl355_read_axis()
|
12