Defined in 2 files as a function:

Referenced in 14 files:

Smatch caller information:

drivers/staging/greybus/audio_module.c gb_audio_disconnect() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
DATA_SOURCE 0 bundle $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/staging/greybus/light.c __gb_lights_flash_intensity_set() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/staging/greybus/light.c __gb_lights_led_brightness_set() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &channel->lock
TYPE_LOCK (struct gb_channel)->lock

drivers/staging/greybus/light.c gb_blink_set() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &channel->lock
TYPE_LOCK (struct gb_channel)->lock

drivers/staging/greybus/light.c gb_lights_color_set() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cdev->led_access
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct led_classdev)->led_access

drivers/staging/greybus/light.c gb_lights_disconnect() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
DATA_SOURCE 0 bundle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/staging/greybus/light.c gb_lights_fade_set() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cdev->led_access
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct led_classdev)->led_access

drivers/staging/greybus/light.c gb_lights_flash_fault_get() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/staging/greybus/light.c gb_lights_flash_strobe_set() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &led_cdev->led_access
HALF_LOCKED2 &of->mutex

drivers/staging/greybus/light.c gb_lights_flash_timeout_set() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/staging/greybus/power_supply.c gb_power_supply_property_set() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/staging/greybus/power_supply.c gb_power_supply_state_change() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gbpsy->supply_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_power_supply)->supply_lock

drivers/staging/greybus/power_supply.c gb_power_supply_status_get() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/staging/greybus/audio_apbridgea.c gb_audio_apbridgea_register_cport() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
LOCK2 &codec->lock
TYPE_LOCK (struct gbaudio_codec_info)->lock

drivers/staging/greybus/audio_codec.c gbcodec_hw_params() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &codec->lock
TYPE_LOCK (struct gbaudio_codec_info)->lock

drivers/staging/greybus/audio_codec.c gbcodec_mute_stream() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &codec->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct gbaudio_codec_info)->lock

drivers/staging/greybus/audio_codec.c gbcodec_prepare() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &codec->lock
TYPE_LOCK (struct gbaudio_codec_info)->lock

drivers/staging/greybus/audio_topology.c gbaudio_widget_event() -> gb_pm_runtime_get_sync()

Type Parameter Key Value

drivers/staging/greybus/audio_topology.c gbcodec_enum_ctl_get() -> gb_pm_runtime_get_sync()

Type Parameter Key Value

drivers/staging/greybus/audio_topology.c gbcodec_enum_ctl_put() -> gb_pm_runtime_get_sync()

Type Parameter Key Value

drivers/staging/greybus/audio_topology.c gbcodec_enum_dapm_ctl_get() -> gb_pm_runtime_get_sync()

Type Parameter Key Value

drivers/staging/greybus/audio_topology.c gbcodec_enum_dapm_ctl_put() -> gb_pm_runtime_get_sync()

Type Parameter Key Value

drivers/staging/greybus/audio_topology.c gbcodec_enum_dapm_ctl_put() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 bundle->dev.class 0,4096-ptr_max
PARAM_VALUE 0 bundle->dev.power.request 0-4
PARAM_VALUE 0 bundle->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 bundle->dev.power.runtime_status 0,2
PARAM_VALUE 0 bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 bundle->dev.type 0,4096-ptr_max

drivers/staging/greybus/audio_topology.c gbcodec_mixer_ctl_get() -> gb_pm_runtime_get_sync()

Type Parameter Key Value

drivers/staging/greybus/audio_topology.c gbcodec_mixer_ctl_put() -> gb_pm_runtime_get_sync()

Type Parameter Key Value

drivers/staging/greybus/audio_topology.c gbcodec_mixer_dapm_ctl_get() -> gb_pm_runtime_get_sync()

Type Parameter Key Value

drivers/staging/greybus/audio_topology.c gbcodec_mixer_dapm_ctl_put() -> gb_pm_runtime_get_sync()

Type Parameter Key Value

drivers/staging/greybus/hid.c gb_hid_disconnect() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
DATA_SOURCE 0 bundle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/staging/greybus/hid.c gb_hid_get_report() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
PARAM_VALUE 0 bundle->dev.power.wakeirq->status 0-4294967295
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hid->driver_input_lock

drivers/staging/greybus/hid.c gb_hid_get_report_desc() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->driver_input_lock
HALF_LOCKED2 &pool->lock

drivers/staging/greybus/hid.c gb_hid_set_power() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hid->ll_open_lock

drivers/staging/greybus/hid.c gb_hid_set_report() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hid->driver_input_lock
HALF_LOCKED2 &hid->ll_open_lock
HALF_LOCKED2 global &minors_rwsem

drivers/staging/greybus/gbphy.c gb_gbphy_disconnect() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->intf->dev.power.wakeirq->status 0-4294967295
DATA_SOURCE 0 bundle $0
RX_PATH
TASK_NOT_RUNNING

drivers/staging/greybus/gbphy.c gbphy_dev_probe() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/staging/greybus/fw-management.c fw_mgmt_ioctl_unlocked() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
LOCK2 &fw_mgmt->mutex
TYPE_LOCK (struct fw_mgmt)->mutex

drivers/staging/greybus/fw-core.c gb_fw_core_disconnect() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->intf 4096-ptr_max
DATA_SOURCE 0 bundle $0
BIT_INFO 0 bundle->intf->quirks 0x0,0xffffffffffffffbf
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/staging/greybus/loopback.c gb_loopback_disconnect() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
DATA_SOURCE 0 bundle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/staging/greybus/loopback.c gb_loopback_fn() -> gb_pm_runtime_get_sync()

Type Parameter Key Value

drivers/staging/greybus/loopback.c gb_loopback_fn() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
PARAM_VALUE 0 bundle->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 bundle->dev.class 0,4096-ptr_max
PARAM_VALUE 0 bundle->dev.power.request 0-4
PARAM_VALUE 0 bundle->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 bundle->dev.power.runtime_status 0,2
PARAM_VALUE 0 bundle->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 bundle->dev.type 0,4096-ptr_max
TASK_NOT_RUNNING

drivers/staging/greybus/authentication.c cap_ioctl_unlocked() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
LOCK2 &cap->mutex
TYPE_LOCK (struct gb_cap)->mutex

drivers/staging/greybus/vibrator.c gb_vibrator_disconnect() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
PARAM_VALUE 0 bundle 4096-ptr_max
DATA_SOURCE 0 bundle $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/staging/greybus/vibrator.c turn_on() -> gb_pm_runtime_get_sync()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex