Home
last modified time | relevance | path

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

/drivers/net/ethernet/smsc/
Dsmsc911x.c632 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 …]
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 )
Dsmsc911x.h191 #define HW_CFG 0x74 macro
/drivers/net/usb/
Dsmsc95xx.c853 ret = smsc95xx_write_reg(dev, HW_CFG, HW_CFG_LRST_); in smsc95xx_reset()
860 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset()
896 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset()
905 ret = smsc95xx_write_reg(dev, HW_CFG, read_buf); in smsc95xx_reset()
909 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset()
955 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset()
970 ret = smsc95xx_write_reg(dev, HW_CFG, read_buf); in smsc95xx_reset()
974 ret = smsc95xx_read_reg(dev, HW_CFG, &read_buf); in smsc95xx_reset()
1127 ret = smsc95xx_read_reg(dev, HW_CFG, &val); in smsc95xx_bind()
Dsmsc75xx.c1059 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
1067 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset()
1076 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
1132 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
1143 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset()
1149 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
1203 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
1213 ret = smsc75xx_write_reg(dev, HW_CFG, buf); in smsc75xx_reset()
1219 ret = smsc75xx_read_reg(dev, HW_CFG, &buf); in smsc75xx_reset()
Dlan78xx.c284 HW_CFG,
727 ret = lan78xx_read_reg(dev, HW_CFG, &val); in lan78xx_read_raw_eeprom()
731 ret = lan78xx_write_reg(dev, HW_CFG, val); in lan78xx_read_raw_eeprom()
764 ret = lan78xx_write_reg(dev, HW_CFG, saved); in lan78xx_read_raw_eeprom()
795 ret = lan78xx_read_reg(dev, HW_CFG, &val); in lan78xx_write_raw_eeprom()
799 ret = lan78xx_write_reg(dev, HW_CFG, val); in lan78xx_write_raw_eeprom()
846 ret = lan78xx_write_reg(dev, HW_CFG, saved); in lan78xx_write_raw_eeprom()
2078 ret = lan78xx_read_reg(dev, HW_CFG, &buf); in lan7801_phy_init()
2081 ret = lan78xx_write_reg(dev, HW_CFG, buf); in lan7801_phy_init()
2192 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
/drivers/net/ethernet/microchip/
Dlan743x_ptp.c192 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()
Dlan743x_main.h29 #define HW_CFG (0x010) macro
Dlan743x_main.c78 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()