/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_i2c_hw.c | 35 dce_i2c_hw->ctx 37 dce_i2c_hw->regs->reg 41 dce_i2c_hw->shifts->field_name, dce_i2c_hw->masks->field_name 44 struct dce_i2c_hw *dce_i2c_hw) in execute_transaction() argument 59 DC_I2C_TRANSACTION_COUNT, dce_i2c_hw->transaction_count - 1); in execute_transaction() 67 dce_i2c_hw->transaction_count = 0; in execute_transaction() 68 dce_i2c_hw->buffer_used_bytes = 0; in execute_transaction() 72 struct dce_i2c_hw *dce_i2c_hw, in get_channel_status() argument 80 else if (value & dce_i2c_hw->masks->DC_I2C_SW_STOPPED_ON_NACK) in get_channel_status() 82 else if (value & dce_i2c_hw->masks->DC_I2C_SW_TIMEOUT) in get_channel_status() [all …]
|
D | dce_i2c_hw.h | 276 struct dce_i2c_hw { struct 296 struct dce_i2c_hw *dce_i2c_hw, argument 304 struct dce_i2c_hw *dce_i2c_hw, 312 struct dce_i2c_hw *dce_i2c_hw, 320 struct dce_i2c_hw *dce_i2c_hw, 328 struct dce_i2c_hw *dce_i2c_hw, 339 struct dce_i2c_hw *dce_i2c_hw); 341 struct dce_i2c_hw *acquire_i2c_hw_engine(
|
D | dce_i2c.c | 59 struct dce_i2c_hw *dce_i2c_hw; in dce_i2c_submit_command() local 72 dce_i2c_hw = acquire_i2c_hw_engine(pool, ddc); in dce_i2c_submit_command() 74 if (dce_i2c_hw) in dce_i2c_submit_command() 75 return dce_i2c_submit_command_hw(pool, ddc, cmd, dce_i2c_hw); in dce_i2c_submit_command()
|
D | Makefile | 32 dce_i2c.o dce_i2c_hw.o dce_i2c_sw.o dmub_psr.o dmub_abm.o dmub_abm_lcd.o dce_panel_cntl.o \
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_resource.c | 711 static struct dce_i2c_hw *dce100_i2c_hw_create( in dce100_i2c_hw_create() 715 struct dce_i2c_hw *dce_i2c_hw = in dce100_i2c_hw_create() local 716 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce100_i2c_hw_create() 718 if (!dce_i2c_hw) in dce100_i2c_hw_create() 721 dce100_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce100_i2c_hw_create() 724 return dce_i2c_hw; in dce100_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_resource.c | 477 static struct dce_i2c_hw *dce120_i2c_hw_create( in dce120_i2c_hw_create() 481 struct dce_i2c_hw *dce_i2c_hw = in dce120_i2c_hw_create() local 482 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce120_i2c_hw_create() 484 if (!dce_i2c_hw) in dce120_i2c_hw_create() 487 dce112_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce120_i2c_hw_create() 490 return dce_i2c_hw; in dce120_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_resource.c | 707 static struct dce_i2c_hw *dcn201_i2c_hw_create(struct dc_context *ctx, in dcn201_i2c_hw_create() 710 struct dce_i2c_hw *dce_i2c_hw = in dcn201_i2c_hw_create() local 711 kzalloc(sizeof(struct dce_i2c_hw), GFP_ATOMIC); in dcn201_i2c_hw_create() 713 if (!dce_i2c_hw) in dcn201_i2c_hw_create() 716 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn201_i2c_hw_create() 719 return dce_i2c_hw; in dcn201_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_resource.c | 732 static struct dce_i2c_hw *dce112_i2c_hw_create( in dce112_i2c_hw_create() 736 struct dce_i2c_hw *dce_i2c_hw = in dce112_i2c_hw_create() local 737 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce112_i2c_hw_create() 739 if (!dce_i2c_hw) in dce112_i2c_hw_create() 742 dce112_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce112_i2c_hw_create() 745 return dce_i2c_hw; in dce112_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_resource.c | 562 static struct dce_i2c_hw *dce60_i2c_hw_create( in dce60_i2c_hw_create() 566 struct dce_i2c_hw *dce_i2c_hw = in dce60_i2c_hw_create() local 567 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce60_i2c_hw_create() 569 if (!dce_i2c_hw) in dce60_i2c_hw_create() 572 dce_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce60_i2c_hw_create() 575 return dce_i2c_hw; in dce60_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_resource.c | 569 static struct dce_i2c_hw *dce80_i2c_hw_create( in dce80_i2c_hw_create() 573 struct dce_i2c_hw *dce_i2c_hw = in dce80_i2c_hw_create() local 574 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce80_i2c_hw_create() 576 if (!dce_i2c_hw) in dce80_i2c_hw_create() 579 dce_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce80_i2c_hw_create() 582 return dce_i2c_hw; in dce80_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_resource.c | 756 static struct dce_i2c_hw *dce110_i2c_hw_create( in dce110_i2c_hw_create() 760 struct dce_i2c_hw *dce_i2c_hw = in dce110_i2c_hw_create() local 761 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce110_i2c_hw_create() 763 if (!dce_i2c_hw) in dce110_i2c_hw_create() 766 dce100_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce110_i2c_hw_create() 769 return dce_i2c_hw; in dce110_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn302/ |
D | dcn302_resource.c | 815 static struct dce_i2c_hw *dcn302_i2c_hw_create(struct dc_context *ctx, uint32_t inst) in dcn302_i2c_hw_create() 817 struct dce_i2c_hw *dce_i2c_hw = kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn302_i2c_hw_create() local 819 if (!dce_i2c_hw) in dcn302_i2c_hw_create() 822 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, &i2c_hw_regs[inst], &i2c_shifts, &i2c_masks); in dcn302_i2c_hw_create() 824 return dce_i2c_hw; in dcn302_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_resource.c | 752 static struct dce_i2c_hw *dcn303_i2c_hw_create(struct dc_context *ctx, uint32_t inst) in dcn303_i2c_hw_create() 754 struct dce_i2c_hw *dce_i2c_hw = kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn303_i2c_hw_create() local 756 if (!dce_i2c_hw) in dcn303_i2c_hw_create() 759 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, &i2c_hw_regs[inst], &i2c_shifts, &i2c_masks); in dcn303_i2c_hw_create() 761 return dce_i2c_hw; in dcn303_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_resource.c | 661 static struct dce_i2c_hw *dcn10_i2c_hw_create(struct dc_context *ctx, in dcn10_i2c_hw_create() 664 struct dce_i2c_hw *dce_i2c_hw = in dcn10_i2c_hw_create() local 665 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn10_i2c_hw_create() 667 if (!dce_i2c_hw) in dcn10_i2c_hw_create() 670 dcn1_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn10_i2c_hw_create() 673 return dce_i2c_hw; in dcn10_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_resource.c | 777 static struct dce_i2c_hw *dcn301_i2c_hw_create(struct dc_context *ctx, uint32_t inst) in dcn301_i2c_hw_create() 779 struct dce_i2c_hw *dce_i2c_hw = in dcn301_i2c_hw_create() local 780 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn301_i2c_hw_create() 782 if (!dce_i2c_hw) in dcn301_i2c_hw_create() 785 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn301_i2c_hw_create() 788 return dce_i2c_hw; in dcn301_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_resource.c | 556 static struct dce_i2c_hw *dcn21_i2c_hw_create(struct dc_context *ctx, in dcn21_i2c_hw_create() 559 struct dce_i2c_hw *dce_i2c_hw = in dcn21_i2c_hw_create() local 560 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn21_i2c_hw_create() 562 if (!dce_i2c_hw) in dcn21_i2c_hw_create() 565 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn21_i2c_hw_create() 568 return dce_i2c_hw; in dcn21_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn316/ |
D | dcn316_resource.c | 979 static struct dce_i2c_hw *dcn31_i2c_hw_create( in dcn31_i2c_hw_create() 983 struct dce_i2c_hw *dce_i2c_hw = in dcn31_i2c_hw_create() local 984 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn31_i2c_hw_create() 986 if (!dce_i2c_hw) in dcn31_i2c_hw_create() 989 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn31_i2c_hw_create() 992 return dce_i2c_hw; in dcn31_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_resource.h | 93 struct dce_i2c_hw *dcn20_i2c_hw_create(
|
D | dcn20_resource.c | 824 struct dce_i2c_hw *dcn20_i2c_hw_create( in dcn20_i2c_hw_create() 828 struct dce_i2c_hw *dce_i2c_hw = in dcn20_i2c_hw_create() local 829 kzalloc(sizeof(struct dce_i2c_hw), GFP_ATOMIC); in dcn20_i2c_hw_create() 831 if (!dce_i2c_hw) in dcn20_i2c_hw_create() 834 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn20_i2c_hw_create() 837 return dce_i2c_hw; in dcn20_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_resource.c | 1057 static struct dce_i2c_hw *dcn31_i2c_hw_create( in dcn31_i2c_hw_create() 1061 struct dce_i2c_hw *dce_i2c_hw = in dcn31_i2c_hw_create() local 1062 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn31_i2c_hw_create() 1064 if (!dce_i2c_hw) in dcn31_i2c_hw_create() 1067 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn31_i2c_hw_create() 1070 return dce_i2c_hw; in dcn31_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn315/ |
D | dcn315_resource.c | 983 static struct dce_i2c_hw *dcn31_i2c_hw_create( in dcn31_i2c_hw_create() 987 struct dce_i2c_hw *dce_i2c_hw = in dcn31_i2c_hw_create() local 988 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn31_i2c_hw_create() 990 if (!dce_i2c_hw) in dcn31_i2c_hw_create() 993 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn31_i2c_hw_create() 996 return dce_i2c_hw; in dcn31_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn321/ |
D | dcn321_resource.c | 777 static struct dce_i2c_hw *dcn321_i2c_hw_create( in dcn321_i2c_hw_create() 781 struct dce_i2c_hw *dce_i2c_hw = in dcn321_i2c_hw_create() local 782 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn321_i2c_hw_create() 784 if (!dce_i2c_hw) in dcn321_i2c_hw_create() 795 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn321_i2c_hw_create() 798 return dce_i2c_hw; in dcn321_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_resource.c | 985 static struct dce_i2c_hw *dcn31_i2c_hw_create( in dcn31_i2c_hw_create() 989 struct dce_i2c_hw *dce_i2c_hw = in dcn31_i2c_hw_create() local 990 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn31_i2c_hw_create() 992 if (!dce_i2c_hw) in dcn31_i2c_hw_create() 995 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn31_i2c_hw_create() 998 return dce_i2c_hw; in dcn31_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_resource.c | 820 static struct dce_i2c_hw *dcn30_i2c_hw_create( in dcn30_i2c_hw_create() 824 struct dce_i2c_hw *dce_i2c_hw = in dcn30_i2c_hw_create() local 825 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn30_i2c_hw_create() 827 if (!dce_i2c_hw) in dcn30_i2c_hw_create() 830 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn30_i2c_hw_create() 833 return dce_i2c_hw; in dcn30_i2c_hw_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_resource.c | 778 static struct dce_i2c_hw *dcn32_i2c_hw_create( in dcn32_i2c_hw_create() 782 struct dce_i2c_hw *dce_i2c_hw = in dcn32_i2c_hw_create() local 783 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn32_i2c_hw_create() 785 if (!dce_i2c_hw) in dcn32_i2c_hw_create() 796 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn32_i2c_hw_create() 799 return dce_i2c_hw; in dcn32_i2c_hw_create()
|