i810_calc_dclk(9)
π NAME π
i810_calc_dclk β this is the Kernel API Manual page for the function that calculates the P, M, and N values of a pixelclock value. Bestie, thatβs the whole name vibe, and yes, itβs giving very specific kernel energy. π
β¨ SYNOPSIS β¨
okay so hereβs the exact signature, no cap:
void i810_calc_dclk (u32 freq , u32 *m , u32 *n , u32 *p );
π ARGUMENTS π
freqβ the target pixelclock, in picoseconds. β±οΈmβ where to write M register. πnβ where to write N register. β¨pβ where to write P register. π¦
π¦ DESCRIPTION π¦
okay so based on the formula:
Freq_actual = (4*M*Freq_ref)/(N^P)
It repeatedly computes the Freq until the actual Freq is equal to the target Freq, or until the loop count is zero. In the latter case, the actual frequency nearest the target will be used β periodt. πβ¨
π SEE ALSO π
Kernel file: ./drivers/video/fbdev/i810/i810_main.c
and hereβs the whole see-also squad in order, because we do not skip anyone:
i810_screen_off(9)i810_dram_off(9)i810_protect_regs(9)i810_load_pll(9)i810_load_vga(9)i810_load_vgax(9)i810_load_2d(9)i810_hires(9)i810_load_pitch(9)i810_load_color(9)i810_load_regs(9)get_line_length(9)i810_enable_cursor(9)i810_init_cursor(9)i810_round_off(9)set_color_bitfields(9)i810_check_params(9)encode_fix(9)decode_var(9)i810fb_getcolreg(9)i810_init_monspecs(9)i810_init_defaults(9)i810_init_device(9)
mwah π source/version path is ./drivers/video/fbdev/i810, and the date stamp is October 2026 β iconic footer behavior, fr fr. π«ΆπΈ
π¦ 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