Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/clk/mediatek/clk-gate.c, line 334
- drivers/clk/mediatek/clk-mt6795-infracfg.c
- drivers/clk/mediatek/clk-mt6795-pericfg.c
- drivers/clk/mediatek/clk-mt7622-apmixedsys.c
- drivers/clk/mediatek/clk-mt7622-infracfg.c
- drivers/clk/mediatek/clk-mt8173-infracfg.c
- drivers/clk/mediatek/clk-mt8183-apmixedsys.c, line 174
- drivers/clk/mediatek/clk-mt8188-apmixedsys.c
- drivers/clk/mediatek/clk-mt8188-topckgen.c
- drivers/clk/mediatek/clk-mt8192-apmixedsys.c
- drivers/clk/mediatek/clk-mt8195-apmixedsys.c
- drivers/clk/mediatek/clk-mt8195-topckgen.c
- drivers/clk/mediatek/clk-mtk.c
Smatch caller information:
drivers/clk/mediatek/clk-mt6795-infracfg.c clk_mt6795_infracfg_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 4596638695067242496 |
| PARAM_VALUE | 1 | num | 14 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 16 |
| BUF_SIZE | 0 | clks | 896 |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| DATA_SOURCE | 2 | clk_data | r mtk_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt6795-infracfg.c clk_mt6795_infracfg_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 4596638695067242496 |
| PARAM_VALUE | 1 | num | 14 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | *clk_data->hws | (-2) |
| BUF_SIZE | 0 | clks | 896 |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/clk/mediatek/clk-mt8195-topckgen.c clk_mt8195_topck_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 9022806627764060160 |
| PARAM_VALUE | 1 | num | 21 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->hws | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 245 |
| BUF_SIZE | 0 | clks | 1344 |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| DATA_SOURCE | 2 | clk_data | r mtk_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt8195-topckgen.c clk_mt8195_topck_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 9022806627764060160 |
| PARAM_VALUE | 1 | num | 21 |
| BUF_SIZE | 0 | clks | 1344 |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/clk/mediatek/clk-mt7622-infracfg.c clk_mt7622_infracfg_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 5455741201964384256 |
| PARAM_VALUE | 1 | num | 6 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 7 |
| BUF_SIZE | 0 | clks | 384 |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| DATA_SOURCE | 2 | clk_data | r mtk_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt7622-infracfg.c clk_mt7622_infracfg_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 5455741201964384256 |
| PARAM_VALUE | 1 | num | 6 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | *clk_data->hws | (-2) |
| BUF_SIZE | 0 | clks | 384 |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/clk/mediatek/clk-mt8188-topckgen.c clk_mt8188_topck_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 6013865860135464960 |
| PARAM_VALUE | 1 | num | 20 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->hws | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 205 |
| BUF_SIZE | 0 | clks | 1280 |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| DATA_SOURCE | 2 | clk_data | r mtk_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt8188-topckgen.c clk_mt8188_topck_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 6013865860135464960 |
| PARAM_VALUE | 1 | num | 20 |
| BUF_SIZE | 0 | clks | 1280 |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/clk/mediatek/clk-mt8183-apmixedsys.c clk_mt8183_apmixed_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 347937631808876544 |
| PARAM_VALUE | 1 | num | 11 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 22 |
| BUF_SIZE | 0 | clks | 704 |
| BUF_SIZE | 2 | clk_data | 56,80-88,112,184 |
| BUF_SIZE | 2 | clk_data | 56,80-88,112,184 |
| DATA_SOURCE | 2 | clk_data | r mtk_devm_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | clk_data->num | |
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt8188-apmixedsys.c clk_mt8188_apmixed_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 824632575376052224 |
| PARAM_VALUE | 1 | num | 1 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 16 |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| DATA_SOURCE | 2 | clk_data | r mtk_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt8188-apmixedsys.c clk_mt8188_apmixed_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 824632575376052224 |
| PARAM_VALUE | 1 | num | 1 |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/clk/mediatek/clk-mtk.c __mtk_clk_simple_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 1-u64max |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 0-s32max |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| CAPPED_DATA | 1 | num | 1 |
| DATA_SOURCE | 2 | clk_data | r mtk_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/clk/mediatek/clk-mtk.c __mtk_clk_simple_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 1-u64max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/clk/mediatek/clk-mt7622-apmixedsys.c clk_mt7622_apmixed_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 2292011909244129280 |
| PARAM_VALUE | 1 | num | 1 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 10 |
| BUF_SIZE | 2 | clk_data | 56,80-88,112,184 |
| BUF_SIZE | 2 | clk_data | 56,80-88,112,184 |
| DATA_SOURCE | 2 | clk_data | r mtk_devm_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | clk_data->num | |
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt7622-apmixedsys.c clk_mt7622_apmixed_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 2292011909244129280 |
| PARAM_VALUE | 1 | num | 1 |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/clk/mediatek/clk-mt6795-pericfg.c clk_mt6795_pericfg_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 7807387345735213056 |
| PARAM_VALUE | 1 | num | 30 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 34 |
| BUF_SIZE | 0 | clks | 1920 |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| DATA_SOURCE | 2 | clk_data | r mtk_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt6795-pericfg.c clk_mt6795_pericfg_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 7807387345735213056 |
| PARAM_VALUE | 1 | num | 30 |
| BUF_SIZE | 0 | clks | 1920 |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/clk/mediatek/clk-mt8173-infracfg.c clk_mt8173_infracfg_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 6608002607658024960 |
| PARAM_VALUE | 1 | num | 11 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->hws | 4096-ptr_max |
| BUF_SIZE | 0 | clks | 704 |
| BUF_SIZE | 2 | clk_data | (-1),8-s32max |
| BUF_SIZE | 2 | clk_data | (-1),8-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt8173-infracfg.c clk_mt8173_infracfg_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 6608002607658024960 |
| PARAM_VALUE | 1 | num | 11 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | *clk_data->hws | (-2) |
| BUF_SIZE | 0 | clks | 704 |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/clk/mediatek/clk-mt8192-apmixedsys.c clk_mt8192_apmixed_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 7352349459544444928 |
| PARAM_VALUE | 1 | num | 1 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 11 |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| DATA_SOURCE | 2 | clk_data | r mtk_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt8192-apmixedsys.c clk_mt8192_apmixed_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 7352349459544444928 |
| PARAM_VALUE | 1 | num | 1 |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/clk/mediatek/clk-mt8195-apmixedsys.c clk_mt8195_apmixed_probe() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 7580612995592224768 |
| PARAM_VALUE | 1 | num | 1 |
| PARAM_VALUE | 2 | clk_data | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_data->num | 24 |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| BUF_SIZE | 2 | clk_data | 8-s32max |
| DATA_SOURCE | 2 | clk_data | r mtk_alloc_clk_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
drivers/clk/mediatek/clk-mt8195-apmixedsys.c clk_mt8195_apmixed_remove() -> mtk_clk_unregister_gates()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | clks | 7580612995592224768 |
| PARAM_VALUE | 1 | num | 1 |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | clk_data | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | num | unit_array_size |
| UNITS | 2 | clk_data | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |