/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/ |
D | irq_service.c | 54 irq_service->ctx 56 irq_service->ctx->logger 59 struct irq_service *irq_service, in dal_irq_service_construct() argument 67 irq_service->ctx = init_data->ctx; in dal_irq_service_construct() 70 void dal_irq_service_destroy(struct irq_service **irq_service) in dal_irq_service_destroy() argument 72 if (!irq_service || !*irq_service) { in dal_irq_service_destroy() 77 kfree(*irq_service); in dal_irq_service_destroy() 79 *irq_service = NULL; in dal_irq_service_destroy() 83 struct irq_service *irq_service, in find_irq_source_info() argument 89 return &irq_service->info[source]; in find_irq_source_info() [all …]
|
D | irq_service.h | 33 struct irq_service; 38 struct irq_service *irq_service, 42 struct irq_service *irq_service, 61 struct irq_service *irq_service, 66 struct irq_service { struct 73 struct irq_service *irq_service, argument 77 struct irq_service *irq_service, 81 struct irq_service *irq_service,
|
D | Makefile | 27 IRQ = irq_service.o
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dce110/ |
D | irq_service_dce110.c | 42 irq_service->ctx->logger 44 static bool hpd_ack(struct irq_service *irq_service, in hpd_ack() argument 48 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack() 53 dal_irq_service_ack_generic(irq_service, info); in hpd_ack() 55 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack() 61 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack() 184 bool dal_irq_service_dummy_set(struct irq_service *irq_service, in dal_irq_service_dummy_set() argument 193 bool dal_irq_service_dummy_ack(struct irq_service *irq_service, in dal_irq_service_dummy_ack() argument 202 bool dce110_vblank_set(struct irq_service *irq_service, in dce110_vblank_set() argument 206 struct dc_context *dc_ctx = irq_service->ctx; in dce110_vblank_set() [all …]
|
D | irq_service_dce110.h | 31 struct irq_service *dal_irq_service_dce110_create( 35 struct irq_service *irq_service, 40 struct irq_service *irq_service, 45 struct irq_service *irq_service, 49 struct irq_service *irq_service,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
D | irq_service_interface.h | 33 struct irq_service; 35 void dal_irq_service_destroy(struct irq_service **irq_service); 38 struct irq_service *irq_service, 43 struct irq_service *irq_service, 47 struct irq_service *irq_service,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dce80/ |
D | irq_service_dce80.c | 43 struct irq_service *irq_service, in hpd_ack() argument 47 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack() 54 dal_irq_service_ack_generic(irq_service, info); in hpd_ack() 56 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack() 64 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack() 287 struct irq_service *irq_service, in dce80_irq_construct() argument 290 dal_irq_service_construct(irq_service, init_data); in dce80_irq_construct() 292 irq_service->info = irq_source_info_dce80; in dce80_irq_construct() 293 irq_service->funcs = &irq_service_funcs_dce80; in dce80_irq_construct() 296 struct irq_service *dal_irq_service_dce80_create( in dal_irq_service_dce80_create() [all …]
|
D | irq_service_dce80.h | 31 struct irq_service *dal_irq_service_dce80_create(
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dce60/ |
D | irq_service_dce60.c | 50 struct irq_service *irq_service, in hpd_ack() argument 54 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack() 61 dal_irq_service_ack_generic(irq_service, info); in hpd_ack() 63 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack() 71 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack() 289 struct irq_service *irq_service, in to_dal_irq_source_dce60() argument 373 struct irq_service *irq_service, in dce60_irq_construct() argument 376 dal_irq_service_construct(irq_service, init_data); in dce60_irq_construct() 378 irq_service->info = irq_source_info_dce60; in dce60_irq_construct() 379 irq_service->funcs = &irq_service_funcs_dce60; in dce60_irq_construct() [all …]
|
D | irq_service_dce60.h | 32 struct irq_service *irq_service, 36 struct irq_service *dal_irq_service_dce60_create(
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dcn21/ |
D | irq_service_dcn21.c | 44 struct irq_service *irq_service, in to_dal_irq_source_dcn21() argument 125 struct irq_service *irq_service, in hpd_ack() argument 129 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack() 136 dal_irq_service_ack_generic(irq_service, info); in hpd_ack() 138 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack() 146 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack() 362 struct irq_service *irq_service, in dcn21_irq_construct() argument 365 dal_irq_service_construct(irq_service, init_data); in dcn21_irq_construct() 367 irq_service->info = irq_source_info_dcn21; in dcn21_irq_construct() 368 irq_service->funcs = &irq_service_funcs_dcn21; in dcn21_irq_construct() [all …]
|
D | irq_service_dcn21.h | 31 struct irq_service *dal_irq_service_dcn21_create(
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dcn10/ |
D | irq_service_dcn10.c | 44 struct irq_service *irq_service, in to_dal_irq_source_dcn10() argument 124 struct irq_service *irq_service, in hpd_ack() argument 128 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack() 135 dal_irq_service_ack_generic(irq_service, info); in hpd_ack() 137 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack() 145 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack() 359 struct irq_service *irq_service, in dcn10_irq_construct() argument 362 dal_irq_service_construct(irq_service, init_data); in dcn10_irq_construct() 364 irq_service->info = irq_source_info_dcn10; in dcn10_irq_construct() 365 irq_service->funcs = &irq_service_funcs_dcn10; in dcn10_irq_construct() [all …]
|
D | irq_service_dcn10.h | 31 struct irq_service *dal_irq_service_dcn10_create(
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dcn20/ |
D | irq_service_dcn20.c | 44 struct irq_service *irq_service, in to_dal_irq_source_dcn20() argument 124 struct irq_service *irq_service, in hpd_ack() argument 128 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack() 135 dal_irq_service_ack_generic(irq_service, info); in hpd_ack() 137 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack() 145 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack() 363 struct irq_service *irq_service, in dcn20_irq_construct() argument 366 dal_irq_service_construct(irq_service, init_data); in dcn20_irq_construct() 368 irq_service->info = irq_source_info_dcn20; in dcn20_irq_construct() 369 irq_service->funcs = &irq_service_funcs_dcn20; in dcn20_irq_construct() [all …]
|
D | irq_service_dcn20.h | 31 struct irq_service *dal_irq_service_dcn20_create(
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dcn30/ |
D | irq_service_dcn30.c | 51 struct irq_service *irq_service, in to_dal_irq_source_dcn30() argument 131 struct irq_service *irq_service, in hpd_ack() argument 135 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack() 142 dal_irq_service_ack_generic(irq_service, info); in hpd_ack() 144 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack() 152 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack() 370 struct irq_service *irq_service, in dcn30_irq_construct() argument 373 dal_irq_service_construct(irq_service, init_data); in dcn30_irq_construct() 375 irq_service->info = irq_source_info_dcn30; in dcn30_irq_construct() 376 irq_service->funcs = &irq_service_funcs_dcn30; in dcn30_irq_construct() [all …]
|
D | irq_service_dcn30.h | 33 struct irq_service *dal_irq_service_dcn30_create(
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/irq/dce120/ |
D | irq_service_dce120.c | 43 struct irq_service *irq_service, in hpd_ack() argument 47 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack() 54 dal_irq_service_ack_generic(irq_service, info); in hpd_ack() 56 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack() 64 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack() 277 struct irq_service *irq_service, in dce120_irq_construct() argument 280 dal_irq_service_construct(irq_service, init_data); in dce120_irq_construct() 282 irq_service->info = irq_source_info_dce120; in dce120_irq_construct() 283 irq_service->funcs = &irq_service_funcs_dce120; in dce120_irq_construct() 286 struct irq_service *dal_irq_service_dce120_create( in dal_irq_service_dce120_create() [all …]
|
D | irq_service_dce120.h | 31 struct irq_service *dal_irq_service_dce120_create(
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 238 struct irq_service *irqs;
|