Home
last modified time | relevance | path

Searched refs:clknode_get_device (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/sys/dev/qcom_clk/
H A Dqcom_clk_rcg2.c88 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked()
91 CLKDEV_WRITE_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked()
99 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked()
108 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_update_config_locked()
110 DPRINTF(clknode_get_device(sc->clknode), "%s: failed; reg=0x%08x\n", in qcom_clk_rcg2_update_config_locked()
167 CLKDEV_DEVICE_LOCK(clknode_get_device(sc->clknode)); in qcom_clk_rcg2_recalc()
168 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_recalc()
173 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_recalc()
175 CLKDEV_READ_4(clknode_get_device(sc->clknode), in qcom_clk_rcg2_recalc()
184 CLKDEV_DEVICE_UNLOCK(clknode_get_device(sc->clknode)); in qcom_clk_rcg2_recalc()
[all …]
H A Dqcom_clk_apssdiv.c97 CLKDEV_DEVICE_LOCK(clknode_get_device(sc->clknode)); in qcom_clk_apssdiv_recalc()
98 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->div_offset, &reg); in qcom_clk_apssdiv_recalc()
99 CLKDEV_DEVICE_UNLOCK(clknode_get_device(sc->clknode)); in qcom_clk_apssdiv_recalc()
102 DPRINTF(clknode_get_device(sc->clknode), in qcom_clk_apssdiv_recalc()
107 DPRINTF(clknode_get_device(sc->clknode), in qcom_clk_apssdiv_recalc()
121 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->enable_offset,
157 DPRINTF(clknode_get_device(sc->clknode), in qcom_clk_apssdiv_set_gate()
160 CLKDEV_DEVICE_LOCK(clknode_get_device(sc->clknode)); in qcom_clk_apssdiv_set_gate()
161 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->enable_offset, in qcom_clk_apssdiv_set_gate()
168 CLKDEV_WRITE_4(clknode_get_device(sc->clknode), sc->enable_offset, in qcom_clk_apssdiv_set_gate()
[all …]
H A Dqcom_clk_branch2.c72 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->enable_offset,
75 DPRINTF(clknode_get_device(sc->clknode),
100 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->hwcg_reg, in qcom_clk_branch2_in_hwcg_mode_locked()
111 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->halt_reg, &reg); in qcom_clk_branch2_check_halt_locked()
171 DPRINTF(clknode_get_device(sc->clknode), in qcom_clk_branch2_wait_locked()
188 DPRINTF(clknode_get_device(sc->clknode), "%s: called\n", __func__); in qcom_clk_branch2_set_gate()
191 DPRINTF(clknode_get_device(sc->clknode), in qcom_clk_branch2_set_gate()
196 DPRINTF(clknode_get_device(sc->clknode), in qcom_clk_branch2_set_gate()
199 CLKDEV_DEVICE_LOCK(clknode_get_device(sc->clknode)); in qcom_clk_branch2_set_gate()
200 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->enable_offset, in qcom_clk_branch2_set_gate()
[all …]
H A Dqcom_clk_fepll.c79 device_printf(clknode_get_device(sc->clknode), in qcom_clk_fepll_recalc()
87 CLKDEV_DEVICE_LOCK(clknode_get_device(sc->clknode)); in qcom_clk_fepll_recalc()
88 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->offset, &reg); in qcom_clk_fepll_recalc()
89 CLKDEV_DEVICE_UNLOCK(clknode_get_device(sc->clknode)); in qcom_clk_fepll_recalc()
H A Dqcom_clk_ro_div.c79 CLKDEV_DEVICE_LOCK(clknode_get_device(sc->clknode)); in qcom_clk_ro_div_recalc()
80 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->offset, &reg); in qcom_clk_ro_div_recalc()
81 CLKDEV_DEVICE_UNLOCK(clknode_get_device(sc->clknode)); in qcom_clk_ro_div_recalc()
92 DPRINTF(clknode_get_device(sc->clknode), in qcom_clk_ro_div_recalc()
/freebsd/sys/arm64/freescale/imx/clk/
H A Dimx_clk_gate.c40 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
42 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
44 CLKDEV_MODIFY_4(clknode_get_device(_clk), off, clr, set)
46 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
48 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
H A Dimx_clk_mux.c44 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
46 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
48 CLKDEV_MODIFY_4(clknode_get_device(_clk), off, clr, set)
50 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
52 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
H A Dimx_clk_sscg_pll.c43 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
45 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
47 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
49 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
80 device_printf(clknode_get_device(clk), in imx_clk_sscg_pll_init()
H A Dimx_clk_frac_pll.c43 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
45 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
47 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
49 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
H A Dimx_clk_composite.c57 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
59 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
61 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
63 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
/freebsd/sys/dev/clk/
H A Dclk_mux.c40 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
42 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
44 CLKDEV_MODIFY_4(clknode_get_device(_clk), off, clr, set)
46 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
48 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
H A Dclk_gate.c40 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
42 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
44 CLKDEV_MODIFY_4(clknode_get_device(_clk), off, clr, set)
46 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
48 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
H A Dclk_div.c40 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
42 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
44 CLKDEV_MODIFY_4(clknode_get_device(_clk), off, clr, set)
46 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
48 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
/freebsd/sys/arm/mv/clk/
H A Darmada38x_gen.c46 CLKDEV_WRITE_4(clknode_get_device(_clk), offset, val)
48 CLKDEV_READ_4(clknode_get_device(_clk), offset, val)
50 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
52 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
/freebsd/sys/dev/clk/rockchip/
H A Drk_clk_gate.c40 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
42 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
44 CLKDEV_MODIFY_4(clknode_get_device(_clk), off, clr, set)
46 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
48 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
H A Drk_clk_mux.c47 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
49 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
51 CLKDEV_MODIFY_4(clknode_get_device(_clk), off, clr, set)
53 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
55 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
95 dev = clknode_get_device(clk); in rk_clk_mux_get_grf()
H A Drk_clk_fract.c39 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
41 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
43 CLKDEV_MODIFY_4(clknode_get_device(_clk), off, clr, set)
45 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
47 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
H A Drk_clk_composite.c60 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
62 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
82 CLKDEV_READ_4(clknode_get_device(clk), addr, val); in rk_clk_composite_read_4()
94 CLKDEV_WRITE_4(clknode_get_device(clk), addr, val); in rk_clk_composite_write_4()
105 dev = clknode_get_device(clk); in rk_clk_composite_get_grf()
H A Drk_clk_armclk.c61 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
63 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
65 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
67 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
/freebsd/sys/arm64/qoriq/clk/
H A Dqoriq_clk_pll.c51 CLKDEV_WRITE_4(clknode_get_device(_clk), offset, val)
53 CLKDEV_READ_4(clknode_get_device(_clk), offset, val)
55 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
57 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
/freebsd/sys/dev/clk/allwinner/
H A Daw_clk_prediv_mux.c59 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
61 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
63 CLKDEV_MODIFY_4(clknode_get_device(_clk), off, clr, set)
65 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
67 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
H A Daw_clk_np.c60 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
62 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
64 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
66 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
H A Daw_clk_m.c60 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
62 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
64 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
66 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
H A Daw_clk_nmm.c61 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
63 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
65 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
67 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))
/freebsd/sys/arm/ti/clk/
H A Dti_clk_clkctrl.c71 CLKDEV_WRITE_4(clknode_get_device(_clk), off, val)
73 CLKDEV_READ_4(clknode_get_device(_clk), off, val)
75 CLKDEV_DEVICE_LOCK(clknode_get_device(_clk))
77 CLKDEV_DEVICE_UNLOCK(clknode_get_device(_clk))

12