Home
last modified time | relevance | path

Searched refs:unit_power (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/mfd/
H A Dsm501.c78 int unit_power[20]; member
330 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()
/kernel/linux/linux-6.6/drivers/mfd/
H A Dsm501.c78 int unit_power[20]; member
330 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()

Completed in 8 milliseconds