#include <linux/dmi.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/usb/pd.h>
struct cht_int33fe_data { … };
static int cht_int33fe_check_for_max17047(struct device *dev, void *data)
{ … }
static const char * const max17047_suppliers[] = …;
static const struct property_entry max17047_properties[] = …;
static const struct software_node max17047_node = …;
static struct software_node_ref_args fusb302_mux_refs[] = …;
static const struct property_entry fusb302_properties[] = …;
static const struct software_node fusb302_node = …;
#define PDO_FIXED_FLAGS …
static const u32 src_pdo[] = …;
static const u32 snk_pdo[] = …;
static const struct software_node pi3usb30532_node = …;
static const struct software_node displayport_node = …;
static const struct property_entry usb_connector_properties[] = …;
static const struct software_node usb_connector_node = …;
static const struct software_node altmodes_node = …;
static const struct property_entry dp_altmode_properties[] = …;
static const struct software_node dp_altmode_node = …;
static const struct software_node *node_group[] = …;
static int cht_int33fe_setup_dp(struct cht_int33fe_data *data)
{ … }
static void cht_int33fe_remove_nodes(struct cht_int33fe_data *data)
{ … }
static int cht_int33fe_add_nodes(struct cht_int33fe_data *data)
{ … }
static int
cht_int33fe_register_max17047(struct device *dev, struct cht_int33fe_data *data)
{ … }
static const struct dmi_system_id cht_int33fe_typec_ids[] = …;
MODULE_DEVICE_TABLE(dmi, cht_int33fe_typec_ids);
static int cht_int33fe_typec_probe(struct platform_device *pdev)
{ … }
static void cht_int33fe_typec_remove(struct platform_device *pdev)
{ … }
static const struct acpi_device_id cht_int33fe_acpi_ids[] = …;
static struct platform_driver cht_int33fe_typec_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;