Home
last modified time | relevance | path

Searched refs:ksz_write32 (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/drivers/net/dsa/microchip/
A Dksz9477.c140 ksz_write32(dev, REG_SW_ALU_VAL_A, table[0]); in ksz9477_write_table()
141 ksz_write32(dev, REG_SW_ALU_VAL_B, table[1]); in ksz9477_write_table()
142 ksz_write32(dev, REG_SW_ALU_VAL_C, table[2]); in ksz9477_write_table()
143 ksz_write32(dev, REG_SW_ALU_VAL_D, table[3]); in ksz9477_write_table()
184 ksz_write32(dev, REG_SW_PORT_INT_MASK__4, 0x7F); in ksz9477_reset_switch()
464 ksz_write32(dev, REG_SW_ALU_INDEX_0, data); in ksz9477_fdb_add()
468 ksz_write32(dev, REG_SW_ALU_INDEX_1, data); in ksz9477_fdb_add()
520 ksz_write32(dev, REG_SW_ALU_INDEX_0, data); in ksz9477_fdb_del()
524 ksz_write32(dev, REG_SW_ALU_INDEX_1, data); in ksz9477_fdb_del()
644 ksz_write32(dev, REG_SW_ALU_CTRL__4, 0); in ksz9477_fdb_dump()
[all …]
A Dksz_ptp.c66 ret = ksz_write32(dev, REG_PTP_TRIG_STATUS__4, data); in ksz_ptp_tou_reset()
71 ret = ksz_write32(dev, REG_PTP_INT_STATUS__4, data); in ksz_ptp_tou_reset()
103 ret = ksz_write32(dev, REG_TRIG_TARGET_NANOSEC, ts->tv_nsec); in ksz_ptp_tou_target_time_set()
107 ret = ksz_write32(dev, REG_TRIG_TARGET_SEC, ts->tv_sec); in ksz_ptp_tou_target_time_set()
152 ret = ksz_write32(dev, REG_TRIG_CTRL__4, data); in ksz_ptp_configure_perout()
166 ret = ksz_write32(dev, REG_TRIG_PULSE_WIDTH__4, data); in ksz_ptp_configure_perout()
697 ret = ksz_write32(dev, REG_PTP_RTC_NANOSEC, ts->tv_nsec); in ksz_ptp_settime()
701 ret = ksz_write32(dev, REG_PTP_RTC_SEC, ts->tv_sec); in ksz_ptp_settime()
751 ret = ksz_write32(dev, REG_PTP_SUBNANOSEC_RATE, data32); in ksz_ptp_adjfine()
786 ret = ksz_write32(dev, REG_PTP_RTC_NANOSEC, abs(nsec)); in ksz_ptp_adjtime()
[all …]
A Dlan937x_main.c157 ret = ksz_write32(dev, REG_SW_INT_MASK__4, SWITCH_INT_MASK); in lan937x_reset_switch()
161 ret = ksz_write32(dev, REG_SW_INT_STATUS__4, POR_READY_INT); in lan937x_reset_switch()
165 ret = ksz_write32(dev, REG_SW_PORT_INT_MASK__4, 0xFF); in lan937x_reset_switch()
A Dksz_common.h458 static inline int ksz_write32(struct ksz_device *dev, u32 reg, u32 value) in ksz_write32() function
547 return ksz_write32(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_pwrite32()
A Dksz_common.c1939 ret = ksz_write32(dev, kirq->reg_mask, kirq->masked); in ksz_irq_bus_sync_unlock()

Completed in 38 milliseconds