STRUCT TEGRA_CLK_PERIPH_GATE(9)
โจ okay bestie, welcome to the Kernel API Manual page for struct tegra..._periph_gate(9) โ the peripheral gate clock one. it's giving kernel-clock realness, and we're gonna cover every field, flag, and reference, no skips ๐
โจ
๐ NAME ๐
struct tegra_clk_periph_gate โ peripheral gate clock. periodt ๐
โจ SYNOPSIS โจ
struct tegra_clk_periph_gate {
u32 magic;
struct clk_hw hw;
void __iomem *clk_base;
u8 flags;
int clk_num;
int *enable_refcnt;
const struct tegra_clk_periph_regs *regs;
};
๐ Members ๐
okay so here's the whole member lineup, bestie โ every single one, no cap:
magicโ magic number to validate type. it's the vibe check for the struct ๐ฎhwโ handle between common and hardware-specific interfaces. the little bridge between worlds ๐ซถclk_baseโ address of CAR controller. that's where the clock action lives ๐flagsโ hardware-specific flags. yes, the flag field is serving main character energy ๐ฉclk_numโ Clock number. the numeric ID moment ๐ขenable_refcntโ array to maintain reference count of the clock. keeping track, always tracking ๐regsโ Registers to control the peripheral. the control panel, basically ๐๏ธ
๐ Description ๐
okay so check it โ the flags situation is this:
TEGRA_PERIPH_NO_RESETโ this flag indicates that reset is not allowed for this module. like, absolutely not, bestie ๐ซTEGRA_PERIPH_ON_APBโ if peripheral is in the APB bus then read the bus to flush the write operation in apb bus. this flag indicates that this peripheral is in apb bus. bus behavior, very demure ๐TEGRA_PERIPH_WAR_1005168โ Apply workaround for Tegra114 MSENC bug. workaround era, my condolences to the bug ๐ญ
๐ฆ SEE ALSO ๐ฆ
kernel file: ./drivers/clk/tegra/clk.h โ and then the whole struct squad, in order:
struct tegra_clk_sync_source(9)struct tegra_clk_frac_div(9)struct tegra_clk_pll_freq_table(9)struct pdiv_map(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_sdmmc_mux(9)
mwah ๐ โ footer tea: source/version ./drivers/clk/tegra, date October 2026, page struct tegra..._periph_gate(9). bye bestie ๐ซถ
๐ฆ 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