Home
last modified time | relevance | path

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

/linux/drivers/net/team/
H A Dteam_mode_activebackup.c17 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 …]
/linux/drivers/usb/cdns3/
H A Dcdnsp-gadget.c118 if (pdev->active_port) in cdnsp_set_link_state()
119 port_num = pdev->active_port->port_num; in cdnsp_set_link_state()
850 pdev->active_port = NULL; in cdnsp_disable_slot()
903 if (!pdev->active_port->port_num) in cdnsp_setup_device()
947 if (pdev->active_port != &pdev->usb2_port || !pdev->gadget.lpm_capable) in cdnsp_set_usb2_hardware_lpm()
954 &pdev->active_port->regs->portpmsc); in cdnsp_set_usb2_hardware_lpm()
956 writel(PORT_L1S_NYET, &pdev->active_port->regs->portpmsc); in cdnsp_set_usb2_hardware_lpm()
1526 port_regs = pdev->active_port->regs; in __cdnsp_gadget_wakeup()
1777 port_regs = pdev->active_port->regs; in cdnsp_irq_reset()
H A Dcdnsp-ep0.c197 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 Dcdnsp-ring.c262 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()
755 struct cdnsp_port *port = pdev->active_port; in cdnsp_update_port_id()
778 pdev->active_port = port; in cdnsp_update_port_id()
809 port_regs = pdev->active_port->regs; in cdnsp_handle_port_status()
819 trace_cdnsp_handle_port_status(pdev->active_port->port_num, portsc); in cdnsp_handle_port_status()
H A Dcdnsp-mem.c760 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 Dcdnsp-gadget.h1478 struct cdnsp_port *active_port; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dusb.c741 u8 active_port = MWIFIEX_USB_EP_DATA; in mwifiex_usb_port_resync() local
763 active_port = priv->usb_port; in mwifiex_usb_port_resync()
769 priv->usb_port = active_port; in mwifiex_usb_port_resync()
772 if (active_port == card->port[i].tx_data_ep) in mwifiex_usb_port_resync()
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h12218 u8 active_port[0x4]; member