Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 9 files:

Smatch caller information:

arch/x86/platform/intel/iosf_mbi.c iosf_mbi_block_punit_i2c_access() -> iosf_mbi_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 1-s32max
PARAM_VALUE 3 mdr 2
RX_PATH
TASK_NOT_RUNNING
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_write()

Type Parameter Key Value
PARAM_VALUE 1 opcode 1-255
PARAM_VALUE 2 offset 0-255
CAPABLE 0 17
BIT_INFO 1 opcode 0x1,0xff
USER_DATA 0 port 0-255[c]
USER_DATA 1 opcode 1-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_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 7
PARAM_VALUE 2 offset 2,223
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 mdr 0-u32max
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_write()

Type Parameter Key Value
PARAM_VALUE 0 port 99
PARAM_VALUE 1 opcode 7
PARAM_VALUE 2 offset 4216
PARAM_VALUE 3 mdr 0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 mdr 0[c]

drivers/staging/media/atomisp/pci/atomisp_cmd.c write_target_freq_to_hw() -> iosf_mbi_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 58
BIT_INFO 3 mdr 0x0,0xffffff7f
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_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 58
BIT_INFO 3 mdr 0x80,0xffffffff
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/mmc/host/sdhci-pci-core.c byt_ocp_setting() -> iosf_mbi_write()

Type Parameter Key Value
PARAM_VALUE 0 port 99
PARAM_VALUE 1 opcode 7
PARAM_VALUE 2 offset 4216
PARAM_VALUE 3 mdr 0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 mdr 0[c]

drivers/staging/media/atomisp/pci/atomisp_v4l2.c punit_ddr_dvfs_enable() -> iosf_mbi_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 319
PARAM_VALUE 3 mdr 0,2-s32max
BIT_INFO 3 mdr 0x0,0x7ffffffe
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 mdr 0,2-s32max[c]

drivers/thermal/intel/intel_soc_dts_iosf.c intel_soc_dts_iosf_interrupt_handler() -> iosf_mbi_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 128
BIT_INFO 3 mdr 0x10,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 mdr 0-u32max
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_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 180
PARAM_VALUE 3 mdr 1-u32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 mdr 1-u32max
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 remove_dts_thermal_zone() -> iosf_mbi_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 176
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/thermal/intel/intel_soc_dts_iosf.c soc_dts_enable() -> iosf_mbi_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 176
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 mdr 0-u32max[c]

drivers/thermal/intel/intel_soc_dts_iosf.c update_trip_temp() -> iosf_mbi_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 178
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_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 128
PARAM_VALUE 3 mdr 196608-196610
BIT_INFO 3 mdr 0x30000,0x30003
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 mdr 196608-196610[c]
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_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 3 mdr 0,16384,18432
BIT_INFO 3 mdr 0x0,0x4800
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 3 mdr 0,16384,18432[c]
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_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 128
PARAM_VALUE 3 mdr 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 mdr 0
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_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 128
PARAM_VALUE 3 mdr 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 mdr 0
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_write()

Type Parameter Key Value
PARAM_VALUE 0 port 4
PARAM_VALUE 1 opcode 17
PARAM_VALUE 2 offset 178
PARAM_VALUE 3 mdr 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 3 mdr 0
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &sensors->dts_update_lock
HALF_LOCKED2 &tzd->lock