Home
last modified time | relevance | path

Searched refs:tx_enabled (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/drivers/net/ethernet/mscc/
Docelot_mm.c112 if (!mm->tx_enabled) in ocelot_mm_update_port_status()
190 if (cfg->tx_enabled) in ocelot_port_set_mm()
221 if (mm->tx_enabled && !cfg->tx_enabled) { in ocelot_port_set_mm()
226 mm->tx_enabled = cfg->tx_enabled; in ocelot_port_set_mm()
250 state->tx_enabled = !!(val & DEV_MM_CONFIG_ENABLE_CONFIG_MM_TX_ENA); in ocelot_port_get_mm()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmp.c60 tracker.netdev_state[MLX5_LAG_P1].tx_enabled = true; in mlx5_lag_set_port_affinity()
61 tracker.netdev_state[MLX5_LAG_P2].tx_enabled = true; in mlx5_lag_set_port_affinity()
66 tracker.netdev_state[MLX5_LAG_P1].tx_enabled = true; in mlx5_lag_set_port_affinity()
68 tracker.netdev_state[MLX5_LAG_P2].tx_enabled = false; in mlx5_lag_set_port_affinity()
72 tracker.netdev_state[MLX5_LAG_P1].tx_enabled = false; in mlx5_lag_set_port_affinity()
74 tracker.netdev_state[MLX5_LAG_P2].tx_enabled = true; in mlx5_lag_set_port_affinity()
83 if (tracker.netdev_state[MLX5_LAG_P1].tx_enabled) in mlx5_lag_set_port_affinity()
88 if (tracker.netdev_state[MLX5_LAG_P2].tx_enabled) in mlx5_lag_set_port_affinity()
Dlag.c158 if (!tracker->netdev_state[i].tx_enabled || in mlx5_infer_tx_disabled()
171 if (tracker->netdev_state[i].tx_enabled && in mlx5_infer_tx_enabled()
327 if (tracker->netdev_state[i].tx_enabled && in mlx5_infer_tx_affinity_mapping()
462 if (ldev->tracker.netdev_state[i].tx_enabled) in mlx5_lag_active_backup_get_netdev()
1237 ldev->tracker.netdev_state[fn].tx_enabled = 0; in mlx5_ldev_add_netdev()
/linux-6.12.1/net/ethtool/
Dmm.c131 if (nla_put_u8(skb, ETHTOOL_A_MM_TX_ENABLED, state->tx_enabled) || in mm_fill_reply()
170 cfg->tx_enabled = state->tx_enabled; in mm_state_to_cfg()
202 ethnl_update_bool(&cfg.tx_enabled, tb[ETHTOOL_A_MM_TX_ENABLED], &mod); in ethnl_set_mm()
217 if (cfg.verify_enabled && !cfg.tx_enabled) { in ethnl_set_mm()
222 if (cfg.tx_enabled && !cfg.pmac_enabled) { in ethnl_set_mm()
/linux-6.12.1/drivers/tty/serial/
Dclps711x.c56 unsigned int tx_enabled; member
75 if (s->tx_enabled) { in uart_clps711x_stop_tx()
77 s->tx_enabled = 0; in uart_clps711x_stop_tx()
85 if (!s->tx_enabled) { in uart_clps711x_start_tx()
86 s->tx_enabled = 1; in uart_clps711x_start_tx()
160 if (s->tx_enabled) { in uart_clps711x_int_tx()
162 s->tx_enabled = 0; in uart_clps711x_int_tx()
496 s->tx_enabled = 1; in uart_clps711x_probe()
Dserial_port.c43 if (!port_dev->tx_enabled) in serial_port_runtime_resume()
75 if (!port_dev->tx_enabled) { in serial_port_runtime_suspend()
98 port_dev->tx_enabled = enabled; in serial_base_port_set_tx()
Dserial_base.h25 unsigned int tx_enabled:1; member
Dsamsung_tty.c133 unsigned char tx_enabled; member
290 if (!ourport->tx_enabled) in s3c24xx_serial_stop_tx()
317 ourport->tx_enabled = 0; in s3c24xx_serial_stop_tx()
493 if (!ourport->tx_enabled) { in s3c24xx_serial_start_tx()
497 ourport->tx_enabled = 1; in s3c24xx_serial_start_tx()
1172 ourport->tx_enabled = 0; in s3c64xx_serial_shutdown()
1204 ourport->tx_enabled = 0; in apple_s5l_serial_shutdown()
1239 ourport->tx_enabled = 0; in s3c64xx_serial_startup()
1277 ourport->tx_enabled = 0; in apple_s5l_serial_startup()
2116 if (ourport->tx_enabled) in s3c24xx_serial_resume_noirq()
[all …]
/linux-6.12.1/drivers/bluetooth/
Dhci_nokia.c140 bool tx_enabled; member
400 if (btdev->tx_enabled) { in nokia_setup()
403 btdev->tx_enabled = false; in nokia_setup()
450 btdev->tx_enabled = false; in nokia_setup()
648 if (btdev->tx_enabled == !!result) in nokia_dequeue()
660 btdev->tx_enabled = !!result; in nokia_dequeue()
/linux-6.12.1/drivers/net/
Dnet_failover.c444 info.tx_enabled = true; in net_failover_lower_state_changed()
446 info.tx_enabled = false; in net_failover_lower_state_changed()
450 info.tx_enabled = false; in net_failover_lower_state_changed()
452 info.tx_enabled = true; in net_failover_lower_state_changed()
/linux-6.12.1/drivers/net/dsa/
Drzn1_a5psw.c448 bool learning_enabled, rx_enabled, tx_enabled; in a5psw_port_stp_state_set() local
457 tx_enabled = false; in a5psw_port_stp_state_set()
462 tx_enabled = false; in a5psw_port_stp_state_set()
467 tx_enabled = true; in a5psw_port_stp_state_set()
477 a5psw_port_tx_enable(a5psw, port, tx_enabled); in a5psw_port_stp_state_set()
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c1283 state->tx_enabled = priv->fpe_cfg.tx_enabled; in stmmac_get_mm()
1290 if (state->tx_enabled && in stmmac_get_mm()
1327 fpe_cfg->tx_enabled = cfg->tx_enabled; in stmmac_set_mm()
Dstmmac.h172 bool tx_enabled; member
/linux-6.12.1/sound/soc/intel/keembay/
Dkmb_platform.c300 u32 tx_enabled = 0; in kmb_i2s_irq_handler() local
310 tx_enabled = readl(kmb_i2s->i2s_base + ITER); in kmb_i2s_irq_handler()
343 if ((isr[i] & ISR_TXFE) && tx_enabled) { in kmb_i2s_irq_handler()
/linux-6.12.1/net/dsa/
Dport.c591 bool tx_enabled; in dsa_port_lag_change() local
601 tx_enabled = linfo->link_up && linfo->tx_enabled; in dsa_port_lag_change()
603 if (tx_enabled == dp->lag_tx_enabled) in dsa_port_lag_change()
606 dp->lag_tx_enabled = tx_enabled; in dsa_port_lag_change()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp.h229 bool tx_enabled; member
Dnfp_nsp_eth.c149 dst->tx_enabled = FIELD_GET(NSP_ETH_STATE_TX_ENABLED, state); in nfp_eth_port_translate()
/linux-6.12.1/include/linux/
Dethtool.h627 bool tx_enabled; member
646 bool tx_enabled; member
/linux-6.12.1/drivers/net/ethernet/ti/
Dam65-cpsw-ethtool.c797 state->tx_enabled = !!(iet_ctrl & AM65_CPSW_PN_IET_MAC_PENABLE); in am65_cpsw_get_mm()
818 state->tx_active = state->tx_enabled && in am65_cpsw_get_mm()
867 am65_cpsw_port_iet_tx_enable(port, cfg->tx_enabled); in am65_cpsw_set_mm()
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_lag.c275 is_active = lag->link_up && lag->tx_enabled; in lan966x_lag_port_changelowerstate()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbond.c205 if (!lag_info->tx_enabled) in mlx5e_rep_changelowerstate_event()
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c996 state->tx_enabled = !!(val & ENETC_MMCSR_LPE); /* mirror of MMCSR_ME */ in enetc_get_mm()
997 state->tx_active = state->tx_enabled && in enetc_get_mm()
1117 if (cfg->tx_enabled) in enetc_set_mm()
/linux-6.12.1/drivers/tty/
Dsynclink_gt.c281 bool tx_enabled; member
815 if (!info->tx_enabled) in send_xchar()
924 if (info->tx_enabled && info->params.mode == MGSL_MODE_ASYNC) in tx_hold()
2574 if (!info->tx_enabled) in tx_enable()
2577 if (info->tx_enabled) in tx_enable()
3918 if (!info->tx_enabled) { in tx_start()
3921 info->tx_enabled = true; in tx_start()
3973 info->tx_enabled = false; in tx_stop()
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
Dlag_conf.c654 if (lag_lower_info->tx_enabled) in nfp_fl_lag_changels_event()
/linux-6.12.1/include/soc/mscc/
Docelot.h756 bool tx_enabled; member

12