Lines Matching refs:intfdata
45 struct usb_wwan_intf_private *intfdata;
49 intfdata = port->serial->private;
51 if (!intfdata->send_setup)
59 intfdata->send_setup(port);
68 struct usb_wwan_intf_private *intfdata = port->serial->private;
75 if (intfdata->send_setup)
76 intfdata->send_setup(port);
104 struct usb_wwan_intf_private *intfdata;
107 intfdata = port->serial->private;
109 if (!intfdata->send_setup)
121 return intfdata->send_setup(port);
130 struct usb_wwan_intf_private *intfdata;
138 intfdata = port->serial->private;
168 spin_lock_irqsave(&intfdata->susp_lock, flags);
169 if (intfdata->suspended) {
171 spin_unlock_irqrestore(&intfdata->susp_lock, flags);
173 intfdata->in_flight++;
174 spin_unlock_irqrestore(&intfdata->susp_lock, flags);
180 spin_lock_irqsave(&intfdata->susp_lock, flags);
181 intfdata->in_flight--;
182 spin_unlock_irqrestore(&intfdata->susp_lock,
243 struct usb_wwan_intf_private *intfdata;
249 intfdata = port->serial->private;
254 spin_lock(&intfdata->susp_lock);
255 intfdata->in_flight--;
256 spin_unlock(&intfdata->susp_lock);
311 struct usb_wwan_intf_private *intfdata;
317 intfdata = serial->private;
333 if (intfdata->send_setup)
334 intfdata->send_setup(port);
337 spin_lock_irq(&intfdata->susp_lock);
339 spin_unlock_irq(&intfdata->susp_lock);
351 struct usb_wwan_intf_private *intfdata = port->serial->private;
358 spin_lock_irq(&intfdata->susp_lock);
360 spin_unlock_irq(&intfdata->susp_lock);
557 struct usb_wwan_intf_private *intfdata = serial->private;
563 spin_lock_irq(&intfdata->susp_lock);
564 b = intfdata->in_flight;
565 spin_unlock_irq(&intfdata->susp_lock);
571 spin_lock_irq(&intfdata->susp_lock);
572 intfdata->suspended = 1;
573 spin_unlock_irq(&intfdata->susp_lock);
600 struct usb_wwan_intf_private *intfdata = serial->private;
628 spin_lock_irq(&intfdata->susp_lock);
630 spin_unlock_irq(&intfdata->susp_lock);
640 spin_unlock_irq(&intfdata->susp_lock);
645 spin_unlock_irq(&intfdata->susp_lock);
647 spin_lock_irq(&intfdata->susp_lock);
648 intfdata->suspended = 0;
649 spin_unlock_irq(&intfdata->susp_lock);