#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/mfd/syscon.h>
#include <dt-bindings/soc/qcom,gsbi.h>
#define GSBI_CTRL_REG …
#define GSBI_PROTOCOL_SHIFT …
#define MAX_GSBI …
#define TCSR_ADM_CRCI_BASE …
struct crci_config { … };
static const u32 crci_ipq8064[][MAX_GSBI] = …;
static const struct crci_config config_ipq8064 = …;
static const unsigned int crci_apq8064[][MAX_GSBI] = …;
static const struct crci_config config_apq8064 = …;
static const unsigned int crci_msm8960[][MAX_GSBI] = …;
static const struct crci_config config_msm8960 = …;
static const unsigned int crci_msm8660[][MAX_GSBI] = …;
static const struct crci_config config_msm8660 = …;
struct gsbi_info { … };
static const struct of_device_id tcsr_dt_match[] __maybe_unused = …;
static int gsbi_probe(struct platform_device *pdev)
{ … }
static void gsbi_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id gsbi_dt_match[] = …;
MODULE_DEVICE_TABLE(of, gsbi_dt_match);
static struct platform_driver gsbi_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;