Home
last modified time | relevance | path

Searched refs:irq_service (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/
Dirq_service.c47 irq_service->ctx
49 irq_service->ctx->logger
52 struct irq_service *irq_service, in dal_irq_service_construct() argument
60 irq_service->ctx = init_data->ctx; in dal_irq_service_construct()
63 void dal_irq_service_destroy(struct irq_service **irq_service) in dal_irq_service_destroy() argument
65 if (!irq_service || !*irq_service) { in dal_irq_service_destroy()
70 kfree(*irq_service); in dal_irq_service_destroy()
72 *irq_service = NULL; in dal_irq_service_destroy()
76 struct irq_service *irq_service, in find_irq_source_info() argument
82 return &irq_service->info[source]; in find_irq_source_info()
[all …]
Dirq_service.h33 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,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dce110/
Dirq_service_dce110.c40 irq_service->ctx->logger
42 static bool hpd_ack(struct irq_service *irq_service, in hpd_ack() argument
46 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
51 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
53 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
59 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
182 bool dal_irq_service_dummy_set(struct irq_service *irq_service, in dal_irq_service_dummy_set() argument
192 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 …]
Dirq_service_dce110.h31 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,
/linux-6.1.9/drivers/gpu/drm/amd/display/include/
Dirq_service_interface.h33 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,
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dce80/
Dirq_service_dce80.c41 struct irq_service *irq_service, in hpd_ack() argument
45 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
52 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
54 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
62 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
285 struct irq_service *irq_service, in dce80_irq_construct() argument
288 dal_irq_service_construct(irq_service, init_data); in dce80_irq_construct()
290 irq_service->info = irq_source_info_dce80; in dce80_irq_construct()
291 irq_service->funcs = &irq_service_funcs_dce80; in dce80_irq_construct()
294 struct irq_service *dal_irq_service_dce80_create( in dal_irq_service_dce80_create()
[all …]
Dirq_service_dce80.h31 struct irq_service *dal_irq_service_dce80_create(
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dce60/
Dirq_service_dce60.c50 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 …]
Dirq_service_dce60.h32 struct irq_service *irq_service,
36 struct irq_service *dal_irq_service_dce60_create(
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn303/
Dirq_service_dcn303.c18 static enum dc_irq_source to_dal_irq_source_dcn303(struct irq_service *irq_service, in to_dal_irq_source_dcn303() argument
61 static bool hpd_ack(struct irq_service *irq_service, const struct irq_source_info *info) in hpd_ack() argument
64 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
67 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
69 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
73 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
264 static void dcn303_irq_construct(struct irq_service *irq_service, struct irq_service_init_data *ini… in dcn303_irq_construct() argument
266 dal_irq_service_construct(irq_service, init_data); in dcn303_irq_construct()
268 irq_service->info = irq_source_info_dcn303; in dcn303_irq_construct()
269 irq_service->funcs = &irq_service_funcs_dcn303; in dcn303_irq_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn201/
Dirq_service_dcn201.c42 static enum dc_irq_source to_dal_irq_source_dcn201(struct irq_service *irq_service, in to_dal_irq_source_dcn201() argument
86 struct irq_service *irq_service, in hpd_ack() argument
90 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
97 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
99 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
107 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
348 struct irq_service *irq_service, in dcn201_irq_construct() argument
351 dal_irq_service_construct(irq_service, init_data); in dcn201_irq_construct()
353 irq_service->info = irq_source_info_dcn201; in dcn201_irq_construct()
354 irq_service->funcs = &irq_service_funcs_dcn201; in dcn201_irq_construct()
[all …]
Dirq_service_dcn201.h31 struct irq_service *dal_irq_service_dcn201_create(
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dce120/
Dirq_service_dce120.c41 struct irq_service *irq_service, in hpd_ack() argument
45 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
52 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
54 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
62 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
275 struct irq_service *irq_service, in dce120_irq_construct() argument
278 dal_irq_service_construct(irq_service, init_data); in dce120_irq_construct()
280 irq_service->info = irq_source_info_dce120; in dce120_irq_construct()
281 irq_service->funcs = &irq_service_funcs_dce120; in dce120_irq_construct()
284 struct irq_service *dal_irq_service_dce120_create( in dal_irq_service_dce120_create()
[all …]
Dirq_service_dce120.h31 struct irq_service *dal_irq_service_dce120_create(
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn10/
Dirq_service_dcn10.c41 static enum dc_irq_source to_dal_irq_source_dcn10(struct irq_service *irq_service, in to_dal_irq_source_dcn10() argument
133 struct irq_service *irq_service, in hpd_ack() argument
137 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
144 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
146 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
154 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
387 struct irq_service *irq_service, in dcn10_irq_construct() argument
390 dal_irq_service_construct(irq_service, init_data); in dcn10_irq_construct()
392 irq_service->info = irq_source_info_dcn10; in dcn10_irq_construct()
393 irq_service->funcs = &irq_service_funcs_dcn10; in dcn10_irq_construct()
[all …]
Dirq_service_dcn10.h31 struct irq_service *dal_irq_service_dcn10_create(
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn20/
Dirq_service_dcn20.c44 struct irq_service *irq_service, in to_dal_irq_source_dcn20() argument
136 struct irq_service *irq_service, in hpd_ack() argument
140 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
147 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
149 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
157 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
394 struct irq_service *irq_service, in dcn20_irq_construct() argument
397 dal_irq_service_construct(irq_service, init_data); in dcn20_irq_construct()
399 irq_service->info = irq_source_info_dcn20; in dcn20_irq_construct()
400 irq_service->funcs = &irq_service_funcs_dcn20; in dcn20_irq_construct()
[all …]
Dirq_service_dcn20.h31 struct irq_service *dal_irq_service_dcn20_create(
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn21/
Dirq_service_dcn21.c43 static enum dc_irq_source to_dal_irq_source_dcn21(struct irq_service *irq_service, in to_dal_irq_source_dcn21() argument
138 struct irq_service *irq_service, in hpd_ack() argument
142 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
149 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
151 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
159 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
422 struct irq_service *irq_service, in dcn21_irq_construct() argument
425 dal_irq_service_construct(irq_service, init_data); in dcn21_irq_construct()
427 irq_service->info = irq_source_info_dcn21; in dcn21_irq_construct()
428 irq_service->funcs = &irq_service_funcs_dcn21; in dcn21_irq_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn30/
Dirq_service_dcn30.c49 struct irq_service *irq_service, in to_dal_irq_source_dcn30() argument
143 struct irq_service *irq_service, in hpd_ack() argument
147 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
154 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
156 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
164 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
429 struct irq_service *irq_service, in dcn30_irq_construct() argument
432 dal_irq_service_construct(irq_service, init_data); in dcn30_irq_construct()
434 irq_service->info = irq_source_info_dcn30; in dcn30_irq_construct()
435 irq_service->funcs = &irq_service_funcs_dcn30; in dcn30_irq_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn302/
Dirq_service_dcn302.c38 static enum dc_irq_source to_dal_irq_source_dcn302(struct irq_service *irq_service, uint32_t src_id… in to_dal_irq_source_dcn302() argument
129 static bool hpd_ack(struct irq_service *irq_service, const struct irq_source_info *info) in hpd_ack() argument
132 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()
141 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
387 static void dcn302_irq_construct(struct irq_service *irq_service, struct irq_service_init_data *ini… in dcn302_irq_construct() argument
389 dal_irq_service_construct(irq_service, init_data); in dcn302_irq_construct()
391 irq_service->info = irq_source_info_dcn302; in dcn302_irq_construct()
392 irq_service->funcs = &irq_service_funcs_dcn302; in dcn302_irq_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn31/
Dirq_service_dcn31.c39 static enum dc_irq_source to_dal_irq_source_dcn31(struct irq_service *irq_service, in to_dal_irq_source_dcn31() argument
132 struct irq_service *irq_service, in hpd_ack() argument
136 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
143 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
145 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
153 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
411 struct irq_service *irq_service, in dcn31_irq_construct() argument
414 dal_irq_service_construct(irq_service, init_data); in dcn31_irq_construct()
416 irq_service->info = irq_source_info_dcn31; in dcn31_irq_construct()
417 irq_service->funcs = &irq_service_funcs_dcn31; in dcn31_irq_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn314/
Dirq_service_dcn314.c42 struct irq_service *irq_service, in to_dal_irq_source_dcn314() argument
135 struct irq_service *irq_service, in hpd_ack() argument
139 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
146 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
148 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
156 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
414 struct irq_service *irq_service, in dcn314_irq_construct() argument
417 dal_irq_service_construct(irq_service, init_data); in dcn314_irq_construct()
419 irq_service->info = irq_source_info_dcn314; in dcn314_irq_construct()
420 irq_service->funcs = &irq_service_funcs_dcn314; in dcn314_irq_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn315/
Dirq_service_dcn315.c46 struct irq_service *irq_service, in to_dal_irq_source_dcn315() argument
139 struct irq_service *irq_service, in hpd_ack() argument
143 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
150 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
152 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
160 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
418 struct irq_service *irq_service, in dcn315_irq_construct() argument
421 dal_irq_service_construct(irq_service, init_data); in dcn315_irq_construct()
423 irq_service->info = irq_source_info_dcn315; in dcn315_irq_construct()
424 irq_service->funcs = &irq_service_funcs_dcn315; in dcn315_irq_construct()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/irq/dcn32/
Dirq_service_dcn32.c40 struct irq_service *irq_service, in to_dal_irq_source_dcn32() argument
133 struct irq_service *irq_service, in hpd_ack() argument
137 uint32_t value = dm_read_reg(irq_service->ctx, addr); in hpd_ack()
144 dal_irq_service_ack_generic(irq_service, info); in hpd_ack()
146 value = dm_read_reg(irq_service->ctx, info->enable_reg); in hpd_ack()
154 dm_write_reg(irq_service->ctx, info->enable_reg, value); in hpd_ack()
412 struct irq_service *irq_service, in dcn32_irq_construct() argument
415 dal_irq_service_construct(irq_service, init_data); in dcn32_irq_construct()
417 irq_service->info = irq_source_info_dcn32; in dcn32_irq_construct()
418 irq_service->funcs = &irq_service_funcs_dcn32; in dcn32_irq_construct()
[all …]

12