Lines Matching refs:cs
281 struct cardstate *cs; member
348 struct cardstate *cs; member
380 struct cardstate *cs; member
514 struct cardstate *cs; member
570 int (*write_cmd)(struct cardstate *cs, struct cmdbuf_t *cb);
573 int (*write_room)(struct cardstate *cs);
574 int (*chars_in_buffer)(struct cardstate *cs);
575 int (*brkchars)(struct cardstate *cs, const unsigned char buf[6]);
595 int (*initcshw)(struct cardstate *cs);
598 void (*freecshw)(struct cardstate *cs);
602 int (*set_modem_ctrl)(struct cardstate *cs, unsigned old_state,
604 int (*baud_rate)(struct cardstate *cs, unsigned cflag);
605 int (*set_line_ctrl)(struct cardstate *cs, unsigned cflag);
672 int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid);
673 void gigaset_isdn_unregdev(struct cardstate *cs);
681 void gigaset_isdn_start(struct cardstate *cs);
682 void gigaset_isdn_stop(struct cardstate *cs);
698 void gigaset_handle_modem_response(struct cardstate *cs);
705 void gigaset_init_dev_sysfs(struct cardstate *cs);
706 void gigaset_free_dev_sysfs(struct cardstate *cs);
714 struct cardstate *cs, int cid);
716 struct bc_state *gigaset_get_free_channel(struct cardstate *cs);
718 int gigaset_get_channels(struct cardstate *cs);
719 void gigaset_free_channels(struct cardstate *cs);
720 void gigaset_block_channels(struct cardstate *cs);
743 void gigaset_freecs(struct cardstate *cs);
746 int gigaset_start(struct cardstate *cs);
749 void gigaset_stop(struct cardstate *cs);
752 int gigaset_shutdown(struct cardstate *cs);
758 struct event_t *gigaset_add_event(struct cardstate *cs,
763 int gigaset_enterconfigmode(struct cardstate *cs);
766 static inline void gigaset_schedule_event(struct cardstate *cs) in gigaset_schedule_event() argument
769 spin_lock_irqsave(&cs->lock, flags); in gigaset_schedule_event()
770 if (cs->running) in gigaset_schedule_event()
771 tasklet_schedule(&cs->event_tasklet); in gigaset_schedule_event()
772 spin_unlock_irqrestore(&cs->lock, flags); in gigaset_schedule_event()
779 gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_CLOSED, NULL, 0, NULL); in gigaset_bchannel_down()
780 gigaset_schedule_event(bcs->cs); in gigaset_bchannel_down()
787 gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_OPEN, NULL, 0, NULL); in gigaset_bchannel_up()
788 gigaset_schedule_event(bcs->cs); in gigaset_bchannel_up()
794 struct cardstate *cs = bcs->cs; in gigaset_new_rx_skb() local
795 unsigned short hw_hdr_len = cs->hw_hdr_len; in gigaset_new_rx_skb()
802 dev_warn(cs->dev, "could not allocate skb\n"); in gigaset_new_rx_skb()
823 void gigaset_if_init(struct cardstate *cs);
825 void gigaset_if_free(struct cardstate *cs);
827 void gigaset_if_receive(struct cardstate *cs,