Lines Matching refs:at_state
492 * @at_state: connection state structure.
495 * call has been received. @at_state contains the parameters of the call.
499 int gigaset_isdn_icall(struct at_state_t *at_state)
501 struct cardstate *cs = at_state->cs;
502 struct bc_state *bcs = at_state->bcs;
513 * (requires a u8 handle for the at_state structure that can
528 if (at_state->str_var[STR_ZBC]) {
530 if (encode_ie(at_state->str_var[STR_ZBC], iif->bc_buf,
533 at_state->str_var[STR_ZBC]);
543 at_state->str_var[STR_ZBC])) {
556 if (at_state->str_var[STR_ZHLC]) {
558 if (encode_ie(at_state->str_var[STR_ZHLC], iif->hlc_buf,
561 at_state->str_var[STR_ZHLC]);
569 if (at_state->str_var[STR_ZBC])
573 at_state->str_var[STR_ZHLC]) &&
575 at_state->str_var[STR_ZBC])) {
582 if (at_state->str_var[STR_ZCPN]) {
583 i = strlen(at_state->str_var[STR_ZCPN]);
586 at_state->str_var[STR_ZBC]);
591 memcpy(iif->cdpty_buf+2, at_state->str_var[STR_ZCPN], i);
597 if (at_state->str_var[STR_NMBR]) {
598 i = strlen(at_state->str_var[STR_NMBR]);
601 at_state->str_var[STR_ZBC]);
607 memcpy(iif->cgpty_buf+3, at_state->str_var[STR_NMBR], i);
1044 gigaset_add_event(cs, &bcs->at_state,
1544 if (!gigaset_add_event(cs, &bcs->at_state, EV_DIAL, commands,
1545 bcs->at_state.seq_index, NULL)) {
1671 if (!gigaset_add_event(cs, &cs->bcs[channel-1].at_state,
1725 if (!gigaset_add_event(cs, &cs->bcs[channel-1].at_state,
1810 if (!gigaset_add_event(cs, &bcs->at_state,
1912 if (!gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL)) {
1958 if (!gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL)) {