bdisp_hw_get_hv_inc(9)
π bdisp_hw_get_hv_inc(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to the bdisp_hw_get_hv_inc page from the Kernel API Manual β¨ this is a little function from the kernel's driver world, and yes, the NAME section literally just says the name with a dangling dash and no blurb after it, so we're matching that energy fr fr π
β¨ NAME β¨
bdisp_hw_get_hv_inc β (and that's it, the manpage really left the description blank, no cap π)
πΈ SYNOPSIS πΈ
int bdisp_hw_get_hv_inc (struct bdisp_ctx *ctx , u16 *h_inc , u16 *v_inc );
it's giving "three args, one int, let's go" π¦
π ARGUMENTS π
ctxβ device context π this is the context for the device, the main character of the callh_incβ horizontal increment πv_incβ vertical increment β
π§ DESCRIPTION π§
so what does it actually do? it computes the horizontal & vertical increments β which are the inverse of scale π«Ά that's the whole vibe. increments in, scaling out, iconic behaviour only π
π₯ RETURN π₯
0on success β that's it, that's the return value, zero means we slayed
π¦ SEE ALSO π¦
first up, the kernel file this lives in β literally:
Kernel file ./drivers/media/platform/st/sti/bdisp/bdisp-hw.c
and then the whole friend group of related functions, all of them, not skipping a single one π:
bdisp_hw_reset(9)bdisp_hw_get_and_clear_irq(9)bdisp_hw_free_nodes(9)bdisp_hw_alloc_nodes(9)bdisp_hw_free_filters(9)bdisp_hw_alloc_filters(9)bdisp_hw_get_hf_addr(9)bdisp_hw_get_vf_addr(9)bdisp_hw_get_inc(9)bdisp_hw_get_op_cfg(9)bdisp_hw_color_format(9)bdisp_hw_build_node(9)bdisp_hw_build_all_nodes(9)bdisp_hw_save_request(9)bdisp_hw_update(9)
like, that's the whole squad, go read them too π«Ά
okay that's the page!! mwah π
this little beauty comes from ./drivers/media/platform/st/st... and it's dated October 2026 β so go forth, compute those increments, and remember: horizontal and vertical, inverse of scale, 0 on success. 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