Home
last modified time | relevance | path

Searched refs:port_owner (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/plip/
Dplip.c216 int port_owner; member
296 nl->port_owner = 0; in plip_init_netdev()
878 nl->should_relinquish = nl->port_owner = 0; in plip_connection_close()
971 if (!nl->port_owner) { in plip_tx_packet()
974 nl->port_owner = 1; in plip_tx_packet()
1065 if (!nl->port_owner) { in plip_open()
1067 nl->port_owner = 1; in plip_open()
1141 if (nl->port_owner) { in plip_close()
1143 nl->port_owner = 0; in plip_close()
1176 nl->port_owner = 0; /* Remember that we released the bus */ in plip_preempt()
[all …]
/kernel/linux/linux-5.10/drivers/usb/core/
Dhub.h96 struct usb_dev_state *port_owner; member
Dhub.c1961 *ppowner = &(hub->ports[port1 - 1]->port_owner); in find_port_owner()
2004 if (hub->ports[n]->port_owner == owner) in usb_hub_release_all_ports()
2005 hub->ports[n]->port_owner = NULL; in usb_hub_release_all_ports()
2018 return !!hub->ports[udev->portnum - 1]->port_owner; in usb_device_is_owned()
5244 && !port_dev->port_owner) in hub_port_connect()