Home
last modified time | relevance | path

Searched refs:active_port (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/team/
Dteam_mode_activebackup.c21 struct team_port __rcu *active_port; member
32 struct team_port *active_port; in ab_receive() local
34 active_port = rcu_dereference(ab_priv(team)->active_port); in ab_receive()
35 if (active_port != port) in ab_receive()
42 struct team_port *active_port; in ab_transmit() local
44 active_port = rcu_dereference_bh(ab_priv(team)->active_port); in ab_transmit()
45 if (unlikely(!active_port)) in ab_transmit()
47 if (team_dev_queue_xmit(team, active_port, skb)) in ab_transmit()
58 if (ab_priv(team)->active_port == port) { in ab_port_leave()
59 RCU_INIT_POINTER(ab_priv(team)->active_port, NULL); in ab_port_leave()
[all …]
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dusb.c776 u8 active_port = MWIFIEX_USB_EP_DATA; in mwifiex_usb_port_resync() local
802 active_port = priv->usb_port; in mwifiex_usb_port_resync()
809 priv->usb_port = active_port; in mwifiex_usb_port_resync()
812 if (active_port == card->port[i].tx_data_ep) in mwifiex_usb_port_resync()