Home
last modified time | relevance | path

Searched refs:dce_i2c_hw (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_i2c_hw.c35 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 …]
Ddce_i2c_hw.h276 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(
Ddce_i2c.c59 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()
DMakefile32 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/
Ddce100_resource.c711 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/
Ddce120_resource.c477 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/
Ddcn201_resource.c707 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/
Ddce112_resource.c732 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/
Ddce60_resource.c562 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/
Ddce80_resource.c569 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/
Ddce110_resource.c756 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/
Ddcn302_resource.c815 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/
Ddcn303_resource.c752 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/
Ddcn10_resource.c661 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/
Ddcn301_resource.c777 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/
Ddcn21_resource.c556 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/
Ddcn316_resource.c979 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/
Ddcn20_resource.h93 struct dce_i2c_hw *dcn20_i2c_hw_create(
Ddcn20_resource.c824 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/
Ddcn314_resource.c1057 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/
Ddcn315_resource.c983 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/
Ddcn321_resource.c777 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/
Ddcn31_resource.c985 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/
Ddcn30_resource.c820 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/
Ddcn32_resource.c778 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()

12