#include <linux/bitops.h>
#include <linux/device.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/slab.h>
#include <linux/soundwire/sdw.h>
#include "bus.h"
#define SDW_STRM_RATE_GROUPING …
struct sdw_group_params { … };
struct sdw_group { … };
void sdw_compute_slave_ports(struct sdw_master_runtime *m_rt,
struct sdw_transport_data *t_data)
{ … }
EXPORT_SYMBOL(…);
static void sdw_compute_master_ports(struct sdw_master_runtime *m_rt,
struct sdw_group_params *params,
int *port_bo, int hstop)
{ … }
static void _sdw_compute_port_params(struct sdw_bus *bus,
struct sdw_group_params *params, int count)
{ … }
static int sdw_compute_group_params(struct sdw_bus *bus,
struct sdw_group_params *params,
int *rates, int count)
{ … }
static int sdw_add_element_group_count(struct sdw_group *group,
unsigned int rate)
{ … }
static int sdw_get_group_count(struct sdw_bus *bus,
struct sdw_group *group)
{ … }
static int sdw_compute_port_params(struct sdw_bus *bus)
{ … }
static int sdw_select_row_col(struct sdw_bus *bus, int clk_freq)
{ … }
static int sdw_compute_bus_params(struct sdw_bus *bus)
{ … }
int sdw_compute_params(struct sdw_bus *bus)
{ … }
EXPORT_SYMBOL(…);
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;