Home
last modified time | relevance | path

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

/openbmc/linux/include/soc/mscc/
H A Docelot_ptp.h28 #define PTP_PIN_CFG_ACTION(x) ((x) << 3) macro
29 #define PTP_PIN_CFG_ACTION_MASK PTP_PIN_CFG_ACTION(0x7)
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_ptp.c29 val |= PTP_PIN_CFG_ACTION(PTP_PIN_ACTION_SAVE); in ocelot_ptp_gettime64()
62 val |= PTP_PIN_CFG_ACTION(PTP_PIN_ACTION_IDLE); in ocelot_ptp_settime64()
74 val |= PTP_PIN_CFG_ACTION(PTP_PIN_ACTION_LOAD); in ocelot_ptp_settime64()
100 val |= PTP_PIN_CFG_ACTION(PTP_PIN_ACTION_IDLE); in ocelot_ptp_adjtime()
111 val |= PTP_PIN_CFG_ACTION(PTP_PIN_ACTION_DELTA); in ocelot_ptp_adjtime()
239 val = PTP_PIN_CFG_ACTION(PTP_PIN_ACTION_IDLE); in ocelot_ptp_enable()
288 val = PTP_PIN_CFG_ACTION(PTP_PIN_ACTION_CLOCK); in ocelot_ptp_enable()
306 val = PTP_PIN_CFG_ACTION(PTP_PIN_ACTION_CLOCK); in ocelot_ptp_enable()
718 val |= PTP_PIN_CFG_ACTION(PTP_PIN_ACTION_SAVE); in ocelot_get_hwtimestamp()