Home
last modified time | relevance | path

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

/linux-6.1.9/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
/linux-6.1.9/drivers/net/wireless/marvell/libertas_tf/
Dmain.c262 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()
Dlibertas_tf.h241 u16 mac_control; member
Dcmd.c425 cmd.action = cpu_to_le16(priv->mac_control); in lbtf_set_mac_control()
/linux-6.1.9/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.h299 u32 mac_control; /* Mac control register */ member
307 u32 mac_control; member
Dam65-cpsw-nuss.c1456 u32 mac_control = CPSW_SL_CTL_GMII_EN; in am65_cpsw_nuss_mac_link_up() local
1460 mac_control |= CPSW_SL_CTL_GIG; in am65_cpsw_nuss_mac_link_up()
1463 mac_control |= CPSW_SL_CTL_EXT_EN; in am65_cpsw_nuss_mac_link_up()
1465 mac_control |= CPSW_SL_CTL_IFCTL_A; in am65_cpsw_nuss_mac_link_up()
1467 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in am65_cpsw_nuss_mac_link_up()
1471 mac_control |= CPSW_SL_CTL_RX_FLOW_EN; in am65_cpsw_nuss_mac_link_up()
1474 mac_control |= CPSW_SL_CTL_TX_FLOW_EN; in am65_cpsw_nuss_mac_link_up()
1476 cpsw_sl_ctl_set(port->slave.mac_sl, mac_control); in am65_cpsw_nuss_mac_link_up()
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dmain.c365 int old_mac_control = priv->mac_control; in lbs_update_mcast()
373 priv->mac_control |= CMD_ACT_MAC_PROMISCUOUS_ENABLE; in lbs_update_mcast()
374 priv->mac_control &= ~(CMD_ACT_MAC_ALL_MULTICAST_ENABLE | in lbs_update_mcast()
379 priv->mac_control |= CMD_ACT_MAC_ALL_MULTICAST_ENABLE; in lbs_update_mcast()
380 priv->mac_control &= ~(CMD_ACT_MAC_PROMISCUOUS_ENABLE | in lbs_update_mcast()
402 priv->mac_control |= CMD_ACT_MAC_MULTICAST_ENABLE; in lbs_update_mcast()
404 priv->mac_control &= ~CMD_ACT_MAC_MULTICAST_ENABLE; in lbs_update_mcast()
406 priv->mac_control &= ~(CMD_ACT_MAC_PROMISCUOUS_ENABLE | in lbs_update_mcast()
409 if (priv->mac_control != old_mac_control) in lbs_update_mcast()
833 priv->mac_control = CMD_ACT_MAC_RX_ON | CMD_ACT_MAC_TX_ON; in lbs_init_adapter()
Ddev.h172 u16 mac_control; member
Dcmd.c1086 cmd.action = cpu_to_le16(priv->mac_control); in lbs_set_mac_control()
1098 cmd.action = cpu_to_le16(priv->mac_control); in lbs_set_mac_control_sync()
Dcfg.c1343 priv->mac_control |= CMD_ACT_MAC_WEP_ENABLE; in lbs_cfg_connect()
1360 priv->mac_control &= ~CMD_ACT_MAC_WEP_ENABLE; in lbs_cfg_connect()
/linux-6.1.9/Documentation/devicetree/bindings/net/
Dcpsw.txt17 - mac_control : Specifies Default MAC control register content
80 mac_control = <0x20>;
111 mac_control = <0x20>;
/linux-6.1.9/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()
/linux-6.1.9/arch/arm/boot/dts/
Ddm814x.dtsi706 mac_control = <0x20>;
Dam33xx-l4.dtsi727 mac_control = <0x20>;