#include "sja1105.h"
static size_t sja1105_static_config_get_max_size(struct sja1105_private *priv)
{ … }
static int
sja1105_region_static_config_snapshot(struct devlink *dl,
const struct devlink_region_ops *ops,
struct netlink_ext_ack *extack,
u8 **data)
{ … }
static struct devlink_region_ops sja1105_region_static_config_ops = …;
enum sja1105_region_id { … };
struct sja1105_region { … };
static struct sja1105_region sja1105_regions[] = …;
static int sja1105_setup_devlink_regions(struct dsa_switch *ds)
{ … }
static void sja1105_teardown_devlink_regions(struct dsa_switch *ds)
{ … }
int sja1105_devlink_info_get(struct dsa_switch *ds,
struct devlink_info_req *req,
struct netlink_ext_ack *extack)
{ … }
int sja1105_devlink_setup(struct dsa_switch *ds)
{ … }
void sja1105_devlink_teardown(struct dsa_switch *ds)
{ … }