Lines Matching refs:cardstate
60 static void flush_send_queue(struct cardstate *);
65 static int write_modem(struct cardstate *cs)
106 static int send_cb(struct cardstate *cs)
164 struct cardstate *cs = (struct cardstate *) data;
169 gig_dbg(DEBUG_OUTPUT, "%s: no cardstate", __func__);
198 static void flush_send_queue(struct cardstate *cs)
237 static int gigaset_write_cmd(struct cardstate *cs, const unsigned char *buf,
288 static int gigaset_write_room(struct cardstate *cs)
304 static int gigaset_chars_in_buffer(struct cardstate *cs)
316 static int gigaset_brkchars(struct cardstate *cs, const unsigned char buf[6])
378 static void gigaset_freecshw(struct cardstate *cs)
403 static int gigaset_initcshw(struct cardstate *cs)
436 static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, unsigned new_state)
451 static int gigaset_baud_rate(struct cardstate *cs, unsigned cflag)
456 static int gigaset_set_line_ctrl(struct cardstate *cs, unsigned cflag)
484 /* helper functions for cardstate refcounting */
485 static struct cardstate *cs_get(struct tty_struct *tty)
487 struct cardstate *cs = tty->disc_data;
490 gig_dbg(DEBUG_ANY, "%s: no cardstate", __func__);
497 static void cs_put(struct cardstate *cs)
510 struct cardstate *cs;
562 struct cardstate *cs = tty->disc_data;
567 gig_dbg(DEBUG_INIT, "%s: no cardstate", __func__);
575 err("%s: no hw cardstate", __func__);
635 struct cardstate *cs = cs_get(tty);
704 struct cardstate *cs = cs_get(tty);
758 struct cardstate *cs = cs_get(tty);