Home
last modified time | relevance | path

Searched refs:part_id (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/sensor/ams/ens210/
Dens210.c285 uint16_t part_id; in ens210_init() local
301 ret = i2c_burst_read_dt(&config->i2c, ENS210_REG_PART_ID, (uint8_t *)&part_id, in ens210_init()
302 sizeof(part_id)); in ens210_init()
308 if (part_id != ENS210_PART_ID) { in ens210_init()
310 ENS210_PART_ID, part_id); in ens210_init()
/Zephyr-latest/drivers/sensor/maxim/max30101/
Dmax30101.c100 uint8_t part_id; in max30101_init() local
112 &part_id)) { in max30101_init()
116 if (part_id != MAX30101_PART_ID) { in max30101_init()
118 part_id, MAX30101_PART_ID); in max30101_init()
/Zephyr-latest/arch/arc/core/mpu/
Darc_mpu_common_internal.h188 void arc_core_mpu_remove_mem_partition(struct k_mem_domain *domain, uint32_t part_id) in arc_core_mpu_remove_mem_partition() argument
194 LOG_DBG("disable region 0x%x", region_index + part_id); in arc_core_mpu_remove_mem_partition()
196 _region_init(region_index + part_id, 0, 0, 0); in arc_core_mpu_remove_mem_partition()
/Zephyr-latest/drivers/sensor/ens160/
Dens160.c192 uint16_t part_id; in ens160_init() local
209 ret = data->tf->read_data(dev, ENS160_REG_PART_ID, (uint8_t *)&part_id, sizeof(part_id)); in ens160_init()
215 if (sys_le16_to_cpu(part_id) != ENS160_PART_ID) { in ens160_init()
216 LOG_ERR("Part ID is invalid. Expected: 0x%x; read: 0x%x", ENS160_PART_ID, part_id); in ens160_init()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_mcr20a.h114 DEFINE_IREG_READ(part_id, MCR20A_PART_ID)
126 DEFINE_IREG_WRITE(part_id, MCR20A_PART_ID)
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372.c713 uint8_t dev_id, part_id; in adxl372_probe() local
720 ret = data->hw_tf->read_reg(dev, ADXL372_PARTID, &part_id); in adxl372_probe()
725 if (dev_id != ADXL372_DEVID_VAL || part_id != ADXL372_PARTID_VAL) { in adxl372_probe()
726 LOG_ERR("failed to read id (0x%X:0x%X)", dev_id, part_id); in adxl372_probe()
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367.c960 uint8_t dev_id, part_id; in adxl367_probe() local
972 ret = data->hw_tf->read_reg(dev, ADXL367_PART_ID, &part_id); in adxl367_probe()
977 if (dev_id != ADXL367_DEVID_VAL || part_id != ADXL367_PARTID_VAL) { in adxl367_probe()
978 LOG_ERR("failed to read id (0x%X:0x%X)\n", dev_id, part_id); in adxl367_probe()