Lines Matching defs:gsm_mux
271 struct gsm_mux { struct
288 enum gsm_mux_state state; argument
299 void (*receive)(struct gsm_mux *gsm, u8 ch); argument
302 unsigned int mru;
303 unsigned int mtu;
304 int initiator; /* Did we initiate connection */
305 bool dead; /* Has the mux been shut down */
306 struct gsm_dlci *dlci[NUM_DLCI];
307 int old_c_iflag; /* termios c_iflag value before attach */
308 bool constipated; /* Asked by remote to shut up */
309 bool has_devices; /* Devices were registered */
311 spinlock_t tx_lock;
312 unsigned int tx_bytes; /* TX data outstanding */
315 struct list_head tx_ctrl_list; /* Pending control packets */
316 struct list_head tx_data_list; /* Pending data packets */
319 struct timer_list kick_timer; /* Kick TX queuing on timeout */
320 struct timer_list t2_timer; /* Retransmit timer for commands */
321 int cretries; /* Command retry counter */
322 struct gsm_control *pending_cmd;/* Our current pending command */
323 spinlock_t control_lock; /* Protects the pending command */
326 struct timer_list ka_timer; /* Keep-alive response timer */
327 u8 ka_num; /* Keep-alive match pattern */
328 signed int ka_retries; /* Keep-alive retry counter, -1 if not yet initialized */
331 int adaption; /* 1 or 2 supported */
332 u8 ftype; /* UI or UIH */
356 static struct gsm_mux *gsm_mux[MAX_MUX]; /* GSM muxes */ argument