Lines Matching refs:device_flags
2373 static bool iface_is_reserved(unsigned long device_flags, u8 ifnum)
2378 return device_flags & RSVD(ifnum);
2386 unsigned long device_flags = id->driver_info;
2397 if (iface_is_reserved(device_flags, iface_desc->bInterfaceNumber))
2404 if (device_flags & NUMEP2 && iface_desc->bNumEndpoints != 2)
2408 usb_set_serial_data(serial, (void *)device_flags);
2413 static bool iface_no_modem_control(unsigned long device_flags, u8 ifnum)
2418 return device_flags & NCTRL(ifnum);
2425 unsigned long device_flags;
2432 device_flags = (unsigned long)usb_get_serial_data(serial);
2436 if (!iface_no_modem_control(device_flags, iface_desc->bInterfaceNumber))
2439 if (device_flags & ZLP)