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