Home
last modified time | relevance | path

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

/f-stack/freebsd/arm/ti/clk/
H A Dti_mux_clock.c67 struct clk_mux_def mux_def; member
110 err = clknode_mux_register(sc->clkdom, &sc->mux_def); in register_clk()
139 sc->mux_def.offset = value; in ti_mux_attach()
143 sc->mux_def.shift = value; in ti_mux_attach()
159 create_clkdef(sc->sc_dev, &sc->clock_cell, &sc->mux_def.clkdef); in ti_mux_attach()
162 if (sc->mux_def.mux_flags) in ti_mux_attach()
163 sc->mux_def.width = fls(sc->clock_cell.num_real_clocks-1); in ti_mux_attach()
165 sc->mux_def.width = fls(sc->clock_cell.num_real_clocks); in ti_mux_attach()
168 sc->clock_cell.num_real_clocks, sc->mux_def.width); in ti_mux_attach()
188 free_clkdef(&sc->mux_def.clkdef); in ti_mux_attach()
[all …]