Defined in 1 files as a function:
Referenced in 3 files:
- drivers/mfd/intel_soc_pmic_bxtwc.c
- drivers/platform/x86/intel/telemetry/pltdrv.c
- drivers/usb/typec/mux/intel_pmc_mux.c, line 211
Smatch caller information:
drivers/usb/typec/mux/intel_pmc_mux.c pmc_usb_send_command() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 167 |
| PARAM_VALUE | 2 | sub | 0 |
| PARAM_VALUE | 3 | in | 4096-ptr_max |
| PARAM_VALUE | 4 | inlen | 1-2,8 |
| PARAM_VALUE | 5 | out | 2397740403922120704 |
| PARAM_VALUE | 6 | outlen | 4 |
| BUF_SIZE | 3 | in | (-1),2,8 |
| BUF_SIZE | 5 | out | 4 |
| DATA_SOURCE | 0 | scu | $0 |
| DATA_SOURCE | 3 | in | $1 |
| DATA_SOURCE | 4 | inlen | $2 |
| HARD_MAX | 4 | inlen | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | inlen | unit_byte |
| UNITS | 6 | outlen | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/mfd/intel_soc_pmic_bxtwc.c regmap_ipc_byte_reg_read() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 255 |
| PARAM_VALUE | 2 | sub | 0 |
| PARAM_VALUE | 3 | in | 4096-ptr_max |
| PARAM_VALUE | 4 | inlen | 2 |
| PARAM_VALUE | 5 | out | 5873182043678535680 |
| PARAM_VALUE | 6 | outlen | 4 |
| BUF_SIZE | 3 | in | 2 |
| BUF_SIZE | 5 | out | 4 |
| UNITS | 4 | inlen | unit_byte |
| UNITS | 6 | outlen | unit_byte |
drivers/mfd/intel_soc_pmic_bxtwc.c regmap_ipc_byte_reg_write() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 255 |
| PARAM_VALUE | 2 | sub | 1 |
| PARAM_VALUE | 3 | in | 4096-ptr_max |
| PARAM_VALUE | 4 | inlen | 3 |
| PARAM_VALUE | 5 | out | 0 |
| PARAM_VALUE | 6 | outlen | 0 |
| BUF_SIZE | 3 | in | 3 |
| UNITS | 4 | inlen | unit_byte |
drivers/platform/x86/intel/telemetry/pltdrv.c telemetry_plt_config_ioss_event() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 235 |
| PARAM_VALUE | 2 | sub | 1 |
| PARAM_VALUE | 3 | in | 7590074445380554752 |
| PARAM_VALUE | 4 | inlen | 3 |
| PARAM_VALUE | 5 | out | 0 |
| PARAM_VALUE | 6 | outlen | 0 |
| BUF_SIZE | 3 | in | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &telm_conf->telem_lock | ||
| TYPE_LOCK | (struct telemetry_plt_config)->telem_lock |
drivers/platform/x86/intel/telemetry/pltdrv.c telemetry_plt_get_trace_verbosity() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 235 |
| PARAM_VALUE | 2 | sub | 5 |
| PARAM_VALUE | 3 | in | 0 |
| PARAM_VALUE | 4 | inlen | 0 |
| PARAM_VALUE | 5 | out | 185728563715264512 |
| PARAM_VALUE | 5 | *out | 0 |
| PARAM_VALUE | 6 | outlen | 4 |
| BUF_SIZE | 5 | out | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 6 | outlen | unit_byte |
| LOCK2 | &s->lock | ||
| LOCK2 | global &telm_conf->telem_trace_lock | ||
| TYPE_LOCK | (struct seq_file)->lock | ||
| TYPE_LOCK | (struct telemetry_plt_config)->telem_trace_lock |
drivers/platform/x86/intel/telemetry/pltdrv.c telemetry_plt_set_trace_verbosity() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 235 |
| PARAM_VALUE | 2 | sub | 5 |
| PARAM_VALUE | 3 | in | 0 |
| PARAM_VALUE | 4 | inlen | 0 |
| PARAM_VALUE | 5 | out | 9167904709526949888 |
| PARAM_VALUE | 5 | *out | 0 |
| PARAM_VALUE | 6 | outlen | 4 |
| BUF_SIZE | 5 | out | 4 |
| UNITS | 6 | outlen | unit_byte |
| LOCK2 | global &telm_conf->telem_trace_lock | ||
| TYPE_LOCK | (struct telemetry_plt_config)->telem_trace_lock |
drivers/platform/x86/intel/telemetry/pltdrv.c telemetry_plt_set_trace_verbosity() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scu->cmd_complete.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | cmd | 235 |
| PARAM_VALUE | 2 | sub | 6 |
| PARAM_VALUE | 3 | in | 9167904709526949888 |
| PARAM_VALUE | 4 | inlen | 4 |
| PARAM_VALUE | 5 | out | 0 |
| PARAM_VALUE | 6 | outlen | 0 |
| BUF_SIZE | 3 | in | 4 |
| UNITS | 4 | inlen | unit_byte |
| LOCK2 | global &telm_conf->telem_trace_lock | ||
| TYPE_LOCK | (struct telemetry_plt_config)->telem_trace_lock |
drivers/platform/x86/intel/telemetry/pltdrv.c telemetry_setup() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 235 |
| PARAM_VALUE | 2 | sub | 2 |
| PARAM_VALUE | 3 | in | 0 |
| PARAM_VALUE | 4 | inlen | 0 |
| PARAM_VALUE | 5 | out | 7851914371242901504 |
| PARAM_VALUE | 6 | outlen | 4 |
| BUF_SIZE | 5 | out | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 6 | outlen | unit_byte |
drivers/platform/x86/intel/telemetry/pltdrv.c telemetry_setup_iossevtconfig() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 235 |
| PARAM_VALUE | 2 | sub | 7 |
| PARAM_VALUE | 3 | in | 0 |
| PARAM_VALUE | 4 | inlen | 0 |
| PARAM_VALUE | 5 | out | 1950568256968855552 |
| PARAM_VALUE | 6 | outlen | 4 |
| BUF_SIZE | 5 | out | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 6 | outlen | unit_byte |
| LOCK2 | global &telm_conf->telem_lock | ||
| TYPE_LOCK | (struct telemetry_plt_config)->telem_lock |
drivers/platform/x86/intel/telemetry/pltdrv.c telemetry_setup_iossevtconfig() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scu->cmd_complete.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | cmd | 235 |
| PARAM_VALUE | 2 | sub | 8 |
| PARAM_VALUE | 3 | in | 1950568256968855552 |
| PARAM_VALUE | 3 | *in | 0-s32max |
| PARAM_VALUE | 4 | inlen | 4 |
| PARAM_VALUE | 5 | out | 0 |
| PARAM_VALUE | 6 | outlen | 0 |
| BUF_SIZE | 3 | in | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | inlen | unit_byte |
| LOCK2 | global &telm_conf->telem_lock | ||
| TYPE_LOCK | (struct telemetry_plt_config)->telem_lock |
drivers/platform/x86/intel/telemetry/pltdrv.c telemetry_setup_iossevtconfig() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scu->cmd_complete.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | cmd | 235 |
| PARAM_VALUE | 2 | sub | 8 |
| PARAM_VALUE | 3 | in | 1950568256968855552 |
| PARAM_VALUE | 4 | inlen | 4 |
| PARAM_VALUE | 5 | out | 0 |
| PARAM_VALUE | 6 | outlen | 0 |
| BUF_SIZE | 3 | in | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | inlen | unit_byte |
| LOCK2 | global &telm_conf->telem_lock | ||
| TYPE_LOCK | (struct telemetry_plt_config)->telem_lock |
drivers/platform/x86/intel/telemetry/pltdrv.c telemetry_setup_iossevtconfig() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scu->cmd_complete.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | cmd | 235 |
| PARAM_VALUE | 2 | sub | 8 |
| PARAM_VALUE | 3 | in | 1950568256968855552 |
| PARAM_VALUE | 4 | inlen | 4 |
| PARAM_VALUE | 5 | out | 0 |
| PARAM_VALUE | 6 | outlen | 0 |
| BUF_SIZE | 3 | in | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | inlen | unit_byte |
| LOCK2 | global &telm_conf->telem_lock | ||
| TYPE_LOCK | (struct telemetry_plt_config)->telem_lock |
drivers/platform/x86/intel/telemetry/pltdrv.c telemetry_setup_iossevtconfig() -> intel_scu_ipc_dev_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | scu->cmd_complete.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | scu->cmd_complete.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | cmd | 235 |
| PARAM_VALUE | 2 | sub | 8 |
| PARAM_VALUE | 3 | in | 1950568256968855552 |
| PARAM_VALUE | 3 | *in | 2155872397,2155872525-3212836877 |
| PARAM_VALUE | 4 | inlen | 4 |
| PARAM_VALUE | 5 | out | 0 |
| PARAM_VALUE | 6 | outlen | 0 |
| BUF_SIZE | 3 | in | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | inlen | unit_byte |
| LOCK2 | global &telm_conf->telem_lock | ||
| TYPE_LOCK | (struct telemetry_plt_config)->telem_lock |