Searched refs:nprops (Results 1 – 2 of 2) sorted by relevance
651 size_t nprops; in macsmc_power_probe() local695 nprops = 0; in macsmc_power_probe()698 props[nprops++] = POWER_SUPPLY_PROP_STATUS; in macsmc_power_probe()699 props[nprops++] = POWER_SUPPLY_PROP_PRESENT; in macsmc_power_probe()700 props[nprops++] = POWER_SUPPLY_PROP_VOLTAGE_NOW; in macsmc_power_probe()701 props[nprops++] = POWER_SUPPLY_PROP_CURRENT_NOW; in macsmc_power_probe()702 props[nprops++] = POWER_SUPPLY_PROP_POWER_NOW; in macsmc_power_probe()703 props[nprops++] = POWER_SUPPLY_PROP_CAPACITY; in macsmc_power_probe()704 props[nprops++] = POWER_SUPPLY_PROP_CAPACITY_LEVEL; in macsmc_power_probe()705 props[nprops++] = POWER_SUPPLY_PROP_TEMP; in macsmc_power_probe()[all …]
40 __be32 nprops; member188 u32 nprops; in update_dt_node() local209 nprops = be32_to_cpu(upwa->nprops); in update_dt_node()220 nprops--; in update_dt_node()223 for (i = 0; i < nprops; i++) { in update_dt_node()