Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/gpu/drm/tegra/fbdev.c tegra_fbdev_driver_fbdev_probe() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
PARAM_VALUE 0 bpp 0-64
PARAM_VALUE 1 depth 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->clientlist_mutex
LOCK2 &helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock

drivers/gpu/drm/omapdrm/omap_fbdev.c omap_fbdev_driver_fbdev_probe() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
PARAM_VALUE 0 bpp 32
PARAM_VALUE 1 depth 24
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->clientlist_mutex
LOCK2 &helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock

drivers/gpu/drm/drm_fourcc.c drm_driver_legacy_fb_format() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
DATA_SOURCE 0 bpp $1
DATA_SOURCE 1 depth $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bpp 0-u32max[u]
USER_DATA 1 depth 0-u32max[u]
HALF_LOCKED2 &client->modeset_mutex
HALF_LOCKED2 &dev->clientlist_mutex
HALF_LOCKED2 &fb_helper->lock

drivers/gpu/drm/gma500/fbdev.c psb_fbdev_driver_fbdev_probe() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
PARAM_VALUE 0 bpp 0-23,25-64
PARAM_VALUE 1 depth 0-255
FUZZY_MAX 0 bpp 32
FUZZY_MAX 1 depth 24
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->clientlist_mutex
LOCK2 &fb_helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock

drivers/gpu/drm/msm/msm_fbdev.c msm_fbdev_driver_fbdev_probe() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
PARAM_VALUE 0 bpp 0-64
PARAM_VALUE 1 depth 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->clientlist_mutex
LOCK2 &helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock

drivers/gpu/drm/exynos/exynos_drm_fbdev.c exynos_drm_fbdev_driver_fbdev_probe() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
PARAM_VALUE 0 bpp 0-64
PARAM_VALUE 1 depth 0-255
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->clientlist_mutex
LOCK2 &helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock

drivers/gpu/drm/i915/display/intel_fbdev.c intel_fbdev_fill_mode_cmd() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
PARAM_VALUE 0 bpp 0-23,25-64
PARAM_VALUE 1 depth 0-255
CAPPED_DATA 0 bpp 1
CAPPED_DATA 1 depth 1
FUZZY_MAX 0 bpp 32
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->clientlist_mutex
LOCK2 &helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock

drivers/gpu/drm/sysfb/ofdrm.c display_get_validated_format() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
PARAM_VALUE 0 bpp 8
PARAM_VALUE 1 depth 8
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/sysfb/ofdrm.c display_get_validated_format() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
PARAM_VALUE 0 bpp 16
PARAM_VALUE 1 depth 15-16
CAPPED_DATA 1 depth 1
DATA_SOURCE 1 depth $1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/sysfb/ofdrm.c display_get_validated_format() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
PARAM_VALUE 0 bpp 32
PARAM_VALUE 1 depth 24
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/radeon/radeon_fbdev.c radeon_fbdev_driver_fbdev_probe() -> drm_mode_legacy_fb_format()

Type Parameter Key Value
PARAM_VALUE 0 bpp 0-64
PARAM_VALUE 1 depth 0-255
FUZZY_MAX 0 bpp 32
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->clientlist_mutex
LOCK2 &fb_helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock