Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/pmdomain/mediatek/mtk-scpsys.c scpsys_power_off() -> scpsys_bus_protect_enable()

Type Parameter Key Value
PARAM_VALUE 0 pd 4096-ptr_max
PARAM_VALUE 0 pd->data 4096-ptr_max
PARAM_VALUE 0 pd->scp 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &genpd->mlock

drivers/pmdomain/mediatek/mtk-pm-domains.c scpsys_power_off_internal() -> scpsys_bus_protect_enable()

Type Parameter Key Value
PARAM_VALUE 0 pd 4096-ptr_max
PARAM_VALUE 0 pd->data->pwr_sta2nd_offs 116,120,363,368,376,388,1552,3584,3588,3608,3612,3616,3620,3624,3628,3632,3636,3640,3644,3648,3652,3656,3660,3664,3668,3672,3676,3692,3700,3704,3736,3748,3908,3916,3924
PARAM_VALUE 0 pd->data->pwr_sta_offs 116,120,363-364,372,384,1548,3584,3588,3608,3612,3616,3620,3624,3628,3632,3636,3640,3644,3648,3652,3656,3660,3664,3668,3672,3676,3692,3700,3704,3736,3748,3904,3912,3920
PARAM_VALUE 0 pd->data->sta2nd_mask 0,2147483648
PARAM_VALUE 0 pd->data->sta_mask 1-2,4,8,16,32,64-65,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608,16777216,33554432,67108864,134217728,268435456,536870912,1073741824,2147483648
PARAM_VALUE 0 pd->hwv_data->clr 0,540,548
PARAM_VALUE 0 pd->hwv_data->done 0,5148,5164
PARAM_VALUE 0 pd->hwv_data->setclr_bit 0-3,5-12,24-31
PARAM_VALUE 1 flags 0
DATA_SOURCE 0 pd $0
RX_PATH
TASK_NOT_RUNNING

drivers/pmdomain/mediatek/mtk-pm-domains.c scpsys_power_off_internal() -> scpsys_bus_protect_enable()

Type Parameter Key Value
PARAM_VALUE 0 pd 4096-ptr_max
PARAM_VALUE 0 pd->data 4096-ptr_max
PARAM_VALUE 0 pd->data->ctl_offs 116,120,528,532,560,568,572,640,644,664,668,704,708,716,768,772,776,780,784,788,792,796,800,804,808,812,816,820,824,828,832,836,840,844,848,852,856,860,864,868,872,876,880,884,888,892,896,900,904,908,912,916,920-s32max
PARAM_VALUE 0 pd->data->ext_buck_iso_offs 0,1004,3836,3872
PARAM_VALUE 0 pd->data->pwr_sta2nd_offs 116,120,363,368,376,388,1552,3584,3588,3608,3612,3616,3620,3624,3628,3632,3636,3640,3644,3648,3652,3656,3660,3664,3668,3672,3676,3692,3700,3704,3736,3748,3908,3916,3924
PARAM_VALUE 0 pd->data->pwr_sta_offs 116,120,363-364,372,384,1548,3584,3588,3608,3612,3616,3620,3624,3628,3632,3636,3640,3644,3648,3652,3656,3660,3664,3668,3672,3676,3692,3700,3704,3736,3748,3904,3912,3920
PARAM_VALUE 0 pd->data->sram_pdn_ack_bits 0,4096,8192,12288,61440,253952,4128768,4161536
PARAM_VALUE 0 pd->data->sta2nd_mask 0,2147483648
PARAM_VALUE 0 pd->data->sta_mask 1-2,4,8,16,32,64-65,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608,16777216,33554432,67108864,134217728,268435456,536870912,1073741824,2147483648
PARAM_VALUE 0 pd->hwv_data->clr 0,540,548
PARAM_VALUE 0 pd->hwv_data->done 0,5148,5164
PARAM_VALUE 0 pd->hwv_data->setclr_bit 0-3,5-12,24-31
PARAM_VALUE 1 flags 16
DATA_SOURCE 0 pd $0
RX_PATH
TASK_NOT_RUNNING

drivers/pmdomain/mediatek/mtk-pm-domains.c scpsys_power_on() -> scpsys_bus_protect_enable()

Type Parameter Key Value
PARAM_VALUE 0 pd 4096-ptr_max
PARAM_VALUE 0 pd->data 4096-ptr_max
PARAM_VALUE 0 pd->data->ctl_offs 116,120,528,532,560,568,572,640,644,664,668,704,708,716,768,772
PARAM_VALUE 0 pd->data->ext_buck_iso_offs 0,1004,3836,3872
PARAM_VALUE 0 pd->data->pwr_sta2nd_offs 116,120,362,368,376,388,1552,3584,3588,3608,3612,3616,3620,3624
PARAM_VALUE 0 pd->data->pwr_sta_offs 116,120,362,364,372,384,1548,3584,3588,3608,3612,3616,3620,3624
PARAM_VALUE 0 pd->data->rtff_type 0-3
PARAM_VALUE 0 pd->data->sram_pdn_ack_bits 0,4096,8192,12288,61440,253952,4128768,4161536
PARAM_VALUE 0 pd->data->sta2nd_mask 0,2147483648
PARAM_VALUE 0 pd->data->sta_mask 1-2,4,8,16,32,64-65,128,256,512,1024,2048,4096,8192,16384,32768
PARAM_VALUE 0 pd->num_subsys_clks 1-s32max
PARAM_VALUE 0 pd->supply 0,4096-ptr_max
PARAM_VALUE 0 pd->supply->enable_count 0-4294967295
PARAM_VALUE 0 pd->supply->rdev->ena_gpio_state 1
PARAM_VALUE 0 pd->supply->rdev->ena_pin->enable_count 0-4294967295
PARAM_VALUE 0 pd->supply->rdev->notifier.head->priority s32min-s32max
PARAM_VALUE 0 pd->supply->rdev->reg_data->lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 pd->supply->rdev->reg_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 pd->supply->rdev->reg_data->lock.dep_map->name 0-255
PARAM_VALUE 0 pd->supply->rdev->reg_data->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 pd->supply->rdev->reg_data->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 pd->supply->rdev->reg_data->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 pd->supply->rdev->regmap->async 0-1
PARAM_VALUE 0 pd->supply->rdev->regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 pd->supply->rdev->regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 pd->supply->rdev->regmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 pd->supply->rdev->regmap->cache_dirty 0-1
PARAM_VALUE 0 pd->supply->rdev->use_count 0-4294967295
PARAM_VALUE 1 flags 0
CAPPED_DATA 0 pd->num_clks 1
CAPPED_DATA 0 pd->num_subsys_clks 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &genpd->mlock