Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/radeon/evergreen_cs.c evergreen_cs_track_validate_texture() -> r600_fmt_get_nblocksx()

Type Parameter Key Value
PARAM_VALUE 0 format 0-63
PARAM_VALUE 1 w 8-32768
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/evergreen_cs.c evergreen_cs_track_validate_texture() -> r600_fmt_get_nblocksx()

Type Parameter Key Value
PARAM_VALUE 0 format 0-56
DATA_SOURCE 1 w r r600_mip_minify
UNITS 0 format unit_array_size
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/r600_cs.c r600_cs_track_validate_cb() -> r600_fmt_get_nblocksx()

Type Parameter Key Value
PARAM_VALUE 0 format 0-56
PARAM_VALUE 1 w 8-8192
HARD_MAX 0 format 56
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/r600_cs.c r600_cs_track_validate_cb() -> r600_fmt_get_nblocksx()

Type Parameter Key Value
PARAM_VALUE 0 format 0-56
PARAM_VALUE 1 w 8-8192
HARD_MAX 0 format 56
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock

drivers/gpu/drm/radeon/r600_cs.c r600_texture_size() -> r600_fmt_get_nblocksx()

Type Parameter Key Value
PARAM_VALUE 0 format 0-56
DATA_SOURCE 0 format $7
DATA_SOURCE 1 w r r600_mip_minify
HARD_MAX 0 format 56
USER_DATA 0 format 0-56[c]
USER_DATA 1 w 1-8192[c]
LOCK2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_device)->exclusive_lock