Searched refs:ksz_rmw16 (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/dsa/microchip/ |
D | ksz_ptp.c | 286 return ksz_rmw16(dev, REG_PTP_MSG_CONF1, PTP_ENABLE, in ksz_ptp_enable_mode() 357 ret = ksz_rmw16(dev, REG_PTP_MSG_CONF1, PTP_1STEP, PTP_1STEP); in ksz_set_hwtstamp_config() 371 ret = ksz_rmw16(dev, REG_PTP_MSG_CONF1, PTP_1STEP, 0); in ksz_set_hwtstamp_config() 600 ret = ksz_rmw16(dev, REG_PTP_CLK_CTRL, PTP_READ_TIME, PTP_READ_TIME); in _ksz_ptp_gettime() 702 ret = ksz_rmw16(dev, REG_PTP_CLK_CTRL, PTP_LOAD_TIME, PTP_LOAD_TIME); in ksz_ptp_settime() 752 ret = ksz_rmw16(dev, REG_PTP_CLK_CTRL, PTP_CLK_ADJ_ENABLE, in ksz_ptp_adjfine() 757 ret = ksz_rmw16(dev, REG_PTP_CLK_CTRL, PTP_CLK_ADJ_ENABLE, 0); in ksz_ptp_adjfine() 893 ret = ksz_rmw16(dev, REG_PTP_CLK_CTRL, PTP_CLK_ENABLE, PTP_CLK_ENABLE); in ksz_ptp_start_clock() 945 ret = ksz_rmw16(dev, REG_PTP_MSG_CONF1, PTP_TC_P2P | PTP_802_1AS, in ksz_ptp_clock_register()
|
D | ksz_common.h | 508 static inline int ksz_rmw16(struct ksz_device *dev, u32 reg, u16 mask, in ksz_rmw16() function
|