Searched refs:mac_ctrl (Results 1 – 9 of 9) sorted by relevance
/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 …]
|
/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()
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | phy.c | 562 u32 mac_ctrl; in mt7601u_rxdc_cal() local 565 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_rxdc_cal() 590 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_rxdc_cal() 1117 u32 mac_ctrl; in mt7601u_init_cal() local 1125 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_init_cal() 1166 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_init_cal()
|
/drivers/net/ethernet/sfc/ |
D | falcon.c | 1271 efx_oword_t reg, mac_ctrl; in falcon_reset_macs() local 1296 efx_reado(efx, &mac_ctrl, FR_AB_MAC_CTRL); in falcon_reset_macs() 1297 EFX_SET_OWORD_FIELD(mac_ctrl, FRF_BB_TXFIFO_DRAIN_EN, 1); in falcon_reset_macs() 1298 efx_writeo(efx, &mac_ctrl, FR_AB_MAC_CTRL); in falcon_reset_macs() 1327 efx_writeo(efx, &mac_ctrl, FR_AB_MAC_CTRL); in falcon_reset_macs()
|
/drivers/net/ethernet/3com/ |
D | 3c59x.c | 3104 int mac_ctrl; in set_8021q_mode() local 3124 mac_ctrl = window_read16(vp, 3, Wn3_MAC_Ctrl); in set_8021q_mode() 3126 mac_ctrl |= 0x40; in set_8021q_mode() 3128 mac_ctrl &= ~0x40; in set_8021q_mode() 3129 window_write16(vp, mac_ctrl, 3, Wn3_MAC_Ctrl); in set_8021q_mode()
|
/drivers/net/wireless/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_le16(*action); in mwifiex_cmd_mac_control()
|
D | fw.h | 2109 struct host_cmd_ds_mac_control mac_ctrl; member
|
/drivers/net/wireless/ath/wil6210/ |
D | wmi.h | 586 u8 mac_ctrl; member
|
D | txrx.c | 734 .mac_ctrl = 0, in wil_vring_init_tx()
|