Home
last modified time | relevance | path

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

/freebsd/sys/arm/ti/clk/
H A Dti_mux_clock.c62 struct clk_mux_def mux_def; member
105 err = clknode_mux_register(sc->clkdom, &sc->mux_def); in register_clk()
134 sc->mux_def.offset = value; in ti_mux_attach()
138 sc->mux_def.shift = value; in ti_mux_attach()
139 DPRINTF(sc->sc_dev, "ti,bit-shift => shift %x\n", sc->mux_def.shift); in ti_mux_attach()
154 create_clkdef(sc->sc_dev, &sc->clock_cell, &sc->mux_def.clkdef); in ti_mux_attach()
157 if (sc->mux_def.mux_flags) in ti_mux_attach()
158 sc->mux_def.width = fls(sc->clock_cell.num_real_clocks-1); in ti_mux_attach()
160 sc->mux_def.width = fls(sc->clock_cell.num_real_clocks); in ti_mux_attach()
163 sc->clock_cell.num_real_clocks, sc->mux_def.width); in ti_mux_attach()
[all …]