Searched refs:device_chemistry (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/tests/drivers/fuel_gauge/bq27z746/src/ |
D | test_bq27z746.c | 84 struct sbs_gauge_device_chemistry device_chemistry; in ZTEST_USER_F() local 87 &device_chemistry, sizeof(device_chemistry)); in ZTEST_USER_F() 92 zassert_equal(sizeof("LION") - 1, device_chemistry.device_chemistry_length); in ZTEST_USER_F() 93 zassert_mem_equal(device_chemistry.device_chemistry, "LION", in ZTEST_USER_F() 94 device_chemistry.device_chemistry_length); in ZTEST_USER_F()
|
/Zephyr-latest/drivers/fuel_gauge/bq27z746/ |
D | emul_bq27z746.c | 42 const uint8_t device_chemistry[] = "LION"; in emul_bq27z746_read_altmac() local 76 memcpy(&buf[2], device_chemistry, sizeof(device_chemistry) - 1); in emul_bq27z746_read_altmac() 77 buf[35] = sizeof(device_chemistry) - 1 + BQ27Z746_MAC_OVERHEAD_LEN; in emul_bq27z746_read_altmac()
|
/Zephyr-latest/include/zephyr/drivers/sensor/ |
D | battery.h | 49 UTIL_CAT(BATTERY_CHEMISTRY_, DT_STRING_UPPER_TOKEN_OR(node_id, device_chemistry, UNKNOWN))
|
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/ |
D | emul_sbs_gauge.c | 212 sizeof(dev_chem->device_chemistry)); in emul_sbs_gauge_buffer_read() 213 memcpy(dev_chem->device_chemistry, chem, dev_chem->device_chemistry_length); in emul_sbs_gauge_buffer_read()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | fuel_gauge.h | 198 char device_chemistry[SBS_GAUGE_DEVICE_CHEMISTRY_MAX_SIZE]; member
|