Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/isdn/gigaset/
Dev-layer.c427 event->at_state = NULL; in add_cid_event()
457 if (cs->at_state.getstring) { in gigaset_handle_modem_response()
459 cs->at_state.getstring = 0; in gigaset_handle_modem_response()
643 cs->at_state.pending_commands |= PC_UMMODE; in disconnect_nobc()
662 static void disconnect_bc(struct at_state_t *at_state, in disconnect_bc() argument
668 ++at_state->seq_index; in disconnect_bc()
672 cs->at_state.pending_commands |= PC_UMMODE; in disconnect_bc()
707 ret = &cs->bcs[i].at_state; in get_free_channel()
725 struct at_state_t *at_state; in init_failed() local
727 cs->at_state.pending_commands &= ~PC_INIT; in init_failed()
[all …]
Dcommon.c137 static int test_timeout(struct at_state_t *at_state) in test_timeout() argument
139 if (!at_state->timer_expires) in test_timeout()
142 if (--at_state->timer_expires) { in test_timeout()
144 at_state, at_state->timer_expires); in test_timeout()
148 gigaset_add_event(at_state->cs, at_state, EV_TIMEOUT, NULL, in test_timeout()
149 at_state->timer_index, NULL); in test_timeout()
158 struct at_state_t *at_state; in timer_tick() local
164 if (test_timeout(&cs->bcs[channel].at_state)) in timer_tick()
167 if (test_timeout(&cs->at_state)) in timer_tick()
170 list_for_each_entry(at_state, &cs->temp_at_states, list) in timer_tick()
[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
680 int gigaset_isdn_icall(struct at_state_t *at_state);
710 void gigaset_at_init(struct at_state_t *at_state, struct bc_state *bcs,
756 struct at_state_t *at_state, int type,
776 gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_CLOSED, NULL, 0, NULL); in gigaset_bchannel_down()
784 gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_OPEN, NULL, 0, NULL); in gigaset_bchannel_up()
Dcapi.c492 int gigaset_isdn_icall(struct at_state_t *at_state) in gigaset_isdn_icall() argument
494 struct cardstate *cs = at_state->cs; in gigaset_isdn_icall()
495 struct bc_state *bcs = at_state->bcs; in gigaset_isdn_icall()
521 if (at_state->str_var[STR_ZBC]) { in gigaset_isdn_icall()
523 if (encode_ie(at_state->str_var[STR_ZBC], iif->bc_buf, in gigaset_isdn_icall()
526 at_state->str_var[STR_ZBC]); in gigaset_isdn_icall()
536 at_state->str_var[STR_ZBC])) { in gigaset_isdn_icall()
549 if (at_state->str_var[STR_ZHLC]) { in gigaset_isdn_icall()
551 if (encode_ie(at_state->str_var[STR_ZHLC], iif->hlc_buf, in gigaset_isdn_icall()
554 at_state->str_var[STR_ZHLC]); in gigaset_isdn_icall()
[all …]
Ddummyll.c29 int gigaset_isdn_icall(struct at_state_t *at_state) in gigaset_isdn_icall() argument
Dproc.c41 if (!gigaset_add_event(cs, &cs->at_state, EV_PROC_CIDMODE, in set_cidmode()
Dinterface.c40 if (!gigaset_add_event(cs, &cs->at_state, EV_IF_LOCK, in if_lock()
74 if (!gigaset_add_event(cs, &cs->at_state, EV_IF_VER, in if_version()
Dbas-gigaset.c347 gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL); in error_hangup()