Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/char/
Dvirtio_console.c246 bool host_connected; member
724 return !port_has_data(port) && port->host_connected; in will_read_block()
735 if (!port->host_connected) in will_write_block()
768 if (!port->host_connected) in port_fops_read()
791 if (!port_has_data(port) && !port->host_connected) in port_fops_read()
1001 if (!port->host_connected) in port_fops_poll()
1318 seq_printf(s, "host_connected: %d\n", port->host_connected); in debugfs_show()
1409 port->host_connected = port->guest_connected = false; in add_port()
1463 port->host_connected = true; in add_port()
1552 port->host_connected = false; in unplug_port()
[all …]
/linux-4.19.296/drivers/extcon/
Dextcon-usbc-cros-ec.c300 bool host_connected = false, device_connected = false; in extcon_cros_ec_detect_cable() local
314 host_connected = true; in extcon_cros_ec_detect_cable()
317 extcon_set_state(info->edev, EXTCON_USB_HOST, host_connected); in extcon_cros_ec_detect_cable()