Searched refs:get_unaligned_be24 (Results 1 – 24 of 24) sorted by relevance
/linux-5.19.10/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-5.19.10/drivers/iio/pressure/ |
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()
|
/linux-5.19.10/drivers/iio/gyro/ |
D | adis16130.c | 64 *val = get_unaligned_be24(&st->buf[1]); in adis16130_spi_read()
|
/linux-5.19.10/include/asm-generic/ |
D | unaligned.h | 90 static inline u32 get_unaligned_be24(const void *p) in get_unaligned_be24() function
|
/linux-5.19.10/drivers/iio/health/ |
D | afe4403.c | 232 *val = get_unaligned_be24(&rx[0]); in afe4403_read() 331 afe->buffer[i++] = get_unaligned_be24(&rx[0]); in afe4403_trigger_handler()
|
/linux-5.19.10/drivers/target/ |
D | target_core_pscsi.c | 155 sdev->sector_size = get_unaligned_be24(&buf[9]); in pscsi_tape_read_blocksize() 667 blocksize = get_unaligned_be24(&buf[9]); in pscsi_complete_cmd() 669 blocksize = get_unaligned_be24(&buf[13]); in pscsi_complete_cmd()
|
D | target_core_spc.c | 1411 *size = get_unaligned_be24(&cdb[6]); in spc_parse_cdb()
|
D | target_core_sbc.c | 260 return get_unaligned_be24(&cdb[1]) & 0x1fffff; in transport_lba_21()
|
/linux-5.19.10/drivers/scsi/ |
D | scsi_trace.c | 23 lba = get_unaligned_be24(&cdb[1]) & 0x1fffff; in scsi_trace_rw6()
|
D | st.c | 2680 sc = sign_extend32(get_unaligned_be24(&cmd[2]), 23); in deb_space_print()
|
/linux-5.19.10/drivers/iio/adc/ |
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()
|
/linux-5.19.10/drivers/iio/temperature/ |
D | max31856.c | 174 *val = get_unaligned_be24(®_val[0]) >> 5; in max31856_thermocouple_read()
|
/linux-5.19.10/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-5.19.10/drivers/iio/magnetometer/ |
D | rm3100-core.c | 221 *val = sign_extend32(get_unaligned_be24(&buffer[0]), 23); in rm3100_read_mag()
|
/linux-5.19.10/drivers/iio/accel/ |
D | adxl355_core.c | 303 return get_unaligned_be24(data->transf_buf); in adxl355_read_axis()
|
/linux-5.19.10/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 794 oui = get_unaligned_be24(pos); in rtw_ieee802_11_parse_vendor_specific()
|
/linux-5.19.10/drivers/gpu/drm/bridge/cadence/ |
D | cdns-mhdp8546-core.c | 311 if (addr != get_unaligned_be24(reg + 2)) in cdns_mhdp_dpcd_write() 512 addr = get_unaligned_be24(hdr + 2); in cdns_mhdp_adjust_lt()
|
/linux-5.19.10/drivers/usb/gadget/function/ |
D | f_mass_storage.c | 605 lba = get_unaligned_be24(&common->cmnd[1]); in do_read() 745 lba = get_unaligned_be24(&common->cmnd[1]); in do_write()
|