/Zephyr-latest/drivers/gpio/ |
D | gpio_stmpe1600.c | 256 uint16_t chip_id; in stmpe1600_init() local 263 ret = read_reg16(dev->config, REG_CHIP_ID_LSB, &chip_id); in stmpe1600_init() 269 if (chip_id != 0x1600) { in stmpe1600_init()
|
/Zephyr-latest/drivers/sensor/ams/tsl2561/ |
D | tsl2561.c | 258 uint8_t chip_id; in tsl2561_sensor_setup() local 262 ret = tsl2561_reg_read(dev, TSL2561_REG_ID, &chip_id, 1U); in tsl2561_sensor_setup() 268 if (FIELD_GET(TSL2561_ID_PARTNO, chip_id) != TSL2561_CHIP_ID) { in tsl2561_sensor_setup()
|
/Zephyr-latest/drivers/sensor/bosch/bmc150_magn/ |
D | bmc150_magn.c | 482 uint8_t chip_id; in bmc150_magn_init_chip() local 495 BMC150_MAGN_REG_CHIP_ID, &chip_id) < 0) { in bmc150_magn_init_chip() 499 if (chip_id != BMC150_MAGN_CHIP_ID_VAL) { in bmc150_magn_init_chip() 500 LOG_ERR("invalid chip id 0x%x", chip_id); in bmc150_magn_init_chip() 503 LOG_ERR("chip id 0x%x", chip_id); in bmc150_magn_init_chip()
|
/Zephyr-latest/drivers/sensor/st/iis2iclx/ |
D | iis2iclx_shub.c | 751 uint8_t chip_id; in iis2iclx_shub_init() local 761 chip_id = 0; in iis2iclx_shub_init() 773 &chip_id, 1) < 0) { in iis2iclx_shub_init() 776 if (chip_id == sp->wai_val) { in iis2iclx_shub_init() 782 LOG_DBG("shub: invalid chip id 0x%x", chip_id); in iis2iclx_shub_init() 785 LOG_INF("shub: Ext Device Chip Id: 0x%02x", chip_id); in iis2iclx_shub_init()
|
D | iis2iclx.c | 533 uint8_t chip_id; in iis2iclx_init_chip() local 539 if (iis2iclx_device_id_get((stmdev_ctx_t *)&cfg->ctx, &chip_id) < 0) { in iis2iclx_init_chip() 544 LOG_INF("chip id 0x%x", chip_id); in iis2iclx_init_chip() 546 if (chip_id != IIS2ICLX_ID) { in iis2iclx_init_chip() 547 LOG_ERR("Invalid chip id 0x%x", chip_id); in iis2iclx_init_chip()
|
/Zephyr-latest/drivers/sensor/st/ism330dhcx/ |
D | ism330dhcx_shub.c | 721 uint8_t chip_id; in ism330dhcx_shub_init() local 729 chip_id = 0; in ism330dhcx_shub_init() 739 &chip_id, 1) < 0) { in ism330dhcx_shub_init() 742 if (chip_id == sp->wai_val) { in ism330dhcx_shub_init() 748 LOG_DBG("shub: invalid chip id 0x%x", chip_id); in ism330dhcx_shub_init() 751 LOG_INF("shub: Ext Device Chip Id: 0x%02x", chip_id); in ism330dhcx_shub_init()
|
D | ism330dhcx.c | 693 uint8_t chip_id; in ism330dhcx_init_chip() local 697 if (ism330dhcx_device_id_get(ism330dhcx->ctx, &chip_id) < 0) { in ism330dhcx_init_chip() 702 LOG_INF("chip id 0x%x", chip_id); in ism330dhcx_init_chip() 704 if (chip_id != ISM330DHCX_ID) { in ism330dhcx_init_chip() 705 LOG_DBG("Invalid chip id 0x%x", chip_id); in ism330dhcx_init_chip()
|
/Zephyr-latest/drivers/mfd/ |
D | mfd_axp192.c | 146 uint8_t chip_id; in mfd_axp192_init() local 158 ret = i2c_reg_read_byte_dt(&config->i2c, AXP192_REG_CHIP_ID, &chip_id); in mfd_axp192_init() 162 if (chip_id != AXP192_CHIP_ID) { in mfd_axp192_init() 163 LOG_ERR("Invalid Chip detected (%d)", chip_id); in mfd_axp192_init()
|
/Zephyr-latest/drivers/sensor/st/lsm9ds1/ |
D | lsm9ds1.c | 571 uint8_t chip_id, fs; in lsm9ds1_init() local 580 ret = lsm9ds1_read_reg(ctx, LSM9DS1_WHO_AM_I, &chip_id, 1); in lsm9ds1_init() 586 if (chip_id != LSM9DS1_IMU_ID) { in lsm9ds1_init() 587 LOG_ERR("Invalid ID : got %x", chip_id); in lsm9ds1_init() 590 LOG_DBG("chip_id : %x", chip_id); in lsm9ds1_init()
|
/Zephyr-latest/drivers/sensor/st/lsm6dso16is/ |
D | lsm6dso16is_shub.c | 774 uint8_t chip_id; in lsm6dso16is_shub_init() local 793 chip_id = 0; in lsm6dso16is_shub_init() 805 &chip_id, 1) < 0) { in lsm6dso16is_shub_init() 809 if (chip_id == sp->wai_val) { in lsm6dso16is_shub_init() 815 LOG_DBG("shub: invalid chip id 0x%x", chip_id); in lsm6dso16is_shub_init() 818 LOG_INF("shub: Ext Device Chip Id: %02x", chip_id); in lsm6dso16is_shub_init()
|
D | lsm6dso16is.c | 742 uint8_t chip_id; in lsm6dso16is_init_chip() local 755 if (lsm6dso16is_device_id_get(ctx, &chip_id) < 0) { in lsm6dso16is_init_chip() 760 LOG_INF("chip id 0x%x", chip_id); in lsm6dso16is_init_chip() 762 if (chip_id != LSM6DSO16IS_ID) { in lsm6dso16is_init_chip() 763 LOG_DBG("Invalid chip id 0x%x", chip_id); in lsm6dso16is_init_chip()
|
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/ |
D | lsm6dsv16x_shub.c | 774 uint8_t chip_id; in lsm6dsv16x_shub_init() local 793 chip_id = 0; in lsm6dsv16x_shub_init() 805 &chip_id, 1) < 0) { in lsm6dsv16x_shub_init() 809 if (chip_id == sp->wai_val) { in lsm6dsv16x_shub_init() 815 LOG_DBG("shub: invalid chip id 0x%x", chip_id); in lsm6dsv16x_shub_init() 818 LOG_INF("shub: Ext Device Chip Id: %02x", chip_id); in lsm6dsv16x_shub_init()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_lan865x_priv.h | 73 uint16_t chip_id; member
|
/Zephyr-latest/drivers/sensor/st/lsm9ds0_mfd/ |
D | lsm9ds0_mfd.c | 648 uint8_t chip_id; in lsm9ds0_mfd_init_chip() local 655 if (i2c_reg_read_byte_dt(&config->i2c, LSM9DS0_MFD_REG_WHO_AM_I_XM, &chip_id) < 0) { in lsm9ds0_mfd_init_chip() 660 if (chip_id != LSM9DS0_MFD_VAL_WHO_AM_I_XM) { in lsm9ds0_mfd_init_chip() 661 LOG_DBG("invalid chip id 0x%x", chip_id); in lsm9ds0_mfd_init_chip() 665 LOG_DBG("chip id 0x%x", chip_id); in lsm9ds0_mfd_init_chip()
|
/Zephyr-latest/drivers/sensor/memsic/mmc56x3/ |
D | mmc56x3.c | 153 uint8_t chip_id; in mmc56x3_chip_init() local 161 ret = mmc56x3_reg_read(dev, MMC56X3_REG_ID, &chip_id, 1); in mmc56x3_chip_init() 167 if (chip_id == MMC56X3_CHIP_ID) { in mmc56x3_chip_init() 170 LOG_DBG("bad chip id 0x%x", chip_id); in mmc56x3_chip_init()
|
/Zephyr-latest/drivers/sensor/st/lsm6dsl/ |
D | lsm6dsl.c | 714 uint8_t chip_id; in lsm6dsl_init_chip() local 721 if (data->hw_tf->read_reg(dev, LSM6DSL_REG_WHO_AM_I, &chip_id) < 0) { in lsm6dsl_init_chip() 725 if (chip_id != LSM6DSL_VAL_WHO_AM_I) { in lsm6dsl_init_chip() 726 LOG_DBG("invalid chip id 0x%x", chip_id); in lsm6dsl_init_chip() 730 LOG_DBG("chip id 0x%x", chip_id); in lsm6dsl_init_chip()
|
/Zephyr-latest/include/zephyr/drivers/mfd/ |
D | mfd_ite_it8801.h | 32 uint8_t chip_id; member
|
/Zephyr-latest/drivers/sensor/st/lsm6dso/ |
D | lsm6dso.c | 709 uint8_t chip_id, master_on; in lsm6dso_init_chip() local 722 if (lsm6dso_device_id_get(ctx, &chip_id) < 0) { in lsm6dso_init_chip() 727 LOG_INF("chip id 0x%x", chip_id); in lsm6dso_init_chip() 729 if (chip_id != LSM6DSO_ID) { in lsm6dso_init_chip() 730 LOG_DBG("Invalid chip id 0x%x", chip_id); in lsm6dso_init_chip()
|
/Zephyr-latest/drivers/sensor/tdk/icm42670/ |
D | icm42670.h | 57 uint8_t chip_id; member
|
/Zephyr-latest/drivers/sensor/bosch/bmm150/ |
D | bmm150.c | 554 uint8_t chip_id; in bmm150_init_chip() local 562 if (bmm150_reg_read(dev, BMM150_REG_CHIP_ID, &chip_id, 1) < 0) { in bmm150_init_chip() 567 if (chip_id != BMM150_CHIP_ID_VAL) { in bmm150_init_chip() 568 LOG_ERR("invalid chip id 0x%x", chip_id); in bmm150_init_chip()
|
/Zephyr-latest/drivers/video/ |
D | ov5640.c | 935 uint16_t chip_id; in ov5640_init() local 1006 ret = ov5640_read_reg(&cfg->i2c, CHIP_ID_REG, &chip_id, sizeof(chip_id)); in ov5640_init() 1012 if (chip_id != CHIP_ID_VAL) { in ov5640_init() 1013 LOG_ERR("Wrong chip ID: %04x (expected %04x)", chip_id, CHIP_ID_VAL); in ov5640_init()
|
/Zephyr-latest/drivers/sensor/bosch/bmi270/ |
D | bmi270.c | 648 uint8_t chip_id; in bmi270_init() local 679 ret = bmi270_reg_read(dev, BMI270_REG_CHIP_ID, &chip_id, 1); in bmi270_init() 684 if (chip_id != BMI270_CHIP_ID) { in bmi270_init() 686 chip_id, BMI270_CHIP_ID); in bmi270_init()
|
/Zephyr-latest/drivers/sensor/bosch/bmp581/ |
D | bmp581.h | 309 uint8_t chip_id; member
|
/Zephyr-latest/drivers/sensor/bosch/bma4xx/ |
D | bma4xx.h | 209 uint8_t chip_id; member
|
D | bma4xx.c | 242 status = bma4xx->hw_ops->read_reg(dev, BMA4XX_REG_CHIP_ID, &bma4xx->chip_id); in bma4xx_chip_init() 247 LOG_DBG("chip_id is 0x%02x", bma4xx->chip_id); in bma4xx_chip_init() 249 if (bma4xx->chip_id != BMA4XX_CHIP_ID_BMA422) { in bma4xx_chip_init()
|