Home
last modified time | relevance | path

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

/freebsd-14.2/sys/arm/ti/clk/
H A Dti_mux_clock.c64 struct clock_cell_info clock_cell; member
153 read_clock_cells(sc->sc_dev, &sc->clock_cell); in ti_mux_attach()
155 create_clkdef(sc->sc_dev, &sc->clock_cell, &sc->mux_def.clkdef); in ti_mux_attach()
159 sc->mux_def.width = fls(sc->clock_cell.num_real_clocks-1); in ti_mux_attach()
161 sc->mux_def.width = fls(sc->clock_cell.num_real_clocks); in ti_mux_attach()
164 sc->clock_cell.num_real_clocks, sc->mux_def.width); in ti_mux_attach()
166 err = find_parent_clock_names(sc->sc_dev, &sc->clock_cell, &sc->mux_def.clkdef); in ti_mux_attach()
201 err = find_parent_clock_names(sc->sc_dev, &sc->clock_cell, &sc->mux_def.clkdef); in ti_mux_new_pass()
H A Dti_gate_clock.c65 struct clock_cell_info clock_cell; member
175 read_clock_cells(sc->sc_dev, &sc->clock_cell); in ti_gate_attach()
177 create_clkdef(sc->sc_dev, &sc->clock_cell, &sc->gate_def.clkdef); in ti_gate_attach()
180 sc->gate_def.mask = (1 << fls(sc->clock_cell.num_real_clocks)) - 1; in ti_gate_attach()
182 sc->clock_cell.num_real_clocks, sc->gate_def.mask); in ti_gate_attach()
184 err = find_parent_clock_names(sc->sc_dev, &sc->clock_cell, &sc->gate_def.clkdef); in ti_gate_attach()
224 err = find_parent_clock_names(sc->sc_dev, &sc->clock_cell, &sc->gate_def.clkdef); in ti_gate_new_pass()
H A Dti_divider_clock.c62 struct clock_cell_info clock_cell; member
177 read_clock_cells(sc->sc_dev, &sc->clock_cell); in ti_divider_attach()
179 create_clkdef(sc->sc_dev, &sc->clock_cell, &sc->div_def.clkdef); in ti_divider_attach()
181 err = find_parent_clock_names(sc->sc_dev, &sc->clock_cell, &sc->div_def.clkdef); in ti_divider_attach()
222 err = find_parent_clock_names(sc->sc_dev, &sc->clock_cell, &sc->div_def.clkdef); in ti_divider_new_pass()
H A Dti_dpll_clock.c65 struct clock_cell_info clock_cell; member
286 read_clock_cells(sc->dev, &sc->clock_cell); in ti_dpll_attach()
288 create_clkdef(sc->dev, &sc->clock_cell, &sc->dpll_def.clkdef); in ti_dpll_attach()
290 err = find_parent_clock_names(sc->dev, &sc->clock_cell, in ti_dpll_attach()
332 err = find_parent_clock_names(sc->dev, &sc->clock_cell, in ti_dpll_new_pass()