Searched refs:ksz_write16 (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/dsa/microchip/ |
D | lan937x_main.c | 50 return ksz_write16(dev, REG_VPHY_SPECIAL_CTRL__2, data16); in lan937x_enable_spi_indirect_access() 64 return ksz_write16(dev, REG_VPHY_IND_ADDR__2, temp); in lan937x_vphy_ind_addr_wr() 82 ret = ksz_write16(dev, REG_VPHY_IND_DATA__2, val); in lan937x_internal_phy_write() 87 ret = ksz_write16(dev, REG_VPHY_IND_CTRL__2, in lan937x_internal_phy_write() 118 ret = ksz_write16(dev, REG_VPHY_IND_CTRL__2, VPHY_IND_BUSY); in lan937x_internal_phy_read() 275 return ksz_write16(dev, REG_SW_AGE_PERIOD__2, value); in lan937x_set_ageing_time()
|
D | ksz8.c | 73 ret = ksz_write16(dev, regs[REG_IND_CTRL_0], ctrl_addr); in ksz8_ind_write8() 107 ret = ksz_write16(dev, regs[REG_IND_CTRL_0], ctrl_addr); in ksz8_ind_read8() 289 ksz_write16(dev, regs[REG_IND_CTRL_0], ctrl_addr); in ksz8_r_mib_cnt() 327 ksz_write16(dev, regs[REG_IND_CTRL_0], ctrl_addr); in ksz8795_r_mib_pkt() 378 ksz_write16(dev, regs[REG_IND_CTRL_0], ctrl_addr); in ksz8863_r_mib_pkt() 461 ret = ksz_write16(dev, regs[REG_IND_CTRL_0], ctrl_addr); in ksz8_r_table() 487 ret = ksz_write16(dev, regs[REG_IND_CTRL_0], ctrl_addr); in ksz8_w_table() 540 ret = ksz_write16(dev, regs[REG_IND_CTRL_0], ctrl_addr); in ksz8_r_dyn_mac_table()
|
D | ksz_ptp.c | 690 ret = ksz_write16(dev, REG_PTP_RTC_SUB_NANOSEC__2, PTP_RTC_0NS); in ksz_ptp_settime() 803 ret = ksz_write16(dev, REG_PTP_CLK_CTRL, data16); in ksz_ptp_adjtime() 1012 ret = ksz_write16(dev, ptpirq->reg_status, data); in ksz_ptp_irq_thread_fn() 1055 ret = ksz_write16(dev, kirq->reg_mask, kirq->masked); in ksz_ptp_irq_bus_sync_unlock()
|
D | ksz_common.h | 484 static inline int ksz_write16(struct ksz_device *dev, u32 reg, u16 value) in ksz_write16() function 585 return ksz_write16(dev, dev->dev_ops->get_port_addr(port, offset), in ksz_pwrite16()
|
D | ksz9477.c | 74 ksz_write16(dev, REG_SW_VLAN_ENTRY_INDEX__2, vid & VLAN_INDEX_M); in ksz9477_get_vlan_table() 107 ksz_write16(dev, REG_SW_VLAN_ENTRY_INDEX__2, vid & VLAN_INDEX_M); in ksz9477_set_vlan_table()
|