Lines Matching +full:sync +full:- +full:token
1 /* SPDX-License-Identifier: GPL-2.0 */
25 dev_info(priv->dev, format, ## __VA_ARGS__); \
31 dev_err(priv->dev, format, ## __VA_ARGS__); \
37 dev_dbg(priv->dev, format, ## __VA_ARGS__); \
43 dev_notice(priv->dev, format, ## __VA_ARGS__); \
126 #define CPSW_FIFO_SHAPERS_NUM (CPSW_TC_NUM - 1)
184 #define CPSW1_TS_CTL 0x14 /* Time Sync Control */
185 #define CPSW1_TS_SEQ_LTYPE 0x18 /* Time Sync Sequence ID Offset and Msg Type */
186 #define CPSW1_TS_VLAN 0x1c /* Time Sync VLAN1 and VLAN2 */
195 #define CPSW2_TS_SEQ_MTYPE 0x1c /* Time Sync Sequence ID Offset and Msg Type */
217 #define TS_107 BIT(15) /* Tyme Sync Dest IP Address 107 */
218 #define TS_320 BIT(14) /* Time Sync Dest Port 320 enable */
219 #define TS_319 BIT(13) /* Time Sync Dest Port 319 enable */
220 #define TS_132 BIT(12) /* Time Sync Dest IP Addr 132 enable */
221 #define TS_131 BIT(11) /* Time Sync Dest IP Addr 131 enable */
222 #define TS_130 BIT(10) /* Time Sync Dest IP Addr 130 enable */
223 #define TS_129 BIT(9) /* Time Sync Dest IP Addr 129 enable */
224 #define TS_TTL_NONZERO BIT(8) /* Time Sync Time To Live Non-zero enable */
225 #define TS_ANNEX_F_EN BIT(6) /* Time Sync Annex F enable */
226 #define TS_ANNEX_D_EN BIT(4) /* Time Sync Annex D enable */
227 #define TS_LTYPE2_EN BIT(3) /* Time Sync LTYPE 2 enable */
228 #define TS_LTYPE1_EN BIT(2) /* Time Sync LTYPE 1 enable */
229 #define TS_TX_EN BIT(1) /* Time Sync Transmit Enable */
230 #define TS_RX_EN BIT(0) /* Time Sync Receive Enable */
251 #define TS_SEQ_ID_OFFSET_SHIFT (16) /* Time Sync Sequence ID Offset */
253 #define TS_MSG_TYPE_EN_SHIFT (0) /* Time Sync Message Type Enable */
256 /* The PTP event messages - Sync, Delay_Req, Pdelay_Req, and Pdelay_Resp. */
317 return readl_relaxed(slave->regs + offset); in slave_read()
322 writel_relaxed(val, slave->regs + offset); in slave_write()
395 #define ndev_to_cpsw(ndev) (((struct cpsw_priv *)netdev_priv(ndev))->cpsw)
443 void cpsw_tx_handler(void *token, int len, int status);