Home
last modified time | relevance | path

Searched refs:HW_CFG (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/smsc/
Dsmsc911x.c636 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_enable_external()
641 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
646 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
651 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
655 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external()
663 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_initialise_external()
861 val = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_loopbacktest()
864 smsc911x_reg_write(pdata, HW_CFG, val); in smsc911x_phy_loopbacktest()
1445 unsigned int reset_offset = HW_CFG; in smsc911x_soft_reset()
1616 smsc911x_reg_write(pdata, HW_CFG, 0x00050000); in smsc911x_open()
[all …]
Dsmsc911x.h191 #define HW_CFG 0x74 macro
Dsmc911x.h432 #define HW_CFG (0x74) macro
754 #define SMC_GET_HW_CFG(lp) SMC_inl( lp, HW_CFG )
755 #define SMC_SET_HW_CFG(lp, x) SMC_outl( x, lp, HW_CFG )
/Linux-v6.1/drivers/net/usb/
Dsmsc95xx.c885 ret = smsc95xx_write_reg(dev, HW_CFG, HW_CFG_LRST_); in smsc95xx_reset()
892 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset()
910 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset()
919 ret = smsc95xx_write_reg(dev, HW_CFG, read_buf); in smsc95xx_reset()
923 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset()
969 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset()
984 ret = smsc95xx_write_reg(dev, HW_CFG, read_buf); in smsc95xx_reset()
988 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset()
1169 ret = smsc95xx_read_reg(dev, HW_CFG, &val); in smsc95xx_bind()
Dsmsc75xx.c1058 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
1066 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset()
1075 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
1131 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
1142 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset()
1148 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
1202 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
1212 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset()
1218 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
Dlan78xx.c329 HW_CFG,
911 ret = lan78xx_read_reg(dev, HW_CFG, &val); in lan78xx_read_raw_eeprom()
915 ret = lan78xx_write_reg(dev, HW_CFG, val); in lan78xx_read_raw_eeprom()
948 ret = lan78xx_write_reg(dev, HW_CFG, saved); in lan78xx_read_raw_eeprom()
979 ret = lan78xx_read_reg(dev, HW_CFG, &val); in lan78xx_write_raw_eeprom()
983 ret = lan78xx_write_reg(dev, HW_CFG, val); in lan78xx_write_raw_eeprom()
1030 ret = lan78xx_write_reg(dev, HW_CFG, saved); in lan78xx_write_raw_eeprom()
2331 ret = lan78xx_read_reg(dev, HW_CFG, &buf); in lan7801_phy_init()
2334 ret = lan78xx_write_reg(dev, HW_CFG, buf); in lan7801_phy_init()
2445 lan78xx_read_reg(dev, HW_CFG, &reg); in lan78xx_phy_init()
[all …]
Dsmsc95xx.h74 #define HW_CFG (0x14) macro
Dsmsc75xx.h73 #define HW_CFG (0x0010) macro
Dlan78xx.h134 #define HW_CFG (0x010) macro
/Linux-v6.1/drivers/net/ethernet/microchip/
Dlan743x_main.c46 hw_cfg = lan743x_csr_read(adapter, HW_CFG); in pci11x1x_strap_get_status()
139 data = lan743x_csr_read(adapter, HW_CFG); in lan743x_csr_light_reset()
141 lan743x_csr_write(adapter, HW_CFG, data); in lan743x_csr_light_reset()
143 return readx_poll_timeout(LAN743X_CSR_READ_OP, HW_CFG, data, in lan743x_csr_light_reset()
3601 data = lan743x_csr_read(adapter, HW_CFG); in lan743x_pm_suspend()
3608 lan743x_csr_write(adapter, HW_CFG, data); in lan743x_pm_suspend()
3628 lan743x_csr_write(adapter, HW_CFG, adapter->hw_cfg); in lan743x_pm_resume()
Dlan743x_ptp.c206 u32 val = lan743x_csr_read(adapter, HW_CFG); in lan743x_led_mux_enable()
213 lan743x_csr_write(adapter, HW_CFG, val); in lan743x_led_mux_enable()
224 u32 val = lan743x_csr_read(adapter, HW_CFG); in lan743x_led_mux_save()
Dlan743x_main.h45 #define HW_CFG (0x010) macro
Dlan743x_ethtool.c1207 rb[ETH_HW_CFG] = lan743x_csr_read(adapter, HW_CFG); in lan743x_common_regs()