Lines Matching defs:on
27 * QMI is wrapped in CDC, using CDC encapsulated commands on the
41 * commands on any of the serial interfaces driven by the option driver
45 * parses the CDC functional descriptors on the control interface to
178 static int qmi_wwan_manage_power(struct usbnet *dev, int on)
183 dev_dbg(&dev->intf->dev, "%s() pmcount=%d, on=%d\n", __func__, atomic_read(pmcount), on);
185 if ((on && atomic_add_return(1, pmcount) == 1) || (!on && atomic_dec_and_test(pmcount))) {
190 dev->intf->needs_remote_wakeup = on;
197 static int qmi_wwan_cdc_wdm_manage_power(struct usb_interface *intf, int on)
204 return qmi_wwan_manage_power(dev, on);
230 dev_info(&intf->dev, "not on our whitelist - ignored");