/openbmc/linux/drivers/net/team/ |
H A D | team_mode_activebackup.c | 17 struct team_port __rcu *active_port; member 28 struct team_port *active_port; in ab_receive() local 30 active_port = rcu_dereference(ab_priv(team)->active_port); in ab_receive() 31 if (active_port != port) in ab_receive() 38 struct team_port *active_port; in ab_transmit() local 40 active_port = rcu_dereference_bh(ab_priv(team)->active_port); in ab_transmit() 41 if (unlikely(!active_port)) in ab_transmit() 43 if (team_dev_queue_xmit(team, active_port, skb)) in ab_transmit() 54 if (ab_priv(team)->active_port == port) { in ab_port_leave() 55 RCU_INIT_POINTER(ab_priv(team)->active_port, NULL); in ab_port_leave() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lag.c | 632 act_port = lag->active_port; in ice_lag_move_new_vf_nodes() 951 act_port = lag->active_port; in ice_lag_unlink() 956 lag->active_port = ICE_LAG_INVALID_PORT; in ice_lag_unlink() 962 act_port = primary_lag->active_port; in ice_lag_unlink() 969 primary_lag->active_port = ICE_LAG_INVALID_PORT; in ice_lag_unlink() 1296 if (prim_port != lag->active_port && in ice_lag_monitor_link() 1297 lag->active_port != ICE_LAG_INVALID_PORT) { in ice_lag_monitor_link() 1299 lag->active_port); in ice_lag_monitor_link() 1301 lag->active_port = ICE_LAG_INVALID_PORT; in ice_lag_monitor_link() 1349 if (lag->active_port == ICE_LAG_INVALID_PORT) { in ice_lag_monitor_active() [all …]
|
H A D | ice_lag.h | 38 u8 active_port; /* lport value for the current active port */ member
|
H A D | ice_vf_lib.c | 875 act_prt = lag->active_port; in ice_reset_vf()
|
H A D | ice_virtchnl.c | 1600 act_prt = lag->active_port; in ice_vc_cfg_qs_msg()
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-core.c | 206 if (dp->active_port < 0 || dp->active_port >= dp->ports) { in cdn_dp_check_sink_connection() 211 port = dp->port[dp->active_port]; in cdn_dp_check_sink_connection() 433 dp->active_port = port->id; in cdn_dp_enable_phy() 463 dp->active_port = -1; in cdn_dp_disable_phy() 1046 dp->active_port = -1; in cdn_dp_bind()
|
H A D | cdn-dp-core.h | 101 int active_port; member
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdnsp-gadget.c | 116 if (pdev->active_port) in cdnsp_set_link_state() 117 port_num = pdev->active_port->port_num; in cdnsp_set_link_state() 812 pdev->active_port = NULL; in cdnsp_disable_slot() 865 if (!pdev->active_port->port_num) in cdnsp_setup_device() 909 if (pdev->active_port != &pdev->usb2_port || !pdev->gadget.lpm_capable) in cdnsp_set_usb2_hardware_lpm() 916 &pdev->active_port->regs->portpmsc); in cdnsp_set_usb2_hardware_lpm() 918 writel(PORT_L1S_NYET, &pdev->active_port->regs->portpmsc); in cdnsp_set_usb2_hardware_lpm() 1492 port_regs = pdev->active_port->regs; in __cdnsp_gadget_wakeup() 1743 port_regs = pdev->active_port->regs; in cdnsp_irq_reset()
|
H A D | cdnsp-ep0.c | 197 temp = readl(&pdev->active_port->regs->portpmsc) & ~GENMASK(31, 28); in cdnsp_enter_test_mode() 199 writel(temp, &pdev->active_port->regs->portpmsc); in cdnsp_enter_test_mode()
|
H A D | cdnsp-ring.c | 262 if (pdev->active_port == &pdev->usb2_port && pdev->gadget.lpm_capable) in cdnsp_force_l0_go() 263 cdnsp_set_link_state(pdev, &pdev->active_port->regs->portsc, XDEV_U0); in cdnsp_force_l0_go() 754 struct cdnsp_port *port = pdev->active_port; in cdnsp_update_port_id() 775 pdev->active_port = port; in cdnsp_update_port_id() 806 port_regs = pdev->active_port->regs; in cdnsp_handle_port_status() 816 trace_cdnsp_handle_port_status(pdev->active_port->port_num, portsc); in cdnsp_handle_port_status()
|
H A D | cdnsp-trace.h | 422 __entry->port_num = pdev->active_port ? 423 pdev->active_port->port_num : 0xFF;
|
H A D | cdnsp-mem.c | 760 port = DEV_PORT(pdev->active_port->port_num); in cdnsp_setup_addressable_priv_dev() 1097 pdev->active_port = NULL; in cdnsp_mem_cleanup()
|
H A D | cdnsp-gadget.h | 1464 struct cdnsp_port *active_port; member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | lag.c | 71 u8 active_port = 0; in lag_active_port_bits() local 78 active_port |= BIT_MASK(enabled_ports[idx]); in lag_active_port_bits() 80 return active_port; in lag_active_port_bits() 105 MLX5_SET(lagc, lag_ctx, active_port, in mlx5_cmd_create_lag() 424 MLX5_SET(lagc, lag_ctx, active_port, ports); in mlx5_cmd_modify_active_port()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | usb.c | 741 u8 active_port = MWIFIEX_USB_EP_DATA; in mwifiex_usb_port_resync() local 767 active_port = priv->usb_port; in mwifiex_usb_port_resync() 774 priv->usb_port = active_port; in mwifiex_usb_port_resync() 777 if (active_port == card->port[i].tx_data_ep) in mwifiex_usb_port_resync()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 11375 u8 active_port[0x4]; member
|