Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/ast/ast_2100.c __ast_2100_detect_wsxga_p() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->base.dev 4096-ptr_max
PARAM_VALUE 0 ast->base.dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ast->base.dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ast->base.dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ast->chip 65537,131072-131073,196608-196609,262144-262145,327680-327681,393216-393217,458752
PARAM_VALUE 0 ast->config_mode 0-2
PARAM_VALUE 0 ast->dclk_table 3186757660822171648,8237847858216370176
PARAM_VALUE 0 ast->dp501_fw_buf 0,4096-ptr_max
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->quirks 3350100445009768448,3726127277378715648,6185957259724173312,6995702642503708672,7330745426906673152
PARAM_VALUE 0 ast->quirks->crtc_mem_req_threshold_high 47,63,120,224
PARAM_VALUE 0 ast->quirks->crtc_mem_req_threshold_low 31,47,96,160
PARAM_VALUE 0 ast->regs 4096-ptr_max
PARAM_VALUE 0 ast->tx_chip 0-3
PARAM_VALUE 0 ast->vram 4096-ptr_max
PARAM_VALUE 0 ast->vram_size 4194304,6291456,7340032,8388608,12582912,14680064,15728640,16777216,29360128,31457280,32505856,33554432,62914560,65011712,66060288,67108864
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 208
BUF_SIZE 0 ast->dclk_table 81
CAPPED_DATA 0 ast->vram_size 1
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/ast/ast_2100.c __ast_2100_detect_wuxga() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->base.dev 4096-ptr_max
PARAM_VALUE 0 ast->base.dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ast->base.dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ast->base.dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ast->chip 65537,131072-131073,196608-196609,262144-262145,327680-327681,393216-393217,458752
PARAM_VALUE 0 ast->config_mode 0-2
PARAM_VALUE 0 ast->dclk_table 3186757660822171648,8237847858216370176
PARAM_VALUE 0 ast->dp501_fw_buf 0,4096-ptr_max
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->quirks 2028394726578851840,3350100445009768448,3726127277378715648,6185957259724173312,6995702642503708672,7330745426906673152
PARAM_VALUE 0 ast->quirks->crtc_mem_req_threshold_high 47,63,120,224
PARAM_VALUE 0 ast->quirks->crtc_mem_req_threshold_low 31,47,96,160
PARAM_VALUE 0 ast->regs 4096-ptr_max
PARAM_VALUE 0 ast->support_fullhd 1
PARAM_VALUE 0 ast->support_wsxga_p 1
PARAM_VALUE 0 ast->tx_chip 0-3
PARAM_VALUE 0 ast->vram 4096-ptr_max
PARAM_VALUE 0 ast->vram_size 4194304,6291456,7340032,8388608,12582912,14680064,15728640,16777216,29360128,31457280,32505856,33554432,62914560,65011712,66060288,67108864
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 209
BUF_SIZE 0 ast->dclk_table 81
CAPPED_DATA 0 ast->vram_size 1
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/ast/ast_mm.c ast_get_vram_size() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->base.dev 4096-ptr_max
PARAM_VALUE 0 ast->chip 65537,131072-131073,196608-196609,262144-262145,327680-327681,393216-393217,458752
PARAM_VALUE 0 ast->config_mode 0-2
PARAM_VALUE 0 ast->dclk_table 3186757660822171648,8237847858216370176
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->quirks 2028394726578851840,3350100445009768448,3726127277378715648,6185957259724173312,6669511280010739712,6995702642503708672,7330745426906673152
PARAM_VALUE 0 ast->quirks->crtc_mem_req_threshold_high 47,63,120,224
PARAM_VALUE 0 ast->quirks->crtc_mem_req_threshold_low 31,47,96,160
PARAM_VALUE 0 ast->regs 4096-ptr_max
PARAM_VALUE 0 ast->tx_chip 0-3
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 170
BUF_SIZE 0 ast->dclk_table 81
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/ast/ast_mm.c ast_get_vram_size() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->base.dev 4096-ptr_max
PARAM_VALUE 0 ast->chip 65537,131072-131073,196608-196609,262144-262145,327680-327681,393216-393217,458752
PARAM_VALUE 0 ast->config_mode 0-2
PARAM_VALUE 0 ast->dclk_table 3186757660822171648,8237847858216370176
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->quirks 2028394726578851840,3350100445009768448,3726127277378715648,6185957259724173312,6669511280010739712,6995702642503708672,7330745426906673152
PARAM_VALUE 0 ast->quirks->crtc_mem_req_threshold_high 47,63,120,224
PARAM_VALUE 0 ast->quirks->crtc_mem_req_threshold_low 31,47,96,160
PARAM_VALUE 0 ast->regs 4096-ptr_max
PARAM_VALUE 0 ast->tx_chip 0-3
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 153
BUF_SIZE 0 ast->dclk_table 81
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/ast/ast_dp.c ast_astdp_read_edid_block() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ast->modeset_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ast->modeset_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 215
BUF_SIZE 0 ast (-1)-0,2336
BUF_SIZE 0 ast (-1)-0,2336
CAPPED_DATA 0 &ast->modeset_lock 1
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ast->modeset_lock
TYPE_LOCK (struct ast_device)->modeset_lock

