Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (c) 2014, The Linux Foundation. All rights reserved.
0004  */
0005 
0006 #ifndef __QCOM_CLK_REGMAP_DIVIDER_H__
0007 #define __QCOM_CLK_REGMAP_DIVIDER_H__
0008 
0009 #include <linux/clk-provider.h>
0010 #include "clk-regmap.h"
0011 
0012 struct clk_regmap_div {
0013     u32         reg;
0014     u32         shift;
0015     u32         width;
0016     struct clk_regmap   clkr;
0017 };
0018 
0019 extern const struct clk_ops clk_regmap_div_ops;
0020 extern const struct clk_ops clk_regmap_div_ro_ops;
0021 
0022 #endif