Lines Matching defs:gsm_mux
194 struct gsm_mux { struct
195 struct tty_struct *tty; /* The tty our ldisc is bound to */
196 spinlock_t lock;
197 struct mutex mutex;
198 unsigned int num;
199 struct kref ref;
202 wait_queue_head_t event;
207 unsigned char *buf;
231 void (*receive)(struct gsm_mux *gsm, u8 ch); argument
232 void (*error)(struct gsm_mux *gsm, u8 ch, u8 flag); argument
234 int (*output)(struct gsm_mux *mux, u8 *data, int len); argument
237 unsigned int mru;
238 unsigned int mtu;
239 int initiator; /* Did we initiate connection */
240 int dead; /* Has the mux been shut down */
241 struct gsm_dlci *dlci[NUM_DLCI];
242 int constipated; /* Asked by remote to shut up */
244 spinlock_t tx_lock;
245 unsigned int tx_bytes; /* TX data outstanding */
248 struct list_head tx_list; /* Pending data packets */
251 struct timer_list t2_timer; /* Retransmit timer for commands */
252 int cretries; /* Command retry counter */
253 struct gsm_control *pending_cmd;/* Our current pending command */
277 static struct gsm_mux *gsm_mux[MAX_MUX]; /* GSM muxes */ variable