Home
last modified time | relevance | path

Searched refs:read_reg (Results 1 – 25 of 57) sorted by relevance

123

/Zephyr-latest/drivers/sensor/st/stmemsc/
Dstmemsc.h27 .read_reg = (stmdev_read_ptr)stmemsc_i2c_read, \
45 .read_reg = (stmdev_read_ptr)stmemsc_i2c_read_incr, \
62 .read_reg = (stmdev_read_ptr)i2c_rd_api, \
77 .read_reg = (stmdev_read_ptr)stmemsc_i3c_read, \
96 .read_reg = (stmdev_read_ptr)stmemsc_spi_read, \
114 .read_reg = (stmdev_read_ptr)stmemsc_spi_read_incr, \
131 .read_reg = (stmdev_read_ptr)spi_rd_api, \
/Zephyr-latest/drivers/mfd/
Dmfd_tle9104.c157 enum tle9104_register *read_reg, uint8_t *read_data) in tle9104_transceive_frame() argument
211 *read_reg = FIELD_GET(GENMASK(TLE9104_FRAME_FAULTGLOBAL_POS - 1, TLE9104_FRAME_ADDRESS_POS), in tle9104_transceive_frame()
222 enum tle9104_register read_reg; in tle9104_write_register() local
225 return tle9104_transceive_frame(dev, true, reg, value, &read_reg, &read_data); in tle9104_write_register()
301 enum tle9104_register read_reg; in tle9104_get_diagnostics_internal() local
307 &read_reg, &diag_out12_on); in tle9104_get_diagnostics_internal()
312 result = tle9104_transceive_frame(dev, false, TLE9104REGISTER_DIAGOUT34ON, 0x00, &read_reg, in tle9104_get_diagnostics_internal()
317 if (read_reg != TLE9104REGISTER_DIAGOUT12ON) { in tle9104_get_diagnostics_internal()
322 result = tle9104_transceive_frame(dev, false, TLE9104REGISTER_DIAGOFF, 0x00, &read_reg, in tle9104_get_diagnostics_internal()
327 if (read_reg != TLE9104REGISTER_DIAGOUT34ON) { in tle9104_get_diagnostics_internal()
[all …]
Dmfd_ad559x.h38 int (*read_reg)(const struct device *dev, uint8_t reg, uint8_t reg_data, uint16_t *val); member
Dmfd_ad559x_i2c.c67 .read_reg = mfd_ad559x_i2c_read_reg,
/Zephyr-latest/drivers/sensor/maxim/max31865/
Dmax31865.c210 } read_reg; in max31865_get_temperature() local
212 read_reg.u16 = 0; in max31865_get_temperature()
216 int err = max31865_spi_read(dev, (REG_RTD_MSB), read_reg.u8, 2); in max31865_get_temperature()
224 read_reg.u16 = sys_be16_to_cpu(read_reg.u16); in max31865_get_temperature()
226 LOG_DBG("RAW: %02X %02X , %04X", read_reg.u8[0], read_reg.u8[1], read_reg.u16); in max31865_get_temperature()
227 if (TESTBIT(read_reg.u16, 0)) { in max31865_get_temperature()
235 read_reg.u16 = read_reg.u16 >> 1; in max31865_get_temperature()
236 double resistance = (double)read_reg.u16; in max31865_get_temperature()
/Zephyr-latest/drivers/usb_c/ppc/
Dnxp_nx20p3483.c61 static int read_reg(const struct device *dev, uint8_t reg, uint8_t *value) in read_reg() function
114 ret = read_reg(dev, NX20P3483_REG_DEVICE_STATUS, &sts_reg); in nx20p3483_is_dead_battery_mode()
127 ret = read_reg(dev, NX20P3483_REG_DEVICE_CTRL, &ctrl_reg); in nx20p3483_exit_dead_battery_mode()
146 ret = read_reg(dev, NX20P3483_REG_SWITCH_STATUS, &sts_reg); in nx20p3483_is_vbus_source()
160 ret = read_reg(dev, NX20P3483_REG_SWITCH_STATUS, &sts_reg); in nx20p3483_is_vbus_sink()
185 ret = read_reg(dev, NX20P3483_REG_DEVICE_CTRL, &ctrl_reg); in nx20p3483_set_vbus_discharge()
298 ret = read_reg(dev, NX20P3483_REG_INT1, &irq1); in nx20p3483_irq_worker()
304 ret = read_reg(dev, NX20P3483_REG_INT2, &irq2); in nx20p3483_irq_worker()
400 read_reg(dev, NX20P3483_REG_SWITCH_CTRL, &reg); in nx20p3483_dev_init()
/Zephyr-latest/drivers/sensor/st/stts751/
Dstts751_i2c.c43 data->ctx_i2c.read_reg = (stmdev_read_ptr) stts751_i2c_read; in stts751_i2c_init()
/Zephyr-latest/include/zephyr/drivers/can/
Dcan_sja1000.h106 can_sja1000_read_reg_t read_reg; member
128 .read_reg = _read_reg, \
/Zephyr-latest/drivers/sensor/st/iis2dh/
Diis2dh_i2c.c39 .read_reg = (stmdev_read_ptr) iis2dh_i2c_read,
Diis2dh_spi.c86 .read_reg = (stmdev_read_ptr) iis2dh_spi_read,
/Zephyr-latest/drivers/sensor/st/iis2mdc/
Diis2mdc_i2c.c48 data->ctx_i2c.read_reg = (stmdev_read_ptr) iis2mdc_i2c_read; in iis2mdc_i2c_init()
Diis2mdc_spi.c103 data->ctx_spi.read_reg = (stmdev_read_ptr) iis2mdc_spi_read; in iis2mdc_spi_init()
/Zephyr-latest/drivers/sensor/st/ism330dhcx/
Dism330dhcx_i2c.c49 data->ctx_i2c.read_reg = (stmdev_read_ptr) ism330dhcx_i2c_read; in ism330dhcx_i2c_init()
Dism330dhcx_spi.c105 data->ctx_spi.read_reg = (stmdev_read_ptr) ism330dhcx_spi_read; in ism330dhcx_spi_init()
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx_spi.c52 .read_reg = bma4xx_spi_read_reg,
Dbma4xx_i2c.c64 .read_reg = bma4xx_i2c_read_reg,
/Zephyr-latest/drivers/sensor/st/lis2dh/
Dlis2dh_trigger.c91 status = lis2dh->hw_tf->read_reg(dev, LIS2DH_REG_CTRL1, &ctrl1); in lis2dh_start_trigger_int1()
175 status = lis2dh->hw_tf->read_reg(dev, in lis2dh_trigger_anym_tap_set()
180 status = lis2dh->hw_tf->read_reg(dev, in lis2dh_trigger_anym_tap_set()
303 status = lis2dh->hw_tf->read_reg(dev, LIS2DH_REG_CTRL4, in lis2dh_acc_slope_config()
471 status = lis2dh->hw_tf->read_reg(dev, in lis2dh_thread_cb()
489 status = lis2dh->hw_tf->read_reg(dev, LIS2DH_REG_CLICK_SRC, in lis2dh_thread_cb()
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_trigger.c26 ret = drv_data->hw_tf->read_reg(dev, ADXL367_STATUS, &status); in adxl367_thread_cb()
131 ret = drv_data->hw_tf->read_reg(dev, ADXL367_STATUS, &status); in adxl367_trigger_set()
Dadxl367_i2c.c85 .read_reg = adxl367_i2c_reg_read,
/Zephyr-latest/drivers/sensor/ens160/
Dens160.c82 ret = data->tf->read_reg(dev, ENS160_REG_DEVICE_STATUS, &status); in ens160_new_data()
123 ret = data->tf->read_reg(dev, ENS160_REG_DATA_AQI, &buffer); in ens160_sample_fetch()
265 ret = data->tf->read_reg(dev, ENS160_REG_DEVICE_STATUS, &status); in ens160_init()
Dens160_i2c.c50 .read_reg = ens160_read_reg_i2c,
/Zephyr-latest/drivers/sensor/st/lsm6dsl/
Dlsm6dsl_i2c.c57 .read_reg = lsm6dsl_i2c_read_reg,
/Zephyr-latest/drivers/sensor/st/iis3dhhc/
Diis3dhhc_spi.c85 .read_reg = (stmdev_read_ptr) iis3dhhc_spi_read,
/Zephyr-latest/drivers/sensor/st/i3g4250d/
Di3g4250d_spi.c86 .read_reg = (stmdev_read_ptr) i3g4250d_spi_read,
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_i2c.c87 .read_reg = adxl372_i2c_reg_read,

123