Defined in 1 files as a macro:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_dp_tunnel.c allocate_initial_tunnel_bw_for_pipes() -> kbytes_to_mbits()

Type Parameter Key Value
DATA_SOURCE 0 kbytes r intel_dp_config_required_rate
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/intel_dp_tunnel.c allocate_initial_tunnel_bw_for_pipes() -> kbytes_to_mbits()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/intel_dp_tunnel.c has_tunnel_bw_changed() -> kbytes_to_mbits()

Type Parameter Key Value
DATA_SOURCE 0 kbytes $1
TASK_NOT_RUNNING
HALF_LOCKED2 &_connector->dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.mutex
TYPE_LOCK (struct drm_mode_config)->connection_mutex

drivers/gpu/drm/i915/display/intel_dp_tunnel.c has_tunnel_bw_changed() -> kbytes_to_mbits()

Type Parameter Key Value
DATA_SOURCE 0 kbytes r get_current_link_bw
TASK_NOT_RUNNING
HALF_LOCKED2 &_connector->dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.mutex
TYPE_LOCK (struct drm_mode_config)->connection_mutex

drivers/gpu/drm/i915/display/intel_dp_tunnel.c intel_dp_tunnel_atomic_compute_stream_bw() -> kbytes_to_mbits()

Type Parameter Key Value
DATA_SOURCE 0 kbytes r intel_dp_config_required_rate
RX_PATH
TASK_NOT_RUNNING