Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 19 files:
-
drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c,
line 862
-
drivers/gpu/drm/amd/display/dc/resource/dcn201/dcn201_resource.c,
line 722
-
drivers/gpu/drm/amd/display/dc/resource/dcn21/dcn21_resource.c,
line 585
-
drivers/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c,
line 879
-
drivers/gpu/drm/amd/display/dc/resource/dcn301/dcn301_resource.c,
line 794
-
drivers/gpu/drm/amd/display/dc/resource/dcn302/dcn302_resource.c,
line 945
-
drivers/gpu/drm/amd/display/dc/resource/dcn303/dcn303_resource.c,
line 900
-
drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c,
line 1059
-
drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c,
line 1116
-
drivers/gpu/drm/amd/display/dc/resource/dcn315/dcn315_resource.c,
line 1058
-
drivers/gpu/drm/amd/display/dc/resource/dcn316/dcn316_resource.c,
line 1051
-
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c,
line 863
-
drivers/gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c,
line 851
-
drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c,
line 997
-
drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c,
line 977
-
drivers/gpu/drm/amd/display/dc/resource/dcn36/dcn36_resource.c,
line 984
-
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c,
line 854
-
drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c,
line 897
-
drivers/gpu/drm/amd/display/dc/resource/dcn42b/dcn42b_resource.c,
line 941
Smatch caller information:
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-1 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
6343753384272171008 |
| PARAM_VALUE |
5 |
masks |
2980979396098461696 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
8723879308615454720 |
| PARAM_VALUE |
5 |
masks |
8032245603920220160 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-5 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
6349427454963060736 |
| PARAM_VALUE |
5 |
masks |
7196715150139940864 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| PREEMPT_ADD |
|
|
|
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-4 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
4437833340727230464 |
| PARAM_VALUE |
5 |
masks |
4615011941275934720 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-1 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
8912637749757018112 |
| PARAM_VALUE |
5 |
masks |
5845029205284765696 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-4 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
2933036618447060992 |
| PARAM_VALUE |
5 |
masks |
2440627123495587840 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-3 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
6554470945859739648 |
| PARAM_VALUE |
5 |
masks |
318791990684540928 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-4 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
2186085488002379776 |
| PARAM_VALUE |
5 |
masks |
4269014802048921600 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-4 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
4572673409043865600 |
| PARAM_VALUE |
5 |
masks |
5458280530463223808 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-s32max |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
948205476063526912 |
| PARAM_VALUE |
5 |
masks |
6698917306442969088 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| CAPPED_DATA |
2 |
engine_id |
1 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
6189993939895443456 |
| PARAM_VALUE |
5 |
masks |
5285272429184790528 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-4 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
2677440394208702464 |
| PARAM_VALUE |
5 |
masks |
221196826474844160 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-3 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
2780293692749545472 |
| PARAM_VALUE |
5 |
masks |
512441385940119552 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-4 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
4360844236042706944 |
| PARAM_VALUE |
5 |
masks |
2122143105910362112 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
579318980992552960 |
| PARAM_VALUE |
5 |
masks |
5241737078388400128 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
1434259557492715520 |
| PARAM_VALUE |
5 |
masks |
3865896905712250880 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-4 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
2789542532899049472 |
| PARAM_VALUE |
5 |
masks |
6035221125193785344 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-4 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
2993544712303734784 |
| PARAM_VALUE |
5 |
masks |
5432007191201509376 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-4 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
672473186150461440 |
| PARAM_VALUE |
5 |
masks |
3185329486849495040 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |
| Type |
Parameter |
Key |
Value |
| PARAM_VALUE |
0 |
dce_i2c_hw |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc |
4096-ptr_max |
| PARAM_VALUE |
1 |
ctx->dc_bios |
4096-ptr_max |
| PARAM_VALUE |
2 |
engine_id |
0-4 |
| PARAM_VALUE |
3 |
regs |
4096-ptr_max |
| PARAM_VALUE |
4 |
shifts |
3794089391820107776 |
| PARAM_VALUE |
5 |
masks |
7735117769260724224 |
| BUF_SIZE |
0 |
dce_i2c_hw |
80 |
| BUF_SIZE |
1 |
ctx->dc_bios->regs |
12 |
| DATA_SOURCE |
0 |
dce_i2c_hw |
r _kzalloc_noprof |
| DATA_SOURCE |
1 |
ctx |
$0 |
| DATA_SOURCE |
2 |
engine_id |
$1 |
| NOCHECK_CALL |
|
|
|
| UNITS |
2 |
engine_id |
unit_array_size |