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