Home
last modified time | relevance | path

Searched refs:mac_control (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/
H A 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 in init_shared_mem()
878 struct mac_info *mac_control; free_shared_mem() local
1197 struct mac_info *mac_control = &nic->mac_control; init_nic() local
2214 struct mac_info *mac_control = &nic->mac_control; start_nic() local
2372 struct mac_info *mac_control = &nic->mac_control; free_tx_buffers() local
2666 struct mac_info *mac_control = &sp->mac_control; free_rxd_blk() local
2718 struct mac_info *mac_control = &sp->mac_control; free_rx_buffers() local
2795 struct mac_info *mac_control = &nic->mac_control; s2io_poll_inta() local
2836 struct mac_info *mac_control = &nic->mac_control; s2io_netpoll() local
4016 struct mac_info *mac_control = &sp->mac_control; s2io_xmit() local
4665 struct mac_info *mac_control; s2io_isr() local
4792 struct mac_info *mac_control = &sp->mac_control; s2io_get_stats() local
6854 struct mac_info *mac_control = &sp->mac_control; rxd_owner_bit_reset() local
7087 struct mac_info *mac_control; s2io_card_up() local
7664 struct mac_info *mac_control; s2io_init_nic() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/neterion/
H A 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 in init_shared_mem()
878 struct mac_info *mac_control; free_shared_mem() local
1199 struct mac_info *mac_control = &nic->mac_control; init_nic() local
2216 struct mac_info *mac_control = &nic->mac_control; start_nic() local
2374 struct mac_info *mac_control = &nic->mac_control; free_tx_buffers() local
2668 struct mac_info *mac_control = &sp->mac_control; free_rxd_blk() local
2720 struct mac_info *mac_control = &sp->mac_control; free_rx_buffers() local
2797 struct mac_info *mac_control = &nic->mac_control; s2io_poll_inta() local
2838 struct mac_info *mac_control = &nic->mac_control; s2io_netpoll() local
4020 struct mac_info *mac_control = &sp->mac_control; s2io_xmit() local
4669 struct mac_info *mac_control; s2io_isr() local
4796 struct mac_info *mac_control = &sp->mac_control; s2io_get_stats() local
6861 struct mac_info *mac_control = &sp->mac_control; rxd_owner_bit_reset() local
7094 struct mac_info *mac_control; s2io_card_up() local
7669 struct mac_info *mac_control; s2io_init_nic() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/
H A 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()
H A Dlibertas_tf.h241 u16 mac_control; member
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas_tf/
H A 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()
H A Dlibertas_tf.h241 u16 mac_control; member
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
H A 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 in lbs_init_adapter()
[all...]
H A Ddev.h172 u16 mac_control; member
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/
H A 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 in lbs_init_adapter()
[all...]
H A Ddev.h172 u16 mac_control; member
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw_new.c660 u32 mac_control = 0; in cpsw_adjust_link() local
669 mac_control = CPSW_SL_CTL_GMII_EN; in cpsw_adjust_link()
672 mac_control |= CPSW_SL_CTL_GIG; in cpsw_adjust_link()
674 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in cpsw_adjust_link()
678 mac_control |= CPSW_SL_CTL_IFCTL_A; in cpsw_adjust_link()
681 mac_control |= CPSW_SL_CTL_EXT_EN; /* In Band mode */ in cpsw_adjust_link()
684 mac_control |= CPSW_SL_CTL_RX_FLOW_EN; in cpsw_adjust_link()
687 mac_control |= CPSW_SL_CTL_TX_FLOW_EN; in cpsw_adjust_link()
689 if (mac_control != slave->mac_control) in cpsw_adjust_link()
[all...]
H A Dcpsw.c466 u32 mac_control = 0; in _cpsw_adjust_link() local
476 mac_control = CPSW_SL_CTL_GMII_EN; in _cpsw_adjust_link()
479 mac_control |= CPSW_SL_CTL_GIG; in _cpsw_adjust_link()
481 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in _cpsw_adjust_link()
485 mac_control |= CPSW_SL_CTL_IFCTL_A; in _cpsw_adjust_link()
488 mac_control |= CPSW_SL_CTL_EXT_EN; /* In Band mode */ in _cpsw_adjust_link()
491 mac_control |= CPSW_SL_CTL_RX_FLOW_EN; in _cpsw_adjust_link()
494 mac_control |= CPSW_SL_CTL_TX_FLOW_EN; in _cpsw_adjust_link()
496 if (mac_control != slave->mac_control) in _cpsw_adjust_link()
[all...]
H A Ddavinci_emac.c157 /* EMAC mac_control register */
516 u32 mac_control; in emac_update_phystatus() local
521 mac_control = emac_read(EMAC_MACCONTROL); in emac_update_phystatus()
522 cur_duplex = (mac_control & EMAC_MACCONTROL_FULLDUPLEXEN) ? in emac_update_phystatus()
533 mac_control |= (EMAC_MACCONTROL_FULLDUPLEXEN); in emac_update_phystatus()
535 mac_control &= ~(EMAC_MACCONTROL_FULLDUPLEXEN); in emac_update_phystatus()
539 mac_control = emac_read(EMAC_MACCONTROL); in emac_update_phystatus()
540 mac_control |= (EMAC_DM646X_MACCONTORL_GIG | in emac_update_phystatus()
544 mac_control &= ~(EMAC_DM646X_MACCONTORL_GIGFORCE | in emac_update_phystatus()
548 mac_control | in emac_update_phystatus()
1164 u32 val, mbp_enable, mac_control; emac_hw_enable() local
1621 u32 mac_control; emac_dev_getnetstats() local
[all...]
H A 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 in netcp_ethss_link_state_action()
[all...]
H A Dam65-cpsw-nuss.c165 u32 mac_control = 0; in am65_cpsw_nuss_adjust_link() local
171 mac_control = CPSW_SL_CTL_GMII_EN; in am65_cpsw_nuss_adjust_link()
174 mac_control |= CPSW_SL_CTL_GIG; in am65_cpsw_nuss_adjust_link()
177 mac_control |= CPSW_SL_CTL_EXT_EN; in am65_cpsw_nuss_adjust_link()
179 mac_control |= CPSW_SL_CTL_IFCTL_A; in am65_cpsw_nuss_adjust_link()
181 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in am65_cpsw_nuss_adjust_link()
187 mac_control |= CPSW_SL_CTL_RX_FLOW_EN; in am65_cpsw_nuss_adjust_link()
190 mac_control |= CPSW_SL_CTL_TX_FLOW_EN; in am65_cpsw_nuss_adjust_link()
192 cpsw_sl_ctl_set(port->slave.mac_sl, mac_control); in am65_cpsw_nuss_adjust_link()
H A Dcpsw_priv.h298 u32 mac_control; /* Mac control register */ member
306 u32 mac_control; member
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dcpsw_new.c654 u32 mac_control = 0; in cpsw_adjust_link() local
663 mac_control = CPSW_SL_CTL_GMII_EN; in cpsw_adjust_link()
666 mac_control |= CPSW_SL_CTL_GIG; in cpsw_adjust_link()
668 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in cpsw_adjust_link()
672 mac_control |= CPSW_SL_CTL_IFCTL_A; in cpsw_adjust_link()
675 mac_control |= CPSW_SL_CTL_EXT_EN; /* In Band mode */ in cpsw_adjust_link()
678 mac_control |= CPSW_SL_CTL_RX_FLOW_EN; in cpsw_adjust_link()
681 mac_control |= CPSW_SL_CTL_TX_FLOW_EN; in cpsw_adjust_link()
683 if (mac_control != slave->mac_control) in cpsw_adjust_link()
[all...]
H A 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()
[all...]
H A Ddavinci_emac.c156 /* EMAC mac_control register */
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 | in emac_update_phystatus()
1171 u32 val, mbp_enable, mac_control; emac_hw_enable() local
1658 u32 mac_control; emac_dev_getnetstats() local
[all...]
H A 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 in netcp_ethss_link_state_action()
[all...]
H A Dam65-cpsw-nuss.c1539 u32 mac_control; in am65_cpsw_nuss_mac_link_down() local
1552 mac_control = CPSW_SL_CTL_GMII_EN | CPSW_SL_CTL_GIG | CPSW_SL_CTL_IFCTL_A | in am65_cpsw_nuss_mac_link_down()
1556 mac_control |= CPSW_SL_CTL_EXT_EN; in am65_cpsw_nuss_mac_link_down()
1558 cpsw_sl_ctl_clr(port->slave.mac_sl, mac_control); in am65_cpsw_nuss_mac_link_down()
1572 u32 mac_control = CPSW_SL_CTL_GMII_EN; in am65_cpsw_nuss_mac_link_up() local
1579 mac_control |= CPSW_SL_CTL_GIG; in am65_cpsw_nuss_mac_link_up()
1583 mac_control |= CPSW_SL_CTL_EXT_EN; in am65_cpsw_nuss_mac_link_up()
1585 mac_control |= CPSW_SL_CTL_IFCTL_A; in am65_cpsw_nuss_mac_link_up()
1587 mac_control |= CPSW_SL_CTL_FULLDUPLEX; in am65_cpsw_nuss_mac_link_up()
1591 mac_control | in am65_cpsw_nuss_mac_link_up()
[all...]
H A Dcpsw_priv.h300 u32 mac_control; /* Mac control register */ member
308 u32 mac_control; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
H A Dwlan.h287 __le16 mac_control; member
H A Dtx.c422 if (super->f.mac_control & cpu_to_le16(AR9170_TX_MAC_IMM_BA)) { in carl9170_tx_status_process_ampdu()
910 * taken from mac_control. For all fallback rate, the firmware in carl9170_tx_apply_rateset()
911 * updates the mac_control flags from the rate info field. in carl9170_tx_apply_rateset()
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()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/
H A Dwlan.h287 __le16 mac_control; member

Completed in 44 milliseconds

12