clk-regmap-divider.h 452 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2014, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef __QCOM_CLK_REGMAP_DIVIDER_H__
  6. #define __QCOM_CLK_REGMAP_DIVIDER_H__
  7. #include <linux/clk-provider.h>
  8. #include "clk-regmap.h"
  9. struct clk_regmap_div {
  10. u32 reg;
  11. u32 shift;
  12. u32 width;
  13. struct clk_regmap clkr;
  14. };
  15. extern const struct clk_ops clk_regmap_div_ops;
  16. extern const struct clk_ops clk_regmap_div_ro_ops;
  17. #endif