Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- arch/x86/include/asm/iosf_mbi.h, line 195 (as a function)
- arch/x86/platform/intel/iosf_mbi.c, line 97 (as a function)
Referenced in 12 files:
- arch/x86/platform/atom/punit_atom_debug.c
- arch/x86/platform/intel-quark/imr.c
- arch/x86/platform/intel/iosf_mbi.c
- drivers/mmc/host/sdhci-acpi.c, line 255
- drivers/mmc/host/sdhci-pci-core.c, line 417
- drivers/platform/x86/intel/atomisp2/pm.c, line 55
- drivers/powercap/intel_rapl_msr.c, line 259
- drivers/staging/media/atomisp/pci/atomisp_cmd.c
- drivers/staging/media/atomisp/pci/atomisp_v4l2.c
- drivers/thermal/intel/intel_quark_dts_thermal.c
- drivers/thermal/intel/intel_soc_dts_iosf.c
- sound/soc/intel/common/soc-intel-quirks.h, line 54
Smatch caller information:
sound/soc/intel/atom/sst/sst_acpi.c soc_intel_is_byt_cr() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 6 |
| PARAM_VALUE | 3 | mdr | 4917963183555756032 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/platform/intel/iosf_mbi.c iosf_mbi_get_sem() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 3 | mdr | 6749590706264047616 |
| DATA_SOURCE | 3 | mdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | *mdr | 0-u32max |
| LOCK2 | global &iosf_mbi_pmic_access_mutex | ||
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | _T->lock |
arch/x86/platform/intel/iosf_mbi.c mcr_set() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | offset | 0-255 |
| PARAM_VALUE | 3 | mdr | 5732753373527846912 |
| CAPABLE | 0 | 17 | |
| BIT_INFO | 1 | opcode | 0x0,0xfe |
| USER_DATA | 0 | port | 0-255[c] |
| USER_DATA | 1 | opcode | 0-255[c] |
| USER_DATA | 2 | offset | 0-255[c] |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/powercap/intel_rapl_msr.c set_floor_freq_atom() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 6 |
| PARAM_VALUE | 2 | offset | 2,223 |
| PARAM_VALUE | 3 | mdr | 4136371465236480 |
| PARAM_VALUE | 3 | *mdr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/mmc/host/sdhci-acpi.c sdhci_acpi_byt_setting() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 99 |
| PARAM_VALUE | 1 | opcode | 6 |
| PARAM_VALUE | 2 | offset | 4216 |
| PARAM_VALUE | 3 | mdr | 4509445030088671232 |
| PARAM_VALUE | 3 | *mdr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/staging/media/atomisp/pci/atomisp_cmd.c write_target_freq_to_hw() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 58 |
| PARAM_VALUE | 3 | mdr | 2850538842514227200 |
| PARAM_VALUE | 3 | *mdr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &isp->lock | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | flags |
drivers/staging/media/atomisp/pci/atomisp_cmd.c write_target_freq_to_hw() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 58 |
| PARAM_VALUE | 3 | mdr | 2850538842514227200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | *mdr | 0-u32max |
| HALF_LOCKED2 | &isp->lock | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | flags |
drivers/staging/media/atomisp/pci/atomisp_cmd.c write_target_freq_to_hw() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 58 |
| PARAM_VALUE | 3 | mdr | 2850538842514227200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | *mdr | 0-u32max |
| HALF_LOCKED2 | &isp->lock | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | flags |
drivers/staging/media/atomisp/pci/atomisp_cmd.c write_target_freq_to_hw() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 58 |
| PARAM_VALUE | 3 | mdr | 2850538842514227200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | *mdr | 0-u32max |
| HALF_LOCKED2 | &isp->lock | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | flags |
drivers/staging/media/atomisp/pci/atomisp_cmd.c write_target_freq_to_hw() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 58 |
| PARAM_VALUE | 3 | mdr | 2850538842514227200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | *mdr | 0-u32max |
| HALF_LOCKED2 | &isp->lock | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | flags |
drivers/staging/media/atomisp/pci/atomisp_cmd.c write_target_freq_to_hw() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 58 |
| PARAM_VALUE | 3 | mdr | 2850538842514227200 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 3 | *mdr | 0-u32max |
| HALF_LOCKED2 | &isp->lock | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | &isp->mutex | ||
| HALF_LOCKED2 | flags |
sound/soc/sof/intel/byt.c soc_intel_is_byt_cr() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 6 |
| PARAM_VALUE | 3 | mdr | 4913656038959026176 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mmc/host/sdhci-pci-core.c byt_ocp_setting() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 99 |
| PARAM_VALUE | 1 | opcode | 6 |
| PARAM_VALUE | 2 | offset | 4216 |
| PARAM_VALUE | 3 | mdr | 2508191094268649472 |
| PARAM_VALUE | 3 | *mdr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/staging/media/atomisp/pci/atomisp_v4l2.c atomisp_mrfld_power() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 57 |
| PARAM_VALUE | 3 | mdr | 4556678315408953344 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/staging/media/atomisp/pci/atomisp_v4l2.c atomisp_pci_probe() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 20 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 8 |
| PARAM_VALUE | 3 | mdr | 764158946362470400 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/staging/media/atomisp/pci/atomisp_v4l2.c punit_ddr_dvfs_enable() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 319 |
| PARAM_VALUE | 3 | mdr | 4793305210519474176 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/soc/sof/intel/atom.c soc_intel_is_byt_cr() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 6 |
| PARAM_VALUE | 3 | mdr | 5585922313367003136 |
drivers/thermal/intel/intel_soc_dts_iosf.c add_dts_thermal_zone() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 176 |
| PARAM_VALUE | 3 | mdr | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/intel/intel_soc_dts_iosf.c add_dts_thermal_zone() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 178 |
| PARAM_VALUE | 3 | mdr | 8699076830500872192 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/intel/intel_soc_dts_iosf.c intel_soc_dts_iosf_interrupt_handler() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 128 |
| PARAM_VALUE | 3 | mdr | 8997224553274552320 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sensors->intr_notify_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct intel_soc_dts_sensors)->intr_notify_lock |
drivers/thermal/intel/intel_soc_dts_iosf.c intel_soc_dts_iosf_interrupt_handler() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 180 |
| PARAM_VALUE | 3 | mdr | 5510082817842216960 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sensors->intr_notify_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct intel_soc_dts_sensors)->intr_notify_lock |
drivers/thermal/intel/intel_soc_dts_iosf.c soc_dts_enable() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 176 |
| PARAM_VALUE | 3 | mdr | 1960625700846350336 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/intel/intel_soc_dts_iosf.c sys_get_curr_temp() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 177 |
| PARAM_VALUE | 3 | mdr | 1769963364223205376 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tzd->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/thermal/intel/intel_soc_dts_iosf.c update_trip_temp() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 178 |
| PARAM_VALUE | 3 | mdr | 4280469490860032000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sensors->dts_update_lock | ||
| HALF_LOCKED2 | &tzd->lock |
drivers/thermal/intel/intel_soc_dts_iosf.c update_trip_temp() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 128 |
| PARAM_VALUE | 3 | mdr | 3533637614165032960 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sensors->dts_update_lock | ||
| HALF_LOCKED2 | &tzd->lock |
drivers/thermal/intel/intel_soc_dts_iosf.c update_trip_temp() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 3 | mdr | 3421833348445302784 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sensors->dts_update_lock | ||
| HALF_LOCKED2 | &tzd->lock |
arch/x86/platform/atom/punit_atom_debug.c punit_dev_state_show() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 3 | mdr | 4713232093382356992 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | *mdr | 0-u32max |
| LOCK2 | &seq_file->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
arch/x86/platform/atom/punit_atom_debug.c punit_s2idle_check() -> iosf_mbi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4 |
| PARAM_VALUE | 1 | opcode | 16 |
| PARAM_VALUE | 2 | offset | 0-58,60-u32max |
| PARAM_VALUE | 3 | mdr | 3632597512710762496 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | *mdr | 0-u32max |
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |