/Linux-v5.4/drivers/net/ethernet/neterion/ |
D | s2io.c | 504 sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_STOP; in s2io_stop_all_tx_queue() 512 sp->mac_control.fifos[fifo_no].queue_state = in s2io_stop_tx_queue() 524 sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_START; in s2io_start_all_tx_queue() 535 sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_START; in s2io_wake_all_tx_queue() 575 struct mac_info *mac_control = &nic->mac_control; in init_shared_mem() local 612 struct fifo_info *fifo = &mac_control->fifos[i]; in init_shared_mem() 627 struct fifo_info *fifo = &mac_control->fifos[i]; in init_shared_mem() 656 mac_control->zerodma_virt_addr = tmp_v; in init_shared_mem() 684 struct fifo_info *fifo = &mac_control->fifos[i]; in init_shared_mem() 698 struct ring_info *ring = &mac_control->rings[i]; in init_shared_mem() [all …]
|
D | s2io.h | 865 struct mac_info mac_control; member
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas_tf/ |
D | main.c | 262 priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; in lbtf_op_start() 380 int old_mac_control = priv->mac_control; in lbtf_op_configure_filter() 392 priv->mac_control &= ~CMD_ACT_MAC_PROMISCUOUS_ENABLE; in lbtf_op_configure_filter() 395 priv->mac_control |= CMD_ACT_MAC_ALL_MULTICAST_ENABLE; in lbtf_op_configure_filter() 396 priv->mac_control &= ~CMD_ACT_MAC_MULTICAST_ENABLE; in lbtf_op_configure_filter() 398 priv->mac_control |= CMD_ACT_MAC_MULTICAST_ENABLE; in lbtf_op_configure_filter() 399 priv->mac_control &= ~CMD_ACT_MAC_ALL_MULTICAST_ENABLE; in lbtf_op_configure_filter() 402 priv->mac_control &= ~(CMD_ACT_MAC_MULTICAST_ENABLE | in lbtf_op_configure_filter() 411 if (priv->mac_control != old_mac_control) in lbtf_op_configure_filter()
|
D | libertas_tf.h | 241 u16 mac_control; member
|
D | cmd.c | 425 cmd.action = cpu_to_le16(priv->mac_control); in lbtf_set_mac_control()
|
/Linux-v5.4/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 503 u32 mac_control; in emac_update_phystatus() local 508 mac_control = emac_read(EMAC_MACCONTROL); in emac_update_phystatus() 509 cur_duplex = (mac_control & EMAC_MACCONTROL_FULLDUPLEXEN) ? in emac_update_phystatus() 520 mac_control |= (EMAC_MACCONTROL_FULLDUPLEXEN); in emac_update_phystatus() 522 mac_control &= ~(EMAC_MACCONTROL_FULLDUPLEXEN); in emac_update_phystatus() 526 mac_control = emac_read(EMAC_MACCONTROL); in emac_update_phystatus() 527 mac_control |= (EMAC_DM646X_MACCONTORL_GIG | in emac_update_phystatus() 531 mac_control &= ~(EMAC_DM646X_MACCONTORL_GIGFORCE | in emac_update_phystatus() 535 mac_control |= EMAC_MACCONTROL_RMIISPEED_MASK; in emac_update_phystatus() 537 mac_control &= ~EMAC_MACCONTROL_RMIISPEED_MASK; in emac_update_phystatus() [all …]
|
D | cpsw.c | 1060 u32 mac_control = 0; in _cpsw_adjust_link() local 1070 mac_control = CPSW_SL_CTL_GMII_EN; in _cpsw_adjust_link() 1073 mac_control |= CPSW_SL_CTL_GIG; in _cpsw_adjust_link() 1075 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in _cpsw_adjust_link() 1079 mac_control |= CPSW_SL_CTL_IFCTL_A; in _cpsw_adjust_link() 1082 mac_control |= CPSW_SL_CTL_EXT_EN; /* In Band mode */ in _cpsw_adjust_link() 1085 mac_control |= CPSW_SL_CTL_RX_FLOW_EN; in _cpsw_adjust_link() 1088 mac_control |= CPSW_SL_CTL_TX_FLOW_EN; in _cpsw_adjust_link() 1090 if (mac_control != slave->mac_control) in _cpsw_adjust_link() 1091 cpsw_sl_ctl_set(slave->mac_sl, mac_control); in _cpsw_adjust_link() [all …]
|
D | netcp_ethss.c | 280 u32 mac_control; member 441 u32 mac_control; member 624 u32 mac_control; member 637 u16 mac_control; member 701 u32 mac_control; member 2082 u32 mac_control = 0; in netcp_ethss_link_state_action() local 2085 mac_control = slave->mac_control; in netcp_ethss_link_state_action() 2087 mac_control |= MACSL_GIG_MODE; in netcp_ethss_link_state_action() 2088 mac_control &= ~MACSL_XGIG_MODE; in netcp_ethss_link_state_action() 2090 mac_control |= MACSL_XGIG_MODE; in netcp_ethss_link_state_action() [all …]
|
D | cpsw_priv.h | 292 u32 mac_control; /* Mac control register */ member 300 u32 mac_control; member
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
D | main.c | 366 int old_mac_control = priv->mac_control; in lbs_update_mcast() 374 priv->mac_control |= CMD_ACT_MAC_PROMISCUOUS_ENABLE; in lbs_update_mcast() 375 priv->mac_control &= ~(CMD_ACT_MAC_ALL_MULTICAST_ENABLE | in lbs_update_mcast() 380 priv->mac_control |= CMD_ACT_MAC_ALL_MULTICAST_ENABLE; in lbs_update_mcast() 381 priv->mac_control &= ~(CMD_ACT_MAC_PROMISCUOUS_ENABLE | in lbs_update_mcast() 403 priv->mac_control |= CMD_ACT_MAC_MULTICAST_ENABLE; in lbs_update_mcast() 405 priv->mac_control &= ~CMD_ACT_MAC_MULTICAST_ENABLE; in lbs_update_mcast() 407 priv->mac_control &= ~(CMD_ACT_MAC_PROMISCUOUS_ENABLE | in lbs_update_mcast() 410 if (priv->mac_control != old_mac_control) in lbs_update_mcast() 834 priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; in lbs_init_adapter()
|
D | dev.h | 172 u16 mac_control; member
|
D | cmd.c | 1087 cmd.action = cpu_to_le16(priv->mac_control); in lbs_set_mac_control() 1099 cmd.action = cpu_to_le16(priv->mac_control); in lbs_set_mac_control_sync()
|
D | cfg.c | 1341 priv->mac_control |= CMD_ACT_MAC_WEP_ENABLE; in lbs_cfg_connect() 1358 priv->mac_control &= ~CMD_ACT_MAC_WEP_ENABLE; in lbs_cfg_connect()
|
/Linux-v5.4/Documentation/devicetree/bindings/net/ |
D | cpsw.txt | 17 - mac_control : Specifies Default MAC control register content 80 mac_control = <0x20>; 111 mac_control = <0x20>;
|
/Linux-v5.4/drivers/net/wireless/ath/carl9170/ |
D | wlan.h | 287 __le16 mac_control; member
|
D | tx.c | 422 if (super->f.mac_control & cpu_to_le16(AR9170_TX_MAC_IMM_BA)) { in carl9170_tx_status_process_ampdu() 935 txc->f.mac_control |= mac_tmp; in carl9170_tx_apply_rateset() 1069 txc->f.mac_control = mac_tmp; in carl9170_tx_prepare() 1087 super->f.mac_control |= cpu_to_le16(AR9170_TX_MAC_IMM_BA); in carl9170_set_immba()
|
D | debug.c | 295 le16_to_cpu(txc->f.mac_control), le32_to_cpu(txc->f.phy_control), in carl9170_debugfs_format_frame()
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | dm814x.dtsi | 588 mac_control = <0x20>;
|
D | am33xx-l4.dtsi | 699 mac_control = <0x20>;
|
D | am437x-l4.dtsi | 550 mac_control = <0x20>;
|
D | dra7-l4.dtsi | 3036 mac_control = <0x20>;
|