Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/isdn/gigaset/
Dev-layer.c430 event->at_state = NULL; in add_cid_event()
460 if (cs->at_state.getstring) { in gigaset_handle_modem_response()
462 cs->at_state.getstring = 0; in gigaset_handle_modem_response()
646 cs->at_state.pending_commands |= PC_UMMODE; in disconnect_nobc()
665 static void disconnect_bc(struct at_state_t *at_state, in disconnect_bc() argument
671 ++at_state->seq_index; in disconnect_bc()
675 cs->at_state.pending_commands |= PC_UMMODE; in disconnect_bc()
710 ret = &cs->bcs[i].at_state; in get_free_channel()
728 struct at_state_t *at_state; in init_failed() local
730 cs->at_state.pending_commands &= ~PC_INIT; 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.c310 if (!gigaset_add_event(cs, &bcs->at_state, EV_DIAL, commands, in command_from_LL()
311 bcs->at_state.seq_index, NULL)) { in command_from_LL()
337 if (!gigaset_add_event(cs, &bcs->at_state, in command_from_LL()
351 if (!gigaset_add_event(cs, &bcs->at_state, in command_from_LL()
457 int gigaset_isdn_icall(struct at_state_t *at_state) in gigaset_isdn_icall() argument
459 struct cardstate *cs = at_state->cs; in gigaset_isdn_icall()
460 struct bc_state *bcs = at_state->bcs; in gigaset_isdn_icall()
470 if (!at_state->str_var[STR_ZBC]) { in gigaset_isdn_icall()
473 } else if (!strcmp(at_state->str_var[STR_ZBC], "8890")) { in gigaset_isdn_icall()
476 } else if (!strcmp(at_state->str_var[STR_ZBC], "8090A3")) { in gigaset_isdn_icall()
[all …]
Dgigaset.h357 struct at_state_t *at_state; member
370 struct at_state_t at_state; member
429 struct at_state_t at_state; /* at_state_t for cid == 0 */ member
683 int gigaset_isdn_icall(struct at_state_t *at_state);
713 void gigaset_at_init(struct at_state_t *at_state, struct bc_state *bcs,
759 struct at_state_t *at_state, int type,
779 gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_CLOSED, NULL, 0, NULL); in gigaset_bchannel_down()
787 gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_OPEN, NULL, 0, NULL); in gigaset_bchannel_up()
Dcapi.c495 int gigaset_isdn_icall(struct at_state_t *at_state) in gigaset_isdn_icall() argument
497 struct cardstate *cs = at_state->cs; in gigaset_isdn_icall()
498 struct bc_state *bcs = at_state->bcs; in gigaset_isdn_icall()
524 if (at_state->str_var[STR_ZBC]) { in gigaset_isdn_icall()
526 if (encode_ie(at_state->str_var[STR_ZBC], iif->bc_buf, in gigaset_isdn_icall()
529 at_state->str_var[STR_ZBC]); in gigaset_isdn_icall()
539 at_state->str_var[STR_ZBC])) { in gigaset_isdn_icall()
552 if (at_state->str_var[STR_ZHLC]) { in gigaset_isdn_icall()
554 if (encode_ie(at_state->str_var[STR_ZHLC], iif->hlc_buf, in gigaset_isdn_icall()
557 at_state->str_var[STR_ZHLC]); in gigaset_isdn_icall()
[all …]
Ddummyll.c32 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.c43 if (!gigaset_add_event(cs, &cs->at_state, EV_IF_LOCK, in if_lock()
77 if (!gigaset_add_event(cs, &cs->at_state, EV_IF_VER, in if_version()
Dbas-gigaset.c350 gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL); in error_hangup()