/openbmc/linux/kernel/irq/ |
H A D | generic-chip.c | 291 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 D | egl-context.h | 7 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 D | gtk.h | 38 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 D | sdl2.h | 30 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 D | console.h | 280 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 D | spice-display.h | 87 DisplayGLCtx dgc; member
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-atmel-aic.c | 63 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 D | irq-atmel-aic5.c | 158 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 D | irq-digicolor.c | 37 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 D | irq-orion.c | 35 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 D | sdl2-gl.c | 139 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 D | egl-context.c | 5 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 D | gtk-egl.c | 217 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 D | gtk-gl-area.c | 199 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 D | egl-headless.c | 42 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 D | dbus.c | 47 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 D | spice-display.c | 915 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 D | sdl2.c | 803 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 D | gtk.c | 630 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()
|