#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/gpio/consumer.h>
#include <linux/jiffies.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/pwrseq/provider.h>
#include <linux/string.h>
#include <linux/types.h>
struct pwrseq_qcom_wcn_pdata { … };
struct pwrseq_qcom_wcn_ctx { … };
static void pwrseq_qcom_wcn_ensure_gpio_delay(struct pwrseq_qcom_wcn_ctx *ctx)
{ … }
static int pwrseq_qcom_wcn_vregs_enable(struct pwrseq_device *pwrseq)
{ … }
static int pwrseq_qcom_wcn_vregs_disable(struct pwrseq_device *pwrseq)
{ … }
static const struct pwrseq_unit_data pwrseq_qcom_wcn_vregs_unit_data = …;
static int pwrseq_qcom_wcn_clk_enable(struct pwrseq_device *pwrseq)
{ … }
static int pwrseq_qcom_wcn_clk_disable(struct pwrseq_device *pwrseq)
{ … }
static const struct pwrseq_unit_data pwrseq_qcom_wcn_clk_unit_data = …;
static const struct pwrseq_unit_data *pwrseq_qcom_wcn_unit_deps[] = …;
static int pwrseq_qcom_wcn_bt_enable(struct pwrseq_device *pwrseq)
{ … }
static int pwrseq_qcom_wcn_bt_disable(struct pwrseq_device *pwrseq)
{ … }
static const struct pwrseq_unit_data pwrseq_qcom_wcn_bt_unit_data = …;
static int pwrseq_qcom_wcn_wlan_enable(struct pwrseq_device *pwrseq)
{ … }
static int pwrseq_qcom_wcn_wlan_disable(struct pwrseq_device *pwrseq)
{ … }
static const struct pwrseq_unit_data pwrseq_qcom_wcn_wlan_unit_data = …;
static int pwrseq_qcom_wcn_pwup_delay(struct pwrseq_device *pwrseq)
{ … }
static const struct pwrseq_target_data pwrseq_qcom_wcn_bt_target_data = …;
static const struct pwrseq_target_data pwrseq_qcom_wcn_wlan_target_data = …;
static const struct pwrseq_target_data *pwrseq_qcom_wcn_targets[] = …;
static const char *const pwrseq_qca6390_vregs[] = …;
static const struct pwrseq_qcom_wcn_pdata pwrseq_qca6390_of_data = …;
static const char *const pwrseq_wcn7850_vregs[] = …;
static const struct pwrseq_qcom_wcn_pdata pwrseq_wcn7850_of_data = …;
static int pwrseq_qcom_wcn_match(struct pwrseq_device *pwrseq,
struct device *dev)
{ … }
static int pwrseq_qcom_wcn_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id pwrseq_qcom_wcn_of_match[] = …;
MODULE_DEVICE_TABLE(of, pwrseq_qcom_wcn_of_match);
static struct platform_driver pwrseq_qcom_wcn_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;