Home
last modified time | relevance | path

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

/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.c33 struct dce_i2c_hw *dce_i2c_hw; in dce_i2c_submit_command() local
46 dce_i2c_hw = acquire_i2c_hw_engine(pool, ddc); in dce_i2c_submit_command()
48 if (dce_i2c_hw) in dce_i2c_submit_command()
49 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 dce_panel_cntl.o \
/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c708 static struct dce_i2c_hw *dce100_i2c_hw_create( in dce100_i2c_hw_create()
712 struct dce_i2c_hw *dce_i2c_hw = in dce100_i2c_hw_create() local
713 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce100_i2c_hw_create()
715 if (!dce_i2c_hw) in dce100_i2c_hw_create()
718 dce100_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce100_i2c_hw_create()
721 return dce_i2c_hw; in dce100_i2c_hw_create()
/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_resource.c479 static struct dce_i2c_hw *dce120_i2c_hw_create( in dce120_i2c_hw_create()
483 struct dce_i2c_hw *dce_i2c_hw = in dce120_i2c_hw_create() local
484 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce120_i2c_hw_create()
486 if (!dce_i2c_hw) in dce120_i2c_hw_create()
489 dce112_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce120_i2c_hw_create()
492 return dce_i2c_hw; in dce120_i2c_hw_create()
/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c729 static struct dce_i2c_hw *dce112_i2c_hw_create( in dce112_i2c_hw_create()
733 struct dce_i2c_hw *dce_i2c_hw = in dce112_i2c_hw_create() local
734 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce112_i2c_hw_create()
736 if (!dce_i2c_hw) in dce112_i2c_hw_create()
739 dce112_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce112_i2c_hw_create()
742 return dce_i2c_hw; in dce112_i2c_hw_create()
/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()
/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_resource.c567 static struct dce_i2c_hw *dce80_i2c_hw_create( in dce80_i2c_hw_create()
571 struct dce_i2c_hw *dce_i2c_hw = in dce80_i2c_hw_create() local
572 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dce80_i2c_hw_create()
574 if (!dce_i2c_hw) in dce80_i2c_hw_create()
577 dce_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dce80_i2c_hw_create()
580 return dce_i2c_hw; in dce80_i2c_hw_create()
/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()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_resource.c727 struct dce_i2c_hw *dcn10_i2c_hw_create( in dcn10_i2c_hw_create()
731 struct dce_i2c_hw *dce_i2c_hw = in dcn10_i2c_hw_create() local
732 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn10_i2c_hw_create()
734 if (!dce_i2c_hw) in dcn10_i2c_hw_create()
737 dcn1_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn10_i2c_hw_create()
740 return dce_i2c_hw; in dcn10_i2c_hw_create()
/drivers/gpu/drm/amd/display/dc/dcn303/
Ddcn303_resource.c888 static struct dce_i2c_hw *dcn303_i2c_hw_create(struct dc_context *ctx, uint32_t inst) in dcn303_i2c_hw_create()
890 struct dce_i2c_hw *dce_i2c_hw = kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn303_i2c_hw_create() local
892 if (!dce_i2c_hw) in dcn303_i2c_hw_create()
895 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, &i2c_hw_regs[inst], &i2c_shifts, &i2c_masks); in dcn303_i2c_hw_create()
897 return dce_i2c_hw; in dcn303_i2c_hw_create()
/drivers/gpu/drm/amd/display/dc/dcn302/
Ddcn302_resource.c952 static struct dce_i2c_hw *dcn302_i2c_hw_create(struct dc_context *ctx, uint32_t inst) in dcn302_i2c_hw_create()
954 struct dce_i2c_hw *dce_i2c_hw = kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn302_i2c_hw_create() local
956 if (!dce_i2c_hw) in dcn302_i2c_hw_create()
959 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, &i2c_hw_regs[inst], &i2c_shifts, &i2c_masks); in dcn302_i2c_hw_create()
961 return dce_i2c_hw; in dcn302_i2c_hw_create()
/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_resource.c973 struct dce_i2c_hw *dcn301_i2c_hw_create( in dcn301_i2c_hw_create()
977 struct dce_i2c_hw *dce_i2c_hw = in dcn301_i2c_hw_create() local
978 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn301_i2c_hw_create()
980 if (!dce_i2c_hw) in dcn301_i2c_hw_create()
983 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn301_i2c_hw_create()
986 return dce_i2c_hw; in dcn301_i2c_hw_create()
/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c787 struct dce_i2c_hw *dcn21_i2c_hw_create( in dcn21_i2c_hw_create()
791 struct dce_i2c_hw *dce_i2c_hw = in dcn21_i2c_hw_create() local
792 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn21_i2c_hw_create()
794 if (!dce_i2c_hw) in dcn21_i2c_hw_create()
797 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn21_i2c_hw_create()
800 return dce_i2c_hw; in dcn21_i2c_hw_create()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.h89 struct dce_i2c_hw *dcn20_i2c_hw_create(
Ddcn20_resource.c1194 struct dce_i2c_hw *dcn20_i2c_hw_create( in dcn20_i2c_hw_create()
1198 struct dce_i2c_hw *dce_i2c_hw = in dcn20_i2c_hw_create() local
1199 kzalloc(sizeof(struct dce_i2c_hw), GFP_ATOMIC); in dcn20_i2c_hw_create()
1201 if (!dce_i2c_hw) in dcn20_i2c_hw_create()
1204 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn20_i2c_hw_create()
1207 return dce_i2c_hw; in dcn20_i2c_hw_create()
/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_resource.c1061 static struct dce_i2c_hw *dcn31_i2c_hw_create( in dcn31_i2c_hw_create()
1065 struct dce_i2c_hw *dce_i2c_hw = in dcn31_i2c_hw_create() local
1066 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn31_i2c_hw_create()
1068 if (!dce_i2c_hw) in dcn31_i2c_hw_create()
1071 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn31_i2c_hw_create()
1074 return dce_i2c_hw; in dcn31_i2c_hw_create()
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c958 static struct dce_i2c_hw *dcn30_i2c_hw_create( in dcn30_i2c_hw_create()
962 struct dce_i2c_hw *dce_i2c_hw = in dcn30_i2c_hw_create() local
963 kzalloc(sizeof(struct dce_i2c_hw), GFP_KERNEL); in dcn30_i2c_hw_create()
965 if (!dce_i2c_hw) in dcn30_i2c_hw_create()
968 dcn2_i2c_hw_construct(dce_i2c_hw, ctx, inst, in dcn30_i2c_hw_create()
971 return dce_i2c_hw; in dcn30_i2c_hw_create()
/drivers/gpu/drm/amd/display/dc/inc/
Dcore_types.h222 struct dce_i2c_hw *hw_i2cs[MAX_PIPES];