Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pwm/pwm-mediatek.c pwm_mediatek_init_used_clks() -> pwm_mediatek_clk_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| PARAM_VALUE | 0 | pc->clk_main | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pc->soc | 4096-ptr_max |
| PARAM_VALUE | 1 | hwpwm | 0-31,u32max |
| BUF_SIZE | 0 | pc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pc->clk_main | (-1),1-s32max |
| BUF_SIZE | 0 | pc->clk_top | (-1),1-s32max |
| DATA_SOURCE | 0 | pc | $0 |
| DATA_SOURCE | 1 | hwpwm | r __ilog2_u32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pc->soc->num_pwms | |
| UNITS | 0 | pc | unit_byte |
drivers/pwm/pwm-mediatek.c pwm_mediatek_read_waveform() -> pwm_mediatek_clk_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | pc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pc | unit_byte |
| UNITS | 1 | hwpwm | unit_array_size |
| HALF_LOCKED2 | _T->lock |
drivers/pwm/pwm-mediatek.c pwm_mediatek_write_waveform() -> pwm_mediatek_clk_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | pc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pc | unit_byte |
| UNITS | 1 | hwpwm | unit_array_size |
drivers/pwm/pwm-mediatek.c pwm_mediatek_write_waveform() -> pwm_mediatek_clk_enable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pc | 4096-ptr_max |
| PARAM_VALUE | 0 | pc->clk_main | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_main->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->clk_top->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | pc->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pc->soc | 4096-ptr_max |
| BUF_SIZE | 0 | pc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pc | unit_byte |
| UNITS | 1 | hwpwm | unit_array_size |