Searched refs:design_capacity (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-2.7.6/drivers/sensor/max17055/ |
D | max17055.c | 273 uint16_t design_capacity = capacity_to_max17055(config->rsense_mohms, in max17055_write_config() local 274 config->design_capacity); in max17055_write_config() 275 uint16_t d_qacc = design_capacity / 32; in max17055_write_config() 276 uint16_t d_pacc = d_qacc * 44138 / design_capacity; in max17055_write_config() 282 design_capacity, d_qacc, i_chg_term, v_empty, d_pacc); in max17055_write_config() 284 if (max17055_reg_write(priv, DESIGN_CAP, design_capacity)) { in max17055_write_config() 394 .design_capacity = DT_INST_PROP(index, design_capacity), \
|
D | max17055.h | 72 uint16_t design_capacity; member
|
/Zephyr-Core-2.7.6/drivers/sensor/bq274xx/ |
D | bq274xx.c | 424 designenergy_mwh = (uint16_t)3.7 * config->design_capacity; in bq274xx_gauge_configure() 426 (uint16_t)config->design_capacity / (0.1 * config->taper_current); in bq274xx_gauge_configure() 511 designcap_msb = config->design_capacity >> 8; in bq274xx_gauge_configure() 512 designcap_lsb = config->design_capacity & 0x00FF; in bq274xx_gauge_configure() 775 .design_capacity = DT_INST_PROP(index, design_capacity), \
|
D | bq274xx.h | 104 uint16_t design_capacity; member
|