/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 876 smsc911x_mac_write(pdata, MAC_CR, MAC_CR_FDPX_ in smsc911x_phy_loopbacktest() 888 smsc911x_mac_write(pdata, MAC_CR, 0); in smsc911x_phy_loopbacktest() 896 smsc911x_mac_write(pdata, MAC_CR, 0); in smsc911x_phy_loopbacktest() 962 mac_cr = smsc911x_mac_read(pdata, MAC_CR); in smsc911x_phy_adjust_link() 972 smsc911x_mac_write(pdata, MAC_CR, mac_cr); in smsc911x_phy_adjust_link() 1301 mac_cr = smsc911x_mac_read(pdata, MAC_CR); in smsc911x_rx_multicast_update() 1304 smsc911x_mac_write(pdata, MAC_CR, mac_cr); in smsc911x_rx_multicast_update() 1325 if (smsc911x_mac_read(pdata, MAC_CR) & MAC_CR_RXEN_) in smsc911x_rx_multicast_update_workaround() 1332 mac_cr = smsc911x_mac_read(pdata, MAC_CR); in smsc911x_rx_multicast_update_workaround() 1334 smsc911x_mac_write(pdata, MAC_CR, mac_cr); in smsc911x_rx_multicast_update_workaround() [all …]
|
D | smsc9420.c | 483 mac_cr = smsc9420_reg_read(pd, MAC_CR) & (~MAC_CR_TXEN_); in smsc9420_stop_tx() 484 smsc9420_reg_write(pd, MAC_CR, mac_cr); in smsc9420_stop_tx() 566 mac_cr = smsc9420_reg_read(pd, MAC_CR) & (~MAC_CR_RXEN_); in smsc9420_stop_rx() 567 smsc9420_reg_write(pd, MAC_CR, mac_cr); in smsc9420_stop_rx() 994 u32 mac_cr = smsc9420_reg_read(pd, MAC_CR); in smsc9420_set_multicast_list() 1037 smsc9420_reg_write(pd, MAC_CR, mac_cr); in smsc9420_set_multicast_list() 1077 u32 mac_cr = smsc9420_reg_read(pd, MAC_CR); in smsc9420_phy_adjust_link() 1085 smsc9420_reg_write(pd, MAC_CR, mac_cr); in smsc9420_phy_adjust_link() 1301 smsc9420_reg_write(pd, MAC_CR, 0); in smsc9420_open() 1394 mac_cr = smsc9420_reg_read(pd, MAC_CR) | MAC_CR_TXEN_ | MAC_CR_RXEN_; in smsc9420_open() [all …]
|
D | smsc9420.h | 141 #define MAC_CR (0x80) macro
|
D | smsc911x.h | 317 #define MAC_CR 0x01 macro
|
/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 1074 buf = lan743x_csr_read(adapter, MAC_CR); in lan743x_ethtool_get_eee() 1125 buf = lan743x_csr_read(adapter, MAC_CR); in lan743x_ethtool_set_eee() 1127 lan743x_csr_write(adapter, MAC_CR, buf); in lan743x_ethtool_set_eee() 1129 buf = lan743x_csr_read(adapter, MAC_CR); in lan743x_ethtool_set_eee() 1131 lan743x_csr_write(adapter, MAC_CR, buf); in lan743x_ethtool_set_eee() 1245 rb[ETH_MAC_CR] = lan743x_csr_read(adapter, MAC_CR); in lan743x_common_regs()
|
D | lan743x_main.c | 1269 data = lan743x_csr_read(adapter, MAC_CR); in lan743x_mac_init() 1272 lan743x_csr_write(adapter, MAC_CR, data); in lan743x_mac_init() 1424 data = lan743x_csr_read(adapter, MAC_CR); in lan743x_phy_link_status_change() 1451 lan743x_csr_write(adapter, MAC_CR, data); in lan743x_phy_link_status_change() 1481 data = lan743x_csr_read(adapter, MAC_CR); in lan743x_phy_interface_select()
|
D | lan743x_main.h | 169 #define MAC_CR (0x100) macro
|
/drivers/net/usb/ |
D | smsc95xx.h | 211 #define MAC_CR (0x100) macro
|
D | smsc75xx.h | 259 #define MAC_CR (0x100) macro
|
D | lan78xx.c | 335 MAC_CR, 1387 ret = lan78xx_read_reg(dev, MAC_CR, &val); in lan78xx_mac_reset() 1392 ret = lan78xx_write_reg(dev, MAC_CR, val); in lan78xx_mac_reset() 1400 ret = lan78xx_read_reg(dev, MAC_CR, &val); in lan78xx_mac_reset() 1693 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_get_eee() 1727 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_set_eee() 1729 ret = lan78xx_write_reg(dev, MAC_CR, buf); in lan78xx_set_eee() 1736 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_set_eee() 1738 ret = lan78xx_write_reg(dev, MAC_CR, buf); in lan78xx_set_eee() 3032 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_reset() [all …]
|
D | smsc95xx.c | 533 ret = smsc95xx_write_reg_async(dev, MAC_CR, pdata->mac_cr); in smsc95xx_set_multicast() 592 ret = smsc95xx_write_reg(dev, MAC_CR, pdata->mac_cr); in smsc95xx_mac_update_fullduplex() 858 ret = smsc95xx_write_reg(dev, MAC_CR, pdata->mac_cr); in smsc95xx_start_tx_path() 876 return smsc95xx_write_reg(dev, MAC_CR, pdata->mac_cr); in smsc95xx_start_rx_path() 1026 ret = smsc95xx_read_reg(dev, MAC_CR, &pdata->mac_cr); in smsc95xx_reset()
|
D | lan78xx.h | 541 #define MAC_CR (0x100) macro
|
D | smsc75xx.c | 1349 ret = smsc75xx_read_reg(dev, MAC_CR, &buf); in smsc75xx_reset() 1356 ret = smsc75xx_write_reg(dev, MAC_CR, buf); in smsc75xx_reset()
|