find_lut_index_for_rate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

find_lut_index_for_rate β€” determine I2C LUT index for given DFLL rate. bestie, this is find_lut_index_for_rate(9) from the Kernel API Manual, and it's literally here to find that LUT index for a DFLL rate πŸ’…βœ¨

✨ SYNOPSIS ✨

int find_lut_index_for_rate (struct tegra_dfll *td , unsigned long rate
);

πŸŽ€ ARGUMENTS πŸŽ€

  • td β€” DFLL instance 🫢
  • rate β€” clock rate ⭐

πŸ’… DESCRIPTION πŸ’…

okay so this function determines the index of an I2C LUT entry for a voltage that approximately produces the given DFLL clock rate. It's used when forcing a value to the integrator during rate changes πŸ”₯

and ngl, if a suitable LUT index is not found, it returns -ENOENT 😭 that's the whole vibe check.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/clk/tegra/clk-dfll.c


mwah πŸ’– that's the whole page, bestie. source/version: ./drivers/clk/tegra Β· date: October 2026 Β· page title: find_lut_index_for_rate(9) βœ¨πŸ‘‘

πŸ“¦ where this page comes from