cpsw_common
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = platform_get_drvdata(pdev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw;
cpsw = devm_kzalloc(dev, sizeof(struct cpsw_common), GFP_KERNEL);
struct cpsw_common *cpsw = platform_get_drvdata(pdev);
struct cpsw_common *cpsw = dev_get_drvdata(dev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = dev_get_drvdata(dev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(xmeta->ndev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = (priv)->cpsw; \
struct cpsw_common *cpsw = priv->cpsw;
static void cpsw_slave_stop(struct cpsw_slave *slave, struct cpsw_common *cpsw)
struct cpsw_common *cpsw = priv->cpsw;
static int cpsw_slave_index_priv(struct cpsw_common *cpsw,
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = priv->cpsw;
static int cpsw_check_ch_settings(struct cpsw_common *cpsw,
struct cpsw_common *cpsw = priv->cpsw;
static void cpsw_fail(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
static int cpsw_probe_dt(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = priv->cpsw;
static void cpsw_remove_dt(struct cpsw_common *cpsw)
static int cpsw_create_ports(struct cpsw_common *cpsw)
static void cpsw_unregister_ports(struct cpsw_common *cpsw)
static int cpsw_register_ports(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
static void cpsw_port_offload_fwd_mark_update(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
static int cpsw_register_notifiers(struct cpsw_common *cpsw)
static void cpsw_unregister_notifiers(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = dl_priv->cpsw;
struct cpsw_common *cpsw = dl_priv->cpsw;
struct cpsw_common *cpsw = dl_priv->cpsw;
struct cpsw_common *cpsw = dl_priv->cpsw;
static int cpsw_register_devlink(struct cpsw_common *cpsw)
static void cpsw_unregister_devlink(struct cpsw_common *cpsw)
struct cpsw_common *cpsw;
cpsw = devm_kzalloc(dev, sizeof(struct cpsw_common), GFP_KERNEL);
struct cpsw_common *cpsw = platform_get_drvdata(pdev);
struct cpsw_common *cpsw = dev_get_drvdata(dev);
struct cpsw_common *cpsw = dev_get_drvdata(dev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
static void cpsw_init_stp_ale_entry(struct cpsw_common *cpsw)
struct cpsw_common *cpsw;
static void cpsw_init_host_port_switch(struct cpsw_common *cpsw)
static void cpsw_init_host_port_dual_mac(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
static int cpsw_slave_index_priv(struct cpsw_common *cpsw,
struct cpsw_common *cpsw = priv->cpsw;
static bool cpsw_is_switch_en(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(ndev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = dev_id;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
static struct page_pool *cpsw_create_page_pool(struct cpsw_common *cpsw,
static int cpsw_create_rx_pool(struct cpsw_common *cpsw, int ch)
struct cpsw_common *cpsw = priv->cpsw;
void cpsw_destroy_xdp_rxqs(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = dev_id;
int cpsw_create_xdp_rxqs(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = napi_to_cpsw(napi_tx);
struct cpsw_common *cpsw = napi_to_cpsw(napi_tx);
struct cpsw_common *cpsw = napi_to_cpsw(napi_rx);
struct cpsw_common *cpsw = napi_to_cpsw(napi_rx);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
static int cpsw_get_common_speed(struct cpsw_common *cpsw)
int cpsw_need_resplit(struct cpsw_common *cpsw)
int (*cpsw_slave_index)(struct cpsw_common *cpsw, struct cpsw_priv *priv);
void cpsw_split_res(struct cpsw_common *cpsw)
void cpsw_intr_enable(struct cpsw_common *cpsw)
int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,
void cpsw_intr_disable(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = ndev_to_cpsw(dev);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = dev_id;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw;
#define napi_to_cpsw(napi) container_of(napi, struct cpsw_common, napi)
extern int (*cpsw_slave_index)(struct cpsw_common *cpsw,
int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,
void cpsw_split_res(struct cpsw_common *cpsw);
void cpsw_intr_enable(struct cpsw_common *cpsw);
void cpsw_intr_disable(struct cpsw_common *cpsw);
int cpsw_create_xdp_rxqs(struct cpsw_common *cpsw);
void cpsw_destroy_xdp_rxqs(struct cpsw_common *cpsw);
int cpsw_need_resplit(struct cpsw_common *cpsw);
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
struct cpsw_common *cpsw = priv->cpsw;
int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw)
void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw)
struct cpsw_common *cpsw = priv->cpsw;
int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw);
void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);