Home
last modified time | relevance | path

Searched refs:dgc (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/kernel/irq/
H A Dgeneric-chip.c291 struct irq_domain_chip_generic *dgc; in __irq_alloc_domain_generic_chips() local
309 dgc_sz = struct_size(dgc, gc, numchips); in __irq_alloc_domain_generic_chips()
312 tmp = dgc = kzalloc(sz, GFP_KERNEL); in __irq_alloc_domain_generic_chips()
313 if (!dgc) in __irq_alloc_domain_generic_chips()
315 dgc->irqs_per_chip = irqs_per_chip; in __irq_alloc_domain_generic_chips()
316 dgc->num_chips = numchips; in __irq_alloc_domain_generic_chips()
317 dgc->irq_flags_to_set = set; in __irq_alloc_domain_generic_chips()
318 dgc->irq_flags_to_clear = clr; in __irq_alloc_domain_generic_chips()
319 dgc->gc_flags = gcflags; in __irq_alloc_domain_generic_chips()
320 d->gc = dgc; in __irq_alloc_domain_generic_chips()
[all …]
/openbmc/qemu/include/ui/
H A Degl-context.h7 QEMUGLContext qemu_egl_create_context(DisplayGLCtx *dgc,
9 void qemu_egl_destroy_context(DisplayGLCtx *dgc, QEMUGLContext ctx);
10 int qemu_egl_make_context_current(DisplayGLCtx *dgc,
H A Dgtk.h38 DisplayGLCtx dgc; member
169 QEMUGLContext gd_egl_create_context(DisplayGLCtx *dgc,
192 int gd_egl_make_current(DisplayGLCtx *dgc,
203 QEMUGLContext gd_gl_area_create_context(DisplayGLCtx *dgc,
205 void gd_gl_area_destroy_context(DisplayGLCtx *dgc,
221 int gd_gl_area_make_current(DisplayGLCtx *dgc,
H A Dsdl2.h30 DisplayGLCtx dgc; member
82 QEMUGLContext sdl2_gl_create_context(DisplayGLCtx *dgc,
84 void sdl2_gl_destroy_context(DisplayGLCtx *dgc, QEMUGLContext ctx);
85 int sdl2_gl_make_context_current(DisplayGLCtx *dgc,
H A Dconsole.h280 bool (*dpy_gl_ctx_is_compatible_dcl)(DisplayGLCtx *dgc,
282 QEMUGLContext (*dpy_gl_ctx_create)(DisplayGLCtx *dgc,
284 void (*dpy_gl_ctx_destroy)(DisplayGLCtx *dgc,
286 int (*dpy_gl_ctx_make_current)(DisplayGLCtx *dgc,
288 void (*dpy_gl_ctx_create_texture)(DisplayGLCtx *dgc,
290 void (*dpy_gl_ctx_destroy_texture)(DisplayGLCtx *dgc,
292 void (*dpy_gl_ctx_update_texture)(DisplayGLCtx *dgc,
H A Dspice-display.h87 DisplayGLCtx dgc; member
/openbmc/linux/drivers/irqchip/
H A Dirq-atmel-aic.c63 struct irq_domain_chip_generic *dgc = aic_domain->gc; in aic_handle() local
64 struct irq_chip_generic *gc = dgc->gc[0]; in aic_handle()
177 struct irq_domain_chip_generic *dgc = d->gc; in aic_irq_domain_xlate() local
184 if (!dgc) in aic_irq_domain_xlate()
192 idx = intspec[0] / dgc->irqs_per_chip; in aic_irq_domain_xlate()
193 if (idx >= dgc->num_chips) in aic_irq_domain_xlate()
196 gc = dgc->gc[idx]; in aic_irq_domain_xlate()
H A Dirq-atmel-aic5.c158 struct irq_domain_chip_generic *dgc = domain->gc; in aic5_suspend() local
171 for (i = 0; i < dgc->irqs_per_chip; i++) { in aic5_suspend()
188 struct irq_domain_chip_generic *dgc = domain->gc; in aic5_resume() local
205 for (i = 0; i < dgc->irqs_per_chip; i++) { in aic5_resume()
224 struct irq_domain_chip_generic *dgc = domain->gc; in aic5_pm_shutdown() local
230 for (i = 0; i < dgc->irqs_per_chip; i++) { in aic5_pm_shutdown()
H A Dirq-digicolor.c37 struct irq_domain_chip_generic *dgc = digicolor_irq_domain->gc; in digicolor_handle_irq() local
38 struct irq_chip_generic *gc = dgc->gc[0]; in digicolor_handle_irq()
H A Dirq-orion.c35 struct irq_domain_chip_generic *dgc = orion_irq_domain->gc; in orion_handle_irq() local
38 for (n = 0; n < dgc->num_chips; n++, base += ORION_IRQS_PER_CHIP) { in orion_handle_irq()
/openbmc/qemu/ui/
H A Dsdl2-gl.c139 QEMUGLContext sdl2_gl_create_context(DisplayGLCtx *dgc, in sdl2_gl_create_context() argument
142 struct sdl2_console *scon = container_of(dgc, struct sdl2_console, dgc); in sdl2_gl_create_context()
174 void sdl2_gl_destroy_context(DisplayGLCtx *dgc, QEMUGLContext ctx) in sdl2_gl_destroy_context() argument
181 int sdl2_gl_make_context_current(DisplayGLCtx *dgc, in sdl2_gl_make_context_current() argument
184 struct sdl2_console *scon = container_of(dgc, struct sdl2_console, dgc); in sdl2_gl_make_context_current()
H A Degl-context.c5 QEMUGLContext qemu_egl_create_context(DisplayGLCtx *dgc, in qemu_egl_create_context() argument
28 void qemu_egl_destroy_context(DisplayGLCtx *dgc, QEMUGLContext ctx) in qemu_egl_destroy_context() argument
33 int qemu_egl_make_context_current(DisplayGLCtx *dgc, in qemu_egl_make_context_current() argument
H A Dgtk-egl.c217 QEMUGLContext gd_egl_create_context(DisplayGLCtx *dgc, in gd_egl_create_context() argument
220 VirtualConsole *vc = container_of(dgc, VirtualConsole, gfx.dgc); in gd_egl_create_context()
224 return qemu_egl_create_context(dgc, params); in gd_egl_create_context()
406 int gd_egl_make_current(DisplayGLCtx *dgc, in gd_egl_make_current() argument
409 VirtualConsole *vc = container_of(dgc, VirtualConsole, gfx.dgc); in gd_egl_make_current()
H A Dgtk-gl-area.c199 QEMUGLContext gd_gl_area_create_context(DisplayGLCtx *dgc, in gd_gl_area_create_context() argument
202 VirtualConsole *vc = container_of(dgc, VirtualConsole, gfx.dgc); in gd_gl_area_create_context()
240 void gd_gl_area_destroy_context(DisplayGLCtx *dgc, QEMUGLContext ctx) in gd_gl_area_destroy_context() argument
339 int gd_gl_area_make_current(DisplayGLCtx *dgc, in gd_gl_area_make_current() argument
H A Degl-headless.c42 static QEMUGLContext egl_create_context(DisplayGLCtx *dgc, in egl_create_context() argument
47 return qemu_egl_create_context(dgc, params); in egl_create_context()
187 egl_is_compatible_dcl(DisplayGLCtx *dgc, in egl_is_compatible_dcl() argument
H A Ddbus.c47 static QEMUGLContext dbus_create_context(DisplayGLCtx *dgc, in dbus_create_context() argument
52 return qemu_egl_create_context(dgc, params); in dbus_create_context()
56 dbus_is_compatible_dcl(DisplayGLCtx *dgc, in dbus_is_compatible_dcl() argument
H A Dspice-display.c915 static QEMUGLContext qemu_spice_gl_create_context(DisplayGLCtx *dgc, in qemu_spice_gl_create_context() argument
920 return qemu_egl_create_context(dgc, params); in qemu_spice_gl_create_context()
1132 qemu_spice_is_compatible_dcl(DisplayGLCtx *dgc, in qemu_spice_is_compatible_dcl() argument
1157 ssd->dgc.ops = &gl_ctx_ops; in qemu_spice_display_init_one()
1187 qemu_console_set_display_gl_ctx(con, &ssd->dgc); in qemu_spice_display_init_one()
H A Dsdl2.c803 sdl2_gl_is_compatible_dcl(DisplayGLCtx *dgc, in sdl2_gl_is_compatible_dcl() argument
891 sdl2_console[i].dgc.ops = display_opengl ? &gl_ctx_ops : NULL; in sdl2_display_init()
899 qemu_console_set_display_gl_ctx(con, &sdl2_console[i].dgc); in sdl2_display_init()
H A Dgtk.c630 gd_gl_area_is_compatible_dcl(DisplayGLCtx *dgc, in gd_gl_area_is_compatible_dcl() argument
664 gd_egl_is_compatible_dcl(DisplayGLCtx *dgc, in gd_egl_is_compatible_dcl() argument
2164 vc->gfx.dgc.ops = &gl_area_ctx_ops; in gd_vc_gfx_init()
2179 vc->gfx.dgc.ops = &egl_ctx_ops; in gd_vc_gfx_init()
2216 qemu_console_set_display_gl_ctx(con, &vc->gfx.dgc); in gd_vc_gfx_init()