Defined in 2 files as a function:
- drivers/phy/mediatek/phy-mtk-tphy.c, line 1124 (as a function)
- drivers/phy/mediatek/phy-mtk-xsphy.c, line 244 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/phy/mediatek/phy-mtk-xsphy.c mtk_phy_xlate() -> phy_parse_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tphy | 4096-ptr_max |
| PARAM_VALUE | 0 | tphy->nphys | 1-s32max |
| PARAM_VALUE | 0 | tphy->phys | 4096-ptr_max |
| PARAM_VALUE | 1 | instance | 4096-ptr_max |
| PARAM_VALUE | 1 | instance->phy | 4096-ptr_max |
| PARAM_VALUE | 1 | instance->type | 2-4,8 |
| BUF_SIZE | 0 | tphy | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tphy | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | tphy->nphys | 1 |
| FUZZY_MAX | 1 | instance->type | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tphy | unit_byte |
| LOCK2 | global &phy_provider_mutex |
drivers/phy/mediatek/phy-mtk-tphy.c mtk_phy_xlate() -> phy_parse_property()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tphy | 4096-ptr_max |
| PARAM_VALUE | 0 | tphy->nphys | 1-s32max |
| PARAM_VALUE | 0 | tphy->pdata | 4096-ptr_max |
| PARAM_VALUE | 0 | tphy->pdata->version | 1-3 |
| PARAM_VALUE | 0 | tphy->phys | 4096-ptr_max |
| PARAM_VALUE | 1 | instance | 4096-ptr_max |
| PARAM_VALUE | 1 | instance->efuse_sw_en | 0-1 |
| PARAM_VALUE | 1 | instance->phy | 4096-ptr_max |
| PARAM_VALUE | 1 | instance->type | 1-4,8 |
| BUF_SIZE | 0 | tphy | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | tphy | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | tphy->nphys | 1 |
| FUZZY_MAX | 1 | instance->type | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | tphy | unit_byte |
| LOCK2 | global &phy_provider_mutex |