Searched refs:ksz_read32 (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/dsa/microchip/ |
H A D | ksz9477.c | 84 ksz_read32(dev, REG_SW_VLAN_ENTRY__4, &vlan_table[0]); in ksz9477_get_vlan_table() 85 ksz_read32(dev, REG_SW_VLAN_ENTRY_UNTAG__4, &vlan_table[1]); in ksz9477_get_vlan_table() 86 ksz_read32(dev, REG_SW_VLAN_ENTRY_PORTS__4, &vlan_table[2]); in ksz9477_get_vlan_table() 132 ksz_read32(dev, REG_SW_ALU_VAL_A, &table[0]); in ksz9477_read_table() 133 ksz_read32(dev, REG_SW_ALU_VAL_B, &table[1]); in ksz9477_read_table() 134 ksz_read32(dev, REG_SW_ALU_VAL_C, &table[2]); in ksz9477_read_table() 135 ksz_read32(dev, REG_SW_ALU_VAL_D, &table[3]); in ksz9477_read_table() 183 ksz_read32(dev, REG_SW_PORT_INT_STATUS__4, &data32); in ksz9477_reset_switch() 282 ret = ksz_read32(dev, REG_PMAVBC, &pmavbc); in ksz9477_half_duplex_monitor() 617 ksz_read32(dev, REG_SW_ALU_VAL_A, &alu_table[0]); in ksz9477_fdb_del() [all …]
|
H A D | ksz_ptp.c | 126 ret = ksz_read32(dev, REG_PTP_TRIG_STATUS__4, &data); in ksz_ptp_tou_start() 608 ret = ksz_read32(dev, REG_PTP_RTC_NANOSEC, &nanoseconds); in _ksz_ptp_gettime() 612 ret = ksz_read32(dev, REG_PTP_RTC_SEC, &seconds); in _ksz_ptp_gettime() 981 ret = ksz_read32(dev, ptpmsg_irq->ts_reg, &tstamp_raw); in ksz_ptp_msg_thread_fn()
|
H A D | ksz_common.h | 444 static inline int ksz_read32(struct ksz_device *dev, u32 reg, u32 *val) in ksz_read32() function 573 return ksz_read32(dev, dev->dev_ops->get_port_addr(port, offset), data); in ksz_pread32()
|
H A D | lan937x_main.c | 172 return ksz_read32(dev, REG_SW_PORT_INT_STATUS__4, &data32); in lan937x_reset_switch()
|
H A D | ksz8.c | 298 ksz_read32(dev, regs[REG_IND_DATA_LO], &data); in ksz8_r_mib_cnt() 336 ksz_read32(dev, regs[REG_IND_DATA_LO], &data); in ksz8795_r_mib_pkt() 379 ksz_read32(dev, regs[REG_IND_DATA_LO], &data); in ksz8863_r_mib_pkt()
|
H A D | ksz_common.c | 3539 ret = ksz_read32(dev, REG_CHIP_ID0, &id32); in ksz_switch_detect()
|