Home
last modified time | relevance | path

Searched refs:mac_control (Results 1 – 18 of 18) sorted by relevance

/drivers/net/ethernet/neterion/
Ds2io.c504 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()
685 struct fifo_info *fifo = &mac_control->fifos[i]; in init_shared_mem()
699 struct ring_info *ring = &mac_control->rings[i]; in init_shared_mem()
[all …]
Ds2io.h865 struct mac_info mac_control; member
/drivers/net/wireless/marvell/libertas_tf/
Dmain.c261 priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; in lbtf_op_start()
379 int old_mac_control = priv->mac_control; in lbtf_op_configure_filter()
391 priv->mac_control &= ~CMD_ACT_MAC_PROMISCUOUS_ENABLE; in lbtf_op_configure_filter()
394 priv->mac_control |= CMD_ACT_MAC_ALL_MULTICAST_ENABLE; in lbtf_op_configure_filter()
395 priv->mac_control &= ~CMD_ACT_MAC_MULTICAST_ENABLE; in lbtf_op_configure_filter()
397 priv->mac_control |= CMD_ACT_MAC_MULTICAST_ENABLE; in lbtf_op_configure_filter()
398 priv->mac_control &= ~CMD_ACT_MAC_ALL_MULTICAST_ENABLE; in lbtf_op_configure_filter()
401 priv->mac_control &= ~(CMD_ACT_MAC_MULTICAST_ENABLE | in lbtf_op_configure_filter()
410 if (priv->mac_control != old_mac_control) in lbtf_op_configure_filter()
Dlibertas_tf.h241 u16 mac_control; member
Dcmd.c425 cmd.action = cpu_to_le16(priv->mac_control); in lbtf_set_mac_control()
/drivers/net/ethernet/ti/
Ddavinci_emac.c523 u32 mac_control; in emac_update_phystatus() local
528 mac_control = emac_read(EMAC_MACCONTROL); in emac_update_phystatus()
529 cur_duplex = (mac_control & EMAC_MACCONTROL_FULLDUPLEXEN) ? in emac_update_phystatus()
540 mac_control |= (EMAC_MACCONTROL_FULLDUPLEXEN); in emac_update_phystatus()
542 mac_control &= ~(EMAC_MACCONTROL_FULLDUPLEXEN); in emac_update_phystatus()
546 mac_control = emac_read(EMAC_MACCONTROL); in emac_update_phystatus()
547 mac_control |= (EMAC_DM646X_MACCONTORL_GIG | in emac_update_phystatus()
551 mac_control &= ~(EMAC_DM646X_MACCONTORL_GIGFORCE | in emac_update_phystatus()
555 mac_control |= EMAC_MACCONTROL_RMIISPEED_MASK; in emac_update_phystatus()
557 mac_control &= ~EMAC_MACCONTROL_RMIISPEED_MASK; in emac_update_phystatus()
[all …]
Dcpsw.c458 u32 mac_control = 0; in _cpsw_adjust_link() local
468 mac_control = CPSW_SL_CTL_GMII_EN; in _cpsw_adjust_link()
471 mac_control |= CPSW_SL_CTL_GIG; in _cpsw_adjust_link()
473 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in _cpsw_adjust_link()
477 mac_control |= CPSW_SL_CTL_IFCTL_A; in _cpsw_adjust_link()
480 mac_control |= CPSW_SL_CTL_EXT_EN; /* In Band mode */ in _cpsw_adjust_link()
483 mac_control |= CPSW_SL_CTL_RX_FLOW_EN; in _cpsw_adjust_link()
486 mac_control |= CPSW_SL_CTL_TX_FLOW_EN; in _cpsw_adjust_link()
488 if (mac_control != slave->mac_control) in _cpsw_adjust_link()
489 cpsw_sl_ctl_set(slave->mac_sl, mac_control); in _cpsw_adjust_link()
[all …]
Dcpsw_new.c653 u32 mac_control = 0; in cpsw_adjust_link() local
662 mac_control = CPSW_SL_CTL_GMII_EN; in cpsw_adjust_link()
665 mac_control |= CPSW_SL_CTL_GIG; in cpsw_adjust_link()
667 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in cpsw_adjust_link()
671 mac_control |= CPSW_SL_CTL_IFCTL_A; in cpsw_adjust_link()
674 mac_control |= CPSW_SL_CTL_EXT_EN; /* In Band mode */ in cpsw_adjust_link()
677 mac_control |= CPSW_SL_CTL_RX_FLOW_EN; in cpsw_adjust_link()
680 mac_control |= CPSW_SL_CTL_TX_FLOW_EN; in cpsw_adjust_link()
682 if (mac_control != slave->mac_control) in cpsw_adjust_link()
683 cpsw_sl_ctl_set(slave->mac_sl, mac_control); in cpsw_adjust_link()
[all …]
Dnetcp_ethss.c278 u32 mac_control; member
439 u32 mac_control; member
622 u32 mac_control; member
635 u16 mac_control; member
699 u32 mac_control; member
2079 u32 mac_control = 0; in netcp_ethss_link_state_action() local
2082 mac_control = slave->mac_control; in netcp_ethss_link_state_action()
2084 mac_control |= MACSL_GIG_MODE; in netcp_ethss_link_state_action()
2085 mac_control &= ~MACSL_XGIG_MODE; in netcp_ethss_link_state_action()
2087 mac_control |= MACSL_XGIG_MODE; in netcp_ethss_link_state_action()
[all …]
Dcpsw_priv.h298 u32 mac_control; /* Mac control register */ member
306 u32 mac_control; member
Dam65-cpsw-nuss.c167 u32 mac_control = 0; in am65_cpsw_nuss_adjust_link() local
173 mac_control = CPSW_SL_CTL_GMII_EN; in am65_cpsw_nuss_adjust_link()
176 mac_control |= CPSW_SL_CTL_GIG; in am65_cpsw_nuss_adjust_link()
179 mac_control |= CPSW_SL_CTL_EXT_EN; in am65_cpsw_nuss_adjust_link()
181 mac_control |= CPSW_SL_CTL_IFCTL_A; in am65_cpsw_nuss_adjust_link()
183 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in am65_cpsw_nuss_adjust_link()
189 mac_control |= CPSW_SL_CTL_RX_FLOW_EN; in am65_cpsw_nuss_adjust_link()
192 mac_control |= CPSW_SL_CTL_TX_FLOW_EN; in am65_cpsw_nuss_adjust_link()
194 cpsw_sl_ctl_set(port->slave.mac_sl, mac_control); in am65_cpsw_nuss_adjust_link()
/drivers/net/wireless/marvell/libertas/
Dmain.c366 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()
Ddev.h172 u16 mac_control; member
Dcmd.c1087 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()
Dcfg.c1345 priv->mac_control |= CMD_ACT_MAC_WEP_ENABLE; in lbs_cfg_connect()
1362 priv->mac_control &= ~CMD_ACT_MAC_WEP_ENABLE; in lbs_cfg_connect()
/drivers/net/wireless/ath/carl9170/
Dwlan.h287 __le16 mac_control; member
Dtx.c422 if (super->f.mac_control & cpu_to_le16(AR9170_TX_MAC_IMM_BA)) { in carl9170_tx_status_process_ampdu()
936 txc->f.mac_control |= mac_tmp; in carl9170_tx_apply_rateset()
1071 txc->f.mac_control = mac_tmp; in carl9170_tx_prepare()
1089 super->f.mac_control |= cpu_to_le16(AR9170_TX_MAC_IMM_BA); in carl9170_set_immba()
Ddebug.c295 le16_to_cpu(txc->f.mac_control), le32_to_cpu(txc->f.phy_control), in carl9170_debugfs_format_frame()