Searched refs:ksz_write32 (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/dsa/microchip/ |
D | ksz9477.c | 103 ksz_write32(dev, REG_SW_VLAN_ENTRY__4, vlan_table[0]); in ksz9477_set_vlan_table() 104 ksz_write32(dev, REG_SW_VLAN_ENTRY_UNTAG__4, vlan_table[1]); in ksz9477_set_vlan_table() 105 ksz_write32(dev, REG_SW_VLAN_ENTRY_PORTS__4, vlan_table[2]); in ksz9477_set_vlan_table() 140 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() 181 ksz_write32(dev, REG_SW_INT_MASK__4, SWITCH_INT_MASK); in ksz9477_reset_switch() 182 ksz_write32(dev, REG_SW_PORT_INT_MASK__4, 0x7F); in ksz9477_reset_switch() 545 ksz_write32(dev, REG_SW_ALU_INDEX_0, data); in ksz9477_fdb_add() [all …]
|
D | ksz_ptp.c | 66 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() 156 ret = ksz_write32(dev, REG_TRIG_CYCLE_WIDTH, cycle_width_ns); in ksz_ptp_configure_perout() 166 ret = ksz_write32(dev, REG_TRIG_PULSE_WIDTH__4, data); in ksz_ptp_configure_perout() 694 ret = ksz_write32(dev, REG_PTP_RTC_NANOSEC, ts->tv_nsec); in ksz_ptp_settime() 698 ret = ksz_write32(dev, REG_PTP_RTC_SEC, ts->tv_sec); in ksz_ptp_settime() 748 ret = ksz_write32(dev, REG_PTP_SUBNANOSEC_RATE, data32); in ksz_ptp_adjfine() [all …]
|
D | lan937x_main.c | 160 ret = ksz_write32(dev, REG_SW_INT_MASK__4, SWITCH_INT_MASK); in lan937x_reset_switch() 164 ret = ksz_write32(dev, REG_SW_INT_STATUS__4, POR_READY_INT); in lan937x_reset_switch() 168 ret = ksz_write32(dev, REG_SW_PORT_INT_MASK__4, 0xFF); in lan937x_reset_switch()
|
D | ksz_common.h | 496 static inline int ksz_write32(struct ksz_device *dev, u32 reg, u32 value) in ksz_write32() function 592 return ksz_write32(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_pwrite32()
|