Home
last modified time | relevance | path

Searched refs:MAC_CR (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Dsmsc911x.c873 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 …]
Dsmsc9420.c481 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 …]
Dsmsc9420.h142 #define MAC_CR (0x80) macro
Dsmsc911x.h317 #define MAC_CR 0x01 macro
Dsmc911x.h549 #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 )
Dsmc911x.c1546 (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/
Dlan743x_ethtool.c712 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()
Dlan743x_main.h107 #define MAC_CR (0x100) macro
Dlan743x_main.c800 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/
Dsmsc95xx.h211 #define MAC_CR (0x100) macro
Dsmsc75xx.h259 #define MAC_CR (0x100) macro
Dsmsc95xx.c527 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()
Dlan78xx.c284 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()
Dlan78xx.h541 #define MAC_CR (0x100) macro
Dsmsc75xx.c1346 ret = smsc75xx_read_reg(dev, MAC_CR, &buf); in smsc75xx_reset()
1353 ret = smsc75xx_write_reg(dev, MAC_CR, buf); in smsc75xx_reset()