/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 632 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_enable_external() 637 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external() 642 smsc911x_reg_write(pdata, HW_CFG, hwcfg); in smsc911x_phy_enable_external() 647 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() 659 unsigned int hwcfg = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_initialise_external() 857 val = smsc911x_reg_read(pdata, HW_CFG); in smsc911x_phy_loopbacktest() 860 smsc911x_reg_write(pdata, HW_CFG, val); in smsc911x_phy_loopbacktest() 1439 unsigned int reset_offset = HW_CFG; in smsc911x_soft_reset() 1608 smsc911x_reg_write(pdata, HW_CFG, 0x00050000); in smsc911x_open() [all …]
|
D | smsc911x.h | 191 #define HW_CFG 0x74 macro
|
D | smc911x.h | 432 #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 )
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | smsc95xx.c | 838 ret = smsc95xx_write_reg(dev, HW_CFG, HW_CFG_LRST_); in smsc95xx_reset() 845 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() 881 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() 890 ret = smsc95xx_write_reg(dev, HW_CFG, read_buf); in smsc95xx_reset() 894 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() 940 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() 955 ret = smsc95xx_write_reg(dev, HW_CFG, read_buf); in smsc95xx_reset() 959 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset() 1103 ret = smsc95xx_read_reg(dev, HW_CFG, &val); in smsc95xx_bind()
|
D | smsc75xx.c | 1057 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset() 1065 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset() 1074 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset() 1130 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset() 1141 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset() 1147 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset() 1201 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset() 1211 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset() 1217 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
|
D | lan78xx.c | 278 HW_CFG, 699 ret = lan78xx_read_reg(dev, HW_CFG, &val); in lan78xx_read_raw_eeprom() 703 ret = lan78xx_write_reg(dev, HW_CFG, val); in lan78xx_read_raw_eeprom() 736 ret = lan78xx_write_reg(dev, HW_CFG, saved); in lan78xx_read_raw_eeprom() 767 ret = lan78xx_read_reg(dev, HW_CFG, &val); in lan78xx_write_raw_eeprom() 771 ret = lan78xx_write_reg(dev, HW_CFG, val); in lan78xx_write_raw_eeprom() 818 ret = lan78xx_write_reg(dev, HW_CFG, saved); in lan78xx_write_raw_eeprom() 2066 ret = lan78xx_read_reg(dev, HW_CFG, &buf); in lan7801_phy_init() 2069 ret = lan78xx_write_reg(dev, HW_CFG, buf); in lan7801_phy_init() 2180 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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.c | 192 u32 val = lan743x_csr_read(adapter, HW_CFG); in lan743x_led_mux_enable() 199 lan743x_csr_write(adapter, HW_CFG, val); in lan743x_led_mux_enable() 210 u32 val = lan743x_csr_read(adapter, HW_CFG); in lan743x_led_mux_save()
|
D | lan743x_main.h | 29 #define HW_CFG (0x010) macro
|
D | lan743x_main.c | 78 data = lan743x_csr_read(adapter, HW_CFG); in lan743x_csr_light_reset() 80 lan743x_csr_write(adapter, HW_CFG, data); in lan743x_csr_light_reset() 82 return readx_poll_timeout(LAN743X_CSR_READ_OP, HW_CFG, data, in lan743x_csr_light_reset()
|