Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pmdomain/mediatek/mtk-pm-domains.c scpsys_bus_protect_disable() -> scpsys_bus_protect_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pd | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->data | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->data->bp_cfg | 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,363,368,376,388,1552,3584,3588,3608,3612,3616,3620,3624 |
| PARAM_VALUE | 0 | pd->data->pwr_sta_offs | 116,120,363-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->scpsys->base->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| 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->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 | bpd | 4096-ptr_max |
| PARAM_VALUE | 1 | bpd->bus_prot_set_clr_mask | 1-6,8,10,12,16,20-21,24,32,36,42,48,64,78,96,128,255-256,260,264,341,480,512,768,784,1024,1536,2048,2050,2066-2067,2560,2690,3072,3078,3840,4096,4352,5056,5120,6144,8192,8704,8752,16384,24576,32768,32776,65408-u32max |
| PARAM_VALUE | 1 | bpd->flags | 10,20 |
| CAPPED_DATA | 0 | pd->num_clks | 1 |
| DATA_SOURCE | 0 | pd | $0 |
| BIT_INFO | 1 | bpd->flags | 0x8,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &genpd->mlock |
drivers/pmdomain/mediatek/mtk-pm-domains.c scpsys_bus_protect_enable() -> scpsys_bus_protect_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pd | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->data->bp_cfg | 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->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,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 | 0 | pd->supply | 0,4096-u64max |
| PARAM_VALUE | 1 | bpd | 4096-ptr_max |
| PARAM_VALUE | 1 | bpd->bus_prot_set_clr_mask | 1-6,8,10,12,16,20-21,24,32,36,42,48,64,78,96,128,255-256,260,264,341,480,512,768,784,1024,1536,2048,2050,2066-2067,2560,2690,3072,3078,3840,4096,4352,5056,5120,6144,8192,8704,8752,16384,24576,32768,32776,65408-u32max |
| DATA_SOURCE | 0 | pd | $0 |
| BIT_INFO | 1 | bpd->flags | 0x0,0xf7 |
| RX_PATH | |||
| TASK_NOT_RUNNING |