static struct pbl_gpu_stm32_dma2d_state sym##_dma2d_state; \
sym, _name, nullptr, &pbl_gpu_stm32_dma2d_ops, \
.state = &sym##_dma2d_state, \
.base = (_base), \
.irq = (_irq), \
.clk = _clk, \
}; \
PBL_IRQ_CONNECT_NUM(_irq, CONFIG_GPU_STM32_DMA2D_IRQ_PRIO, pbl_gpu_stm32_dma2d_irq_handler, \
&sym##_inst, 0)
STM32 DMA2D.
Definition stm32_dma2d.h:29
A GPU.
Definition gpu.h:202
#define PBL_GPU_STATE_DEFINE(sym)
Define the class state of GPU sym, for the PBL_*_DEFINE() macro of a driver.
Definition gpu.h:221
#define PBL_GPU_INIT(sym, _name, _parent, _ops,...)
Initializer for the struct pbl_gpu of GPU sym.
Definition gpu.h:234
@ PBL_GPU_FORMAT_RGB565
16 bits per pixel: 5 of red, 6 of green and 5 of blue, from the most significant bit.
Definition gpu.h:60
@ PBL_GPU_FORMAT_A8
8 bits per pixel, alpha only: the color comes from the blit.
Definition gpu.h:66
@ PBL_GPU_FORMAT_ARGB8888
32 bits per pixel: 8 of alpha, red, green and blue, from the most significant bit.
Definition gpu.h:64
@ PBL_GPU_FORMAT_RGB888
24 bits per pixel: 8 of red, green and blue, from the most significant bit.
Definition gpu.h:62
#define PBL_BIT(n)
Unsigned 32-bit value with a single bit set.
Definition bits.h:31
Define a DMA2D.