Lines Matching refs:cpsw_common
34 int (*cpsw_slave_index)(struct cpsw_common *cpsw, struct cpsw_priv *priv);
36 void cpsw_intr_enable(struct cpsw_common *cpsw) in cpsw_intr_enable()
44 void cpsw_intr_disable(struct cpsw_common *cpsw) in cpsw_intr_disable()
88 struct cpsw_common *cpsw = dev_id; in cpsw_tx_interrupt()
104 struct cpsw_common *cpsw = dev_id; in cpsw_rx_interrupt()
120 struct cpsw_common *cpsw = dev_id; in cpsw_misc_interrupt()
132 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_mq_poll()
164 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_poll()
182 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_mq_poll()
214 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_poll()
234 struct cpsw_common *cpsw = priv->cpsw; in cpsw_rx_vlan_encap()
293 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_tx_timeout()
309 static int cpsw_get_common_speed(struct cpsw_common *cpsw) in cpsw_get_common_speed()
320 int cpsw_need_resplit(struct cpsw_common *cpsw) in cpsw_need_resplit()
347 void cpsw_split_res(struct cpsw_common *cpsw) in cpsw_split_res()
432 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs, in cpsw_init_common()
556 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_v1()
580 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_v2()
620 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_set()
679 struct cpsw_common *cpsw = ndev_to_cpsw(dev); in cpsw_hwtstamp_get()
709 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_ioctl()
736 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_tx_maxrate()
792 struct cpsw_common *cpsw = priv->cpsw; in cpsw_shp_is_off()
808 struct cpsw_common *cpsw = priv->cpsw; in cpsw_fifo_shp_on()
824 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_fifo_bw()
884 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_fifo_rlimit()
936 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_cbs()
996 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mqprio()
1082 struct cpsw_common *cpsw = priv->cpsw; in cpsw_mqprio_resume()
1104 struct cpsw_common *cpsw = priv->cpsw; in cpsw_fill_rx_channels()
1147 static struct page_pool *cpsw_create_page_pool(struct cpsw_common *cpsw, in cpsw_create_page_pool()
1167 static int cpsw_create_rx_pool(struct cpsw_common *cpsw, int ch) in cpsw_create_rx_pool()
1184 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndev_create_xdp_rxq()
1213 void cpsw_destroy_xdp_rxqs(struct cpsw_common *cpsw) in cpsw_destroy_xdp_rxqs()
1232 int cpsw_create_xdp_rxqs(struct cpsw_common *cpsw) in cpsw_create_xdp_rxqs()
1294 struct cpsw_common *cpsw = priv->cpsw; in cpsw_xdp_tx_frame()
1327 struct cpsw_common *cpsw = priv->cpsw; in cpsw_run_xdp()