Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/platform/x86/amd/pmf/spc.c amd_pmf_get_custom_bios_inputs() -> amd_pmf_update_bios_inputs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->cb_prev.custom_bios_inputs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->cbi_buf.data | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->notifications | 128-u32max |
| PARAM_VALUE | 0 | pdev->pmf_if_version | 1 |
| PARAM_VALUE | 0 | pdev->smart_pc_enabled | 1 |
| PARAM_VALUE | 0 | pdev->smu_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->tee_ctx | 1-u64max |
| PARAM_VALUE | 1 | data->preq | 1-u32max |
| PARAM_VALUE | 2 | inputs | 4048835203191631872 |
| PARAM_VALUE | 3 | in | 4096-ptr_max |
| PARAM_VALUE | 3 | in->ev_info.avg_c0residency | 0-4096 |
| PARAM_VALUE | 3 | in->ev_info.bat_design | 0-2147483,1269162835-1271310319 |
| PARAM_VALUE | 3 | in->ev_info.device_state | 0-5 |
| PARAM_VALUE | 3 | in->ev_info.drain_rate | 0-2147483,1269162835-1271310319 |
| PARAM_VALUE | 3 | in->ev_info.full_charge_capacity | 0-2147483,1269162835-1271310319 |
| PARAM_VALUE | 3 | in->ev_info.gfx_busy | 0-u16max |
| PARAM_VALUE | 3 | in->ev_info.lid_state | 0-1 |
| PARAM_VALUE | 3 | in->ev_info.max_c0residency | 0-u16max |
| PARAM_VALUE | 3 | in->ev_info.platform_type | 0-15 |
| PARAM_VALUE | 3 | in->ev_info.power_slider | 0,2-3 |
| PARAM_VALUE | 3 | in->ev_info.power_source | 0 |
| PARAM_VALUE | 3 | in->ev_info.skin_temperature | 0-u16max |
| PARAM_VALUE | 3 | *in->ev_info.bios_input_1 | 0-4294967295 |
| PARAM_VALUE | 3 | *in->ev_info.bios_input_2 | 0-4294967295 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| BUF_SIZE | 2 | inputs | 160 |
| BUF_SIZE | 3 | in | 760 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 3 | in | $1 |
| FUZZY_MAX | 3 | in->ev_info.lid_state | 1 |
| HARD_MAX | 3 | in->ev_info.lid_state | 1 |
| MEM_ZERO | 0 | pdev->buf | |
| MEM_ZERO | 0 | pdev->shbuf | |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | pdev->dram_addr.hi | 0-u32max |
| HOST_DATA | 0 | pdev->dram_addr.size | 0-u32max |
| HOST_DATA | 3 | in->ev_info.platform_type | 0-15 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/platform/x86/amd/pmf/spc.c amd_pmf_get_custom_bios_inputs() -> amd_pmf_update_bios_inputs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->cb_prev.custom_bios_inputs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->cbi_buf.data | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->pmf_if_version | 2 |
| PARAM_VALUE | 0 | pdev->smart_pc_enabled | 1 |
| PARAM_VALUE | 0 | pdev->smu_regs | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->tee_ctx | 1-u64max |
| PARAM_VALUE | 1 | data->preq | 1-u32max |
| PARAM_VALUE | 2 | inputs | 3121765742084444160 |
| PARAM_VALUE | 3 | in | 4096-ptr_max |
| PARAM_VALUE | 3 | in->ev_info.avg_c0residency | 0-4096 |
| PARAM_VALUE | 3 | in->ev_info.bat_design | 0-2147483,1269162835-1271310319 |
| PARAM_VALUE | 3 | in->ev_info.device_state | 0-5 |
| PARAM_VALUE | 3 | in->ev_info.drain_rate | 0-2147483,1269162835-1271310319 |
| PARAM_VALUE | 3 | in->ev_info.full_charge_capacity | 0-2147483,1269162835-1271310319 |
| PARAM_VALUE | 3 | in->ev_info.gfx_busy | 0-u16max |
| PARAM_VALUE | 3 | in->ev_info.lid_state | 0-1 |
| PARAM_VALUE | 3 | in->ev_info.max_c0residency | 0-u16max |
| PARAM_VALUE | 3 | in->ev_info.platform_type | 0-15 |
| PARAM_VALUE | 3 | in->ev_info.power_slider | 0,2-3 |
| PARAM_VALUE | 3 | in->ev_info.power_source | 0 |
| PARAM_VALUE | 3 | in->ev_info.skin_temperature | 0-u16max |
| PARAM_VALUE | 3 | *in->ev_info.bios_input_1 | 0-4294967295 |
| PARAM_VALUE | 3 | *in->ev_info.bios_input_2 | 0-4294967295 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| BUF_SIZE | 2 | inputs | 160 |
| BUF_SIZE | 3 | in | 760 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 3 | in | $1 |
| FUZZY_MAX | 3 | in->ev_info.lid_state | 1 |
| HARD_MAX | 3 | in->ev_info.lid_state | 1 |
| MEM_ZERO | 0 | pdev->buf | |
| MEM_ZERO | 0 | pdev->shbuf | |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | pdev->dram_addr.hi | 0-u32max |
| HOST_DATA | 0 | pdev->dram_addr.size | 0-u32max |
| HOST_DATA | 3 | in->ev_info.platform_type | 0-15 |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |