Home
last modified time | relevance | path

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

/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()
Docelot_net.c1555 bool is_active = info->link_up && info->tx_enabled; in ocelot_netdevice_changelowerstate()
/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()
1177 ldev->tracker.netdev_state[fn].tx_enabled = 0; in mlx5_ldev_add_netdev()
1484 if (ldev->tracker.netdev_state[i].tx_enabled) in mlx5_lag_get_roce_netdev()
/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()
159 if (s->tx_enabled) { in uart_clps711x_int_tx()
161 s->tx_enabled = 0; in uart_clps711x_int_tx()
496 s->tx_enabled = 1; in uart_clps711x_probe()
Dserial_port.c44 if (!port_dev->tx_enabled) in serial_port_runtime_resume()
76 if (!port_dev->tx_enabled) { in serial_port_runtime_suspend()
99 port_dev->tx_enabled = enabled; in serial_base_port_set_tx()
Dsamsung_tty.c134 unsigned char tx_enabled; member
291 if (!ourport->tx_enabled) in s3c24xx_serial_stop_tx()
318 ourport->tx_enabled = 0; in s3c24xx_serial_stop_tx()
496 if (!ourport->tx_enabled) { in s3c24xx_serial_start_tx()
500 ourport->tx_enabled = 1; in s3c24xx_serial_start_tx()
1174 ourport->tx_enabled = 0; in s3c24xx_serial_shutdown()
1195 ourport->tx_enabled = 0; in s3c64xx_serial_shutdown()
1226 ourport->tx_enabled = 0; in apple_s5l_serial_shutdown()
1255 ourport->tx_enabled = 1; in s3c24xx_serial_startup()
1303 ourport->tx_enabled = 0; in s3c64xx_serial_startup()
[all …]
Dserial_base.h25 unsigned int tx_enabled:1; member
/drivers/bluetooth/
Dhci_nokia.c145 bool tx_enabled; member
405 if (btdev->tx_enabled) { in nokia_setup()
408 btdev->tx_enabled = false; in nokia_setup()
455 btdev->tx_enabled = false; in nokia_setup()
653 if (btdev->tx_enabled == !!result) in nokia_dequeue()
665 btdev->tx_enabled = !!result; in nokia_dequeue()
/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()
/drivers/net/dsa/
Drzn1_a5psw.c438 bool learning_enabled, rx_enabled, tx_enabled; in a5psw_port_stp_state_set() local
447 tx_enabled = false; in a5psw_port_stp_state_set()
452 tx_enabled = false; in a5psw_port_stp_state_set()
457 tx_enabled = true; in a5psw_port_stp_state_set()
467 a5psw_port_tx_enable(a5psw, port, tx_enabled); in a5psw_port_stp_state_set()
/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp.h227 bool tx_enabled; member
Dnfp_nsp_eth.c145 dst->tx_enabled = FIELD_GET(NSP_ETH_STATE_TX_ENABLED, state); in nfp_eth_port_translate()
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbond.c205 if (!lag_info->tx_enabled) in mlx5e_rep_changelowerstate_event()
/drivers/net/ethernet/microchip/lan966x/
Dlan966x_lag.c275 is_active = lag->link_up && lag->tx_enabled; in lan966x_lag_port_changelowerstate()
/drivers/net/ethernet/freescale/enetc/
Denetc_ethtool.c995 state->tx_enabled = !!(val & ENETC_MMCSR_LPE); /* mirror of MMCSR_ME */ in enetc_get_mm()
996 state->tx_active = state->tx_enabled && in enetc_get_mm()
1116 if (cfg->tx_enabled) in enetc_set_mm()
/drivers/tty/
Dsynclink_gt.c280 bool tx_enabled; member
814 if (!info->tx_enabled) in send_xchar()
923 if (info->tx_enabled && info->params.mode == MGSL_MODE_ASYNC) in tx_hold()
2573 if (!info->tx_enabled) in tx_enable()
2576 if (info->tx_enabled) in tx_enable()
3917 if (!info->tx_enabled) { in tx_start()
3920 info->tx_enabled = true; in tx_start()
3972 info->tx_enabled = false; in tx_stop()
/drivers/net/ethernet/netronome/nfp/flower/
Dlag_conf.c655 if (lag_lower_info->tx_enabled) in nfp_fl_lag_changels_event()
/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c1083 enabled = lower_state_info->link_up && lower_state_info->tx_enabled; in prestera_netdev_port_lower_event()
/drivers/net/team/
Dteam.c88 info.tx_enabled = team_port_enabled(port); in team_lower_state_changed()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c4580 if (info->tx_enabled) in mlxsw_sp_port_lag_changed()
/drivers/net/bonding/
Dbond_main.c1765 info.tx_enabled = bond_is_active_slave(slave); in bond_lower_state_changed()