Home
last modified time | relevance | path

Searched full:sysclk_div (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/clk/mmp/
H A Dclk-audio.c66 struct clk_divider sysclk_div; member
264 priv->sysclk_div.hw.init = CLK_HW_INIT_HW("sys_div", in register_clocks()
267 priv->sysclk_div.reg = priv->mmio_base + SSPA_AUD_CTRL; in register_clocks()
268 priv->sysclk_div.shift = SSPA_AUD_CTRL_SYSCLK_DIV_SHIFT; in register_clocks()
269 priv->sysclk_div.width = 6; in register_clocks()
270 priv->sysclk_div.flags = CLK_DIVIDER_ONE_BASED; in register_clocks()
271 priv->sysclk_div.flags |= CLK_DIVIDER_ROUND_CLOSEST; in register_clocks()
272 priv->sysclk_div.flags |= CLK_DIVIDER_ALLOW_ZERO; in register_clocks()
273 ret = devm_clk_hw_register(dev, &priv->sysclk_div.hw); in register_clocks()
278 &priv->sysclk_div.hw, &clk_gate_ops, in register_clocks()
/openbmc/u-boot/arch/arm/cpu/armv8/s32v234/
H A Dgeneric.c130 u32 sysclk_div, sysclk_div_number; in get_sys_clk() local
148 sysclk_div = in get_sys_clk()
151 sysclk_div >>= MC_CGM_SC_DCn_PREDIV_OFFSET; in get_sys_clk()
152 sysclk_div += 1; in get_sys_clk()
172 return freq / sysclk_div; in get_sys_clk()
/openbmc/u-boot/arch/arm/dts/
H A Dam43xx-clocks.dtsi357 sysclk_div: sysclk_div { label
368 clocks = <&sysclk_div>, <&dpll_disp_m2_ck>;
445 clocks = <&sysclk_div>;
485 clocks = <&sysclk_div>, <&dpll_core_m5_ck>, <&dpll_disp_m2_ck>;
561 clocks = <&sysclk_div>, <&dpll_per_m2_ck>;
698 clocks = <&sysclk_div>;
/openbmc/qemu/hw/misc/
H A Diotkit-sysctl.c39 REG32(SYSCLK_DIV, 0x14)
145 r = s->sysclk_div; in iotkit_sysctl_read()
514 qemu_log_mask(LOG_UNIMP, "IoTKit SysCtl SYSCLK_DIV unimplemented\n"); in iotkit_sysctl_write()
515 s->sysclk_div = value; in iotkit_sysctl_write()
733 s->sysclk_div = 0; in iotkit_sysctl_reset()
804 VMSTATE_UINT32(sysclk_div, IoTKitSysCtl),
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam43xx-clocks.dtsi415 sysclk_div: clock-sysclk-div { label
418 clock-output-names = "sysclk_div";
428 clocks = <&sysclk_div>, <&dpll_disp_m2_ck>;
523 clocks = <&sysclk_div>;
568 clocks = <&sysclk_div>, <&dpll_core_m5_ck>, <&dpll_disp_m2_ck>;
610 clocks = <&sysclk_div>, <&dpll_per_m2_ck>;
755 clocks = <&sysclk_div>;
818 clocks = <&clk_rc32k_ck>, <&sysclk_div>, <&dpll_ddr_m2_ck>,
H A Dam4372.dtsi469 clocks = <&sysclk_div>, /* icss_iep_gclk */
555 clocks = <&sysclk_div>, /* icss_iep_gclk */
/openbmc/qemu/include/hw/misc/
H A Diotkit-sysctl.h51 uint32_t sysclk_div; member
/openbmc/linux/Documentation/devicetree/bindings/soc/ti/
H A Dti,pruss.yaml462 clocks = <&sysclk_div>, /* icss_iep */
/openbmc/linux/sound/soc/codecs/
H A Dwm8996.h1615 #define WM8996_SYSCLK_DIV 0x0002 /* SYSCLK_DIV */
1616 #define WM8996_SYSCLK_DIV_MASK 0x0002 /* SYSCLK_DIV */
1617 #define WM8996_SYSCLK_DIV_SHIFT 1 /* SYSCLK_DIV */
1618 #define WM8996_SYSCLK_DIV_WIDTH 1 /* SYSCLK_DIV */