Searched refs:ksz_rmw32 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/dsa/microchip/ |
H A D | ksz_ptp.c | 42 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()
|
H A D | ksz_common.h | 581 static inline int ksz_rmw32(struct ksz_device *dev, u32 reg, u32 mask, in ksz_rmw32() function 666 return ksz_rmw32(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_prmw32()
|
H A D | ksz9477.c | 1259 ksz_rmw32(dev, REG_HSR_PORT_MAP__4, BIT(port), BIT(port)); in ksz9477_hsr_join() 1295 ksz_rmw32(dev, REG_HSR_PORT_MAP__4, BIT(port), 0); in ksz9477_hsr_leave()
|