drivers/gpu/drm/ast/ast_dp.c ast_astdp_read_edid_block() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ast->modeset_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ast->modeset_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 214
BUF_SIZE 0 ast (-1)-0,2336
BUF_SIZE 0 ast (-1)-0,2336
CAPPED_DATA 0 &ast->modeset_lock 1
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ast->modeset_lock
TYPE_LOCK (struct ast_device)->modeset_lock

drivers/gpu/drm/ast/ast_dp.c ast_astdp_read_edid_block() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ast->modeset_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ast->modeset_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 216
BUF_SIZE 0 ast (-1)-0,2336
BUF_SIZE 0 ast (-1)-0,2336
CAPPED_DATA 0 &ast->modeset_lock 1
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ast->modeset_lock
TYPE_LOCK (struct ast_device)->modeset_lock

drivers/gpu/drm/ast/ast_dp.c ast_astdp_read_edid_block() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ast->modeset_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ast->modeset_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 217
BUF_SIZE 0 ast (-1)-0,2336
BUF_SIZE 0 ast (-1)-0,2336
CAPPED_DATA 0 &ast->modeset_lock 1
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ast->modeset_lock
TYPE_LOCK (struct ast_device)->modeset_lock

drivers/gpu/drm/ast/ast_dp.c ast_astdp_read_edid_block() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ast->modeset_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ast->modeset_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 218
BUF_SIZE 0 ast (-1)-0,2336
BUF_SIZE 0 ast (-1)-0,2336
CAPPED_DATA 0 &ast->modeset_lock 1
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ast->modeset_lock
TYPE_LOCK (struct ast_device)->modeset_lock

drivers/gpu/drm/ast/ast_dp.c ast_astdp_read_edid_block() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ast->modeset_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ast->modeset_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 219
BUF_SIZE 0 ast (-1)-0,2336
BUF_SIZE 0 ast (-1)-0,2336
CAPPED_DATA 0 &ast->modeset_lock 1
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &ast->modeset_lock
TYPE_LOCK (struct ast_device)->modeset_lock

drivers/gpu/drm/ast/ast_dp.c ast_dp_get_phy_sleep() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ast->modeset_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ast->modeset_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ast->modeset_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ast->modeset_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 227
DATA_SOURCE 0 ast $0
TASK_NOT_RUNNING
LOCK2 0 &ast->modeset_lock
HALF_LOCKED2 &connector->dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.mutex
TYPE_LOCK (struct ast_device)->modeset_lock
TYPE_LOCK (struct drm_mode_config)->connection_mutex

drivers/gpu/drm/ast/ast_dp.c ast_dp_launch() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->chip 65537,131072-131073,196608-196609,262144-262145,327680-327681,393216-393217,458752
PARAM_VALUE 0 ast->config_mode 0-2
PARAM_VALUE 0 ast->dclk_table 3186757660822171648,8237847858216370176
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->quirks 2028394726578851840,3350100445009768448,3726127277378715648,6185957259724173312,6669511280010739712,6995702642503708672,7330745426906673152
PARAM_VALUE 0 ast->quirks->crtc_mem_req_threshold_high 47,63,120,224
PARAM_VALUE 0 ast->quirks->crtc_mem_req_threshold_low 31,47,96,160
PARAM_VALUE 0 ast->tx_chip 3
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 209
BUF_SIZE 0 ast->dclk_table (-1),81
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/ast/ast_dp.c ast_dp_link_training() -> ast_get_index_reg()

Type Parameter Key Value
PARAM_VALUE 0 ast 4096-ptr_max
PARAM_VALUE 0 ast->ioregs 4096-ptr_max
PARAM_VALUE 0 ast->output.astdp.connector.physical_status 1
PARAM_VALUE 1 base 84
PARAM_VALUE 2 index 220
DATA_SOURCE 0 ast $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex