Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mscc/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A 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()
/linux/net/ethtool/
H A 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/drivers/tty/serial/
H A 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()
H A Dserial_base.h25 unsigned int tx_enabled:1; member
H A 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/drivers/net/
H A 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/drivers/net/ethernet/stmicro/stmmac/
H A 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()
H A Dstmmac.h164 bool tx_enabled; member
/linux/sound/soc/intel/keembay/
H A 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/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.h229 bool tx_enabled; member
H A Dnfp_nsp_eth.c149 dst->tx_enabled = FIELD_GET(NSP_ETH_STATE_TX_ENABLED, state); in nfp_eth_port_translate()
/linux/include/linux/
H A Dethtool.h627 bool tx_enabled; member
646 bool tx_enabled; member
H A Dnetdevice.h2915 tx_enabled : 1; member
/linux/drivers/net/ethernet/ti/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c205 if (!lag_info->tx_enabled) in mlx5e_rep_changelowerstate_event()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_lag.c275 is_active = lag->link_up && lag->tx_enabled; in lan966x_lag_port_changelowerstate()
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_ethtool.c985 state->tx_enabled = !!(val & ENETC_MMCSR_LPE); /* mirror of MMCSR_ME */ in enetc_get_mm()
986 state->tx_active = state->tx_enabled && in enetc_get_mm()
1106 if (cfg->tx_enabled) in enetc_set_mm()
/linux/drivers/tty/
H A 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/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c654 if (lag_lower_info->tx_enabled) in nfp_fl_lag_changels_event()
/linux/include/soc/mscc/
H A Docelot.h756 bool tx_enabled; member
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_main.c1084 enabled = lower_state_info->link_up && lower_state_info->tx_enabled; in prestera_netdev_port_lower_event()
/linux/drivers/net/team/
H A Dteam_core.c89 info.tx_enabled = team_port_enabled(port); in team_lower_state_changed()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c4662 if (info->tx_enabled) in mlxsw_sp_port_lag_changed()
/linux/drivers/net/bonding/
H A Dbond_main.c1899 info.tx_enabled = bond_is_active_slave(slave); in bond_lower_state_changed()