Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/dsa/microchip/
Dksz_ptp.c42 ret = ksz_rmw32(dev, REG_PTP_CTRL_STAT__4, GPIO_OUT, in ksz_ptp_tou_gpio()
47 ret = ksz_rmw32(dev, REG_SW_GLOBAL_LED_OVR__4, LED_OVR_1 | LED_OVR_2, in ksz_ptp_tou_gpio()
52 return ksz_rmw32(dev, REG_SW_GLOBAL_LED_SRC__4, in ksz_ptp_tou_gpio()
63 ret = ksz_rmw32(dev, REG_PTP_CTRL_STAT__4, TRIG_RESET, TRIG_RESET); in ksz_ptp_tou_reset()
76 return ksz_rmw32(dev, REG_PTP_CTRL_STAT__4, (TRIG_RESET | TRIG_ENABLE), in ksz_ptp_tou_reset()
119 ret = ksz_rmw32(dev, REG_PTP_CTRL_STAT__4, TRIG_ENABLE, TRIG_ENABLE); in ksz_ptp_tou_start()
161 ret = ksz_rmw32(dev, REG_TRIG_CYCLE_CNT, TRIG_CYCLE_CNT_M, 0); in ksz_ptp_configure_perout()
202 ret = ksz_rmw32(dev, REG_PTP_UNIT_INDEX__4, in ksz_ptp_enable_perout()
Dksz_common.h503 static inline int ksz_rmw32(struct ksz_device *dev, u32 reg, u32 mask, in ksz_rmw32() function
588 return ksz_rmw32(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_prmw32()