Lines Matching defs:on

30  * QMI is wrapped in CDC, using CDC encapsulated commands on the
46 * commands on a serial interface
350 "Cannot clear ip mode on pass through device\n");
501 "Cannot set pass through mode on non ip device\n");
544 * ARP packets on a point-to-point link. Any packet with an ethernet
647 static int qmi_wwan_manage_power(struct usbnet *dev, int on)
652 dev_dbg(&dev->intf->dev, "%s() pmcount=%d, on=%d\n", __func__,
653 atomic_read(&info->pmcount), on);
655 if ((on && atomic_add_return(1, &info->pmcount) == 1) ||
656 (!on && atomic_dec_and_test(&info->pmcount))) {
661 dev->intf->needs_remote_wakeup = on;
668 static int qmi_wwan_cdc_wdm_manage_power(struct usb_interface *intf, int on)
675 return qmi_wwan_manage_power(dev, on);
725 * GobiNet driver. The requirement has been verified on an MDM9230
728 static int qmi_wwan_change_dtr(struct usbnet *dev, bool on)
734 on ? 0x01 : 0x00, intf, NULL, 0);
797 /* disabling remote wakeup on MDM9x30 devices has the same
811 * but without USB3 support. Devices based on these chips
820 /* Never use the same address on both ends of the link, even if the
967 * as seen on e.g. many Quectel modems.
975 /* 1. CDC ECM like devices match on the control interface */
993 /* 2. Combined interface devices matching on class+protocol */
1085 /* 3. Combined interface devices matching on interface number */
1396 {QMI_FIXED_INTF(0x1e2d, 0x00b9, 0)}, /* Cinterion MV31 RmNet based on new baseline */
1525 * vendor specific functions when matching on interface number
1535 /* Quectel EC20 quirk where we've QMI on interface 4 instead of 0 */
1542 * we need to match on class/subclass/protocol. These values are