Lines Matching +full:cpsw +full:- +full:switch
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Texas Instruments Ethernet Switch Driver
26 dev_info(priv->dev, format, ## __VA_ARGS__); \
32 dev_err(priv->dev, format, ## __VA_ARGS__); \
38 dev_dbg(priv->dev, format, ## __VA_ARGS__); \
44 dev_notice(priv->dev, format, ## __VA_ARGS__); \
127 #define CPSW_FIFO_SHAPERS_NUM (CPSW_TC_NUM - 1)
184 #define CPSW1_TX_PRI_MAP 0x10 /* Tx Header Priority to Switch Pri Mapping */
195 #define CPSW2_TX_PRI_MAP 0x18 /* Tx Header Priority to Switch Pri Mapping */
225 #define TS_TTL_NONZERO BIT(8) /* Time Sync Time To Live Non-zero enable */
257 /* The PTP event messages - Sync, Delay_Req, Pdelay_Req, and Pdelay_Resp. */
318 return readl_relaxed(slave->regs + offset); in slave_read()
323 writel_relaxed(val, slave->regs + offset); in slave_write()
389 struct cpsw_common *cpsw; member
396 #define ndev_to_cpsw(ndev) (((struct cpsw_priv *)netdev_priv(ndev))->cpsw)
399 extern int (*cpsw_slave_index)(struct cpsw_common *cpsw,
437 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,
440 void cpsw_split_res(struct cpsw_common *cpsw);
442 void cpsw_intr_enable(struct cpsw_common *cpsw);
443 void cpsw_intr_disable(struct cpsw_common *cpsw);
445 int cpsw_create_xdp_rxqs(struct cpsw_common *cpsw);
446 void cpsw_destroy_xdp_rxqs(struct cpsw_common *cpsw);
463 int cpsw_need_resplit(struct cpsw_common *cpsw);