Lines Matching defs:gsm_mux
181 struct gsm_mux { struct
182 struct tty_struct *tty; /* The tty our ldisc is bound to */
183 spinlock_t lock;
184 struct mutex mutex;
185 unsigned int num;
186 struct kref ref;
189 wait_queue_head_t event;
194 unsigned char *buf;
218 void (*receive)(struct gsm_mux *gsm, u8 ch); argument
219 void (*error)(struct gsm_mux *gsm, u8 ch, u8 flag); argument
221 int (*output)(struct gsm_mux *mux, u8 *data, int len); argument
224 unsigned int mru;
225 unsigned int mtu;
226 int initiator; /* Did we initiate connection */
227 int dead; /* Has the mux been shut down */
228 struct gsm_dlci *dlci[NUM_DLCI];
229 int constipated; /* Asked by remote to shut up */
231 spinlock_t tx_lock;
232 unsigned int tx_bytes; /* TX data outstanding */
235 struct list_head tx_list; /* Pending data packets */
238 struct timer_list t2_timer; /* Retransmit timer for commands */
239 int cretries; /* Command retry counter */
240 struct gsm_control *pending_cmd;/* Our current pending command */
264 static struct gsm_mux *gsm_mux[MAX_MUX]; /* GSM muxes */ argument