/linux-6.12.1/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 636 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() 1448 unsigned int reset_offset = HW_CFG; in smsc911x_soft_reset() 1619 smsc911x_reg_write(pdata, HW_CFG, 0x00050000); in smsc911x_open() [all …]
|
D | smsc911x.h | 191 #define HW_CFG 0x74 macro
|
/linux-6.12.1/drivers/net/usb/ |
D | smsc95xx.c | 887 ret = smsc95xx_write_reg(dev, HW_CFG, HW_CFG_LRST_); in smsc95xx_reset() 894 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() 912 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() 921 ret = smsc95xx_write_reg(dev, HW_CFG, read_buf); in smsc95xx_reset() 925 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() 971 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() 986 ret = smsc95xx_write_reg(dev, HW_CFG, read_buf); in smsc95xx_reset() 990 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() 1174 ret = smsc95xx_read_reg(dev, HW_CFG, &val); in smsc95xx_bind()
|
D | smsc75xx.c | 1055 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset() 1063 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset() 1072 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset() 1128 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset() 1139 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset() 1145 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset() 1199 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset() 1209 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset() 1215 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
|
D | lan78xx.c | 329 HW_CFG, 906 ret = lan78xx_read_reg(dev, HW_CFG, &val); in lan78xx_read_raw_eeprom() 910 ret = lan78xx_write_reg(dev, HW_CFG, val); in lan78xx_read_raw_eeprom() 943 ret = lan78xx_write_reg(dev, HW_CFG, saved); in lan78xx_read_raw_eeprom() 974 ret = lan78xx_read_reg(dev, HW_CFG, &val); in lan78xx_write_raw_eeprom() 978 ret = lan78xx_write_reg(dev, HW_CFG, val); in lan78xx_write_raw_eeprom() 1025 ret = lan78xx_write_reg(dev, HW_CFG, saved); in lan78xx_write_raw_eeprom() 2301 ret = lan78xx_read_reg(dev, HW_CFG, &buf); in lan7801_phy_init() 2304 ret = lan78xx_write_reg(dev, HW_CFG, buf); in lan7801_phy_init() 2417 lan78xx_read_reg(dev, HW_CFG, ®); in lan78xx_phy_init() [all …]
|
D | smsc95xx.h | 74 #define HW_CFG (0x14) macro
|
D | smsc75xx.h | 73 #define HW_CFG (0x0010) macro
|
D | lan78xx.h | 134 #define HW_CFG (0x010) macro
|
/linux-6.12.1/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 49 hw_cfg = lan743x_csr_read(adapter, HW_CFG); in pci11x1x_strap_get_status() 142 data = lan743x_csr_read(adapter, HW_CFG); in lan743x_csr_light_reset() 144 lan743x_csr_write(adapter, HW_CFG, data); in lan743x_csr_light_reset() 146 return readx_poll_timeout(LAN743X_CSR_READ_OP, HW_CFG, data, in lan743x_csr_light_reset() 3862 data = lan743x_csr_read(adapter, HW_CFG); in lan743x_pm_suspend() 3869 lan743x_csr_write(adapter, HW_CFG, data); in lan743x_pm_suspend() 3890 lan743x_csr_write(adapter, HW_CFG, adapter->hw_cfg); in lan743x_pm_resume()
|
D | lan743x_ptp.c | 206 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()
|
D | lan743x_main.h | 47 #define HW_CFG (0x010) macro
|
D | lan743x_ethtool.c | 1211 rb[ETH_HW_CFG] = lan743x_csr_read(adapter, HW_CFG); in lan743x_common_regs()
|