Lines Matching full:observed
28 bool observed; member
38 * usbport_trig_usb_dev_observed - Check if dev is connected to observed port
51 return port->observed; in usbport_trig_usb_dev_observed()
90 return sprintf(buf, "%d\n", port->observed) + 1; in usbport_trig_port_show()
102 port->observed = 0; in usbport_trig_port_store()
104 port->observed = 1; in usbport_trig_port_store()
127 * usbport_trig_port_observed - Check if port should be observed
201 port->observed = usbport_trig_port_observed(usbport_data, usb_dev, in usbport_trig_add_port()
282 bool observed; in usbport_trig_notify() local
284 observed = usbport_trig_usb_dev_observed(usbport_data, usb_dev); in usbport_trig_notify()
289 if (observed && usbport_data->count++ == 0) in usbport_trig_notify()
294 if (observed && --usbport_data->count == 0) in usbport_trig_notify()