#include <linux/netdevice.h>
#include <linux/phy/phy.h>
#include "lan966x_main.h"
#define MULTIPLIER_BIT …
static u32 lan966x_wm_enc(u32 value)
{ … }
static void lan966x_port_link_down(struct lan966x_port *port)
{ … }
static void lan966x_port_link_up(struct lan966x_port *port)
{ … }
void lan966x_port_config_down(struct lan966x_port *port)
{ … }
void lan966x_port_config_up(struct lan966x_port *port)
{ … }
void lan966x_port_status_get(struct lan966x_port *port,
struct phylink_link_state *state)
{ … }
int lan966x_port_pcs_set(struct lan966x_port *port,
struct lan966x_port_config *config)
{ … }
static void lan966x_port_qos_pcp_set(struct lan966x_port *port,
struct lan966x_port_qos_pcp *qos)
{ … }
static void lan966x_port_qos_dscp_set(struct lan966x_port *port,
struct lan966x_port_qos_dscp *qos)
{ … }
static int lan966x_port_qos_default_set(struct lan966x_port *port,
struct lan966x_port_qos *qos)
{ … }
static void lan966x_port_qos_pcp_rewr_set(struct lan966x_port *port,
struct lan966x_port_qos_pcp_rewr *qos)
{ … }
static void lan966x_port_qos_dscp_rewr_set(struct lan966x_port *port,
struct lan966x_port_qos_dscp_rewr *qos)
{ … }
void lan966x_port_qos_dscp_rewr_mode_set(struct lan966x_port *port,
int mode)
{ … }
void lan966x_port_qos_set(struct lan966x_port *port,
struct lan966x_port_qos *qos)
{ … }
void lan966x_port_init(struct lan966x_port *port)
{ … }