at_state 347 drivers/staging/isdn/gigaset/bas-gigaset.c gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL); at_state 492 drivers/staging/isdn/gigaset/capi.c int gigaset_isdn_icall(struct at_state_t *at_state) at_state 494 drivers/staging/isdn/gigaset/capi.c struct cardstate *cs = at_state->cs; at_state 495 drivers/staging/isdn/gigaset/capi.c struct bc_state *bcs = at_state->bcs; at_state 521 drivers/staging/isdn/gigaset/capi.c if (at_state->str_var[STR_ZBC]) { at_state 523 drivers/staging/isdn/gigaset/capi.c if (encode_ie(at_state->str_var[STR_ZBC], iif->bc_buf, at_state 526 drivers/staging/isdn/gigaset/capi.c at_state->str_var[STR_ZBC]); at_state 536 drivers/staging/isdn/gigaset/capi.c at_state->str_var[STR_ZBC])) { at_state 549 drivers/staging/isdn/gigaset/capi.c if (at_state->str_var[STR_ZHLC]) { at_state 551 drivers/staging/isdn/gigaset/capi.c if (encode_ie(at_state->str_var[STR_ZHLC], iif->hlc_buf, at_state 554 drivers/staging/isdn/gigaset/capi.c at_state->str_var[STR_ZHLC]); at_state 562 drivers/staging/isdn/gigaset/capi.c if (at_state->str_var[STR_ZBC]) at_state 566 drivers/staging/isdn/gigaset/capi.c at_state->str_var[STR_ZHLC]) && at_state 568 drivers/staging/isdn/gigaset/capi.c at_state->str_var[STR_ZBC])) { at_state 575 drivers/staging/isdn/gigaset/capi.c if (at_state->str_var[STR_ZCPN]) { at_state 576 drivers/staging/isdn/gigaset/capi.c i = strlen(at_state->str_var[STR_ZCPN]); at_state 579 drivers/staging/isdn/gigaset/capi.c at_state->str_var[STR_ZBC]); at_state 584 drivers/staging/isdn/gigaset/capi.c memcpy(iif->cdpty_buf + 2, at_state->str_var[STR_ZCPN], i); at_state 590 drivers/staging/isdn/gigaset/capi.c if (at_state->str_var[STR_NMBR]) { at_state 591 drivers/staging/isdn/gigaset/capi.c i = strlen(at_state->str_var[STR_NMBR]); at_state 594 drivers/staging/isdn/gigaset/capi.c at_state->str_var[STR_ZBC]); at_state 600 drivers/staging/isdn/gigaset/capi.c memcpy(iif->cgpty_buf + 3, at_state->str_var[STR_NMBR], i); at_state 1060 drivers/staging/isdn/gigaset/capi.c gigaset_add_event(cs, &bcs->at_state, at_state 1594 drivers/staging/isdn/gigaset/capi.c if (!gigaset_add_event(cs, &bcs->at_state, EV_DIAL, commands, at_state 1595 drivers/staging/isdn/gigaset/capi.c bcs->at_state.seq_index, NULL)) { at_state 1725 drivers/staging/isdn/gigaset/capi.c if (!gigaset_add_event(cs, &cs->bcs[channel - 1].at_state, at_state 1779 drivers/staging/isdn/gigaset/capi.c if (!gigaset_add_event(cs, &cs->bcs[channel - 1].at_state, at_state 1873 drivers/staging/isdn/gigaset/capi.c if (!gigaset_add_event(cs, &bcs->at_state, at_state 1994 drivers/staging/isdn/gigaset/capi.c if (!gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL)) { at_state 2044 drivers/staging/isdn/gigaset/capi.c if (!gigaset_add_event(cs, &bcs->at_state, EV_HUP, NULL, 0, NULL)) { at_state 137 drivers/staging/isdn/gigaset/common.c static int test_timeout(struct at_state_t *at_state) at_state 139 drivers/staging/isdn/gigaset/common.c if (!at_state->timer_expires) at_state 142 drivers/staging/isdn/gigaset/common.c if (--at_state->timer_expires) { at_state 144 drivers/staging/isdn/gigaset/common.c at_state, at_state->timer_expires); at_state 148 drivers/staging/isdn/gigaset/common.c gigaset_add_event(at_state->cs, at_state, EV_TIMEOUT, NULL, at_state 149 drivers/staging/isdn/gigaset/common.c at_state->timer_index, NULL); at_state 158 drivers/staging/isdn/gigaset/common.c struct at_state_t *at_state; at_state 164 drivers/staging/isdn/gigaset/common.c if (test_timeout(&cs->bcs[channel].at_state)) at_state 167 drivers/staging/isdn/gigaset/common.c if (test_timeout(&cs->at_state)) at_state 170 drivers/staging/isdn/gigaset/common.c list_for_each_entry(at_state, &cs->temp_at_states, list) at_state 171 drivers/staging/isdn/gigaset/common.c if (test_timeout(at_state)) at_state 330 drivers/staging/isdn/gigaset/common.c struct at_state_t *at_state, int type, at_state 348 drivers/staging/isdn/gigaset/common.c event->at_state = at_state; at_state 362 drivers/staging/isdn/gigaset/common.c static void clear_at_state(struct at_state_t *at_state) at_state 367 drivers/staging/isdn/gigaset/common.c kfree(at_state->str_var[i]); at_state 368 drivers/staging/isdn/gigaset/common.c at_state->str_var[i] = NULL; at_state 391 drivers/staging/isdn/gigaset/common.c clear_at_state(&bcs->at_state); at_state 500 drivers/staging/isdn/gigaset/common.c clear_at_state(&cs->at_state); at_state 517 drivers/staging/isdn/gigaset/common.c void gigaset_at_init(struct at_state_t *at_state, struct bc_state *bcs, at_state 522 drivers/staging/isdn/gigaset/common.c INIT_LIST_HEAD(&at_state->list); at_state 523 drivers/staging/isdn/gigaset/common.c at_state->waiting = 0; at_state 524 drivers/staging/isdn/gigaset/common.c at_state->getstring = 0; at_state 525 drivers/staging/isdn/gigaset/common.c at_state->pending_commands = 0; at_state 526 drivers/staging/isdn/gigaset/common.c at_state->timer_expires = 0; at_state 527 drivers/staging/isdn/gigaset/common.c at_state->timer_active = 0; at_state 528 drivers/staging/isdn/gigaset/common.c at_state->timer_index = 0; at_state 529 drivers/staging/isdn/gigaset/common.c at_state->seq_index = 0; at_state 530 drivers/staging/isdn/gigaset/common.c at_state->ConState = 0; at_state 532 drivers/staging/isdn/gigaset/common.c at_state->str_var[i] = NULL; at_state 533 drivers/staging/isdn/gigaset/common.c at_state->int_var[VAR_ZDLE] = 0; at_state 534 drivers/staging/isdn/gigaset/common.c at_state->int_var[VAR_ZCTP] = -1; at_state 535 drivers/staging/isdn/gigaset/common.c at_state->int_var[VAR_ZSAU] = ZSAU_NULL; at_state 536 drivers/staging/isdn/gigaset/common.c at_state->cs = cs; at_state 537 drivers/staging/isdn/gigaset/common.c at_state->bcs = bcs; at_state 538 drivers/staging/isdn/gigaset/common.c at_state->cid = cid; at_state 540 drivers/staging/isdn/gigaset/common.c at_state->replystruct = cs->tabnocid; at_state 542 drivers/staging/isdn/gigaset/common.c at_state->replystruct = cs->tabcid; at_state 619 drivers/staging/isdn/gigaset/common.c gigaset_at_init(&bcs->at_state, bcs, cs, -1); at_state 720 drivers/staging/isdn/gigaset/common.c gigaset_at_init(&cs->at_state, NULL, cs, 0); at_state 792 drivers/staging/isdn/gigaset/common.c clear_at_state(&bcs->at_state); at_state 793 drivers/staging/isdn/gigaset/common.c bcs->at_state.ConState = 0; at_state 794 drivers/staging/isdn/gigaset/common.c bcs->at_state.timer_active = 0; at_state 795 drivers/staging/isdn/gigaset/common.c bcs->at_state.timer_expires = 0; at_state 796 drivers/staging/isdn/gigaset/common.c bcs->at_state.cid = -1; /* No CID defined */ at_state 826 drivers/staging/isdn/gigaset/common.c clear_at_state(&cs->at_state); at_state 828 drivers/staging/isdn/gigaset/common.c gigaset_at_init(&cs->at_state, NULL, cs, 0); at_state 896 drivers/staging/isdn/gigaset/common.c if (!gigaset_add_event(cs, &cs->at_state, EV_START, NULL, 0, NULL)) { at_state 934 drivers/staging/isdn/gigaset/common.c if (!gigaset_add_event(cs, &cs->at_state, EV_SHUTDOWN, NULL, 0, NULL)) at_state 961 drivers/staging/isdn/gigaset/common.c if (!gigaset_add_event(cs, &cs->at_state, EV_STOP, NULL, 0, NULL)) at_state 29 drivers/staging/isdn/gigaset/dummyll.c int gigaset_isdn_icall(struct at_state_t *at_state) at_state 427 drivers/staging/isdn/gigaset/ev-layer.c event->at_state = NULL; at_state 457 drivers/staging/isdn/gigaset/ev-layer.c if (cs->at_state.getstring) { at_state 459 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.getstring = 0; at_state 643 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands |= PC_UMMODE; at_state 662 drivers/staging/isdn/gigaset/ev-layer.c static void disconnect_bc(struct at_state_t *at_state, at_state 668 drivers/staging/isdn/gigaset/ev-layer.c ++at_state->seq_index; at_state 672 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands |= PC_UMMODE; at_state 707 drivers/staging/isdn/gigaset/ev-layer.c ret = &cs->bcs[i].at_state; at_state 725 drivers/staging/isdn/gigaset/ev-layer.c struct at_state_t *at_state; at_state 727 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands &= ~PC_INIT; at_state 732 drivers/staging/isdn/gigaset/ev-layer.c at_state = &cs->bcs[i].at_state; at_state 733 drivers/staging/isdn/gigaset/ev-layer.c if (at_state->pending_commands & PC_CID) { at_state 734 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands &= ~PC_CID; at_state 735 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_NOCID; at_state 743 drivers/staging/isdn/gigaset/ev-layer.c if (cs->at_state.pending_commands & PC_INIT) { at_state 750 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands |= PC_INIT; at_state 759 drivers/staging/isdn/gigaset/ev-layer.c struct at_state_t *at_state) at_state 761 drivers/staging/isdn/gigaset/ev-layer.c int cid = at_state->cid; at_state 787 drivers/staging/isdn/gigaset/ev-layer.c struct at_state_t *at_state; at_state 792 drivers/staging/isdn/gigaset/ev-layer.c return &cs->at_state; at_state 795 drivers/staging/isdn/gigaset/ev-layer.c if (cid == cs->bcs[i].at_state.cid) at_state 796 drivers/staging/isdn/gigaset/ev-layer.c return &cs->bcs[i].at_state; at_state 800 drivers/staging/isdn/gigaset/ev-layer.c list_for_each_entry(at_state, &cs->temp_at_states, list) at_state 801 drivers/staging/isdn/gigaset/ev-layer.c if (cid == at_state->cid) { at_state 803 drivers/staging/isdn/gigaset/ev-layer.c return at_state; at_state 840 drivers/staging/isdn/gigaset/ev-layer.c static void start_dial(struct at_state_t *at_state, void *data, at_state 843 drivers/staging/isdn/gigaset/ev-layer.c struct bc_state *bcs = at_state->bcs; at_state 844 drivers/staging/isdn/gigaset/ev-layer.c struct cardstate *cs = at_state->cs; at_state 852 drivers/staging/isdn/gigaset/ev-layer.c if (at_state->seq_index != seq_index) { at_state 863 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_CID; at_state 873 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_NOCID; at_state 879 drivers/staging/isdn/gigaset/ev-layer.c static void start_accept(struct at_state_t *at_state) at_state 881 drivers/staging/isdn/gigaset/ev-layer.c struct cardstate *cs = at_state->cs; at_state 882 drivers/staging/isdn/gigaset/ev-layer.c struct bc_state *bcs = at_state->bcs; at_state 893 drivers/staging/isdn/gigaset/ev-layer.c dev_err(at_state->cs->dev, "out of memory\n"); at_state 895 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_HUP; at_state 904 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_ACCEPT; at_state 949 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands |= PC_SHUTDOWN; at_state 983 drivers/staging/isdn/gigaset/ev-layer.c if (cs->bcs[i].at_state.cid > 0) at_state 992 drivers/staging/isdn/gigaset/ev-layer.c cs->bcs[channel].at_state.pending_commands |= PC_CID; at_state 1003 drivers/staging/isdn/gigaset/ev-layer.c struct at_state_t *at_state; at_state 1008 drivers/staging/isdn/gigaset/ev-layer.c if (test_ptr == &cs->at_state) at_state 1011 drivers/staging/isdn/gigaset/ev-layer.c list_for_each_entry(at_state, &cs->temp_at_states, list) at_state 1012 drivers/staging/isdn/gigaset/ev-layer.c if (at_state == test_ptr) at_state 1016 drivers/staging/isdn/gigaset/ev-layer.c if (&cs->bcs[channel].at_state == test_ptr) at_state 1026 drivers/staging/isdn/gigaset/ev-layer.c struct at_state_t *at_state) at_state 1030 drivers/staging/isdn/gigaset/ev-layer.c retval = gigaset_isdn_icall(at_state); at_state 1043 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_HUP; at_state 1058 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands) at_state 1062 drivers/staging/isdn/gigaset/ev-layer.c if (cs->bcs[i].at_state.pending_commands) at_state 1102 drivers/staging/isdn/gigaset/ev-layer.c struct at_state_t *at_state = *p_at_state; at_state 1116 drivers/staging/isdn/gigaset/ev-layer.c at_state->waiting = 1; at_state 1119 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands &= ~PC_INIT; at_state 1130 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands |= PC_CIDMODE; at_state 1202 drivers/staging/isdn/gigaset/ev-layer.c at_state = get_free_channel(cs, ev->parameter); at_state 1203 drivers/staging/isdn/gigaset/ev-layer.c if (!at_state) { at_state 1212 drivers/staging/isdn/gigaset/ev-layer.c at_state->ConState = 700; at_state 1214 drivers/staging/isdn/gigaset/ev-layer.c kfree(at_state->str_var[i]); at_state 1215 drivers/staging/isdn/gigaset/ev-layer.c at_state->str_var[i] = NULL; at_state 1217 drivers/staging/isdn/gigaset/ev-layer.c at_state->int_var[VAR_ZCTP] = -1; at_state 1220 drivers/staging/isdn/gigaset/ev-layer.c at_state->timer_expires = RING_TIMEOUT; at_state 1221 drivers/staging/isdn/gigaset/ev-layer.c at_state->timer_active = 1; at_state 1225 drivers/staging/isdn/gigaset/ev-layer.c handle_icall(cs, bcs, at_state); at_state 1237 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_DLE1; at_state 1254 drivers/staging/isdn/gigaset/ev-layer.c at_state->int_var[VAR_ZSAU] = ZSAU_NULL; at_state 1258 drivers/staging/isdn/gigaset/ev-layer.c at_state->cid = -1; at_state 1265 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_DLE0; at_state 1268 drivers/staging/isdn/gigaset/ev-layer.c disconnect_bc(at_state, cs, bcs); at_state 1272 drivers/staging/isdn/gigaset/ev-layer.c at_state->int_var[VAR_ZDLE] = 0; at_state 1278 drivers/staging/isdn/gigaset/ev-layer.c disconnect_bc(&bcs2->at_state, cs, bcs2); at_state 1283 drivers/staging/isdn/gigaset/ev-layer.c at_state->cid = -1; at_state 1287 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_DLE0; at_state 1289 drivers/staging/isdn/gigaset/ev-layer.c disconnect_bc(at_state, cs, bcs); at_state 1297 drivers/staging/isdn/gigaset/ev-layer.c disconnect_bc(&bcs2->at_state, cs, bcs2); at_state 1305 drivers/staging/isdn/gigaset/ev-layer.c cs->bcs[channel].at_state.pending_commands |= PC_HUP; at_state 1313 drivers/staging/isdn/gigaset/ev-layer.c cs->bcs[channel].at_state.cid = ev->parameter; at_state 1314 drivers/staging/isdn/gigaset/ev-layer.c cs->bcs[channel].at_state.pending_commands |= at_state 1327 drivers/staging/isdn/gigaset/ev-layer.c disconnect_bc(&bcs2->at_state, cs, bcs2); at_state 1333 drivers/staging/isdn/gigaset/ev-layer.c disconnect_bc(&bcs2->at_state, cs, bcs2); at_state 1343 drivers/staging/isdn/gigaset/ev-layer.c disconnect_bc(at_state, cs, bcs); at_state 1350 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_HUP; at_state 1357 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_HUP; at_state 1362 drivers/staging/isdn/gigaset/ev-layer.c at_state->getstring = 1; at_state 1415 drivers/staging/isdn/gigaset/ev-layer.c __func__, at_state->ConState); at_state 1420 drivers/staging/isdn/gigaset/ev-layer.c __func__, ev->type, at_state->ConState); at_state 1424 drivers/staging/isdn/gigaset/ev-layer.c __func__, ev->type, at_state->ConState); at_state 1428 drivers/staging/isdn/gigaset/ev-layer.c ev->parameter, at_state->ConState); at_state 1439 drivers/staging/isdn/gigaset/ev-layer.c start_dial(at_state, ev->ptr, ev->parameter); at_state 1442 drivers/staging/isdn/gigaset/ev-layer.c start_accept(at_state); at_state 1445 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_HUP; at_state 1486 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands |= PC_CIDMODE; at_state 1489 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands |= PC_UMMODE; at_state 1514 drivers/staging/isdn/gigaset/ev-layer.c *pp_command = at_state->bcs->commands[action - ACT_CMD]; at_state 1533 drivers/staging/isdn/gigaset/ev-layer.c struct at_state_t *at_state; at_state 1539 drivers/staging/isdn/gigaset/ev-layer.c at_state = at_state_from_cid(cs, ev->cid); at_state 1540 drivers/staging/isdn/gigaset/ev-layer.c if (!at_state) { at_state 1543 drivers/staging/isdn/gigaset/ev-layer.c gigaset_add_event(cs, &cs->at_state, RSP_WRONG_CID, at_state 1548 drivers/staging/isdn/gigaset/ev-layer.c at_state = ev->at_state; at_state 1549 drivers/staging/isdn/gigaset/ev-layer.c if (at_state_invalid(cs, at_state)) { at_state 1551 drivers/staging/isdn/gigaset/ev-layer.c at_state); at_state 1557 drivers/staging/isdn/gigaset/ev-layer.c at_state->ConState, ev->type); at_state 1559 drivers/staging/isdn/gigaset/ev-layer.c bcs = at_state->bcs; at_state 1562 drivers/staging/isdn/gigaset/ev-layer.c rep = at_state->replystruct; at_state 1566 drivers/staging/isdn/gigaset/ev-layer.c if (ev->parameter != at_state->timer_index at_state 1567 drivers/staging/isdn/gigaset/ev-layer.c || !at_state->timer_active) { at_state 1571 drivers/staging/isdn/gigaset/ev-layer.c if (at_state->waiting) at_state 1583 drivers/staging/isdn/gigaset/ev-layer.c at_state->int_var[index] = ev->parameter; at_state 1586 drivers/staging/isdn/gigaset/ev-layer.c kfree(at_state->str_var[index]); at_state 1587 drivers/staging/isdn/gigaset/ev-layer.c at_state->str_var[index] = ev->ptr; at_state 1593 drivers/staging/isdn/gigaset/ev-layer.c at_state->getstring = 0; at_state 1603 drivers/staging/isdn/gigaset/ev-layer.c __func__, ev->type, at_state->ConState); at_state 1607 drivers/staging/isdn/gigaset/ev-layer.c && ((int) at_state->ConState >= rep->min_ConState) at_state 1609 drivers/staging/isdn/gigaset/ev-layer.c || (int) at_state->ConState <= rep->max_ConState) at_state 1616 drivers/staging/isdn/gigaset/ev-layer.c at_state->waiting = 0; at_state 1620 drivers/staging/isdn/gigaset/ev-layer.c do_action(rep->action[curact], cs, bcs, &at_state, &p_command, at_state 1622 drivers/staging/isdn/gigaset/ev-layer.c if (!at_state) at_state 1629 drivers/staging/isdn/gigaset/ev-layer.c at_state->ConState = rep->new_ConState; at_state 1633 drivers/staging/isdn/gigaset/ev-layer.c at_state->timer_expires = 0; at_state 1634 drivers/staging/isdn/gigaset/ev-layer.c at_state->timer_active = 0; at_state 1636 drivers/staging/isdn/gigaset/ev-layer.c gigaset_add_event(cs, at_state, resp_code, NULL, 0, NULL); at_state 1641 drivers/staging/isdn/gigaset/ev-layer.c send_command(cs, p_command, at_state); at_state 1643 drivers/staging/isdn/gigaset/ev-layer.c gigaset_add_event(cs, at_state, RSP_NODEV, at_state 1649 drivers/staging/isdn/gigaset/ev-layer.c at_state->timer_expires = 0; at_state 1650 drivers/staging/isdn/gigaset/ev-layer.c at_state->timer_active = 0; at_state 1652 drivers/staging/isdn/gigaset/ev-layer.c at_state->timer_expires = rep->timeout * 10; at_state 1653 drivers/staging/isdn/gigaset/ev-layer.c at_state->timer_active = 1; at_state 1654 drivers/staging/isdn/gigaset/ev-layer.c ++at_state->timer_index; at_state 1661 drivers/staging/isdn/gigaset/ev-layer.c struct at_state_t *at_state, int sequence) at_state 1664 drivers/staging/isdn/gigaset/ev-layer.c gigaset_add_event(cs, at_state, RSP_INIT, NULL, sequence, NULL); at_state 1669 drivers/staging/isdn/gigaset/ev-layer.c struct at_state_t *at_state = NULL; at_state 1687 drivers/staging/isdn/gigaset/ev-layer.c if (cs->at_state.pending_commands & PC_SHUTDOWN) { at_state 1688 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands &= ~PC_CIDMODE; at_state 1691 drivers/staging/isdn/gigaset/ev-layer.c at_state = &bcs->at_state; at_state 1692 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands &= at_state 1694 drivers/staging/isdn/gigaset/ev-layer.c if (at_state->cid > 0) at_state 1695 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_HUP; at_state 1696 drivers/staging/isdn/gigaset/ev-layer.c if (at_state->pending_commands & PC_CID) { at_state 1697 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_NOCID; at_state 1698 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands &= ~PC_CID; at_state 1704 drivers/staging/isdn/gigaset/ev-layer.c if (cs->at_state.pending_commands & PC_INIT) { at_state 1705 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands &= ~PC_CIDMODE; at_state 1708 drivers/staging/isdn/gigaset/ev-layer.c at_state = &bcs->at_state; at_state 1709 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands &= at_state 1711 drivers/staging/isdn/gigaset/ev-layer.c if (at_state->cid > 0) at_state 1712 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_HUP; at_state 1714 drivers/staging/isdn/gigaset/ev-layer.c if (at_state->pending_commands & PC_CID) { at_state 1715 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands |= PC_NOCID; at_state 1716 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands &= ~PC_CID; at_state 1725 drivers/staging/isdn/gigaset/ev-layer.c if (cs->at_state.pending_commands == PC_UMMODE at_state 1730 drivers/staging/isdn/gigaset/ev-layer.c at_state = &cs->at_state; at_state 1733 drivers/staging/isdn/gigaset/ev-layer.c if (bcs->at_state.pending_commands || at_state 1734 drivers/staging/isdn/gigaset/ev-layer.c bcs->at_state.cid > 0) { at_state 1741 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands &= ~PC_UMMODE; at_state 1743 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, at_state, sequence); at_state 1749 drivers/staging/isdn/gigaset/ev-layer.c if (bcs->at_state.pending_commands & PC_HUP) { at_state 1752 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &cs->at_state, SEQ_DLE0); at_state 1755 drivers/staging/isdn/gigaset/ev-layer.c bcs->at_state.pending_commands &= ~PC_HUP; at_state 1756 drivers/staging/isdn/gigaset/ev-layer.c if (bcs->at_state.pending_commands & PC_CID) { at_state 1758 drivers/staging/isdn/gigaset/ev-layer.c bcs->at_state.pending_commands |= PC_NOCID; at_state 1759 drivers/staging/isdn/gigaset/ev-layer.c bcs->at_state.pending_commands &= ~PC_CID; at_state 1761 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &bcs->at_state, SEQ_HUP); at_state 1765 drivers/staging/isdn/gigaset/ev-layer.c if (bcs->at_state.pending_commands & PC_NOCID) { at_state 1766 drivers/staging/isdn/gigaset/ev-layer.c bcs->at_state.pending_commands &= ~PC_NOCID; at_state 1768 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &cs->at_state, SEQ_NOCID); at_state 1770 drivers/staging/isdn/gigaset/ev-layer.c } else if (bcs->at_state.pending_commands & PC_DLE0) { at_state 1771 drivers/staging/isdn/gigaset/ev-layer.c bcs->at_state.pending_commands &= ~PC_DLE0; at_state 1773 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &cs->at_state, SEQ_DLE0); at_state 1778 drivers/staging/isdn/gigaset/ev-layer.c list_for_each_entry(at_state, &cs->temp_at_states, list) at_state 1779 drivers/staging/isdn/gigaset/ev-layer.c if (at_state->pending_commands & PC_HUP) { at_state 1780 drivers/staging/isdn/gigaset/ev-layer.c at_state->pending_commands &= ~PC_HUP; at_state 1781 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, at_state, SEQ_HUP); at_state 1785 drivers/staging/isdn/gigaset/ev-layer.c if (cs->at_state.pending_commands & PC_INIT) { at_state 1786 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands &= ~PC_INIT; at_state 1789 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &cs->at_state, SEQ_INIT); at_state 1792 drivers/staging/isdn/gigaset/ev-layer.c if (cs->at_state.pending_commands & PC_SHUTDOWN) { at_state 1793 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands &= ~PC_SHUTDOWN; at_state 1794 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &cs->at_state, SEQ_SHUTDOWN); at_state 1797 drivers/staging/isdn/gigaset/ev-layer.c if (cs->at_state.pending_commands & PC_CIDMODE) { at_state 1798 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands &= ~PC_CIDMODE; at_state 1801 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &cs->at_state, SEQ_CIDMODE); at_state 1808 drivers/staging/isdn/gigaset/ev-layer.c if (bcs->at_state.pending_commands & PC_DLE1) { at_state 1809 drivers/staging/isdn/gigaset/ev-layer.c bcs->at_state.pending_commands &= ~PC_DLE1; at_state 1811 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &cs->at_state, SEQ_DLE1); at_state 1814 drivers/staging/isdn/gigaset/ev-layer.c if (bcs->at_state.pending_commands & PC_ACCEPT) { at_state 1815 drivers/staging/isdn/gigaset/ev-layer.c bcs->at_state.pending_commands &= ~PC_ACCEPT; at_state 1816 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &bcs->at_state, SEQ_ACCEPT); at_state 1819 drivers/staging/isdn/gigaset/ev-layer.c if (bcs->at_state.pending_commands & PC_DIAL) { at_state 1820 drivers/staging/isdn/gigaset/ev-layer.c bcs->at_state.pending_commands &= ~PC_DIAL; at_state 1821 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &bcs->at_state, SEQ_DIAL); at_state 1824 drivers/staging/isdn/gigaset/ev-layer.c if (bcs->at_state.pending_commands & PC_CID) { at_state 1827 drivers/staging/isdn/gigaset/ev-layer.c cs->at_state.pending_commands |= PC_CIDMODE; at_state 1835 drivers/staging/isdn/gigaset/ev-layer.c bcs->at_state.pending_commands &= ~PC_CID; at_state 1838 drivers/staging/isdn/gigaset/ev-layer.c schedule_sequence(cs, &cs->at_state, SEQ_CID); at_state 354 drivers/staging/isdn/gigaset/gigaset.h struct at_state_t *at_state; at_state 367 drivers/staging/isdn/gigaset/gigaset.h struct at_state_t at_state; at_state 426 drivers/staging/isdn/gigaset/gigaset.h struct at_state_t at_state; /* at_state_t for cid == 0 */ at_state 680 drivers/staging/isdn/gigaset/gigaset.h int gigaset_isdn_icall(struct at_state_t *at_state); at_state 710 drivers/staging/isdn/gigaset/gigaset.h void gigaset_at_init(struct at_state_t *at_state, struct bc_state *bcs, at_state 756 drivers/staging/isdn/gigaset/gigaset.h struct at_state_t *at_state, int type, at_state 776 drivers/staging/isdn/gigaset/gigaset.h gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_CLOSED, NULL, 0, NULL); at_state 784 drivers/staging/isdn/gigaset/gigaset.h gigaset_add_event(bcs->cs, &bcs->at_state, EV_BC_OPEN, NULL, 0, NULL); at_state 40 drivers/staging/isdn/gigaset/interface.c if (!gigaset_add_event(cs, &cs->at_state, EV_IF_LOCK, at_state 74 drivers/staging/isdn/gigaset/interface.c if (!gigaset_add_event(cs, &cs->at_state, EV_IF_VER, at_state 41 drivers/staging/isdn/gigaset/proc.c if (!gigaset_add_event(cs, &cs->at_state, EV_PROC_CIDMODE,