Lines Matching +full:cpsw +full:- +full:switch
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Texas Instruments Ethernet Switch Driver
23 dev_info(priv->dev, format, ## __VA_ARGS__); \
29 dev_err(priv->dev, format, ## __VA_ARGS__); \
35 dev_dbg(priv->dev, format, ## __VA_ARGS__); \
41 dev_notice(priv->dev, format, ## __VA_ARGS__); \
124 #define CPSW_FIFO_SHAPERS_NUM (CPSW_TC_NUM - 1)
181 #define CPSW1_TX_PRI_MAP 0x10 /* Tx Header Priority to Switch Pri Mapping */
192 #define CPSW2_TX_PRI_MAP 0x18 /* Tx Header Priority to Switch Pri Mapping */
222 #define TS_TTL_NONZERO BIT(8) /* Time Sync Time To Live Non-zero enable */
254 /* The PTP event messages - Sync, Delay_Req, Pdelay_Req, and Pdelay_Resp. */
315 return readl_relaxed(slave->regs + offset); in slave_read()
320 writel_relaxed(val, slave->regs + offset); in slave_write()
381 struct cpsw_common *cpsw; member
385 #define ndev_to_cpsw(ndev) (((struct cpsw_priv *)netdev_priv(ndev))->cpsw)
388 extern int (*cpsw_slave_index)(struct cpsw_common *cpsw,
427 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,
430 void cpsw_split_res(struct cpsw_common *cpsw);
432 void cpsw_intr_enable(struct cpsw_common *cpsw);
433 void cpsw_intr_disable(struct cpsw_common *cpsw);
435 int cpsw_create_xdp_rxqs(struct cpsw_common *cpsw);
436 void cpsw_destroy_xdp_rxqs(struct cpsw_common *cpsw);
453 int cpsw_need_resplit(struct cpsw_common *cpsw);