Home
last modified time | relevance | path

Searched refs:at_state (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/drivers/isdn/gigaset/
Dev-layer.c441 if (cs->at_state.getstring) { in gigaset_handle_modem_response()
443 cs->at_state.getstring = 0; in gigaset_handle_modem_response()
465 gigaset_add_event(cs, &cs->at_state, RSP_INVAL, in gigaset_handle_modem_response()
497 event->at_state = NULL; in gigaset_handle_modem_response()
625 cs->at_state.pending_commands |= PC_UMMODE; in disconnect()
668 ret = &cs->bcs[i].at_state; in get_free_channel()
686 struct at_state_t *at_state; in init_failed() local
688 cs->at_state.pending_commands &= ~PC_INIT; in init_failed()
693 at_state = &cs->bcs[i].at_state; in init_failed()
694 if (at_state->pending_commands & PC_CID) { in init_failed()
[all …]
Dcommon.c140 static int test_timeout(struct at_state_t *at_state) in test_timeout() argument
142 if (!at_state->timer_expires) in test_timeout()
145 if (--at_state->timer_expires) { in test_timeout()
147 at_state, at_state->timer_expires); in test_timeout()
151 gigaset_add_event(at_state->cs, at_state, EV_TIMEOUT, NULL, in test_timeout()
152 at_state->timer_index, NULL); in test_timeout()
161 struct at_state_t *at_state; in timer_tick() local
167 if (test_timeout(&cs->bcs[channel].at_state)) in timer_tick()
170 if (test_timeout(&cs->at_state)) in timer_tick()
173 list_for_each_entry(at_state, &cs->temp_at_states, list) in timer_tick()
[all …]
Di4l.c309 if (!gigaset_add_event(cs, &bcs->at_state, EV_DIAL, commands, in command_from_LL()
310 bcs->at_state.seq_index, NULL)) { in command_from_LL()
336 if (!gigaset_add_event(cs, &bcs->at_state, in command_from_LL()
350 if (!gigaset_add_event(cs, &bcs->at_state, in command_from_LL()
456 int gigaset_isdn_icall(struct at_state_t *at_state) in gigaset_isdn_icall() argument
458 struct cardstate *cs = at_state->cs; in gigaset_isdn_icall()
459 struct bc_state *bcs = at_state->bcs; in gigaset_isdn_icall()
469 if (!at_state->str_var[STR_ZBC]) { in gigaset_isdn_icall()
472 } else if (!strcmp(at_state->str_var[STR_ZBC], "8890")) { in gigaset_isdn_icall()
475 } else if (!strcmp(at_state->str_var[STR_ZBC], "8090A3")) { in gigaset_isdn_icall()
[all …]
Dgigaset.h354 struct at_state_t *at_state; member
367 struct at_state_t at_state; member
426 struct at_state_t at_state; /* at_state_t for cid == 0 */ member
681 int gigaset_isdn_icall(struct at_state_t *at_state);
711 void gigaset_at_init(struct at_state_t *at_state, struct bc_state *bcs,
760 struct at_state_t *at_state, int type,
780 gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_CLOSED, NULL, 0, NULL); in gigaset_bchannel_down()
788 gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_OPEN, NULL, 0, NULL); in gigaset_bchannel_up()
Dcapi.c499 int gigaset_isdn_icall(struct at_state_t *at_state) in gigaset_isdn_icall() argument
501 struct cardstate *cs = at_state->cs; in gigaset_isdn_icall()
502 struct bc_state *bcs = at_state->bcs; in gigaset_isdn_icall()
528 if (at_state->str_var[STR_ZBC]) { in gigaset_isdn_icall()
530 if (encode_ie(at_state->str_var[STR_ZBC], iif->bc_buf, in gigaset_isdn_icall()
533 at_state->str_var[STR_ZBC]); in gigaset_isdn_icall()
543 at_state->str_var[STR_ZBC])) { in gigaset_isdn_icall()
556 if (at_state->str_var[STR_ZHLC]) { in gigaset_isdn_icall()
558 if (encode_ie(at_state->str_var[STR_ZHLC], iif->hlc_buf, in gigaset_isdn_icall()
561 at_state->str_var[STR_ZHLC]); in gigaset_isdn_icall()
[all …]
Ddummyll.c31 int gigaset_isdn_icall(struct at_state_t *at_state) in gigaset_isdn_icall() argument
Dproc.c44 if (!gigaset_add_event(cs, &cs->at_state, EV_PROC_CIDMODE, in set_cidmode()
Dinterface.c42 if (!gigaset_add_event(cs, &cs->at_state, EV_IF_LOCK, in if_lock()
76 if (!gigaset_add_event(cs, &cs->at_state, EV_IF_VER, in if_version()
Dbas-gigaset.c348 gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL); in error_hangup()