/Zephyr-latest/drivers/sensor/st/stmemsc/ |
D | stmemsc.h | 27 .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/ |
D | mfd_tle9104.c | 157 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 …]
|
D | mfd_ad559x.h | 38 int (*read_reg)(const struct device *dev, uint8_t reg, uint8_t reg_data, uint16_t *val); member
|
D | mfd_ad559x_i2c.c | 67 .read_reg = mfd_ad559x_i2c_read_reg,
|
/Zephyr-latest/drivers/sensor/maxim/max31865/ |
D | max31865.c | 210 } 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/ |
D | nxp_nx20p3483.c | 61 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, ®); in nx20p3483_dev_init()
|
/Zephyr-latest/drivers/sensor/st/stts751/ |
D | stts751_i2c.c | 43 data->ctx_i2c.read_reg = (stmdev_read_ptr) stts751_i2c_read; in stts751_i2c_init()
|
/Zephyr-latest/include/zephyr/drivers/can/ |
D | can_sja1000.h | 106 can_sja1000_read_reg_t read_reg; member 128 .read_reg = _read_reg, \
|
/Zephyr-latest/drivers/sensor/st/iis2dh/ |
D | iis2dh_i2c.c | 39 .read_reg = (stmdev_read_ptr) iis2dh_i2c_read,
|
D | iis2dh_spi.c | 86 .read_reg = (stmdev_read_ptr) iis2dh_spi_read,
|
/Zephyr-latest/drivers/sensor/st/iis2mdc/ |
D | iis2mdc_i2c.c | 48 data->ctx_i2c.read_reg = (stmdev_read_ptr) iis2mdc_i2c_read; in iis2mdc_i2c_init()
|
D | iis2mdc_spi.c | 103 data->ctx_spi.read_reg = (stmdev_read_ptr) iis2mdc_spi_read; in iis2mdc_spi_init()
|
/Zephyr-latest/drivers/sensor/st/ism330dhcx/ |
D | ism330dhcx_i2c.c | 49 data->ctx_i2c.read_reg = (stmdev_read_ptr) ism330dhcx_i2c_read; in ism330dhcx_i2c_init()
|
D | ism330dhcx_spi.c | 105 data->ctx_spi.read_reg = (stmdev_read_ptr) ism330dhcx_spi_read; in ism330dhcx_spi_init()
|
/Zephyr-latest/drivers/sensor/bosch/bma4xx/ |
D | bma4xx_spi.c | 52 .read_reg = bma4xx_spi_read_reg,
|
D | bma4xx_i2c.c | 64 .read_reg = bma4xx_i2c_read_reg,
|
/Zephyr-latest/drivers/sensor/st/lis2dh/ |
D | lis2dh_trigger.c | 91 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/ |
D | adxl367_trigger.c | 26 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()
|
D | adxl367_i2c.c | 85 .read_reg = adxl367_i2c_reg_read,
|
/Zephyr-latest/drivers/sensor/ens160/ |
D | ens160.c | 82 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()
|
D | ens160_i2c.c | 50 .read_reg = ens160_read_reg_i2c,
|
/Zephyr-latest/drivers/sensor/st/lsm6dsl/ |
D | lsm6dsl_i2c.c | 57 .read_reg = lsm6dsl_i2c_read_reg,
|
/Zephyr-latest/drivers/sensor/st/iis3dhhc/ |
D | iis3dhhc_spi.c | 85 .read_reg = (stmdev_read_ptr) iis3dhhc_spi_read,
|
/Zephyr-latest/drivers/sensor/st/i3g4250d/ |
D | i3g4250d_spi.c | 86 .read_reg = (stmdev_read_ptr) i3g4250d_spi_read,
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | adxl372_i2c.c | 87 .read_reg = adxl372_i2c_reg_read,
|