Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/sgi/
A Dmeth.c70 u64 mac_ctrl; member
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()
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()
278 mace->eth.mac_ctrl = 0; in meth_reset()
294 priv->mac_ctrl |= METH_PROMISC; in meth_reset()
295 mace->eth.mac_ctrl = priv->mac_ctrl; in meth_reset()
[all …]
/linux/drivers/net/ethernet/atheros/atl1c/
A 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/drivers/net/wireless/mediatek/mt7601u/
A 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()
1121 u32 mac_ctrl; in mt7601u_init_cal() local
1129 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_init_cal()
1170 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_init_cal()
/linux/arch/mips/include/asm/ip32/
A Dmace.h98 volatile u64 mac_ctrl; member
/linux/drivers/net/ethernet/sfc/falcon/
A 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/drivers/net/ethernet/3com/
A 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/drivers/net/wireless/marvell/mwifiex/
A Dsta_cmd.c81 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()
A Dfw.h2316 struct host_cmd_ds_mac_control mac_ctrl; member
/linux/drivers/net/wireless/ath/wil6210/
A Dwmi.h943 u8 mac_ctrl; member
1045 u8 mac_ctrl; member
A Dtxrx.c1149 .mac_ctrl = 0, in wil_vring_init_tx()
1252 .mac_ctrl = 0, in wil_tx_vring_modify()

Completed in 81 milliseconds