usb-wwan.h (3eb66e91a25497065c5322b1268cbc3953642227) usb-wwan.h (2438c3a19dec5e98905fd3ffcc2f24716aceda6b)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Definitions for USB serial mobile broadband cards
4 */
5
6#ifndef __LINUX_USB_USB_WWAN
7#define __LINUX_USB_USB_WWAN
8

--- 24 unchanged lines hidden (view full) ---

33#define N_OUT_URB 4
34#define IN_BUFLEN 4096
35#define OUT_BUFLEN 4096
36
37struct usb_wwan_intf_private {
38 spinlock_t susp_lock;
39 unsigned int suspended:1;
40 unsigned int use_send_setup:1;
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Definitions for USB serial mobile broadband cards
4 */
5
6#ifndef __LINUX_USB_USB_WWAN
7#define __LINUX_USB_USB_WWAN
8

--- 24 unchanged lines hidden (view full) ---

33#define N_OUT_URB 4
34#define IN_BUFLEN 4096
35#define OUT_BUFLEN 4096
36
37struct usb_wwan_intf_private {
38 spinlock_t susp_lock;
39 unsigned int suspended:1;
40 unsigned int use_send_setup:1;
41 unsigned int use_zlp:1;
41 int in_flight;
42 unsigned int open_ports;
43 void *private;
44};
45
46struct usb_wwan_port_private {
47 /* Input endpoints and buffer for this port */
48 struct urb *in_urbs[N_IN_URB];

--- 19 unchanged lines hidden ---
42 int in_flight;
43 unsigned int open_ports;
44 void *private;
45};
46
47struct usb_wwan_port_private {
48 /* Input endpoints and buffer for this port */
49 struct urb *in_urbs[N_IN_URB];

--- 19 unchanged lines hidden ---