/linux-4.1.27/drivers/isdn/gigaset/ |
H A D | dummyll.c | 53 void gigaset_isdn_start(struct cardstate *cs) gigaset_isdn_start() 57 void gigaset_isdn_stop(struct cardstate *cs) gigaset_isdn_stop() 61 int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid) gigaset_isdn_regdev() 66 void gigaset_isdn_unregdev(struct cardstate *cs) gigaset_isdn_unregdev()
|
H A D | proc.c | 21 struct cardstate *cs = dev_get_drvdata(dev); show_cidmode() 29 struct cardstate *cs = dev_get_drvdata(dev); set_cidmode() 62 void gigaset_free_dev_sysfs(struct cardstate *cs) gigaset_free_dev_sysfs() 72 void gigaset_init_dev_sysfs(struct cardstate *cs) gigaset_init_dev_sysfs()
|
H A D | ser-gigaset.c | 58 static void flush_send_queue(struct cardstate *); 63 static int write_modem(struct cardstate *cs) write_modem() 105 static int send_cb(struct cardstate *cs) send_cb() 163 struct cardstate *cs = (struct cardstate *) data; gigaset_modem_fill() 169 gig_dbg(DEBUG_OUTPUT, "%s: no cardstate", __func__); gigaset_modem_fill() 174 gig_dbg(DEBUG_OUTPUT, "%s: no cardstate", __func__); gigaset_modem_fill() 205 static void flush_send_queue(struct cardstate *cs) flush_send_queue() 244 static int gigaset_write_cmd(struct cardstate *cs, struct cmdbuf_t *cb) gigaset_write_cmd() 279 static int gigaset_write_room(struct cardstate *cs) gigaset_write_room() 295 static int gigaset_chars_in_buffer(struct cardstate *cs) gigaset_chars_in_buffer() 307 static int gigaset_brkchars(struct cardstate *cs, const unsigned char buf[6]) gigaset_brkchars() 368 static void gigaset_freecshw(struct cardstate *cs) gigaset_freecshw() 392 static int gigaset_initcshw(struct cardstate *cs) gigaset_initcshw() 429 static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, gigaset_set_modem_ctrl() 445 static int gigaset_baud_rate(struct cardstate *cs, unsigned cflag) gigaset_baud_rate() 450 static int gigaset_set_line_ctrl(struct cardstate *cs, unsigned cflag) gigaset_set_line_ctrl() 478 /* helper functions for cardstate refcounting */ cs_get() 479 static struct cardstate *cs_get(struct tty_struct *tty) cs_get() 481 struct cardstate *cs = tty->disc_data; cs_get() 484 gig_dbg(DEBUG_ANY, "%s: no cardstate", __func__); cs_get() 491 static void cs_put(struct cardstate *cs) cs_put() 504 struct cardstate *cs; gigaset_tty_open() 567 struct cardstate *cs = tty->disc_data; gigaset_tty_close() 572 gig_dbg(DEBUG_INIT, "%s: no cardstate", __func__); gigaset_tty_close() 580 pr_err("%s: no hw cardstate\n", __func__); gigaset_tty_close() 640 struct cardstate *cs = cs_get(tty); gigaset_tty_ioctl() 693 struct cardstate *cs = cs_get(tty); gigaset_tty_receive() 748 struct cardstate *cs = cs_get(tty); gigaset_tty_wakeup()
|
H A D | interface.c | 21 static int if_lock(struct cardstate *cs, int *arg) if_lock() 60 static int if_version(struct cardstate *cs, unsigned arg[4]) if_version() 95 static int if_config(struct cardstate *cs, int *arg) if_config() 118 struct cardstate *cs; if_open() 146 struct cardstate *cs = tty->driver_data; if_close() 149 gig_dbg(DEBUG_IF, "%s: no cardstate", __func__); if_close() 172 struct cardstate *cs = tty->driver_data; if_ioctl() 238 struct cardstate *cs = tty->driver_data; if_tiocmget() 256 struct cardstate *cs = tty->driver_data; if_tiocmset() 282 struct cardstate *cs = tty->driver_data; if_write() 327 struct cardstate *cs = tty->driver_data; if_write_room() 351 struct cardstate *cs = tty->driver_data; if_chars_in_buffer() 372 struct cardstate *cs = tty->driver_data; if_throttle() 388 struct cardstate *cs = tty->driver_data; if_unthrottle() 404 struct cardstate *cs = tty->driver_data; if_set_termios() 489 struct cardstate *cs = (struct cardstate *)data; if_wake() 496 void gigaset_if_init(struct cardstate *cs) gigaset_if_init() 519 void gigaset_if_free(struct cardstate *cs) gigaset_if_free() 542 void gigaset_if_receive(struct cardstate *cs, gigaset_if_receive()
|
H A D | gigaset.h | 281 struct cardstate *cs; 348 struct cardstate *cs; 380 struct cardstate *cs; 405 struct cardstate { struct 514 struct cardstate *cs; 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); 732 struct cardstate *gigaset_get_cs_by_tty(struct tty_struct *tty); 733 struct cardstate *gigaset_get_cs_by_id(int id); 738 struct cardstate *gigaset_initcs(struct gigaset_driver *drv, int channels, 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) gigaset_schedule_event() 794 struct cardstate *cs = bcs->cs; 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,
|
H A D | common.c | 89 static int setflags(struct cardstate *cs, unsigned flags, unsigned delay) setflags() 106 int gigaset_enterconfigmode(struct cardstate *cs) gigaset_enterconfigmode() 158 struct cardstate *cs = (struct cardstate *) data; timer_tick() 206 struct bc_state *gigaset_get_free_channel(struct cardstate *cs) gigaset_get_free_channel() 250 int gigaset_get_channels(struct cardstate *cs) gigaset_get_channels() 272 void gigaset_free_channels(struct cardstate *cs) gigaset_free_channels() 284 void gigaset_block_channels(struct cardstate *cs) gigaset_block_channels() 296 static void clear_events(struct cardstate *cs) clear_events() 332 struct event_t *gigaset_add_event(struct cardstate *cs, gigaset_add_event() 375 static void dealloc_temp_at_states(struct cardstate *cs) dealloc_temp_at_states() 405 static struct cardstate *alloc_cs(struct gigaset_driver *drv) alloc_cs() 409 struct cardstate *cs; alloc_cs() 410 struct cardstate *ret = NULL; alloc_cs() 428 static void free_cs(struct cardstate *cs) free_cs() 433 static void make_valid(struct cardstate *cs, unsigned mask) make_valid() 442 static void make_invalid(struct cardstate *cs, unsigned mask) make_invalid() 460 void gigaset_freecs(struct cardstate *cs) gigaset_freecs() 521 struct cardstate *cs, int cid) gigaset_at_init() 549 static void gigaset_inbuf_init(struct inbuf_t *inbuf, struct cardstate *cs) gigaset_inbuf_init() 608 static int gigaset_initbcs(struct bc_state *bcs, struct cardstate *cs, gigaset_initbcs() 662 * Allocate and initialize cardstate structure for Gigaset driver 667 * pointer to cardstate structure 669 struct cardstate *gigaset_initcs(struct gigaset_driver *drv, int channels, gigaset_initcs() 673 struct cardstate *cs; gigaset_initcs() 789 struct cardstate *cs = bcs->cs; gigaset_bcs_reinit() 819 static void cleanup_cs(struct cardstate *cs) cleanup_cs() 880 int gigaset_start(struct cardstate *cs) gigaset_start() 927 int gigaset_shutdown(struct cardstate *cs) gigaset_shutdown() 959 void gigaset_stop(struct cardstate *cs) gigaset_stop() 981 struct cardstate *gigaset_get_cs_by_id(int id) gigaset_get_cs_by_id() 984 struct cardstate *ret = NULL; gigaset_get_cs_by_id() 985 struct cardstate *cs; gigaset_get_cs_by_id() 1007 static struct cardstate *gigaset_get_cs_by_minor(unsigned minor) gigaset_get_cs_by_minor() 1010 struct cardstate *ret = NULL; gigaset_get_cs_by_minor() 1030 struct cardstate *gigaset_get_cs_by_tty(struct tty_struct *tty) gigaset_get_cs_by_tty()
|
H A D | usb-gigaset.c | 154 static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, gigaset_set_modem_ctrl() 178 static int set_value(struct cardstate *cs, u8 req, u16 val) set_value() 211 static int gigaset_baud_rate(struct cardstate *cs, unsigned cflag) gigaset_baud_rate() 244 static int gigaset_set_line_ctrl(struct cardstate *cs, unsigned cflag) gigaset_set_line_ctrl() 295 static int write_modem(struct cardstate *cs); 296 static int send_cb(struct cardstate *cs); 304 struct cardstate *cs = (struct cardstate *) data; gigaset_modem_fill() 347 struct cardstate *cs = urb->context; gigaset_read_int_callback() 398 struct cardstate *cs = urb->context; gigaset_write_bulk_callback() 426 static int send_cb(struct cardstate *cs) send_cb() 492 static int gigaset_write_cmd(struct cardstate *cs, struct cmdbuf_t *cb) gigaset_write_cmd() 521 static int gigaset_write_room(struct cardstate *cs) gigaset_write_room() 529 static int gigaset_chars_in_buffer(struct cardstate *cs) gigaset_chars_in_buffer() 539 static int gigaset_brkchars(struct cardstate *cs, const unsigned char buf[6]) gigaset_brkchars() 567 static void gigaset_freecshw(struct cardstate *cs) gigaset_freecshw() 573 static int gigaset_initcshw(struct cardstate *cs) gigaset_initcshw() 600 static int write_modem(struct cardstate *cs) write_modem() 660 struct cardstate *cs = NULL; gigaset_probe() 787 struct cardstate *cs; gigaset_disconnect() 823 struct cardstate *cs = usb_get_intfdata(intf); gigaset_suspend() 840 struct cardstate *cs = usb_get_intfdata(intf); gigaset_resume()
|
H A D | ev-layer.c | 407 static void add_cid_event(struct cardstate *cs, int cid, int type, add_cid_event() 445 void gigaset_handle_modem_response(struct cardstate *cs) gigaset_handle_modem_response() 637 struct cardstate *cs) disconnect_nobc() 666 struct cardstate *cs, struct bc_state *bcs) disconnect_bc() 697 static inline struct at_state_t *get_free_channel(struct cardstate *cs, get_free_channel() 725 static void init_failed(struct cardstate *cs, int mode) init_failed() 744 static void schedule_init(struct cardstate *cs, int state) schedule_init() 761 static void send_command(struct cardstate *cs, const char *cmd, send_command() 788 static struct at_state_t *at_state_from_cid(struct cardstate *cs, int cid) at_state_from_cid() 847 struct cardstate *cs = at_state->cs; start_dial() 884 struct cardstate *cs = at_state->cs; start_accept() 912 static void do_start(struct cardstate *cs) do_start() 926 static void finish_shutdown(struct cardstate *cs) finish_shutdown() 946 static void do_shutdown(struct cardstate *cs) do_shutdown() 959 static void do_stop(struct cardstate *cs) do_stop() 978 static int reinit_and_retry(struct cardstate *cs, int channel) reinit_and_retry() 1001 static int at_state_invalid(struct cardstate *cs, at_state_invalid() 1028 static void handle_icall(struct cardstate *cs, struct bc_state *bcs, handle_icall() 1052 static int do_lock(struct cardstate *cs) do_lock() 1085 static int do_unlock(struct cardstate *cs) do_unlock() 1099 static void do_action(int action, struct cardstate *cs, do_action() 1528 static void process_event(struct cardstate *cs, struct event_t *ev) process_event() 1663 static void schedule_sequence(struct cardstate *cs, schedule_sequence() 1670 static void process_command_flags(struct cardstate *cs) process_command_flags() 1847 static void process_events(struct cardstate *cs) process_events() 1904 struct cardstate *cs = (struct cardstate *) data; gigaset_handle_event()
|
H A D | capi.c | 151 static inline void ignore_cstruct_param(struct cardstate *cs, _cstruct param, ignore_cstruct_param() 326 static void send_data_b3_conf(struct cardstate *cs, struct capi_ctr *ctr, send_data_b3_conf() 372 struct cardstate *cs = bcs->cs; gigaset_skb_sent() 417 struct cardstate *cs = bcs->cs; gigaset_skb_rcvd() 497 struct cardstate *cs = at_state->cs; gigaset_isdn_icall() 686 struct cardstate *cs = bcs->cs; send_disconnect_ind() 720 struct cardstate *cs = bcs->cs; send_disconnect_b3_ind() 756 struct cardstate *cs = bcs->cs; gigaset_isdn_connD() 855 struct cardstate *cs = bcs->cs; gigaset_isdn_connB() 948 void gigaset_isdn_start(struct cardstate *cs) gigaset_isdn_start() 983 void gigaset_isdn_stop(struct cardstate *cs) gigaset_isdn_stop() 1002 struct cardstate *cs = ctr->driverdata; gigaset_register_appl() 1035 struct cardstate *cs = bcs->cs; remove_appl_from_channel() 1089 struct cardstate *cs = iif->ctr.driverdata; gigaset_release_appl() 1122 struct cardstate *cs = iif->ctr.driverdata; send_conf() 1147 struct cardstate *cs = iif->ctr.driverdata; do_facility_req() 1287 struct cardstate *cs = iif->ctr.driverdata; do_listen_req() 1311 struct cardstate *cs = iif->ctr.driverdata; do_alert_req() 1332 struct cardstate *cs = iif->ctr.driverdata; do_connect_req() 1626 struct cardstate *cs = iif->ctr.driverdata; do_connect_resp() 1798 struct cardstate *cs = iif->ctr.driverdata; do_connect_b3_req() 1845 struct cardstate *cs = iif->ctr.driverdata; do_connect_b3_resp() 1915 struct cardstate *cs = iif->ctr.driverdata; do_disconnect_req() 2015 struct cardstate *cs = iif->ctr.driverdata; do_disconnect_b3_req() 2068 struct cardstate *cs = iif->ctr.driverdata; do_data_b3_req() 2142 struct cardstate *cs = iif->ctr.driverdata; do_reset_b3_req() 2162 struct cardstate *cs = iif->ctr.driverdata; do_unsupported() 2181 struct cardstate *cs = iif->ctr.driverdata; do_nothing() 2272 struct cardstate *cs = ctr->driverdata; gigaset_send_message() 2352 struct cardstate *cs = ctr->driverdata; gigaset_proc_show() 2460 int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid) gigaset_isdn_regdev() 2504 void gigaset_isdn_unregdev(struct cardstate *cs) gigaset_isdn_unregdev()
|
H A D | bas-gigaset.c | 82 static int atread_submit(struct cardstate *, int); 85 static int atwrite_submit(struct cardstate *, unsigned char *, int); 86 static int start_cbsend(struct cardstate *); 306 static int gigaset_set_modem_ctrl(struct cardstate *cs, unsigned old_state, gigaset_set_modem_ctrl() 312 static int gigaset_baud_rate(struct cardstate *cs, unsigned cflag) gigaset_baud_rate() 317 static int gigaset_set_line_ctrl(struct cardstate *cs, unsigned cflag) gigaset_set_line_ctrl() 347 struct cardstate *cs = bcs->cs; error_hangup() 361 static inline void error_reset(struct cardstate *cs) error_reset() 438 struct cardstate *cs = (struct cardstate *) data; cmd_in_timeout() 480 struct cardstate *cs = inbuf->cs; read_ctrl_callback() 551 static int atread_submit(struct cardstate *cs, int timeout) atread_submit() 611 struct cardstate *cs = urb->context; int_in_work() 644 struct cardstate *cs = (struct cardstate *) data; int_in_resubmit() 673 struct cardstate *cs = urb->context; read_int_callback() 1161 struct cardstate *cs = bcs->cs; write_iso_tasklet() 1304 struct cardstate *cs = bcs->cs; read_iso_tasklet() 1446 struct cardstate *cs = (struct cardstate *) data; req_timeout() 1649 struct cardstate *cs = bcs->cs; gigaset_init_bchannel() 1705 struct cardstate *cs = bcs->cs; gigaset_close_bchannel() 1743 static void complete_cb(struct cardstate *cs) complete_cb() 1776 struct cardstate *cs = urb->context; write_command_callback() 1842 struct cardstate *cs = (struct cardstate *) data; atrdy_timeout() 1863 static int atwrite_submit(struct cardstate *cs, unsigned char *buf, int len) atwrite_submit() 1910 static int start_cbsend(struct cardstate *cs) start_cbsend() 1968 static int gigaset_write_cmd(struct cardstate *cs, struct cmdbuf_t *cb) gigaset_write_cmd() 2050 static int gigaset_write_room(struct cardstate *cs) gigaset_write_room() 2063 static int gigaset_chars_in_buffer(struct cardstate *cs) gigaset_chars_in_buffer() 2075 static int gigaset_brkchars(struct cardstate *cs, const unsigned char buf[6]) gigaset_brkchars() 2185 static void gigaset_freecshw(struct cardstate *cs) gigaset_freecshw() 2193 /* Initialize hardware dependent part of the cardstate structure 2195 * cs cardstate structure 2199 static int gigaset_initcshw(struct cardstate *cs) gigaset_initcshw() 2240 static void freeurbs(struct cardstate *cs) freeurbs() 2283 struct cardstate *cs = NULL; gigaset_probe() 2413 struct cardstate *cs; gigaset_disconnect() 2458 struct cardstate *cs = usb_get_intfdata(intf); gigaset_suspend() 2526 struct cardstate *cs = usb_get_intfdata(intf); gigaset_resume()
|
H A D | i4l.c | 46 struct cardstate *cs = gigaset_get_cs_by_id(driverID); writebuf_from_LL() 197 struct cardstate *cs; command_from_LL() 426 static void gigaset_i4l_cmd(struct cardstate *cs, int cmd) gigaset_i4l_cmd() 459 struct cardstate *cs = at_state->cs; gigaset_isdn_icall() 597 void gigaset_isdn_start(struct cardstate *cs) gigaset_isdn_start() 610 void gigaset_isdn_stop(struct cardstate *cs) gigaset_isdn_stop() 623 int gigaset_isdn_regdev(struct cardstate *cs, const char *isdnid) gigaset_isdn_regdev() 672 void gigaset_isdn_unregdev(struct cardstate *cs) gigaset_isdn_unregdev()
|
H A D | asyncdata.c | 52 struct cardstate *cs = inbuf->cs; cmd_loop() 140 struct cardstate *cs = inbuf->cs; hdlc_loop() 287 struct cardstate *cs = inbuf->cs; iraw_loop() 340 struct cardstate *cs = inbuf->cs; handle_dle() 409 struct cardstate *cs = inbuf->cs; gigaset_m10x_input() 587 struct cardstate *cs = bcs->cs; gigaset_m10x_send_skb()
|
H A D | isocdata.c | 537 struct cardstate *cs = bcs->cs; hdlc_done() 896 struct cardstate *cs = inbuf->cs; cmd_loop() 943 struct cardstate *cs = inbuf->cs; gigaset_isoc_input()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | b1lli.h | 40 int cardstate; member in struct:avmb1_getdef
|
/linux-4.1.27/drivers/isdn/capi/ |
H A D | kcapi_proc.c | 33 // cnr driver cardstate name driverinfo
|