clk-regmap-mux.h 815 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2014, The Linux Foundation. All rights reserved.
  3. *
  4. * This software is licensed under the terms of the GNU General Public
  5. * License version 2, as published by the Free Software Foundation, and
  6. * may be copied, distributed, and modified under those terms.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #ifndef __QCOM_CLK_REGMAP_MUX_H__
  14. #define __QCOM_CLK_REGMAP_MUX_H__
  15. #include <linux/clk-provider.h>
  16. #include "clk-regmap.h"
  17. struct clk_regmap_mux {
  18. u32 reg;
  19. u32 shift;
  20. u32 width;
  21. struct clk_regmap clkr;
  22. };
  23. extern const struct clk_ops clk_regmap_mux_closest_ops;
  24. #endif