Home
last modified time | relevance | path

Searched refs:SUPER_MUX_MUX_WIDTH (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/arm64/nvidia/tegra210/
H A Dtegra210_clk_super.c122 #define SUPER_MUX_MUX_WIDTH 4 macro
158 shift = state * SUPER_MUX_MUX_WIDTH; in super_mux_init()
159 sc->mux = (reg >> shift) & ((1 << SUPER_MUX_MUX_WIDTH) - 1); in super_mux_init()
185 shift = (state - 1) * SUPER_MUX_MUX_WIDTH; in super_mux_set_mux()
187 reg &= ~(((1 << SUPER_MUX_MUX_WIDTH) - 1) << shift); in super_mux_set_mux()
/freebsd/sys/arm/nvidia/tegra124/
H A Dtegra124_clk_super.c131 #define SUPER_MUX_MUX_WIDTH 4 macro
168 shift = state * SUPER_MUX_MUX_WIDTH; in super_mux_init()
170 sc->mux = (reg >> shift) & ((1 << SUPER_MUX_MUX_WIDTH) - 1); in super_mux_init()
204 shift = (state - 1) * SUPER_MUX_MUX_WIDTH; in super_mux_set_mux()
218 reg &= ~(((1 << SUPER_MUX_MUX_WIDTH) - 1) << shift); in super_mux_set_mux()