Home
last modified time | relevance | path

Searched refs:ts_en (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/ti/
Dcpsw_priv.c556 u32 ts_en, seq_id; in cpsw_hwtstamp_v1() local
564 ts_en = EVENT_MSG_BITS << CPSW_V1_MSG_TYPE_OFS; in cpsw_hwtstamp_v1()
567 ts_en |= CPSW_V1_TS_TX_EN; in cpsw_hwtstamp_v1()
570 ts_en |= CPSW_V1_TS_RX_EN; in cpsw_hwtstamp_v1()
572 slave_write(slave, ts_en, CPSW1_TS_CTL); in cpsw_hwtstamp_v1()
Dnetcp_ethss.c2619 u32 ts_en, seq_id, ctl; in gbe_hwtstamp() local
2628 ts_en = EVENT_MSG_BITS << TS_MSG_TYPE_EN_SHIFT; in gbe_hwtstamp()
2635 ts_en |= (TS_TX_ANX_ALL_EN | TS_TX_VLAN_LT1_EN); in gbe_hwtstamp()
2638 ts_en |= (TS_RX_ANX_ALL_EN | TS_RX_VLAN_LT1_EN); in gbe_hwtstamp()
2640 writel(ts_en, GBE_REG_ADDR(slave, port_regs, ts_ctl)); in gbe_hwtstamp()