STRUCT PDIV_MAP(9)
π struct pdiv_map(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to struct pdiv_map(9) πΈ this is a lil page from the Kernel API Manual and it's literally the whole personality of a post-divider-to-hardware-value mapping. yes it's small. yes it's iconic. let's get into it π
β¨ NAME β¨
struct pdiv_map β maps a post divider over to its hw value. that's the whole gig, no cap π«Ά
β¨ SYNOPSIS β¨
struct pdiv_map {
u8 pdiv;
u8 hw_val;
};
look at her. two whole u8 fields. absolute main character energy π
β¨ Members β¨
pdivβ the post divider itself, bestie. that's the value. the divider. the post one π¦hw_valβ the value that's gonna be written to the PLL hw π₯ that's it, that's the field.
β¨ SEE ALSO β¨
ngl this is the friend group and you should absolutely go meet all of them π they all live in the kernel file ./drivers/clk/tegra/clk.h:
struct tegra_clk_sync_source(9)struct tegra_clk_frac_div(9)struct tegra_clk_pll_freq_table(9)struct div_nmp(9)struct tegra_clk_pll_params(9)struct tegra_clk_pll(9)struct tegra_audio_clk_info(9)struct tegra_clk_pll_out(9)struct tegra_clk_periph_regs(9)struct tegra_clk_periph_gate(9)struct tegra_sdmmc_mux(9)
lowkey the tiniest struct in the whole clock tree and she still ate π
okay that's the page!! this one came out of ./drivers/clk/tegra and it's dated October 2026 β catch you in the next manpage, mwah ππ§
π¦ 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