Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/powercap/powercap_sys.c powercap_register_zone() -> create_power_zone_common_attributes()

Type Parameter Key Value
PARAM_VALUE 0 power_zone 4096-ptr_max
PARAM_VALUE 0 power_zone->ops 4096-ptr_max
PARAM_VALUE 0 power_zone->ops->get_energy_uj 0,7821893049369501696
PARAM_VALUE 0 power_zone->ops->get_power_uw 0,418402769881829376,5020708365141495808
PARAM_VALUE 0 power_zone->zone_dev_attrs 16,4096-ptr_max
BUF_SIZE 0 power_zone 1864,u64max
BUF_SIZE 0 power_zone 1864,u64max
BUF_SIZE 0 power_zone->constraints 0-240
BUF_SIZE 0 power_zone->dev.class 96
BUF_SIZE 0 power_zone->dev.parent 1616
BUF_SIZE 0 power_zone->ops (-1),320
BUF_SIZE 0 power_zone->parent_idr 96
BUF_SIZE 0 power_zone->zone_dev_attrs 8
CAPPED_DATA 0 power_zone->parent_idr->idr_base 1
DATA_SOURCE 0 power_zone $0 [m]
STR_LEN 0 power_zone (-1),15,29
STR_LEN 0 power_zone (-1),15,29
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &control_type->lock
TYPE_LOCK (struct powercap_control_type)->lock