STRUCT BDISP_DEV(9)
β¨ struct bdisp_dev(9) β¨
okay bestie, welcome to the Kernel API Manual π this one's all about struct bdisp_dev β the whole vibe of it is literally just abstraction for bdisp entity, no cap. that's the NAME section, we ate it up, moving on π«Ά
πΈ SYNOPSIS πΈ
here's the whole struct, character for character, do NOT touch it, she's perfect:
struct bdisp_dev {
struct v4l2_device v4l2_dev;
struct video_device vdev;
struct platform_device *pdev;
struct device *dev;
spinlock_t slock;
struct mutex lock;
u16 id;
struct bdisp_m2m_device m2m;
unsigned long state;
struct clk *clock;
void __iomem *regs;
wait_queue_head_t irq_queue;
struct workqueue_struct *work_queue;
struct delayed_work timeout_work;
struct bdisp_dbg dbg;
};
like, look at her. main character struct energy fr fr π
π Members π
every single one, in order, no skips, we don't do that here:
v4l2_devβ the v4l2 device πvdevβ the video device πpdevβ the platform device πΈdevβ the device π¦slockβ a spinlock whose whole job is protecting this data structure π₯lockβ a mutex, also protecting this data structure (yes, both. two protectors. iconique) β¨idβ the device index π’m2mβ memory-to-memory V4L2 device information πstateβ flags used to synchronize m2m and capture mode operation βclockβ the IP clock β°regsβ the registers ποΈirq_queueβ the interrupt handler waitqueue π΄work_queueβ workqueue used to handle timeouts β³timeout_workβ the IRQ timeout structure πdbgβ debug info π
π SEE ALSO π
go read the kernel file ./drivers/media/platform/st/sti/bdisp/bdisp.h (that's where this beauty lives) and then go hang out with her friends:
struct bdisp_fmt(9)struct bdisp_frame(9)struct bdisp_request(9)struct bdisp_ctx(9)struct bdisp_m2m_device(9)struct bdisp_dbg(9)
iykyk π§
ok that's the whole page, nothing skipped, nothing invented, we kept every flag and every field exactly as written π
so this little love letter came out of ./drivers/media/platform/st/st... and it's dated October 2026 β yeah, the future. she's ahead of her time. periodt ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms