Searched refs:design_capacity (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.7.0/drivers/sensor/maxim/max17055/ |
D | max17055.c | 345 uint16_t design_capacity = capacity_to_max17055(config->rsense_mohms, in max17055_write_config() local 346 config->design_capacity); in max17055_write_config() 347 uint16_t d_qacc = design_capacity / 32; in max17055_write_config() 348 uint16_t d_pacc = d_qacc * 44138 / design_capacity; in max17055_write_config() 355 design_capacity, d_qacc, i_chg_term, d_pacc); in max17055_write_config() 357 if (max17055_reg_write(dev, DESIGN_CAP, design_capacity)) { in max17055_write_config() 482 .design_capacity = DT_INST_PROP(index, design_capacity), \
|
D | max17055.h | 77 uint16_t design_capacity; member
|
/Zephyr-Core-3.7.0/drivers/sensor/ti/bq274xx/ |
D | bq274xx.h | 122 uint16_t design_capacity; member
|
D | bq274xx.c | 400 designenergy_mwh = (uint32_t)config->design_capacity * 37 / 10; /* x3.7 */ in bq274xx_gauge_configure() 401 taperrate = config->design_capacity * 10 / config->taper_current; in bq274xx_gauge_configure() 432 regs->dm_design_capacity, config->design_capacity, in bq274xx_gauge_configure() 871 .design_capacity = DT_INST_PROP(index, design_capacity), \
|