xref: /kernel/linux/linux-6.6/drivers/clk/qcom/clk-regmap-divider.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/drivers/clk/qcom/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2014, The Linux Foundation. All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef __QCOM_CLK_REGMAP_DIVIDER_H__
762306a36Sopenharmony_ci#define __QCOM_CLK_REGMAP_DIVIDER_H__
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include <linux/clk-provider.h>
1062306a36Sopenharmony_ci#include "clk-regmap.h"
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_cistruct clk_regmap_div {
1362306a36Sopenharmony_ci	u32			reg;
1462306a36Sopenharmony_ci	u32			shift;
1562306a36Sopenharmony_ci	u32			width;
1662306a36Sopenharmony_ci	struct clk_regmap	clkr;
1762306a36Sopenharmony_ci};
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciextern const struct clk_ops clk_regmap_div_ops;
2062306a36Sopenharmony_ciextern const struct clk_ops clk_regmap_div_ro_ops;
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci#endif
23

Indexes created Thu Nov 07 10:32:03 CST 2024