Home
last modified time | relevance | path

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

/drivers/net/team/
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 …]
/drivers/gpu/drm/rockchip/
Dcdn-dp-core.c201 if (dp->active_port < 0 || dp->active_port >= dp->ports) { in cdn_dp_check_sink_connection()
206 port = dp->port[dp->active_port]; in cdn_dp_check_sink_connection()
429 dp->active_port = port->id; in cdn_dp_enable_phy()
459 dp->active_port = -1; in cdn_dp_disable_phy()
1023 dp->active_port = -1; in cdn_dp_bind()
Dcdn-dp-core.h100 int active_port; member
/drivers/usb/cdns3/
Dcdnsp-gadget.c116 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()
1495 port_regs = pdev->active_port->regs; in __cdnsp_gadget_wakeup()
1746 port_regs = pdev->active_port->regs; in cdnsp_irq_reset()
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()
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()
752 struct cdnsp_port *port = pdev->active_port; in cdnsp_update_port_id()
773 pdev->active_port = port; in cdnsp_update_port_id()
804 port_regs = pdev->active_port->regs; in cdnsp_handle_port_status()
814 trace_cdnsp_handle_port_status(pdev->active_port->port_num, portsc); in cdnsp_handle_port_status()
Dcdnsp-trace.h424 __entry->port_num = pdev->active_port ?
425 pdev->active_port->port_num : 0xFF;
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()
Dcdnsp-gadget.h1461 struct cdnsp_port *active_port; member
/drivers/net/wireless/marvell/mwifiex/
Dusb.c753 u8 active_port = MWIFIEX_USB_EP_DATA; in mwifiex_usb_port_resync() local
779 active_port = priv->usb_port; in mwifiex_usb_port_resync()
786 priv->usb_port = active_port; in mwifiex_usb_port_resync()
789 if (active_port == card->port[i].tx_data_ep) in mwifiex_usb_port_resync()