#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/clk-provider.h>
#include <linux/regmap.h>
#include <linux/reset-controller.h>
#include <dt-bindings/clock/qcom,gcc-msm8660.h>
#include <dt-bindings/reset/qcom,gcc-msm8660.h>
#include "common.h"
#include "clk-regmap.h"
#include "clk-pll.h"
#include "clk-rcg.h"
#include "clk-branch.h"
#include "reset.h"
static struct clk_pll pll8 = …;
static struct clk_regmap pll8_vote = …;
enum { … };
static const struct parent_map gcc_pxo_pll8_map[] = …;
static const struct clk_parent_data gcc_pxo_pll8[] = …;
static const struct parent_map gcc_pxo_pll8_cxo_map[] = …;
static const struct clk_parent_data gcc_pxo_pll8_cxo[] = …;
static struct freq_tbl clk_tbl_gsbi_uart[] = …;
static struct clk_rcg gsbi1_uart_src = …;
static struct clk_branch gsbi1_uart_clk = …;
static struct clk_rcg gsbi2_uart_src = …;
static struct clk_branch gsbi2_uart_clk = …;
static struct clk_rcg gsbi3_uart_src = …;
static struct clk_branch gsbi3_uart_clk = …;
static struct clk_rcg gsbi4_uart_src = …;
static struct clk_branch gsbi4_uart_clk = …;
static struct clk_rcg gsbi5_uart_src = …;
static struct clk_branch gsbi5_uart_clk = …;
static struct clk_rcg gsbi6_uart_src = …;
static struct clk_branch gsbi6_uart_clk = …;
static struct clk_rcg gsbi7_uart_src = …;
static struct clk_branch gsbi7_uart_clk = …;
static struct clk_rcg gsbi8_uart_src = …;
static struct clk_branch gsbi8_uart_clk = …;
static struct clk_rcg gsbi9_uart_src = …;
static struct clk_branch gsbi9_uart_clk = …;
static struct clk_rcg gsbi10_uart_src = …;
static struct clk_branch gsbi10_uart_clk = …;
static struct clk_rcg gsbi11_uart_src = …;
static struct clk_branch gsbi11_uart_clk = …;
static struct clk_rcg gsbi12_uart_src = …;
static struct clk_branch gsbi12_uart_clk = …;
static struct freq_tbl clk_tbl_gsbi_qup[] = …;
static struct clk_rcg gsbi1_qup_src = …;
static struct clk_branch gsbi1_qup_clk = …;
static struct clk_rcg gsbi2_qup_src = …;
static struct clk_branch gsbi2_qup_clk = …;
static struct clk_rcg gsbi3_qup_src = …;
static struct clk_branch gsbi3_qup_clk = …;
static struct clk_rcg gsbi4_qup_src = …;
static struct clk_branch gsbi4_qup_clk = …;
static struct clk_rcg gsbi5_qup_src = …;
static struct clk_branch gsbi5_qup_clk = …;
static struct clk_rcg gsbi6_qup_src = …;
static struct clk_branch gsbi6_qup_clk = …;
static struct clk_rcg gsbi7_qup_src = …;
static struct clk_branch gsbi7_qup_clk = …;
static struct clk_rcg gsbi8_qup_src = …;
static struct clk_branch gsbi8_qup_clk = …;
static struct clk_rcg gsbi9_qup_src = …;
static struct clk_branch gsbi9_qup_clk = …;
static struct clk_rcg gsbi10_qup_src = …;
static struct clk_branch gsbi10_qup_clk = …;
static struct clk_rcg gsbi11_qup_src = …;
static struct clk_branch gsbi11_qup_clk = …;
static struct clk_rcg gsbi12_qup_src = …;
static struct clk_branch gsbi12_qup_clk = …;
static const struct freq_tbl clk_tbl_gp[] = …;
static struct clk_rcg gp0_src = …;
static struct clk_branch gp0_clk = …;
static struct clk_rcg gp1_src = …;
static struct clk_branch gp1_clk = …;
static struct clk_rcg gp2_src = …;
static struct clk_branch gp2_clk = …;
static struct clk_branch pmem_clk = …;
static struct clk_rcg prng_src = …;
static struct clk_branch prng_clk = …;
static const struct freq_tbl clk_tbl_sdc[] = …;
static struct clk_rcg sdc1_src = …;
static struct clk_branch sdc1_clk = …;
static struct clk_rcg sdc2_src = …;
static struct clk_branch sdc2_clk = …;
static struct clk_rcg sdc3_src = …;
static struct clk_branch sdc3_clk = …;
static struct clk_rcg sdc4_src = …;
static struct clk_branch sdc4_clk = …;
static struct clk_rcg sdc5_src = …;
static struct clk_branch sdc5_clk = …;
static const struct freq_tbl clk_tbl_tsif_ref[] = …;
static struct clk_rcg tsif_ref_src = …;
static struct clk_branch tsif_ref_clk = …;
static const struct freq_tbl clk_tbl_usb[] = …;
static struct clk_rcg usb_hs1_xcvr_src = …;
static struct clk_branch usb_hs1_xcvr_clk = …;
static struct clk_rcg usb_fs1_xcvr_fs_src = …;
static struct clk_branch usb_fs1_xcvr_fs_clk = …;
static struct clk_branch usb_fs1_system_clk = …;
static struct clk_rcg usb_fs2_xcvr_fs_src = …;
static struct clk_branch usb_fs2_xcvr_fs_clk = …;
static struct clk_branch usb_fs2_system_clk = …;
static struct clk_branch gsbi1_h_clk = …;
static struct clk_branch gsbi2_h_clk = …;
static struct clk_branch gsbi3_h_clk = …;
static struct clk_branch gsbi4_h_clk = …;
static struct clk_branch gsbi5_h_clk = …;
static struct clk_branch gsbi6_h_clk = …;
static struct clk_branch gsbi7_h_clk = …;
static struct clk_branch gsbi8_h_clk = …;
static struct clk_branch gsbi9_h_clk = …;
static struct clk_branch gsbi10_h_clk = …;
static struct clk_branch gsbi11_h_clk = …;
static struct clk_branch gsbi12_h_clk = …;
static struct clk_branch tsif_h_clk = …;
static struct clk_branch usb_fs1_h_clk = …;
static struct clk_branch usb_fs2_h_clk = …;
static struct clk_branch usb_hs1_h_clk = …;
static struct clk_branch sdc1_h_clk = …;
static struct clk_branch sdc2_h_clk = …;
static struct clk_branch sdc3_h_clk = …;
static struct clk_branch sdc4_h_clk = …;
static struct clk_branch sdc5_h_clk = …;
static struct clk_branch ebi2_2x_clk = …;
static struct clk_branch ebi2_clk = …;
static struct clk_branch adm0_clk = …;
static struct clk_branch adm0_pbus_clk = …;
static struct clk_branch adm1_clk = …;
static struct clk_branch adm1_pbus_clk = …;
static struct clk_branch modem_ahb1_h_clk = …;
static struct clk_branch modem_ahb2_h_clk = …;
static struct clk_branch pmic_arb0_h_clk = …;
static struct clk_branch pmic_arb1_h_clk = …;
static struct clk_branch pmic_ssbi2_clk = …;
static struct clk_branch rpm_msg_ram_h_clk = …;
static struct clk_regmap *gcc_msm8660_clks[] = …;
static const struct qcom_reset_map gcc_msm8660_resets[] = …;
static const struct regmap_config gcc_msm8660_regmap_config = …;
static const struct qcom_cc_desc gcc_msm8660_desc = …;
static const struct of_device_id gcc_msm8660_match_table[] = …;
MODULE_DEVICE_TABLE(of, gcc_msm8660_match_table);
static int gcc_msm8660_probe(struct platform_device *pdev)
{ … }
static struct platform_driver gcc_msm8660_driver = …;
static int __init gcc_msm8660_init(void)
{ … }
core_initcall(gcc_msm8660_init);
static void __exit gcc_msm8660_exit(void)
{ … }
module_exit(gcc_msm8660_exit);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;