Searched refs:unit_power (Results 1 – 1 of 1) sorted by relevance
80 int unit_power[20]; member332 if (unit >= ARRAY_SIZE(sm->unit_power)) { in sm501_unit_power()338 sm->unit_power[unit], to); in sm501_unit_power()340 if (to == 0 && sm->unit_power[unit] == 0) { in sm501_unit_power()345 sm->unit_power[unit] += to ? 1 : -1; in sm501_unit_power()346 to = sm->unit_power[unit] ? 1 : 0; in sm501_unit_power()