Searched refs:mac_ctrl (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/sgi/ |
D | meth.c | 72 u64 mac_ctrl; member 191 if ((priv->mac_ctrl & METH_PHY_FDX) ^ duplex) { in meth_check_link() 194 priv->mac_ctrl |= METH_PHY_FDX; in meth_check_link() 196 priv->mac_ctrl &= ~METH_PHY_FDX; in meth_check_link() 197 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link() 200 if ((priv->mac_ctrl & METH_100MBIT) ^ speed) { in meth_check_link() 203 priv->mac_ctrl |= METH_100MBIT; in meth_check_link() 205 priv->mac_ctrl &= ~METH_100MBIT; in meth_check_link() 206 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link() 279 mace->eth.mac_ctrl = SGI_MAC_RESET; in meth_reset() [all …]
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 771 u32 master_ctrl, mac_ctrl, phy_ctrl; in atl1c_power_saving() local 780 AT_READ_REG(hw, REG_MAC_CTRL, &mac_ctrl); in atl1c_power_saving() 784 mac_ctrl = FIELD_SETX(mac_ctrl, MAC_CTRL_SPEED, speed); in atl1c_power_saving() 785 mac_ctrl &= ~(MAC_CTRL_DUPLX | MAC_CTRL_RX_EN | MAC_CTRL_TX_EN); in atl1c_power_saving() 787 mac_ctrl |= MAC_CTRL_DUPLX; in atl1c_power_saving() 795 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl); in atl1c_power_saving() 803 mac_ctrl |= MAC_CTRL_RX_EN | MAC_CTRL_BC_EN; in atl1c_power_saving() 819 atl1c_driver_name, mac_ctrl, master_ctrl, phy_ctrl, wol_ctrl); in atl1c_power_saving() 821 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl); in atl1c_power_saving()
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 564 u32 mac_ctrl; in mt7601u_rxdc_cal() local 567 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_rxdc_cal() 592 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_rxdc_cal() 1126 u32 mac_ctrl; in mt7601u_init_cal() local 1134 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_init_cal() 1175 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_init_cal()
|
/Linux-v4.19/arch/mips/include/asm/ip32/ |
D | mace.h | 98 volatile u64 mac_ctrl; member
|
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/ |
D | falcon.c | 1276 ef4_oword_t reg, mac_ctrl; in falcon_reset_macs() local 1301 ef4_reado(efx, &mac_ctrl, FR_AB_MAC_CTRL); in falcon_reset_macs() 1302 EF4_SET_OWORD_FIELD(mac_ctrl, FRF_BB_TXFIFO_DRAIN_EN, 1); in falcon_reset_macs() 1303 ef4_writeo(efx, &mac_ctrl, FR_AB_MAC_CTRL); in falcon_reset_macs() 1332 ef4_writeo(efx, &mac_ctrl, FR_AB_MAC_CTRL); in falcon_reset_macs()
|
/Linux-v4.19/drivers/net/ethernet/3com/ |
D | 3c59x.c | 3083 int mac_ctrl; in set_8021q_mode() local 3103 mac_ctrl = window_read16(vp, 3, Wn3_MAC_Ctrl); in set_8021q_mode() 3105 mac_ctrl |= 0x40; in set_8021q_mode() 3107 mac_ctrl &= ~0x40; in set_8021q_mode() 3108 window_write16(vp, mac_ctrl, 3, Wn3_MAC_Ctrl); in set_8021q_mode()
|
/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmd.c | 81 struct host_cmd_ds_mac_control *mac_ctrl = &cmd->params.mac_ctrl; in mwifiex_cmd_mac_control() local 92 mac_ctrl->action = cpu_to_le32(*action); in mwifiex_cmd_mac_control()
|
D | fw.h | 2302 struct host_cmd_ds_mac_control mac_ctrl; member
|
/Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
D | wmi.h | 925 u8 mac_ctrl; member 1015 u8 mac_ctrl; member
|
D | txrx.c | 976 .mac_ctrl = 0, in wil_vring_init_tx()
|