Searched refs:unit_power (Results 1 – 1 of 1) sorted by relevance
78 int unit_power[20]; member330 if (unit >= ARRAY_SIZE(sm->unit_power)) { in sm501_unit_power()336 sm->unit_power[unit], to); in sm501_unit_power()338 if (to == 0 && sm->unit_power[unit] == 0) { in sm501_unit_power()343 sm->unit_power[unit] += to ? 1 : -1; in sm501_unit_power()344 to = sm->unit_power[unit] ? 1 : 0; in sm501_unit_power()