#include <linux/device.h>
#include <linux/acpi.h>
#include <linux/pm_runtime.h>
#include <linux/soundwire/sdw.h>
#include <linux/soundwire/sdw_type.h>
#include "bus.h"
#define SDW_MASTER_SUSPEND_DELAY_MS …
#define sdw_master_attr(field, format_string) …
sdw_master_attr(…);
sdw_master_attr(…);
sdw_master_attr(…);
sdw_master_attr(…);
sdw_master_attr(…);
sdw_master_attr(…);
sdw_master_attr(…);
sdw_master_attr(…);
static ssize_t clock_frequencies_show(struct device *dev,
struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(clock_frequencies);
static ssize_t clock_gears_show(struct device *dev,
struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(clock_gears);
static struct attribute *master_node_attrs[] = …;
ATTRIBUTE_GROUPS(…);
static void sdw_master_device_release(struct device *dev)
{ … }
static const struct dev_pm_ops master_dev_pm = …;
const struct device_type sdw_master_type = …;
int sdw_master_device_add(struct sdw_bus *bus, struct device *parent,
struct fwnode_handle *fwnode)
{ … }
int sdw_master_device_del(struct sdw_bus *bus)
{ … }