Lines Matching defs:bas_cardstate
90 struct bas_cardstate { struct
91 struct usb_device *udev; /* USB device pointer */
92 struct cardstate *cs;
93 struct usb_interface *interface; /* interface for this device */
94 unsigned char minor; /* starting minor number */
96 struct urb *urb_ctrl; /* control pipe default URB */
97 struct usb_ctrlrequest dr_ctrl;
98 struct timer_list timer_ctrl; /* control request timeout */
99 int retry_ctrl;
101 struct timer_list timer_atrdy; /* AT command ready timeout */
102 struct urb *urb_cmd_out; /* for sending AT commands */
103 struct usb_ctrlrequest dr_cmd_out;
104 int retry_cmd_out;
106 struct urb *urb_cmd_in; /* for receiving AT replies */
107 struct usb_ctrlrequest dr_cmd_in;
108 struct timer_list timer_cmd_in; /* receive request timeout */
109 unsigned char *rcvbuf; /* AT reply receive buffer */
111 struct urb *urb_int_in; /* URB for interrupt pipe */
112 unsigned char *int_in_buf;
113 struct work_struct int_in_wq; /* for usb_clear_halt() */
114 struct timer_list timer_int_in; /* int read retry delay */
115 int retry_int_in;
117 spinlock_t lock; /* locks all following */
118 int basstate; /* bitmap (BS_*) */
119 int pending; /* uncompleted base request */
120 wait_queue_head_t waitqueue;
121 int rcvbuf_size; /* size of AT receive buffer */
123 int retry_cmd_in; /* receive req retry count */