Lines Matching defs:gsm_mux
195 struct gsm_mux { struct
196 struct tty_struct *tty; /* The tty our ldisc is bound to */
197 spinlock_t lock;
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 gsm_msg *tx_head; /* Pending data packets */
249 struct gsm_msg *tx_tail;
252 struct timer_list t2_timer; /* Retransmit timer for commands */
253 int cretries; /* Command retry counter */
254 struct gsm_control *pending_cmd;/* Our current pending command */
278 static struct gsm_mux *gsm_mux[MAX_MUX]; /* GSM muxes */ argument