Home
last modified time | relevance | path

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

/drivers/net/ethernet/neterion/
Ds2io.c512 sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_STOP; in s2io_stop_all_tx_queue()
520 sp->mac_control.fifos[fifo_no].queue_state = in s2io_stop_tx_queue()
532 sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_START; in s2io_start_all_tx_queue()
540 sp->mac_control.fifos[fifo_no].queue_state = in s2io_start_tx_queue()
552 sp->mac_control.fifos[i].queue_state = FIFO_QUEUE_START; in s2io_wake_all_tx_queue()
592 struct mac_info *mac_control = &nic->mac_control; in init_shared_mem() local
629 struct fifo_info *fifo = &mac_control->fifos[i]; in init_shared_mem()
644 struct fifo_info *fifo = &mac_control->fifos[i]; in init_shared_mem()
673 mac_control->zerodma_virt_addr = tmp_v; in init_shared_mem()
701 struct fifo_info *fifo = &mac_control->fifos[i]; in init_shared_mem()
[all …]
Ds2io.h864 struct mac_info mac_control; member
/drivers/net/wireless/libertas_tf/
Dmain.c318 priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; in lbtf_op_start()
449 int old_mac_control = priv->mac_control; in lbtf_op_configure_filter()
462 priv->mac_control |= CMD_ACT_MAC_PROMISCUOUS_ENABLE; in lbtf_op_configure_filter()
464 priv->mac_control &= ~CMD_ACT_MAC_PROMISCUOUS_ENABLE; in lbtf_op_configure_filter()
467 priv->mac_control |= CMD_ACT_MAC_ALL_MULTICAST_ENABLE; in lbtf_op_configure_filter()
468 priv->mac_control &= ~CMD_ACT_MAC_MULTICAST_ENABLE; in lbtf_op_configure_filter()
470 priv->mac_control |= CMD_ACT_MAC_MULTICAST_ENABLE; in lbtf_op_configure_filter()
471 priv->mac_control &= ~CMD_ACT_MAC_ALL_MULTICAST_ENABLE; in lbtf_op_configure_filter()
474 priv->mac_control &= ~(CMD_ACT_MAC_MULTICAST_ENABLE | in lbtf_op_configure_filter()
483 if (priv->mac_control != old_mac_control) in lbtf_op_configure_filter()
Dlibertas_tf.h241 u16 mac_control; member
Dcmd.c429 cmd.action = cpu_to_le16(priv->mac_control); in lbtf_set_mac_control()
/drivers/net/ethernet/ti/
Ddavinci_emac.c643 u32 mac_control; in emac_update_phystatus() local
648 mac_control = emac_read(EMAC_MACCONTROL); in emac_update_phystatus()
649 cur_duplex = (mac_control & EMAC_MACCONTROL_FULLDUPLEXEN) ? in emac_update_phystatus()
660 mac_control |= (EMAC_MACCONTROL_FULLDUPLEXEN); in emac_update_phystatus()
662 mac_control &= ~(EMAC_MACCONTROL_FULLDUPLEXEN); in emac_update_phystatus()
666 mac_control = emac_read(EMAC_MACCONTROL); in emac_update_phystatus()
667 mac_control |= (EMAC_DM646X_MACCONTORL_GIG | in emac_update_phystatus()
671 mac_control &= ~(EMAC_DM646X_MACCONTORL_GIGFORCE | in emac_update_phystatus()
675 mac_control |= EMAC_MACCONTROL_RMIISPEED_MASK; in emac_update_phystatus()
677 mac_control &= ~EMAC_MACCONTROL_RMIISPEED_MASK; in emac_update_phystatus()
[all …]
Dcpsw.c290 u32 mac_control; member
305 u32 mac_control; member
597 u32 mac_control = 0; in _cpsw_adjust_link() local
606 mac_control = priv->data.mac_control; in _cpsw_adjust_link()
613 mac_control |= BIT(7); /* GIGABITEN */ in _cpsw_adjust_link()
615 mac_control |= BIT(0); /* FULLDUPLEXEN */ in _cpsw_adjust_link()
619 mac_control |= BIT(15); in _cpsw_adjust_link()
623 mac_control = 0; in _cpsw_adjust_link()
629 if (mac_control != slave->mac_control) { in _cpsw_adjust_link()
631 __raw_writel(mac_control, &slave->sliver->mac_control); in _cpsw_adjust_link()
[all …]
/drivers/net/wireless/libertas/
Dmain.c379 int old_mac_control = priv->mac_control; in lbs_update_mcast()
389 priv->mac_control |= CMD_ACT_MAC_PROMISCUOUS_ENABLE; in lbs_update_mcast()
390 priv->mac_control &= ~(CMD_ACT_MAC_ALL_MULTICAST_ENABLE | in lbs_update_mcast()
395 priv->mac_control |= CMD_ACT_MAC_ALL_MULTICAST_ENABLE; in lbs_update_mcast()
396 priv->mac_control &= ~(CMD_ACT_MAC_PROMISCUOUS_ENABLE | in lbs_update_mcast()
418 priv->mac_control |= CMD_ACT_MAC_MULTICAST_ENABLE; in lbs_update_mcast()
420 priv->mac_control &= ~CMD_ACT_MAC_MULTICAST_ENABLE; in lbs_update_mcast()
422 priv->mac_control &= ~(CMD_ACT_MAC_PROMISCUOUS_ENABLE | in lbs_update_mcast()
425 if (priv->mac_control != old_mac_control) in lbs_update_mcast()
878 priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; in lbs_init_adapter()
Ddev.h171 u16 mac_control; member
Dcmd.c1154 cmd.action = cpu_to_le16(priv->mac_control); in lbs_set_mac_control()
1170 cmd.action = cpu_to_le16(priv->mac_control); in lbs_set_mac_control_sync()
Dcfg.c1395 priv->mac_control |= CMD_ACT_MAC_WEP_ENABLE; in lbs_cfg_connect()
1412 priv->mac_control &= ~CMD_ACT_MAC_WEP_ENABLE; in lbs_cfg_connect()
/drivers/net/wireless/ath/carl9170/
Dwlan.h287 __le16 mac_control; member
Dtx.c423 if (super->f.mac_control & cpu_to_le16(AR9170_TX_MAC_IMM_BA)) { in carl9170_tx_status_process_ampdu()
1031 txc->f.mac_control = mac_tmp; in carl9170_tx_prepare()
1049 super->f.mac_control |= cpu_to_le16(AR9170_TX_MAC_IMM_BA); in carl9170_set_immba()
Ddebug.c298 le16_to_cpu(txc->f.mac_control), le32_to_cpu(txc->f.phy_control), in carl9170_debugfs_format_frame()