/linux-6.1.9/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() 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 …]
|
D | s2io.h | 865 struct mac_info mac_control; member
|
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 523 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 …]
|
D | cpsw.c | 458 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 …]
|
D | cpsw_new.c | 653 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 …]
|
D | netcp_ethss.c | 278 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 …]
|
D | cpsw_priv.h | 299 u32 mac_control; /* Mac control register */ member 307 u32 mac_control; member
|
D | am65-cpsw-nuss.c | 1456 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/ |
D | main.c | 365 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()
|
D | dev.h | 172 u16 mac_control; member
|
D | cmd.c | 1086 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()
|
D | cfg.c | 1343 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/ |
D | cpsw.txt | 17 - 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/ |
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() 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()
|
D | debug.c | 295 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/ |
D | dm814x.dtsi | 706 mac_control = <0x20>;
|
D | am33xx-l4.dtsi | 727 mac_control = <0x20>;
|