/freebsd/sys/dev/qcom_clk/ |
H A D | qcom_clk_rcg2.c | 88 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 D | qcom_clk_apssdiv.c | 97 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, ®); 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 D | qcom_clk_branch2.c | 72 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, ®); 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 D | qcom_clk_fepll.c | 79 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, ®); in qcom_clk_fepll_recalc() 89 CLKDEV_DEVICE_UNLOCK(clknode_get_device(sc->clknode)); in qcom_clk_fepll_recalc()
|
H A D | qcom_clk_ro_div.c | 79 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, ®); 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 D | imx_clk_gate.c | 40 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 D | imx_clk_mux.c | 44 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 D | imx_clk_sscg_pll.c | 43 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 D | imx_clk_frac_pll.c | 43 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 D | imx_clk_composite.c | 57 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 D | clk_mux.c | 40 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 D | clk_gate.c | 40 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 D | clk_div.c | 40 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 D | armada38x_gen.c | 46 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 D | rk_clk_gate.c | 40 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 D | rk_clk_mux.c | 47 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 D | rk_clk_fract.c | 39 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 D | rk_clk_composite.c | 60 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 D | rk_clk_armclk.c | 61 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 D | qoriq_clk_pll.c | 51 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 D | aw_clk_prediv_mux.c | 59 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 D | aw_clk_np.c | 60 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 D | aw_clk_m.c | 60 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 D | aw_clk_nmm.c | 61 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 D | ti_clk_clkctrl.c | 71 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))
|