s3c_fb_calc_pixclk(9)
๐ s3c_fb_calc_pixclk(9) ๐
okay so bestie, welcome to the Kernel API Manual โ this one's called s3c_fb_calc_pixclk(9) and it's honestly giving "tiny function, big job" energy. let's get into it โจ
๐ธ NAME ๐ธ
s3c_fb_calc_pixclk โ literally just: calculate the divider to create the pixel clock. that's the whole vibe ๐
๐ฆ SYNOPSIS ๐ฆ
int s3c_fb_calc_pixclk (struct s3c_fb *sfb , unsigned int pixclk );
๐ ARGUMENTS ๐
sfbโ The hardware state. yes queen, hand over the hardware state, she needs it ๐pixclkโ The pixel clock wanted, in picoseconds. picoseconds, bestie. that's how precise we're being โฑ๏ธ
โจ DESCRIPTION โจ
Given the specified pixel clock, work out the necessary divider to get close to the output frequency. that's it, that's the whole function โ you tell her the pixel clock you want, she does the math and hands you the divider that gets you close to the output frequency ๐งฎ๐
๐ฅ SEE ALSO ๐ฅ
no cap, this is the whole friend group โ the entire cast of characters hanging out in the kernel file ./drivers/video/fbdev/s3c-fb.c:
struct s3c_fb_variant(9)struct s3c_fb_win_variant(9)struct s3c_fb_driverdata(9)struct s3c_fb_palette(9)struct s3c_fb_win(9)struct s3c_fb_vsync(9)struct s3c_fb(9)s3c_fb_validate_win_bpp(9)s3c_fb_check_var(9)s3c_fb_align_word(9)vidosd_set_size(9)vidosd_set_alpha(9)shadow_protect_win(9)s3c_fb_enable(9)s3c_fb_set_par(9)s3c_fb_update_palette(9)s3c_fb_setcolreg(9)s3c_fb_blank(9)s3c_fb_pan_display(9)s3c_fb_enable_irq(9)s3c_fb_disable_irq(9)s3c_fb_wait_for_vsync(9)s3c_fb_missing_pixclock(9)s3c_fb_alloc_memory(9)s3c_fb_free_memory(9)s3c_fb_release_win(9)s3c_fb_probe_win(9)s3c_fb_set_rgb_timing(9)s3c_fb_clear_win(9)s3c_fb_remove(9)
and that's the page, babes ๐ซถ before you go โ this little beauty lives in ./drivers/video/fbdev, dated October 2026, and it answers to the name s3c_fb_calc_pixclk(9). slay, go calculate something ๐๐
๐ฆ 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