Home
last modified time | relevance | path

Searched refs:mac_ctrl (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/sgi/
Dmeth.c70 u64 mac_ctrl; member
189 if ((priv->mac_ctrl & METH_PHY_FDX) ^ duplex) { in meth_check_link()
192 priv->mac_ctrl |= METH_PHY_FDX; in meth_check_link()
194 priv->mac_ctrl &= ~METH_PHY_FDX; in meth_check_link()
195 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link()
198 if ((priv->mac_ctrl & METH_100MBIT) ^ speed) { in meth_check_link()
201 priv->mac_ctrl |= METH_100MBIT; in meth_check_link()
203 priv->mac_ctrl &= ~METH_100MBIT; in meth_check_link()
204 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_check_link()
276 mace->eth.mac_ctrl = SGI_MAC_RESET; in meth_reset()
[all …]
/Linux-v6.1/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c784 u32 master_ctrl, mac_ctrl, phy_ctrl; in atl1c_power_saving() local
793 AT_READ_REG(hw, REG_MAC_CTRL, &mac_ctrl); in atl1c_power_saving()
797 mac_ctrl = FIELD_SETX(mac_ctrl, MAC_CTRL_SPEED, speed); in atl1c_power_saving()
798 mac_ctrl &= ~(MAC_CTRL_DUPLX | MAC_CTRL_RX_EN | MAC_CTRL_TX_EN); in atl1c_power_saving()
800 mac_ctrl |= MAC_CTRL_DUPLX; in atl1c_power_saving()
808 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl); in atl1c_power_saving()
816 mac_ctrl |= MAC_CTRL_RX_EN | MAC_CTRL_BC_EN; in atl1c_power_saving()
832 atl1c_driver_name, mac_ctrl, master_ctrl, phy_ctrl, wol_ctrl); in atl1c_power_saving()
834 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl); in atl1c_power_saving()
/Linux-v6.1/drivers/net/wireless/mediatek/mt7601u/
Dphy.c556 u32 mac_ctrl; in mt7601u_rxdc_cal() local
559 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_rxdc_cal()
584 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_rxdc_cal()
1124 u32 mac_ctrl; in mt7601u_init_cal() local
1132 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_init_cal()
1173 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_init_cal()
/Linux-v6.1/arch/mips/include/asm/ip32/
Dmace.h98 volatile u64 mac_ctrl; member
/Linux-v6.1/drivers/net/ethernet/sfc/falcon/
Dfalcon.c1273 ef4_oword_t reg, mac_ctrl; in falcon_reset_macs() local
1298 ef4_reado(efx, &mac_ctrl, FR_AB_MAC_CTRL); in falcon_reset_macs()
1299 EF4_SET_OWORD_FIELD(mac_ctrl, FRF_BB_TXFIFO_DRAIN_EN, 1); in falcon_reset_macs()
1300 ef4_writeo(efx, &mac_ctrl, FR_AB_MAC_CTRL); in falcon_reset_macs()
1329 ef4_writeo(efx, &mac_ctrl, FR_AB_MAC_CTRL); in falcon_reset_macs()
/Linux-v6.1/drivers/net/ethernet/3com/
D3c59x.c3083 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-v6.1/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c69 struct host_cmd_ds_mac_control *mac_ctrl = &cmd->params.mac_ctrl; in mwifiex_cmd_mac_control() local
80 mac_ctrl->action = cpu_to_le32(*action); in mwifiex_cmd_mac_control()
Dfw.h2306 struct host_cmd_ds_mac_control mac_ctrl; member
/Linux-v6.1/drivers/net/wireless/ath/wil6210/
Dwmi.h943 u8 mac_ctrl; member
1045 u8 mac_ctrl; member
Dtxrx.c1149 .mac_ctrl = 0, in wil_vring_init_tx()
1252 .mac_ctrl = 0, in wil_tx_vring_modify()