Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/platform/x86/amd/pmf/acpi.c
- drivers/platform/x86/amd/pmf/auto-mode.c
- drivers/platform/x86/amd/pmf/cnqf.c
- drivers/platform/x86/amd/pmf/core.c
- drivers/platform/x86/amd/pmf/sps.c
- drivers/platform/x86/amd/pmf/util.c
Smatch caller information:
drivers/platform/x86/amd/pmf/cnqf.c amd_pmf_check_flags() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 11 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals |
drivers/platform/x86/amd/pmf/cnqf.c amd_pmf_check_flags() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 12 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals |
drivers/platform/x86/amd/pmf/cnqf.c amd_pmf_cnqf_get_power_source() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 11 |
| BUF_SIZE | 0 | pdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pdev->dev | (-1),1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals | |
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/platform/x86/amd/pmf/cnqf.c amd_pmf_cnqf_get_power_source() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 12 |
| BUF_SIZE | 0 | pdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pdev->dev | (-1),1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals | |
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/platform/x86/amd/pmf/cnqf.c amd_pmf_cnqf_get_power_source() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 12 |
| BUF_SIZE | 0 | pdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pdev->dev | (-1),1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals | |
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/platform/x86/amd/pmf/cnqf.c amd_pmf_load_defaults_cnqf() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 11-12 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals |
drivers/platform/x86/amd/pmf/cnqf.c amd_pmf_set_cnqf() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 7 |
| BUF_SIZE | 0 | pdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | pdev->dev | (-1),1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.hi | 0-u32max |
| HOST_DATA | 0 | pdev->dram_addr.size | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals | |
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/platform/x86/amd/pmf/cnqf.c cnqf_enable_store() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 9 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/platform/x86/amd/pmf/acpi.c amd_pmf_smartpc_apply_bios_output() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 14 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev->buf | |
| MEM_ZERO | 0 | pdev->shbuf | |
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/platform/x86/amd/pmf/acpi.c apmf_acpi_deinit() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 5 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/platform/x86/amd/pmf/acpi.c apmf_acpi_deinit() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 2 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/platform/x86/amd/pmf/acpi.c apmf_get_static_slider_granular() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 9 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/amd/pmf/acpi.c apmf_get_static_slider_granular_v2() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 9 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/amd/pmf/acpi.c apmf_get_system_params() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1 |
| BUF_SIZE | 0 | pdev | 12400 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/amd/pmf/acpi.c apmf_install_handler() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 5 |
| BUF_SIZE | 0 | pdev | 12400 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.lo | 0-u32max |
| HOST_DATA | 0 | pdev->metrics_table_phys | 0 |
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals |
drivers/platform/x86/amd/pmf/acpi.c apmf_install_handler() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 2 |
| BUF_SIZE | 0 | pdev | 12400 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.lo | 0-u32max |
| HOST_DATA | 0 | pdev->metrics_table_phys | 0 |
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals |
drivers/platform/x86/amd/pmf/acpi.c apts_get_static_slider_granular_v2() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 9 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/amd/pmf/util.c amd_pmf_populate_data() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 5 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| LOCK2 | _T->lock |
drivers/platform/x86/amd/pmf/util.c amd_pmf_populate_data() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 9 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| LOCK2 | _T->lock |
drivers/platform/x86/amd/pmf/util.c amd_pmf_populate_data() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 11 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| LOCK2 | _T->lock |
drivers/platform/x86/amd/pmf/util.c amd_pmf_populate_data() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 12 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| LOCK2 | _T->lock |
drivers/platform/x86/amd/pmf/core.c amd_pmf_deinit_features() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 9 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/platform/x86/amd/pmf/core.c amd_pmf_deinit_features() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 8 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/platform/x86/amd/pmf/core.c amd_pmf_deinit_features() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 5 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/platform/x86/amd/pmf/core.c amd_pmf_deinit_features() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 11 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/platform/x86/amd/pmf/core.c amd_pmf_deinit_features() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 12 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/platform/x86/amd/pmf/core.c amd_pmf_init_features() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 9 |
| BUF_SIZE | 0 | pdev | 12400 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.lo | 0-u32max |
| HOST_DATA | 0 | pdev->metrics_table_phys | 0 |
drivers/platform/x86/amd/pmf/core.c amd_pmf_init_features() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 8 |
| BUF_SIZE | 0 | pdev | 12400 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.lo | 0-u32max |
| HOST_DATA | 0 | pdev->metrics_table_phys | 0 |
drivers/platform/x86/amd/pmf/core.c amd_pmf_init_features() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 5 |
| BUF_SIZE | 0 | pdev | 12400 |
| BUF_SIZE | 0 | pdev->dev | (-1),1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.lo | 0-u32max |
| HOST_DATA | 0 | pdev->metrics_table_phys | 0 |
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals |
drivers/platform/x86/amd/pmf/core.c amd_pmf_init_features() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 11 |
| BUF_SIZE | 0 | pdev | 12400 |
| BUF_SIZE | 0 | pdev->dev | (-1),1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.lo | 0-u32max |
| HOST_DATA | 0 | pdev->metrics_table_phys | 0 |
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals |
drivers/platform/x86/amd/pmf/core.c amd_pmf_init_features() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 12 |
| BUF_SIZE | 0 | pdev | 12400 |
| BUF_SIZE | 0 | pdev->dev | (-1),1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.lo | 0-u32max |
| HOST_DATA | 0 | pdev->metrics_table_phys | 0 |
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals |
drivers/platform/x86/amd/pmf/core.c amd_pmf_probe() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 16 |
| BUF_SIZE | 0 | pdev | 12400 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | r devm_kzalloc |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.hi | 0-u32max |
| HOST_DATA | 0 | pdev->dram_addr.lo | 0-u32max |
| HOST_DATA | 0 | pdev->dram_addr.size | 0 |
| HOST_DATA | 0 | pdev->metrics_table_phys | 0[c] |
| HOST_DATA | 0 | pdev->mtable_size | 0 |
| HOST_DATA | 0 | *pdev->shbuf->pmf_input.init_table->policies_table.table | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | pdev->pmf_idev->max_vals |
drivers/platform/x86/amd/pmf/core.c amd_pmf_pwr_src_notify_call() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 5 |
drivers/platform/x86/amd/pmf/core.c amd_pmf_pwr_src_notify_call() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 12 |
drivers/platform/x86/amd/pmf/core.c amd_pmf_pwr_src_notify_call() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 11 |
drivers/platform/x86/amd/pmf/core.c amd_pmf_pwr_src_notify_call() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 9 |
drivers/platform/x86/amd/pmf/core.c amd_pmf_pwr_src_notify_call() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 8 |
| HOST_DATA | 0 | pdev->dram_addr.hi | 0-u32max |
| HOST_DATA | 0 | pdev->dram_addr.size | 0-u32max |
drivers/platform/x86/amd/pmf/core.c amd_pmf_remove() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 16 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/platform/x86/amd/pmf/core.c amd_pmf_resume_handler() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 16 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | pdev->buf | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.hi | 0-u32max |
| HOST_DATA | 0 | pdev->dram_addr.size | 0-u32max |
| UNITS | 0 | pdev | unit_byte |
drivers/platform/x86/amd/pmf/core.c amd_pmf_suspend_handler() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 16 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
drivers/platform/x86/amd/pmf/auto-mode.c amd_pmf_reset_amt() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 9 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2480,2576,7472,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2480,2576,7472,8064 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/platform/x86/amd/pmf/auto-mode.c amd_pmf_set_automode() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 7 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2480,2576,7472,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2480,2576,7472,8064 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->dram_addr.hi | 0-u32max |
| HOST_DATA | 0 | pdev->dram_addr.size | 0-u32max |
| HALF_LOCKED2 | _T->lock |
drivers/platform/x86/amd/pmf/sps.c amd_pmf_init_sps() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 9 |
| BUF_SIZE | 0 | pdev | 12400 |
| BUF_SIZE | 0 | pdev->dev | 1616 |
| DATA_SOURCE | 0 | pdev | $0 |
| MEM_ZERO | 0 | pdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/amd/pmf/sps.c amd_pmf_profile_set() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 8 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/platform/x86/amd/pmf/sps.c amd_pmf_profile_set() -> is_apmf_func_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 9 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |