/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 873 smsc911x_mac_write(pdata, MAC_CR, MAC_CR_FDPX_ in smsc911x_phy_loopbacktest() 885 smsc911x_mac_write(pdata, MAC_CR, 0); in smsc911x_phy_loopbacktest() 893 smsc911x_mac_write(pdata, MAC_CR, 0); in smsc911x_phy_loopbacktest() 959 mac_cr = smsc911x_mac_read(pdata, MAC_CR); in smsc911x_phy_adjust_link() 969 smsc911x_mac_write(pdata, MAC_CR, mac_cr); in smsc911x_phy_adjust_link() 1293 mac_cr = smsc911x_mac_read(pdata, MAC_CR); in smsc911x_rx_multicast_update() 1296 smsc911x_mac_write(pdata, MAC_CR, mac_cr); in smsc911x_rx_multicast_update() 1317 if (smsc911x_mac_read(pdata, MAC_CR) & MAC_CR_RXEN_) in smsc911x_rx_multicast_update_workaround() 1324 mac_cr = smsc911x_mac_read(pdata, MAC_CR); in smsc911x_rx_multicast_update_workaround() 1326 smsc911x_mac_write(pdata, MAC_CR, mac_cr); in smsc911x_rx_multicast_update_workaround() [all …]
|
D | smsc9420.c | 481 mac_cr = smsc9420_reg_read(pd, MAC_CR) & (~MAC_CR_TXEN_); in smsc9420_stop_tx() 482 smsc9420_reg_write(pd, MAC_CR, mac_cr); in smsc9420_stop_tx() 564 mac_cr = smsc9420_reg_read(pd, MAC_CR) & (~MAC_CR_RXEN_); in smsc9420_stop_rx() 565 smsc9420_reg_write(pd, MAC_CR, mac_cr); in smsc9420_stop_rx() 992 u32 mac_cr = smsc9420_reg_read(pd, MAC_CR); in smsc9420_set_multicast_list() 1035 smsc9420_reg_write(pd, MAC_CR, mac_cr); in smsc9420_set_multicast_list() 1075 u32 mac_cr = smsc9420_reg_read(pd, MAC_CR); in smsc9420_phy_adjust_link() 1083 smsc9420_reg_write(pd, MAC_CR, mac_cr); in smsc9420_phy_adjust_link() 1300 smsc9420_reg_write(pd, MAC_CR, 0); in smsc9420_open() 1393 mac_cr = smsc9420_reg_read(pd, MAC_CR) | MAC_CR_TXEN_ | MAC_CR_RXEN_; in smsc9420_open() [all …]
|
D | smsc9420.h | 142 #define MAC_CR (0x80) macro
|
D | smsc911x.h | 317 #define MAC_CR 0x01 macro
|
D | smc911x.h | 549 #define MAC_CR (0x01) /* R/W */ macro 797 #define SMC_GET_MAC_CR(lp, x) SMC_GET_MAC_CSR( (lp), MAC_CR, x ) 798 #define SMC_SET_MAC_CR(lp, x) SMC_SET_MAC_CSR( (lp), MAC_CR, x )
|
D | smc911x.c | 1546 (WUCSR - MAC_CR)+1 + 32) * sizeof(u32); in smc911x_ethtool_getregslen() 1561 for(i=MAC_CR;i<=WUCSR;i++) { in smc911x_ethtool_getregs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 712 buf = lan743x_csr_read(adapter, MAC_CR); in lan743x_ethtool_get_eee() 763 buf = lan743x_csr_read(adapter, MAC_CR); in lan743x_ethtool_set_eee() 765 lan743x_csr_write(adapter, MAC_CR, buf); in lan743x_ethtool_set_eee() 767 buf = lan743x_csr_read(adapter, MAC_CR); in lan743x_ethtool_set_eee() 769 lan743x_csr_write(adapter, MAC_CR, buf); in lan743x_ethtool_set_eee()
|
D | lan743x_main.h | 107 #define MAC_CR (0x100) macro
|
D | lan743x_main.c | 800 data = lan743x_csr_read(adapter, MAC_CR); in lan743x_mac_init() 803 lan743x_csr_write(adapter, MAC_CR, data); in lan743x_mac_init() 956 data = lan743x_csr_read(adapter, MAC_CR); in lan743x_phy_link_status_change() 987 lan743x_csr_write(adapter, MAC_CR, data); in lan743x_phy_link_status_change()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | smsc95xx.h | 211 #define MAC_CR (0x100) macro
|
D | smsc75xx.h | 259 #define MAC_CR (0x100) macro
|
D | smsc95xx.c | 527 ret = smsc95xx_write_reg_async(dev, MAC_CR, pdata->mac_cr); in smsc95xx_set_multicast() 586 ret = smsc95xx_write_reg(dev, MAC_CR, pdata->mac_cr); in smsc95xx_mac_update_fullduplex() 822 ret = smsc95xx_write_reg(dev, MAC_CR, pdata->mac_cr); in smsc95xx_start_tx_path() 840 return __smsc95xx_write_reg(dev, MAC_CR, pdata->mac_cr, in_pm); in smsc95xx_start_rx_path() 1005 ret = smsc95xx_read_reg(dev, MAC_CR, &pdata->mac_cr); in smsc95xx_reset()
|
D | lan78xx.c | 284 MAC_CR, 1181 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_link_reset() 1185 ret = lan78xx_write_reg(dev, MAC_CR, buf); in lan78xx_link_reset() 1424 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_get_eee() 1458 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_set_eee() 1460 ret = lan78xx_write_reg(dev, MAC_CR, buf); in lan78xx_set_eee() 1467 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_set_eee() 1469 ret = lan78xx_write_reg(dev, MAC_CR, buf); in lan78xx_set_eee() 2561 ret = lan78xx_read_reg(dev, MAC_CR, &buf); in lan78xx_reset() 2574 ret = lan78xx_write_reg(dev, MAC_CR, buf); in lan78xx_reset()
|
D | lan78xx.h | 541 #define MAC_CR (0x100) macro
|
D | smsc75xx.c | 1346 ret = smsc75xx_read_reg(dev, MAC_CR, &buf); in smsc75xx_reset() 1353 ret = smsc75xx_write_reg(dev, MAC_CR, buf); in smsc75xx_reset()
|