tag | line | file | source code |
st | 168 | arch/i386/math-emu/errors.c | FPU_REG *r = &st(i); |
st | 614 | arch/i386/math-emu/errors.c | reg_move(&CONST_QNaN, &st(0)); |
st | 630 | arch/i386/math-emu/errors.c | reg_move(&CONST_QNaN, &st(0)); |
st | 646 | arch/i386/math-emu/errors.c | reg_move(&CONST_QNaN, &(st(i))); |
st | 662 | arch/i386/math-emu/errors.c | reg_move(&CONST_QNaN, &(st(i))); |
st | 23 | arch/i386/math-emu/fpu_arith.c | reg_add(&st(0), &st(FPU_rm), &st(0), control_word); |
st | 31 | arch/i386/math-emu/fpu_arith.c | reg_mul(&st(0), &st(FPU_rm), &st(0), control_word); |
st | 40 | arch/i386/math-emu/fpu_arith.c | reg_sub(&st(0), &st(FPU_rm), &st(0), control_word); |
st | 48 | arch/i386/math-emu/fpu_arith.c | reg_sub(&st(FPU_rm), &st(0), &st(0), control_word); |
st | 56 | arch/i386/math-emu/fpu_arith.c | reg_div(&st(0), &st(FPU_rm), &st(0), control_word); |
st | 64 | arch/i386/math-emu/fpu_arith.c | reg_div(&st(FPU_rm), &st(0), &st(0), control_word); |
st | 73 | arch/i386/math-emu/fpu_arith.c | reg_add(&st(0), &st(FPU_rm), &st(FPU_rm), control_word); |
st | 81 | arch/i386/math-emu/fpu_arith.c | reg_mul(&st(0), &st(FPU_rm), &st(FPU_rm), control_word); |
st | 91 | arch/i386/math-emu/fpu_arith.c | reg_sub(&st(0), &st(FPU_rm), &st(FPU_rm), control_word); |
st | 101 | arch/i386/math-emu/fpu_arith.c | reg_sub(&st(FPU_rm), &st(0), &st(FPU_rm), control_word); |
st | 109 | arch/i386/math-emu/fpu_arith.c | reg_div(&st(0), &st(FPU_rm), &st(FPU_rm), control_word); |
st | 117 | arch/i386/math-emu/fpu_arith.c | reg_div(&st(FPU_rm), &st(0), &st(FPU_rm), control_word); |
st | 126 | arch/i386/math-emu/fpu_arith.c | if ( !reg_add(&st(0), &st(FPU_rm), &st(FPU_rm), control_word) ) |
st | 135 | arch/i386/math-emu/fpu_arith.c | if ( !reg_mul(&st(0), &st(FPU_rm), &st(FPU_rm), control_word) ) |
st | 147 | arch/i386/math-emu/fpu_arith.c | if ( !reg_sub(&st(0), &st(FPU_rm), &st(FPU_rm), control_word) ) |
st | 158 | arch/i386/math-emu/fpu_arith.c | if ( !reg_sub(&st(FPU_rm), &st(0), &st(FPU_rm), control_word) ) |
st | 167 | arch/i386/math-emu/fpu_arith.c | if ( !reg_div(&st(0), &st(FPU_rm), &st(FPU_rm), control_word) ) |
st | 176 | arch/i386/math-emu/fpu_arith.c | if ( !reg_div(&st(FPU_rm), &st(0), &st(FPU_rm), control_word) ) |
st | 108 | arch/i386/math-emu/fpu_aux.c | { reg_move(&st(FPU_rm), st_new_ptr); push(); } |
st | 127 | arch/i386/math-emu/fpu_aux.c | register FPU_REG *sti_ptr = &st(FPU_rm), *st0_ptr = &st(0); |
st | 159 | arch/i386/math-emu/fpu_aux.c | st(FPU_rm).tag = TW_Empty; |
st | 166 | arch/i386/math-emu/fpu_aux.c | st(FPU_rm).tag = TW_Empty; |
st | 174 | arch/i386/math-emu/fpu_aux.c | reg_move(&st(0), &st(FPU_rm)); |
st | 181 | arch/i386/math-emu/fpu_aux.c | reg_move(&st(0), &st(FPU_rm)); |
st | 122 | arch/i386/math-emu/fpu_emu.h | #define STACK_OVERFLOW (st_new_ptr = &st(-1), st_new_ptr->tag != TW_Empty) |
st | 123 | arch/i386/math-emu/fpu_emu.h | #define NOT_EMPTY(i) (st(i).tag != TW_Empty) |
st | 342 | arch/i386/math-emu/fpu_entry.c | st0_ptr = &st(0); |
st | 519 | arch/i386/math-emu/fpu_entry.c | st0_ptr = &st(0); |
st | 128 | arch/i386/math-emu/fpu_etc.c | (fp_etc_table[FPU_rm])(&st(0)); |
st | 210 | arch/i386/math-emu/fpu_trig.c | st_new_ptr = &st(-1); |
st | 212 | arch/i386/math-emu/fpu_trig.c | reg_move(&st(1), st_new_ptr); |
st | 218 | arch/i386/math-emu/fpu_trig.c | st_new_ptr = &st(-1); |
st | 220 | arch/i386/math-emu/fpu_trig.c | reg_move(&st(1), st_new_ptr); |
st | 292 | arch/i386/math-emu/fpu_trig.c | st_new_ptr = &st(-1); |
st | 349 | arch/i386/math-emu/fpu_trig.c | st_new_ptr = &st(-1); |
st | 692 | arch/i386/math-emu/fpu_trig.c | st_new_ptr = &st(-1); |
st | 765 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st | 984 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1), exponent; |
st | 1103 | arch/i386/math-emu/fpu_trig.c | pop(); st0_ptr = &st(0); |
st | 1128 | arch/i386/math-emu/fpu_trig.c | pop(); st0_ptr = &st(0); |
st | 1194 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st | 1334 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st | 1547 | arch/i386/math-emu/fpu_trig.c | FPU_REG *st1_ptr = &st(1); |
st | 1706 | arch/i386/math-emu/fpu_trig.c | (trig_table_a[FPU_rm])(&st(0)); |
st | 1717 | arch/i386/math-emu/fpu_trig.c | (trig_table_b[FPU_rm])(&st(0)); |
st | 94 | arch/i386/math-emu/load_store.c | st0_ptr = &st(0); /* Some of these instructions pop after |
st | 99 | arch/i386/math-emu/load_store.c | st0_ptr = &st(-1); |
st | 30 | arch/i386/math-emu/reg_compare.c | st0_ptr = &st(0); |
st | 230 | arch/i386/math-emu/reg_compare.c | c = compare(&st(nr)); |
st | 280 | arch/i386/math-emu/reg_compare.c | c = compare(&st(nr)); |
st | 557 | drivers/cdrom/aztcd.c | { int st; |
st | 564 | drivers/cdrom/aztcd.c | { st = inb(DATA_PORT) & 0xFF; |
st | 565 | drivers/cdrom/aztcd.c | return st; |
st | 575 | drivers/cdrom/aztcd.c | { int st; |
st | 579 | drivers/cdrom/aztcd.c | st = inb(DATA_PORT) & 0xFF; |
st | 581 | drivers/cdrom/aztcd.c | printk("aztcd: Status = %x\n",st); |
st | 583 | drivers/cdrom/aztcd.c | if ((st == 0xFF)||(st&AST_CMD_CHECK)) |
st | 588 | drivers/cdrom/aztcd.c | if (((st&AST_MODE_BITS)!=AST_BUSY) && (aztAudioStatus == CDROM_AUDIO_PLAY)) |
st | 592 | drivers/cdrom/aztcd.c | if ((st & AST_DSK_CHG)||(st & AST_NOT_READY)) |
st | 597 | drivers/cdrom/aztcd.c | return st; |
st | 612 | drivers/cdrom/aztcd.c | { int i, st; |
st | 676 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_READ, (void*) arg, sizeof(struct cdrom_multisession)); |
st | 677 | drivers/cdrom/aztcd.c | if (st) return st; |
st | 689 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_WRITE, (void*) arg, sizeof(struct cdrom_multisession)); |
st | 690 | drivers/cdrom/aztcd.c | if (st) return st; |
st | 706 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
st | 707 | drivers/cdrom/aztcd.c | if (st) return st; |
st | 737 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
st | 738 | drivers/cdrom/aztcd.c | if (st) return st; |
st | 767 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof tocHdr); |
st | 768 | drivers/cdrom/aztcd.c | if (st) return st; |
st | 774 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof entry); |
st | 775 | drivers/cdrom/aztcd.c | if (st) return st; |
st | 776 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
st | 777 | drivers/cdrom/aztcd.c | if (st) return st; |
st | 803 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_subchnl)); |
st | 804 | drivers/cdrom/aztcd.c | if (st) { |
st | 808 | drivers/cdrom/aztcd.c | return st; |
st | 810 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_subchnl)); |
st | 811 | drivers/cdrom/aztcd.c | if (st) { |
st | 815 | drivers/cdrom/aztcd.c | return st; |
st | 819 | drivers/cdrom/aztcd.c | if (st) { |
st | 849 | drivers/cdrom/aztcd.c | st=verify_area(VERIFY_READ,(void *) arg, sizeof(volctrl)); |
st | 850 | drivers/cdrom/aztcd.c | if (st) return (st); |
st | 889 | drivers/cdrom/aztcd.c | { st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
st | 890 | drivers/cdrom/aztcd.c | if (st) return st; |
st | 891 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof buf); |
st | 892 | drivers/cdrom/aztcd.c | if (st) return st; |
st | 927 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
st | 928 | drivers/cdrom/aztcd.c | if (st) return st; |
st | 1040 | drivers/cdrom/aztcd.c | int st = 0; |
st | 1103 | drivers/cdrom/aztcd.c | if ((st = aztStatus()) != -1) { |
st | 1104 | drivers/cdrom/aztcd.c | if ((st & AST_DSK_CHG)||(st & AST_NOT_READY)) { |
st | 1115 | drivers/cdrom/aztcd.c | if ((st & AST_DOOR_OPEN)||(st & AST_NOT_READY)) { |
st | 1120 | drivers/cdrom/aztcd.c | printk((st & AST_DOOR_OPEN) ? "aztcd: door open\n" : "aztcd: disk removed\n"); |
st | 1153 | drivers/cdrom/aztcd.c | if ((st = aztStatus()) != -1) { |
st | 1154 | drivers/cdrom/aztcd.c | if ((st & AST_DSK_CHG)||(st & AST_NOT_READY)) { |
st | 1165 | drivers/cdrom/aztcd.c | if ((st & AST_DOOR_OPEN)||(st & AST_NOT_READY)) { |
st | 1168 | drivers/cdrom/aztcd.c | printk((st & AST_DOOR_OPEN) ? "aztcd: door open\n" : "aztcd: disk removed\n"); |
st | 1237 | drivers/cdrom/aztcd.c | st = inb(STATUS_PORT) & AFL_STATUSorDATA; /*???*/ |
st | 1239 | drivers/cdrom/aztcd.c | switch (st) { |
st | 1243 | drivers/cdrom/aztcd.c | if (st!=azt_st_old) { |
st | 1244 | drivers/cdrom/aztcd.c | azt_st_old=st; |
st | 1245 | drivers/cdrom/aztcd.c | printk("---AFL_DATA st:%x\n",st); |
st | 1265 | drivers/cdrom/aztcd.c | if (st!=azt_st_old) { |
st | 1266 | drivers/cdrom/aztcd.c | azt_st_old=st; |
st | 1267 | drivers/cdrom/aztcd.c | printk("---AFL_STATUSorDATA st:%x\n",st); |
st | 1274 | drivers/cdrom/aztcd.c | if (st!=azt_st_old) { |
st | 1275 | drivers/cdrom/aztcd.c | azt_st_old=st; |
st | 1276 | drivers/cdrom/aztcd.c | printk("---default: st:%x\n",st); |
st | 1384 | drivers/cdrom/aztcd.c | if ((st = aztStatus()) == -1 && AztTimeout) |
st | 1387 | drivers/cdrom/aztcd.c | if ((st != -1) && ((st & AST_DSK_CHG)||(st & AST_NOT_READY))) { |
st | 1402 | drivers/cdrom/aztcd.c | if (st != -1) { |
st | 1456 | drivers/cdrom/aztcd.c | { int st; |
st | 1467 | drivers/cdrom/aztcd.c | st = getAztStatus(); /* check drive status */ |
st | 1468 | drivers/cdrom/aztcd.c | if (st == -1) return -EIO; /* drive doesn't respond */ |
st | 1470 | drivers/cdrom/aztcd.c | if (st & AST_DOOR_OPEN) |
st | 1474 | drivers/cdrom/aztcd.c | st = getAztStatus(); |
st | 1477 | drivers/cdrom/aztcd.c | if ((st & AST_NOT_READY) || (st & AST_DSK_CHG)) /*no disk in drive or changed*/ |
st | 1542 | drivers/cdrom/aztcd.c | int st; |
st | 1617 | drivers/cdrom/aztcd.c | if ((st=getAztStatus())==-1) |
st | 1618 | drivers/cdrom/aztcd.c | { printk("aztcd: Drive Status Error Status=%x\n",st); |
st | 1622 | drivers/cdrom/aztcd.c | printk("aztcd: Status = %x\n",st); |
st | 1748 | drivers/cdrom/aztcd.c | int st; |
st | 1753 | drivers/cdrom/aztcd.c | if ((st=getAztStatus())==-1) RETURNM("aztGetQChannelInfo 1",-1); |
st | 1757 | drivers/cdrom/aztcd.c | if ((st&AST_MODE_BITS)==AST_INITIAL) |
st | 1791 | drivers/cdrom/aztcd.c | { int st; |
st | 1824 | drivers/cdrom/aztcd.c | for (st=0;st<CD_FRAMESIZE;st++) inb(DATA_PORT); |
st | 899 | drivers/cdrom/cm206.c | int st; |
st | 902 | drivers/cdrom/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, |
st | 904 | drivers/cdrom/cm206.c | if (st) return (st); |
st | 930 | drivers/cdrom/cm206.c | int st; |
st | 932 | drivers/cdrom/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(header)); |
st | 933 | drivers/cdrom/cm206.c | if (st) return (st); |
st | 942 | drivers/cdrom/cm206.c | int st; |
st | 944 | drivers/cdrom/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(entry)); |
st | 945 | drivers/cdrom/cm206.c | if (st) return (st); |
st | 953 | drivers/cdrom/cm206.c | int st; |
st | 955 | drivers/cdrom/cm206.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(msf)); |
st | 956 | drivers/cdrom/cm206.c | if (st) return (st); |
st | 963 | drivers/cdrom/cm206.c | int st; |
st | 965 | drivers/cdrom/cm206.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(track_index)); |
st | 966 | drivers/cdrom/cm206.c | if (st) return (st); |
st | 1000 | drivers/cdrom/cm206.c | int st; |
st | 1002 | drivers/cdrom/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(q)); |
st | 1003 | drivers/cdrom/cm206.c | if (st) return (st); |
st | 1013 | drivers/cdrom/cm206.c | int st; |
st | 1015 | drivers/cdrom/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, 8); |
st | 1016 | drivers/cdrom/cm206.c | if (st) return (st); |
st | 364 | drivers/cdrom/gscd.c | int st; |
st | 374 | drivers/cdrom/gscd.c | st = disk_state & (ST_NO_DISK | ST_DOOR_OPEN); |
st | 375 | drivers/cdrom/gscd.c | if ( st ) |
st | 237 | drivers/cdrom/mcd.c | int st, retry; |
st | 243 | drivers/cdrom/mcd.c | st = getMcdStatus(MCD_STATUS_DELAY); |
st | 244 | drivers/cdrom/mcd.c | if (st != -1) |
st | 248 | drivers/cdrom/mcd.c | return st; |
st | 259 | drivers/cdrom/mcd.c | int retry, st; |
st | 264 | drivers/cdrom/mcd.c | st = getMcdStatus(2 * MCD_STATUS_DELAY); |
st | 265 | drivers/cdrom/mcd.c | if (st != -1) |
st | 269 | drivers/cdrom/mcd.c | return st; |
st | 287 | drivers/cdrom/mcd.c | int i, st; |
st | 300 | drivers/cdrom/mcd.c | st = statusCmd(); |
st | 301 | drivers/cdrom/mcd.c | if (st < 0) |
st | 368 | drivers/cdrom/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof ti); |
st | 369 | drivers/cdrom/mcd.c | if (st) |
st | 370 | drivers/cdrom/mcd.c | return st; |
st | 411 | drivers/cdrom/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
st | 412 | drivers/cdrom/mcd.c | if (st) |
st | 413 | drivers/cdrom/mcd.c | return st; |
st | 450 | drivers/cdrom/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof tocHdr); |
st | 451 | drivers/cdrom/mcd.c | if (st) |
st | 452 | drivers/cdrom/mcd.c | return st; |
st | 461 | drivers/cdrom/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
st | 462 | drivers/cdrom/mcd.c | if (st) |
st | 463 | drivers/cdrom/mcd.c | return st; |
st | 498 | drivers/cdrom/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof subchnl); |
st | 499 | drivers/cdrom/mcd.c | if (st) |
st | 500 | drivers/cdrom/mcd.c | return st; |
st | 537 | drivers/cdrom/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof(volctrl)); |
st | 538 | drivers/cdrom/mcd.c | if (st) |
st | 539 | drivers/cdrom/mcd.c | return st; |
st | 633 | drivers/cdrom/mcd.c | int st; |
st | 635 | drivers/cdrom/mcd.c | st = inb(MCDPORT(1)) & 0xFF; |
st | 637 | drivers/cdrom/mcd.c | printk("<int1-%02X>", st); |
st | 639 | drivers/cdrom/mcd.c | if (!(st & MFL_STATUS)) |
st | 641 | drivers/cdrom/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
st | 643 | drivers/cdrom/mcd.c | printk("<int0-%02X>", st); |
st | 645 | drivers/cdrom/mcd.c | if ((st & 0xFF) != 0xFF) |
st | 646 | drivers/cdrom/mcd.c | mcd_error = st ? st & 0xFF : -1; |
st | 694 | drivers/cdrom/mcd.c | int st; |
st | 795 | drivers/cdrom/mcd.c | if ((st = mcdStatus()) != -1) { |
st | 797 | drivers/cdrom/mcd.c | if (st & MST_DSK_CHG) { |
st | 805 | drivers/cdrom/mcd.c | if ((st & MST_DOOR_OPEN) || !(st & MST_READY)) { |
st | 812 | drivers/cdrom/mcd.c | printk((st & MST_DOOR_OPEN) ? "mcd: door open\n" : "mcd: disk removed\n"); |
st | 835 | drivers/cdrom/mcd.c | if ((st = mcdStatus()) != -1) { |
st | 837 | drivers/cdrom/mcd.c | if (st & MST_DSK_CHG) { |
st | 845 | drivers/cdrom/mcd.c | if ((st & MST_DOOR_OPEN) || !(st & MST_READY)) { |
st | 852 | drivers/cdrom/mcd.c | printk((st & MST_DOOR_OPEN) ? "mcd: door open\n" : "mcd: disk removed\n"); |
st | 883 | drivers/cdrom/mcd.c | st = inb(MCDPORT(1)) & (MFL_STATUSorDATA); |
st | 886 | drivers/cdrom/mcd.c | printk("Status %02x\n",st); |
st | 888 | drivers/cdrom/mcd.c | switch (st) { |
st | 948 | drivers/cdrom/mcd.c | if ((st = (inb(MCDPORT(1))) & (MFL_STATUSorDATA)) != (MFL_STATUSorDATA)) { |
st | 1015 | drivers/cdrom/mcd.c | if ((st = mcdStatus()) == -1 && McdTimeout) |
st | 1018 | drivers/cdrom/mcd.c | if ((st != -1) && (st & MST_DSK_CHG)) { |
st | 1036 | drivers/cdrom/mcd.c | st = -1; |
st | 1047 | drivers/cdrom/mcd.c | if (st != -1) { |
st | 1095 | drivers/cdrom/mcd.c | int st; |
st | 1107 | drivers/cdrom/mcd.c | st = statusCmd(); /* check drive status */ |
st | 1108 | drivers/cdrom/mcd.c | if (st == -1) |
st | 1111 | drivers/cdrom/mcd.c | if ((st & MST_READY) == 0) /* no disk in drive */ |
st | 1301 | drivers/cdrom/mcd.c | int st; |
st | 1303 | drivers/cdrom/mcd.c | st = inb(MCDPORT(1)) & MFL_STATUS; |
st | 1304 | drivers/cdrom/mcd.c | if (!st) |
st | 1365 | drivers/cdrom/mcd.c | int st; |
st | 1373 | drivers/cdrom/mcd.c | st = inb(MCDPORT(0)) & 0xFF; |
st | 1374 | drivers/cdrom/mcd.c | if (st == 0xFF) |
st | 1377 | drivers/cdrom/mcd.c | if ((st & MST_BUSY) == 0 && audioStatus == CDROM_AUDIO_PLAY) |
st | 1381 | drivers/cdrom/mcd.c | if (st & MST_DSK_CHG) |
st | 1388 | drivers/cdrom/mcd.c | return st; |
st | 878 | drivers/cdrom/mcdx.c | int st; |
st | 907 | drivers/cdrom/mcdx.c | for (st = -1; st == -1 && tries; tries--) { |
st | 921 | drivers/cdrom/mcdx.c | st = *bp; |
st | 925 | drivers/cdrom/mcdx.c | TRACE((TALK, "talk() got status 0x%02x\n", st)); |
st | 928 | drivers/cdrom/mcdx.c | if (e_cmderr(st)) { |
st | 931 | drivers/cdrom/mcdx.c | st = -1; |
st | 938 | drivers/cdrom/mcdx.c | e_audiobusy(st) ? CDROM_AUDIO_PLAY : CDROM_AUDIO_NO_STATUS; |
st | 940 | drivers/cdrom/mcdx.c | && e_audiobusy(st) == 0) |
st | 944 | drivers/cdrom/mcdx.c | if (e_changed(st)) { |
st | 954 | drivers/cdrom/mcdx.c | st = -1; break; |
st | 961 | drivers/cdrom/mcdx.c | if (!tries && st == -1) WARN(("talk() giving up\n")); |
st | 966 | drivers/cdrom/mcdx.c | TRACE((TALK, "talk() done with 0x%02x\n", st)); |
st | 967 | drivers/cdrom/mcdx.c | return st; |
st | 990 | drivers/cdrom/sbpcd.c | int i,j,st=0; |
st | 999 | drivers/cdrom/sbpcd.c | st=inb(CDi_status); |
st | 1000 | drivers/cdrom/sbpcd.c | if (!(st&s_not_result_ready)) break; |
st | 1026 | drivers/cdrom/sbpcd.c | static void EvaluateStatus(int st) |
st | 1029 | drivers/cdrom/sbpcd.c | if (fam1_drive) D_S[d].status_bits=st|p_success; |
st | 1032 | drivers/cdrom/sbpcd.c | if (st&p_caddin_old) D_S[d].status_bits |= p_door_closed|p_caddy_in; |
st | 1033 | drivers/cdrom/sbpcd.c | if (st&p_spinning) D_S[d].status_bits |= p_spinning; |
st | 1034 | drivers/cdrom/sbpcd.c | if (st&p_check) D_S[d].status_bits |= p_check; |
st | 1035 | drivers/cdrom/sbpcd.c | if (st&p_success_old) D_S[d].status_bits |= p_success; |
st | 1036 | drivers/cdrom/sbpcd.c | if (st&p_busy_old) D_S[d].status_bits |= p_busy_new; |
st | 1037 | drivers/cdrom/sbpcd.c | if (st&p_disk_ok) D_S[d].status_bits |= p_disk_ok; |
st | 1042 | drivers/cdrom/sbpcd.c | if (st&p_caddin_old) D_S[d].status_bits |= p_disk_ok|p_caddy_in; |
st | 1043 | drivers/cdrom/sbpcd.c | if (st&p_spinning) D_S[d].status_bits |= p_spinning; |
st | 1044 | drivers/cdrom/sbpcd.c | if (st&p_check) D_S[d].status_bits |= p_check; |
st | 1045 | drivers/cdrom/sbpcd.c | if (st&p_busy_old) D_S[d].status_bits |= p_busy_new; |
st | 1046 | drivers/cdrom/sbpcd.c | if (st&p_lcs_door_closed) D_S[d].status_bits |= p_door_closed; |
st | 1047 | drivers/cdrom/sbpcd.c | if (st&p_lcs_door_locked) D_S[d].status_bits |= p_door_locked; |
st | 1052 | drivers/cdrom/sbpcd.c | if (st&p2_check) D_S[d].status_bits |= p1_check; |
st | 1053 | drivers/cdrom/sbpcd.c | if (st&p2_door_closed) D_S[d].status_bits |= p1_door_closed; |
st | 1054 | drivers/cdrom/sbpcd.c | if (st&p2_disk_in) D_S[d].status_bits |= p1_disk_in; |
st | 1055 | drivers/cdrom/sbpcd.c | if (st&p2_busy1) D_S[d].status_bits |= p1_busy; |
st | 1056 | drivers/cdrom/sbpcd.c | if (st&p2_busy2) D_S[d].status_bits |= p1_busy; |
st | 1057 | drivers/cdrom/sbpcd.c | if (st&p2_spinning) D_S[d].status_bits |= p1_spinning; |
st | 1058 | drivers/cdrom/sbpcd.c | if (st&p2_door_locked) D_S[d].status_bits |= p1_door_locked; |
st | 1059 | drivers/cdrom/sbpcd.c | if (st&p2_disk_ok) D_S[d].status_bits |= p1_disk_ok; |
st | 1065 | drivers/cdrom/sbpcd.c | if (st&p2_check) D_S[d].status_bits |= p1_check; |
st | 1066 | drivers/cdrom/sbpcd.c | if (st&p2_door_closed) D_S[d].status_bits |= p1_door_closed; |
st | 1067 | drivers/cdrom/sbpcd.c | if (st&p2_disk_in) D_S[d].status_bits |= p1_disk_in; |
st | 1068 | drivers/cdrom/sbpcd.c | if (st&p2_busy1) D_S[d].status_bits |= p1_busy; |
st | 1069 | drivers/cdrom/sbpcd.c | if (st&p2_busy2) D_S[d].status_bits |= p1_busy; |
st | 1070 | drivers/cdrom/sbpcd.c | if (st&p2_spinning) D_S[d].status_bits |= p1_spinning; |
st | 1071 | drivers/cdrom/sbpcd.c | if (st&p2_door_locked) D_S[d].status_bits |= p1_door_locked; |
st | 1072 | drivers/cdrom/sbpcd.c | if (st&p2_disk_ok) D_S[d].status_bits |= p1_disk_ok; |
st | 3786 | drivers/cdrom/sbpcd.c | int st; |
st | 3788 | drivers/cdrom/sbpcd.c | st=ResponseStatus(); |
st | 3789 | drivers/cdrom/sbpcd.c | if (st<0) |
st | 3834 | drivers/cdrom/sbpcd.c | int i, st; |
st | 3848 | drivers/cdrom/sbpcd.c | st=GetStatus(); |
st | 3849 | drivers/cdrom/sbpcd.c | if (st<0) return (-EIO); |
st | 3917 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_msf)); |
st | 3918 | drivers/cdrom/sbpcd.c | if (st) return (st); |
st | 3945 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_READ,(void *) arg,sizeof(struct cdrom_ti)); |
st | 3946 | drivers/cdrom/sbpcd.c | if (st<0) |
st | 3949 | drivers/cdrom/sbpcd.c | return (st); |
st | 3971 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_tochdr)); |
st | 3972 | drivers/cdrom/sbpcd.c | if (st) return (st); |
st | 3978 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_tocentry)); |
st | 3979 | drivers/cdrom/sbpcd.c | if (st) return (st); |
st | 3996 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_WRITE,(void *) arg, sizeof(struct cdrom_tocentry)); |
st | 3997 | drivers/cdrom/sbpcd.c | if (st) return (st); |
st | 4042 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_READ,(void *) arg,sizeof(volctrl)); |
st | 4043 | drivers/cdrom/sbpcd.c | if (st) return (st); |
st | 4054 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_WRITE,(void *)arg,sizeof(volctrl)); |
st | 4055 | drivers/cdrom/sbpcd.c | if (st) return (st); |
st | 4056 | drivers/cdrom/sbpcd.c | st=cc_GetVolume(); |
st | 4057 | drivers/cdrom/sbpcd.c | if (st<0) return (st); |
st | 4070 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(struct cdrom_subchnl)); |
st | 4071 | drivers/cdrom/sbpcd.c | if (st) return (st); |
st | 4072 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_subchnl)); |
st | 4073 | drivers/cdrom/sbpcd.c | if (st) return (st); |
st | 4358 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(struct cdrom_multisession)); |
st | 4359 | drivers/cdrom/sbpcd.c | if (st) return (st); |
st | 4368 | drivers/cdrom/sbpcd.c | st=verify_area(VERIFY_WRITE,(void *) arg, sizeof(struct cdrom_multisession)); |
st | 4369 | drivers/cdrom/sbpcd.c | if (st) return (st); |
st | 5401 | drivers/cdrom/sbpcd.c | int i, st; |
st | 5416 | drivers/cdrom/sbpcd.c | st=ResponseStatus(); |
st | 5418 | drivers/cdrom/sbpcd.c | if (st<0) |
st | 832 | drivers/isdn/isdn_common.c | static int isdn_select(struct inode *inode, struct file *file, int type, select_table * st) |
st | 840 | drivers/isdn/isdn_common.c | if (st) |
st | 841 | drivers/isdn/isdn_common.c | select_wait(&(dev->info_waitq), st); |
st | 849 | drivers/isdn/isdn_common.c | return (isdn_ppp_select(minor - ISDN_MINOR_PPP, file, type, st)); |
st | 362 | drivers/isdn/isdn_ppp.c | int isdn_ppp_select(int minor, struct file *file, int type, select_table * st) |
st | 381 | drivers/isdn/isdn_ppp.c | select_wait(&ippp_table[minor].wq, st); |
st | 392 | drivers/isdn/isdn_ppp.c | select_wait(&ippp_table[minor].wq1, st); |
st | 602 | drivers/isdn/teles/callc.c | lf->st->ma.manl1(lf->st, PH_ACTIVATE, NULL); |
st | 624 | drivers/isdn/teles/callc.c | lf->st->ma.manl2(lf->st, DL_ESTABLISH, NULL); |
st | 647 | drivers/isdn/teles/callc.c | lf->st->ma.manl2(lf->st, DL_RELEASE, NULL); |
st | 650 | drivers/isdn/teles/callc.c | lf->st->ma.manl1(lf->st, PH_DEACTIVATE, NULL); |
st | 661 | drivers/isdn/teles/callc.c | lf->st->ma.manl1(lf->st, PH_DEACTIVATE, NULL); |
st | 706 | drivers/isdn/teles/callc.c | struct PStack *st = &chanlist[chan].ds; |
st | 710 | drivers/isdn/teles/callc.c | sp = st->l1.hardware; |
st | 717 | drivers/isdn/teles/callc.c | releasestack_isdnl2(st); |
st | 720 | drivers/isdn/teles/callc.c | releasestack_transl2(st); |
st | 726 | drivers/isdn/teles/callc.c | cc_l1man(struct PStack *st, int pr, void *arg) |
st | 728 | drivers/isdn/teles/callc.c | struct Channel *chanp = (struct Channel *) st->l4.userdata; |
st | 741 | drivers/isdn/teles/callc.c | cc_l2man(struct PStack *st, int pr, void *arg) |
st | 743 | drivers/isdn/teles/callc.c | struct Channel *chanp = (struct Channel *) st->l4.userdata; |
st | 756 | drivers/isdn/teles/callc.c | dcc_l1man(struct PStack *st, int pr, void *arg) |
st | 758 | drivers/isdn/teles/callc.c | struct Channel *chanp = (struct Channel *) st->l4.userdata; |
st | 771 | drivers/isdn/teles/callc.c | dcc_l2man(struct PStack *st, int pr, void *arg) |
st | 773 | drivers/isdn/teles/callc.c | struct Channel *chanp = (struct Channel *) st->l4.userdata; |
st | 786 | drivers/isdn/teles/callc.c | ll_handler(struct PStack *st, int pr, |
st | 789 | drivers/isdn/teles/callc.c | struct Channel *chanp = (struct Channel *) st->l4.userdata; |
st | 819 | drivers/isdn/teles/callc.c | struct PStack *st = &(chanlist[chan].is); |
st | 823 | drivers/isdn/teles/callc.c | setstack_teles(st, sp); |
st | 825 | drivers/isdn/teles/callc.c | st->l2.sap = 0; |
st | 827 | drivers/isdn/teles/callc.c | st->l2.tei = 255; |
st | 829 | drivers/isdn/teles/callc.c | st->l2.ces = ces; |
st | 830 | drivers/isdn/teles/callc.c | st->l2.extended = !0; |
st | 831 | drivers/isdn/teles/callc.c | st->l2.laptype = LAPD; |
st | 832 | drivers/isdn/teles/callc.c | st->l2.window = 1; |
st | 833 | drivers/isdn/teles/callc.c | st->l2.orig = !0; |
st | 834 | drivers/isdn/teles/callc.c | st->l2.t200 = 1000; /* 1000 milliseconds */ |
st | 835 | drivers/isdn/teles/callc.c | if (st->protocol == ISDN_PTYPE_1TR6) { |
st | 836 | drivers/isdn/teles/callc.c | st->l2.n200 = 3; /* try 3 times */ |
st | 837 | drivers/isdn/teles/callc.c | st->l2.t203 = 10000; /* 10000 milliseconds */ |
st | 839 | drivers/isdn/teles/callc.c | st->l2.n200 = 4; /* try 4 times */ |
st | 840 | drivers/isdn/teles/callc.c | st->l2.t203 = 5000; /* 5000 milliseconds */ |
st | 844 | drivers/isdn/teles/callc.c | setstack_isdnl2(st, tmp); |
st | 845 | drivers/isdn/teles/callc.c | setstack_isdnl3(st); |
st | 846 | drivers/isdn/teles/callc.c | st->l2.debug = 2; |
st | 847 | drivers/isdn/teles/callc.c | st->l3.debug = 2; |
st | 848 | drivers/isdn/teles/callc.c | st->l2.debug = 0xff; |
st | 849 | drivers/isdn/teles/callc.c | st->l3.debug = 0xff; |
st | 850 | drivers/isdn/teles/callc.c | st->l4.userdata = chanlist + chan; |
st | 851 | drivers/isdn/teles/callc.c | st->l4.l2writewakeup = NULL; |
st | 853 | drivers/isdn/teles/callc.c | st->l3.l3l4 = ll_handler; |
st | 854 | drivers/isdn/teles/callc.c | st->l1.l1man = cc_l1man; |
st | 855 | drivers/isdn/teles/callc.c | st->l2.l2man = cc_l2man; |
st | 857 | drivers/isdn/teles/callc.c | st->pa = &chanlist[chan].para; |
st | 858 | drivers/isdn/teles/callc.c | teles_addlist(sp, st); |
st | 951 | drivers/isdn/teles/callc.c | chanp->lc_d.st = &chanp->is; |
st | 964 | drivers/isdn/teles/callc.c | chanp->lc_b.st = &chanp->ds; |
st | 1004 | drivers/isdn/teles/callc.c | struct PStack *st = &chanlist[chan].is; |
st | 1006 | drivers/isdn/teles/callc.c | releasestack_isdnl2(st); |
st | 1007 | drivers/isdn/teles/callc.c | teles_rmlist(st->l1.hardware, st); |
st | 1008 | drivers/isdn/teles/callc.c | BufQueueRelease(&st->l2.i_queue); |
st | 1031 | drivers/isdn/teles/callc.c | lldata_handler(struct PStack *st, int pr, |
st | 1034 | drivers/isdn/teles/callc.c | struct Channel *chanp = (struct Channel *) st->l4.userdata; |
st | 1056 | drivers/isdn/teles/callc.c | lltrans_handler(struct PStack *st, int pr, |
st | 1059 | drivers/isdn/teles/callc.c | struct Channel *chanp = (struct Channel *) st->l4.userdata; |
st | 1077 | drivers/isdn/teles/callc.c | ll_writewakeup(struct PStack *st) |
st | 1079 | drivers/isdn/teles/callc.c | struct Channel *chanp = st->l4.userdata; |
st | 1091 | drivers/isdn/teles/callc.c | struct PStack *st = &(chanlist[chan].ds); |
st | 1097 | drivers/isdn/teles/callc.c | st->l1.hardware = sp; |
st | 1102 | drivers/isdn/teles/callc.c | if (setstack_hscx(st, hsp)) |
st | 1105 | drivers/isdn/teles/callc.c | st->l2.extended = 0; |
st | 1106 | drivers/isdn/teles/callc.c | st->l2.laptype = LAPB; |
st | 1107 | drivers/isdn/teles/callc.c | st->l2.orig = !incoming; |
st | 1108 | drivers/isdn/teles/callc.c | st->l2.t200 = 1000; /* 1000 milliseconds */ |
st | 1109 | drivers/isdn/teles/callc.c | st->l2.window = 3; |
st | 1110 | drivers/isdn/teles/callc.c | st->l2.n200 = 4; /* try 4 times */ |
st | 1111 | drivers/isdn/teles/callc.c | st->l2.t203 = 5000; /* 5000 milliseconds */ |
st | 1113 | drivers/isdn/teles/callc.c | st->l2.debug = 0xff; |
st | 1114 | drivers/isdn/teles/callc.c | st->l3.debug = 0xff; |
st | 1118 | drivers/isdn/teles/callc.c | setstack_isdnl2(st, tmp); |
st | 1119 | drivers/isdn/teles/callc.c | st->l2.l2l3 = lldata_handler; |
st | 1120 | drivers/isdn/teles/callc.c | st->l1.l1man = dcc_l1man; |
st | 1121 | drivers/isdn/teles/callc.c | st->l2.l2man = dcc_l2man; |
st | 1122 | drivers/isdn/teles/callc.c | st->l4.userdata = chanlist + chan; |
st | 1123 | drivers/isdn/teles/callc.c | st->l4.l1writewakeup = NULL; |
st | 1124 | drivers/isdn/teles/callc.c | st->l4.l2writewakeup = ll_writewakeup; |
st | 1125 | drivers/isdn/teles/callc.c | st->l2.l2m.debug = debugflags & 16; |
st | 1126 | drivers/isdn/teles/callc.c | st->ma.manl2(st, MDL_NOTEIPROC, NULL); |
st | 1127 | drivers/isdn/teles/callc.c | st->l1.hscxmode = 2; /* Packet-Mode ? */ |
st | 1128 | drivers/isdn/teles/callc.c | st->l1.hscxchannel = chanlist[chan].para.bchannel - 1; |
st | 1131 | drivers/isdn/teles/callc.c | st->l1.l1l2 = lltrans_handler; |
st | 1132 | drivers/isdn/teles/callc.c | st->l1.l1man = dcc_l1man; |
st | 1133 | drivers/isdn/teles/callc.c | st->l4.userdata = chanlist + chan; |
st | 1134 | drivers/isdn/teles/callc.c | st->l4.l1writewakeup = ll_writewakeup; |
st | 1135 | drivers/isdn/teles/callc.c | st->l1.hscxmode = 2; |
st | 1136 | drivers/isdn/teles/callc.c | st->l1.hscxchannel = chanlist[chan].para.bchannel - 1; |
st | 1269 | drivers/isdn/teles/callc.c | struct PStack *st = &chanp->ds; |
st | 1274 | drivers/isdn/teles/callc.c | err = BufPoolGet(&ibh, st->l1.sbufpool, GFP_ATOMIC, st, 21); |
st | 1284 | drivers/isdn/teles/callc.c | i = st->l2.ihsize; |
st | 23 | drivers/isdn/teles/card.c | extern void tei_handler(struct PStack *st, byte pr, |
st | 483 | drivers/isdn/teles/card.c | if (hsp->st->l4.l1writewakeup) |
st | 484 | drivers/isdn/teles/card.c | hsp->st->l4.l1writewakeup(hsp->st); |
st | 614 | drivers/isdn/teles/card.c | struct PStack *st; |
st | 616 | drivers/isdn/teles/card.c | st = sp->stlist; |
st | 617 | drivers/isdn/teles/card.c | while (st) |
st | 618 | drivers/isdn/teles/card.c | if (st->l1.act_state) |
st | 621 | drivers/isdn/teles/card.c | st = st->next; |
st | 831 | drivers/isdn/teles/card.c | struct PStack *st; |
st | 833 | drivers/isdn/teles/card.c | st = sp->stlist; |
st | 834 | drivers/isdn/teles/card.c | while (st) { |
st | 835 | drivers/isdn/teles/card.c | if (st->l1.act_state == 1) { |
st | 836 | drivers/isdn/teles/card.c | st->l1.act_state = 2; |
st | 837 | drivers/isdn/teles/card.c | st->l1.l1man(st, PH_ACTIVATE, NULL); |
st | 839 | drivers/isdn/teles/card.c | st = st->next; |
st | 945 | drivers/isdn/teles/card.c | struct PStack *st = hsp->st; |
st | 950 | drivers/isdn/teles/card.c | if (st->l1.requestpull) { |
st | 951 | drivers/isdn/teles/card.c | st->l1.requestpull = 0; |
st | 952 | drivers/isdn/teles/card.c | st->l1.l1l2(st, PH_PULL_ACK, NULL); |
st | 971 | drivers/isdn/teles/card.c | hsp->st->l1.l1l2(hsp->st, PH_DATA, ibh); |
st | 1286 | drivers/isdn/teles/card.c | struct PStack *st) |
st | 1288 | drivers/isdn/teles/card.c | st->next = sp->stlist; |
st | 1289 | drivers/isdn/teles/card.c | sp->stlist = st; |
st | 1294 | drivers/isdn/teles/card.c | struct PStack *st) |
st | 1298 | drivers/isdn/teles/card.c | if (sp->stlist == st) |
st | 1299 | drivers/isdn/teles/card.c | sp->stlist = st->next; |
st | 1303 | drivers/isdn/teles/card.c | if (p->next == st) { |
st | 1304 | drivers/isdn/teles/card.c | p->next = st->next; |
st | 1313 | drivers/isdn/teles/card.c | teles_l2l1(struct PStack *st, int pr, |
st | 1317 | drivers/isdn/teles/card.c | st->l1.hardware; |
st | 1343 | drivers/isdn/teles/card.c | st->l1.requestpull = 0; |
st | 1344 | drivers/isdn/teles/card.c | st->l1.l1l2(st, PH_PULL_ACK, NULL); |
st | 1346 | drivers/isdn/teles/card.c | st->l1.requestpull = !0; |
st | 1354 | drivers/isdn/teles/card.c | struct PStack *st = sp->stlist; |
st | 1356 | drivers/isdn/teles/card.c | while (st) { |
st | 1357 | drivers/isdn/teles/card.c | if (st->l1.act_state) |
st | 1359 | drivers/isdn/teles/card.c | st = st->next; |
st | 1365 | drivers/isdn/teles/card.c | teles_manl1(struct PStack *st, int pr, |
st | 1369 | drivers/isdn/teles/card.c | st->l1.hardware; |
st | 1377 | drivers/isdn/teles/card.c | st->l1.act_state = 2; |
st | 1379 | drivers/isdn/teles/card.c | st->l1.l1man(st, PH_ACTIVATE, NULL); |
st | 1381 | drivers/isdn/teles/card.c | st->l1.act_state = 1; |
st | 1388 | drivers/isdn/teles/card.c | st->l1.act_state = 0; |
st | 1395 | drivers/isdn/teles/card.c | teles_l2l1discardq(struct PStack *st, int pr, |
st | 1398 | drivers/isdn/teles/card.c | struct IsdnCardState *sp = (struct IsdnCardState *) st->l1.hardware; |
st | 1411 | drivers/isdn/teles/card.c | setstack_teles(struct PStack *st, struct IsdnCardState *sp) |
st | 1413 | drivers/isdn/teles/card.c | st->l1.hardware = sp; |
st | 1414 | drivers/isdn/teles/card.c | st->l1.sbufpool = &(sp->sbufpool); |
st | 1415 | drivers/isdn/teles/card.c | st->l1.rbufpool = &(sp->rbufpool); |
st | 1416 | drivers/isdn/teles/card.c | st->l1.smallpool = &(sp->smallpool); |
st | 1417 | drivers/isdn/teles/card.c | st->protocol = sp->teistack->protocol; |
st | 1419 | drivers/isdn/teles/card.c | setstack_tei(st); |
st | 1421 | drivers/isdn/teles/card.c | st->l1.stlistp = &(sp->stlist); |
st | 1422 | drivers/isdn/teles/card.c | st->l1.act_state = 0; |
st | 1423 | drivers/isdn/teles/card.c | st->l2.l2l1 = teles_l2l1; |
st | 1424 | drivers/isdn/teles/card.c | st->l2.l2l1discardq = teles_l2l1discardq; |
st | 1425 | drivers/isdn/teles/card.c | st->ma.manl1 = teles_manl1; |
st | 1426 | drivers/isdn/teles/card.c | st->l1.requestpull = 0; |
st | 1635 | drivers/isdn/teles/card.c | hscx_l2l1(struct PStack *st, int pr, |
st | 1639 | drivers/isdn/teles/card.c | st->l1.hardware; |
st | 1640 | drivers/isdn/teles/card.c | struct HscxState *hsp = sp->hs + st->l1.hscx; |
st | 1665 | drivers/isdn/teles/card.c | st->l1.requestpull = 0; |
st | 1666 | drivers/isdn/teles/card.c | st->l1.l1l2(st, PH_PULL_ACK, NULL); |
st | 1668 | drivers/isdn/teles/card.c | st->l1.requestpull = !0; |
st | 1677 | drivers/isdn/teles/card.c | hscx_l2l1discardq(struct PStack *st, int pr, void *heldby, |
st | 1681 | drivers/isdn/teles/card.c | st->l1.hardware; |
st | 1682 | drivers/isdn/teles/card.c | struct HscxState *hsp = sp->hs + st->l1.hscx; |
st | 1723 | drivers/isdn/teles/card.c | hscx_manl1(struct PStack *st, int pr, |
st | 1727 | drivers/isdn/teles/card.c | st->l1.hardware; |
st | 1728 | drivers/isdn/teles/card.c | struct HscxState *hsp = sp->hs + st->l1.hscx; |
st | 1733 | drivers/isdn/teles/card.c | modehscx(hsp, st->l1.hscxmode, st->l1.hscxchannel); |
st | 1734 | drivers/isdn/teles/card.c | st->l1.l1man(st, PH_ACTIVATE, NULL); |
st | 1746 | drivers/isdn/teles/card.c | setstack_hscx(struct PStack *st, struct HscxState *hs) |
st | 1748 | drivers/isdn/teles/card.c | if (open_hscxstate(st->l1.hardware, hs->hscx)) |
st | 1751 | drivers/isdn/teles/card.c | st->l1.hscx = hs->hscx; |
st | 1752 | drivers/isdn/teles/card.c | st->l2.l2l1 = hscx_l2l1; |
st | 1753 | drivers/isdn/teles/card.c | st->ma.manl1 = hscx_manl1; |
st | 1754 | drivers/isdn/teles/card.c | st->l2.l2l1discardq = hscx_l2l1discardq; |
st | 1756 | drivers/isdn/teles/card.c | st->l1.sbufpool = &hs->sbufpool; |
st | 1757 | drivers/isdn/teles/card.c | st->l1.rbufpool = &hs->rbufpool; |
st | 1758 | drivers/isdn/teles/card.c | st->l1.smallpool = &hs->smallpool; |
st | 1759 | drivers/isdn/teles/card.c | st->l1.act_state = 0; |
st | 1760 | drivers/isdn/teles/card.c | st->l1.requestpull = 0; |
st | 1762 | drivers/isdn/teles/card.c | hs->st = st; |
st | 120 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 123 | drivers/isdn/teles/isdnl2.c | st->l1.service_down(st, PH_ACTIVATE, NULL); |
st | 129 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 132 | drivers/isdn/teles/isdnl2.c | st->l3.service_up(st, DL_ACTIVATE_CNF, NULL); |
st | 138 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 141 | drivers/isdn/teles/isdnl2.c | st->l1.service_down(st, PH_DEACTIVATE, NULL); |
st | 147 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 150 | drivers/isdn/teles/isdnl2.c | st->l3.service_up(st, DL_DEACTIVATE_IND, NULL); |
st | 169 | drivers/isdn/teles/isdnl2.c | cansend(struct PStack *st) |
st | 173 | drivers/isdn/teles/isdnl2.c | p1 = (st->l2.va + st->l2.window) % (st->l2.extended ? 128 : 8); |
st | 174 | drivers/isdn/teles/isdnl2.c | return (st->l2.vs != p1); |
st | 178 | drivers/isdn/teles/isdnl2.c | discard_i_queue(struct PStack *st) |
st | 182 | drivers/isdn/teles/isdnl2.c | while (!BufQueueUnlink(&ibh, &st->l2.i_queue)) |
st | 188 | drivers/isdn/teles/isdnl2.c | discard_window(struct PStack *st) |
st | 194 | drivers/isdn/teles/isdnl2.c | l2 = &st->l2; |
st | 246 | drivers/isdn/teles/isdnl2.c | enqueue_ui(struct PStack *st, |
st | 255 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_DATA, ibh); |
st | 259 | drivers/isdn/teles/isdnl2.c | enqueue_super(struct PStack *st, |
st | 268 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_DATA, ibh); |
st | 272 | drivers/isdn/teles/isdnl2.c | legalnr(struct PStack *st, int nr) |
st | 274 | drivers/isdn/teles/isdnl2.c | struct Layer2 *l2 = &st->l2; |
st | 283 | drivers/isdn/teles/isdnl2.c | setva(struct PStack *st, int nr) |
st | 285 | drivers/isdn/teles/isdnl2.c | struct Layer2 *l2 = &st->l2; |
st | 293 | drivers/isdn/teles/isdnl2.c | if (st->l4.l2writewakeup) |
st | 294 | drivers/isdn/teles/isdnl2.c | st->l4.l2writewakeup(st); |
st | 301 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 303 | drivers/isdn/teles/isdnl2.c | st->l2.l2tei(st, MDL_ASSIGN, (void *)st->l2.ces); |
st | 310 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 316 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&(st->l2), ibh, 0); |
st | 321 | drivers/isdn/teles/isdnl2.c | enqueue_ui(st, ibh); |
st | 327 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 330 | drivers/isdn/teles/isdnl2.c | st->l2.l2l3(st, DL_UNIT_DATA, ibh); |
st | 336 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 342 | drivers/isdn/teles/isdnl2.c | st->l2.rc = 0; |
st | 344 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t200_timer, st->l2.t200, EV_L2_T200, NULL, 1)) |
st | 345 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 346 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 1"); |
st | 349 | drivers/isdn/teles/isdnl2.c | if (BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 15)) |
st | 351 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&st->l2, ibh, 0); |
st | 354 | drivers/isdn/teles/isdnl2.c | if (st->l2.extended) |
st | 360 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh); |
st | 372 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 373 | drivers/isdn/teles/isdnl2.c | struct Channel *chanp = st->l4.userdata; |
st | 380 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t203_timer, 1); |
st | 381 | drivers/isdn/teles/isdnl2.c | if (st->l2.t200_running) { |
st | 382 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 2); |
st | 383 | drivers/isdn/teles/isdnl2.c | st->l2.t200_running = 0; |
st | 385 | drivers/isdn/teles/isdnl2.c | st->l2.rc = 0; |
st | 386 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t200_timer, st->l2.t200, EV_L2_T200, NULL, 2)) |
st | 387 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 388 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 2"); |
st | 391 | drivers/isdn/teles/isdnl2.c | if ((chanp->impair == 2) && (st->l2.laptype == LAPB)) |
st | 394 | drivers/isdn/teles/isdnl2.c | if (BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 9)) |
st | 396 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&(st->l2), ibh, 0); |
st | 401 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh); |
st | 404 | drivers/isdn/teles/isdnl2.c | discard_i_queue(st); |
st | 410 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 416 | drivers/isdn/teles/isdnl2.c | st->l2.vs = 0; |
st | 417 | drivers/isdn/teles/isdnl2.c | st->l2.va = 0; |
st | 418 | drivers/isdn/teles/isdnl2.c | st->l2.vr = 0; |
st | 419 | drivers/isdn/teles/isdnl2.c | st->l2.sow = 0; |
st | 421 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t203_timer, st->l2.t203, EV_L2_T203, NULL, 3)) |
st | 422 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 423 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 3"); |
st | 425 | drivers/isdn/teles/isdnl2.c | st->l2.l2man(st, DL_ESTABLISH, NULL); |
st | 427 | drivers/isdn/teles/isdnl2.c | if (BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 10)) |
st | 429 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&(st->l2), ibh, 0); |
st | 434 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh); |
st | 441 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 443 | drivers/isdn/teles/isdnl2.c | struct Channel *chanp = st->l4.userdata; |
st | 448 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(&(st->l2)); |
st | 454 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t203_timer, 3); |
st | 455 | drivers/isdn/teles/isdnl2.c | if (st->l2.t200_running) { |
st | 456 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 4); |
st | 457 | drivers/isdn/teles/isdnl2.c | st->l2.t200_running = 0; |
st | 459 | drivers/isdn/teles/isdnl2.c | if ((chanp->impair == 1) && (st->l2.laptype == LAPB)) |
st | 462 | drivers/isdn/teles/isdnl2.c | if (BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 11)) |
st | 464 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&(st->l2), ibh, 0); |
st | 469 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh); |
st | 472 | drivers/isdn/teles/isdnl2.c | st->l2.l2man(st, DL_RELEASE, NULL); |
st | 479 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 485 | drivers/isdn/teles/isdnl2.c | data += l2addrsize(&(st->l2)); |
st | 491 | drivers/isdn/teles/isdnl2.c | st->l2.vs = 0; |
st | 492 | drivers/isdn/teles/isdnl2.c | st->l2.va = 0; |
st | 493 | drivers/isdn/teles/isdnl2.c | st->l2.vr = 0; |
st | 494 | drivers/isdn/teles/isdnl2.c | st->l2.sow = 0; |
st | 497 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 5); |
st | 498 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t203_timer, st->l2.t203, EV_L2_T203, NULL, 4)) |
st | 499 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 500 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 4"); |
st | 503 | drivers/isdn/teles/isdnl2.c | st->l2.l2man(st, DL_ESTABLISH, NULL); |
st | 510 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 516 | drivers/isdn/teles/isdnl2.c | data += l2addrsize(&st->l2); |
st | 522 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 6); |
st | 524 | drivers/isdn/teles/isdnl2.c | st->l2.l2man(st, DL_RELEASE, NULL); |
st | 531 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 532 | drivers/isdn/teles/isdnl2.c | struct Channel *chanp = st->l4.userdata; |
st | 538 | drivers/isdn/teles/isdnl2.c | l2 = &st->l2; |
st | 562 | drivers/isdn/teles/isdnl2.c | if ((chanp->impair == 4) && (st->l2.laptype == LAPB)) |
st | 566 | drivers/isdn/teles/isdnl2.c | if (!BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 12)) { |
st | 580 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh); |
st | 584 | drivers/isdn/teles/isdnl2.c | if (legalnr(st, seq)) |
st | 585 | drivers/isdn/teles/isdnl2.c | if (seq == st->l2.vs) { |
st | 586 | drivers/isdn/teles/isdnl2.c | setva(st, seq); |
st | 587 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 7); |
st | 588 | drivers/isdn/teles/isdnl2.c | st->l2.t200_running = 0; |
st | 589 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t203_timer, 8); |
st | 590 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t203_timer, st->l2.t203, EV_L2_T203, NULL, 5)) |
st | 591 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 592 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 5"); |
st | 594 | drivers/isdn/teles/isdnl2.c | if (st->l2.i_queue.head) |
st | 595 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_REQUEST_PULL, NULL); |
st | 596 | drivers/isdn/teles/isdnl2.c | } else if (st->l2.va != seq) { |
st | 597 | drivers/isdn/teles/isdnl2.c | setva(st, seq); |
st | 598 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 9); |
st | 599 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t200_timer, st->l2.t200, EV_L2_T200, NULL, 6)) |
st | 600 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 601 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 6"); |
st | 603 | drivers/isdn/teles/isdnl2.c | if (st->l2.i_queue.head) |
st | 604 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_REQUEST_PULL, NULL); |
st | 611 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 615 | drivers/isdn/teles/isdnl2.c | struct IsdnCardState *sp = st->l1.hardware; |
st | 618 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&st->l2, ibh, 0); |
st | 621 | drivers/isdn/teles/isdnl2.c | if (st->l2.laptype == LAPD) |
st | 623 | drivers/isdn/teles/isdnl2.c | sprintf(str, "Q.931 frame user->network tei %d", st->l2.tei); |
st | 624 | drivers/isdn/teles/isdnl2.c | dlogframe(sp, ptr + st->l2.ihsize, ibh->datasize - st->l2.ihsize, |
st | 627 | drivers/isdn/teles/isdnl2.c | BufQueueLink(&st->l2.i_queue, ibh); |
st | 629 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_REQUEST_PULL, NULL); |
st | 635 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 636 | drivers/isdn/teles/isdnl2.c | struct Channel *chanp = st->l4.userdata; |
st | 640 | drivers/isdn/teles/isdnl2.c | struct IsdnCardState *sp = st->l1.hardware; |
st | 641 | drivers/isdn/teles/isdnl2.c | struct Layer2 *l2 = &(st->l2); |
st | 664 | drivers/isdn/teles/isdnl2.c | if (st->l2.laptype == LAPD) |
st | 666 | drivers/isdn/teles/isdnl2.c | sprintf(str, "Q.931 frame network->user tei %d", st->l2.tei); |
st | 667 | drivers/isdn/teles/isdnl2.c | dlogframe(st->l1.hardware, ptr + l2->ihsize, |
st | 671 | drivers/isdn/teles/isdnl2.c | if ((chanp->impair == 3) && (st->l2.laptype == LAPB)) |
st | 674 | drivers/isdn/teles/isdnl2.c | if (!BufPoolGet(&ibh2, st->l1.smallpool, GFP_ATOMIC, (void *) st, 13)) { |
st | 675 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&(st->l2), ibh2, p); |
st | 688 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh2); |
st | 695 | drivers/isdn/teles/isdnl2.c | if (st->l2.rejexp) { |
st | 699 | drivers/isdn/teles/isdnl2.c | st->l2.rejexp = !0; |
st | 700 | drivers/isdn/teles/isdnl2.c | if (!BufPoolGet(&ibh2, st->l1.smallpool, GFP_ATOMIC, (void *) st, 14)) { |
st | 701 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&(st->l2), ibh2, p); |
st | 714 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh2); |
st | 719 | drivers/isdn/teles/isdnl2.c | if (legalnr(st, nr)) |
st | 720 | drivers/isdn/teles/isdnl2.c | if (nr == st->l2.vs) { |
st | 721 | drivers/isdn/teles/isdnl2.c | setva(st, nr); |
st | 722 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 10); |
st | 723 | drivers/isdn/teles/isdnl2.c | st->l2.t200_running = 0; |
st | 724 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t203_timer, 11); |
st | 725 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t203_timer, st->l2.t203, EV_L2_T203, NULL, 7)) |
st | 726 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 727 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 5"); |
st | 729 | drivers/isdn/teles/isdnl2.c | if (st->l2.i_queue.head) |
st | 730 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_REQUEST_PULL, NULL); |
st | 731 | drivers/isdn/teles/isdnl2.c | } else if (nr != st->l2.va) { |
st | 732 | drivers/isdn/teles/isdnl2.c | setva(st, nr); |
st | 733 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 12); |
st | 734 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t200_timer, st->l2.t200, EV_L2_T200, NULL, 8)) |
st | 735 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 736 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 6"); |
st | 738 | drivers/isdn/teles/isdnl2.c | if (st->l2.i_queue.head) |
st | 739 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_REQUEST_PULL, NULL); |
st | 742 | drivers/isdn/teles/isdnl2.c | st->l2.l2l3(st, DL_DATA, ibh); |
st | 749 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 751 | drivers/isdn/teles/isdnl2.c | st->l2.tei = (int) arg; |
st | 756 | drivers/isdn/teles/isdnl2.c | enquiry_response(struct PStack *st) |
st | 763 | drivers/isdn/teles/isdnl2.c | l2 = &st->l2; |
st | 764 | drivers/isdn/teles/isdnl2.c | if (!BufPoolGet(&ibh2, st->l1.smallpool, GFP_ATOMIC, (void *) st, 16)) { |
st | 765 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&(st->l2), ibh2, !0); |
st | 778 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh2); |
st | 783 | drivers/isdn/teles/isdnl2.c | invoke_retransmission(struct PStack *st, int nr) |
st | 785 | drivers/isdn/teles/isdnl2.c | struct Layer2 *l2 = &st->l2; |
st | 802 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_REQUEST_PULL, NULL); |
st | 809 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 815 | drivers/isdn/teles/isdnl2.c | l2 = &(st->l2); |
st | 841 | drivers/isdn/teles/isdnl2.c | enquiry_response(st); |
st | 843 | drivers/isdn/teles/isdnl2.c | if (!legalnr(st, seq)) |
st | 846 | drivers/isdn/teles/isdnl2.c | setva(st, seq); |
st | 847 | drivers/isdn/teles/isdnl2.c | invoke_retransmission(st, seq); |
st | 860 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 865 | drivers/isdn/teles/isdnl2.c | if (st->l2.rc == st->l2.n200) { |
st | 867 | drivers/isdn/teles/isdnl2.c | st->l2.l2man(st, DL_RELEASE, NULL); |
st | 869 | drivers/isdn/teles/isdnl2.c | st->l2.rc++; |
st | 871 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t200_timer, st->l2.t200, EV_L2_T200, NULL, 9)) |
st | 872 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 873 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 7"); |
st | 875 | drivers/isdn/teles/isdnl2.c | if (BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 15)) |
st | 878 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&st->l2, ibh, 0); |
st | 881 | drivers/isdn/teles/isdnl2.c | if (st->l2.extended) |
st | 886 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh); |
st | 893 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 894 | drivers/isdn/teles/isdnl2.c | struct Channel *chanp = st->l4.userdata; |
st | 899 | drivers/isdn/teles/isdnl2.c | if (st->l2.rc == st->l2.n200) { |
st | 901 | drivers/isdn/teles/isdnl2.c | st->l2.l2man(st, DL_RELEASE, NULL); |
st | 903 | drivers/isdn/teles/isdnl2.c | st->l2.rc++; |
st | 905 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t200_timer, st->l2.t200, EV_L2_T200, NULL, 10)) |
st | 906 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 907 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 8"); |
st | 910 | drivers/isdn/teles/isdnl2.c | if ((chanp->impair == 2) && (st->l2.laptype == LAPB)) |
st | 913 | drivers/isdn/teles/isdnl2.c | if (BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 15)) |
st | 916 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&st->l2, ibh, 0); |
st | 921 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh); |
st | 930 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 932 | drivers/isdn/teles/isdnl2.c | struct Layer2 *l2 = &st->l2; |
st | 936 | drivers/isdn/teles/isdnl2.c | if (!cansend(st)) |
st | 961 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_DATA_PULLED, ibh); |
st | 963 | drivers/isdn/teles/isdnl2.c | if (!st->l2.t200_running) { |
st | 964 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t203_timer, 13); |
st | 965 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t200_timer, st->l2.t200, EV_L2_T200, NULL, 11)) |
st | 966 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 967 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 9"); |
st | 969 | drivers/isdn/teles/isdnl2.c | st->l2.t200_running = !0; |
st | 971 | drivers/isdn/teles/isdnl2.c | if (l2->i_queue.head && cansend(st)) |
st | 972 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_REQUEST_PULL, NULL); |
st | 977 | drivers/isdn/teles/isdnl2.c | transmit_enquiry(struct PStack *st) |
st | 982 | drivers/isdn/teles/isdnl2.c | if (!BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 12)) { |
st | 984 | drivers/isdn/teles/isdnl2.c | ptr += sethdraddr(&st->l2, ibh, 0); |
st | 986 | drivers/isdn/teles/isdnl2.c | if (st->l2.extended) { |
st | 988 | drivers/isdn/teles/isdnl2.c | *ptr++ = (st->l2.vr << 1) | 1; |
st | 990 | drivers/isdn/teles/isdnl2.c | *ptr++ = (st->l2.vr << 5) | 0x11; |
st | 993 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh); |
st | 994 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t200_timer, st->l2.t200, EV_L2_T200, NULL, 12)) |
st | 995 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 996 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 10"); |
st | 998 | drivers/isdn/teles/isdnl2.c | st->l2.t200_running = !0; |
st | 1005 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 1007 | drivers/isdn/teles/isdnl2.c | st->l2.t200_running = 0; |
st | 1009 | drivers/isdn/teles/isdnl2.c | st->l2.rc = 1; |
st | 1011 | drivers/isdn/teles/isdnl2.c | transmit_enquiry(st); |
st | 1017 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 1023 | drivers/isdn/teles/isdnl2.c | l2 = &st->l2; |
st | 1049 | drivers/isdn/teles/isdnl2.c | if (legalnr(st, seq)) { |
st | 1051 | drivers/isdn/teles/isdnl2.c | setva(st, seq); |
st | 1052 | drivers/isdn/teles/isdnl2.c | if (st->l2.t200_running) { |
st | 1053 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 14); |
st | 1054 | drivers/isdn/teles/isdnl2.c | st->l2.t200_running = 0; |
st | 1056 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t203_timer, st->l2.t203, EV_L2_T203, NULL, 13)) |
st | 1057 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 1058 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 11"); |
st | 1060 | drivers/isdn/teles/isdnl2.c | invoke_retransmission(st, seq); |
st | 1064 | drivers/isdn/teles/isdnl2.c | enquiry_response(st); |
st | 1065 | drivers/isdn/teles/isdnl2.c | if (legalnr(st, seq)) { |
st | 1066 | drivers/isdn/teles/isdnl2.c | setva(st, seq); |
st | 1074 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 1076 | drivers/isdn/teles/isdnl2.c | st->l2.rc = 0; |
st | 1078 | drivers/isdn/teles/isdnl2.c | transmit_enquiry(st); |
st | 1084 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 1086 | drivers/isdn/teles/isdnl2.c | if (st->l2.rc == st->l2.n200) { |
st | 1089 | drivers/isdn/teles/isdnl2.c | st->l2.rc++; |
st | 1090 | drivers/isdn/teles/isdnl2.c | transmit_enquiry(st); |
st | 1097 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 1103 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(&st->l2); |
st | 1105 | drivers/isdn/teles/isdnl2.c | if (st->l2.extended) |
st | 1112 | drivers/isdn/teles/isdnl2.c | if (BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 10)) |
st | 1114 | drivers/isdn/teles/isdnl2.c | i = sethdraddr(&st->l2, ibh, 0); |
st | 1119 | drivers/isdn/teles/isdnl2.c | enqueue_super(st, ibh); |
st | 1121 | drivers/isdn/teles/isdnl2.c | if (st->l2.vs != st->l2.va) { |
st | 1122 | drivers/isdn/teles/isdnl2.c | discard_i_queue(st); |
st | 1127 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 15); |
st | 1128 | drivers/isdn/teles/isdnl2.c | st->l2.t200_running = 0; |
st | 1130 | drivers/isdn/teles/isdnl2.c | if (FsmAddTimer(&st->l2.t203_timer, st->l2.t203, EV_L2_T203, NULL, 3)) |
st | 1131 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) |
st | 1132 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, "FAT 12"); |
st | 1134 | drivers/isdn/teles/isdnl2.c | st->l2.vs = 0; |
st | 1135 | drivers/isdn/teles/isdnl2.c | st->l2.va = 0; |
st | 1136 | drivers/isdn/teles/isdnl2.c | st->l2.vr = 0; |
st | 1137 | drivers/isdn/teles/isdnl2.c | st->l2.sow = 0; |
st | 1141 | drivers/isdn/teles/isdnl2.c | st->l2.l2man(st, DL_ESTABLISH, NULL); |
st | 1148 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 1154 | drivers/isdn/teles/isdnl2.c | ptr += l2addrsize(&st->l2); |
st | 1157 | drivers/isdn/teles/isdnl2.c | if (st->l2.l2m.debug) { |
st | 1158 | drivers/isdn/teles/isdnl2.c | if (st->l2.extended) |
st | 1165 | drivers/isdn/teles/isdnl2.c | l2m_debug(&st->l2.l2m, tmp); |
st | 1269 | drivers/isdn/teles/isdnl2.c | isdnl2_l1l2(struct PStack *st, int pr, struct BufHeader *arg) |
st | 1280 | drivers/isdn/teles/isdnl2.c | datap += l2addrsize(&st->l2); |
st | 1282 | drivers/isdn/teles/isdnl2.c | if (IsI(datap, st->l2.extended)) |
st | 1283 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_I, ibh); |
st | 1284 | drivers/isdn/teles/isdnl2.c | else if (IsRR(datap, st->l2.extended)) |
st | 1285 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_RR, ibh); |
st | 1286 | drivers/isdn/teles/isdnl2.c | else if (IsUI(datap, st->l2.extended)) |
st | 1287 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_UI, ibh); |
st | 1288 | drivers/isdn/teles/isdnl2.c | else if (IsSABMX(datap, st->l2.extended)) |
st | 1289 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_SABMX, ibh); |
st | 1290 | drivers/isdn/teles/isdnl2.c | else if (IsUA(datap, st->l2.extended)) |
st | 1291 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_UA, ibh); |
st | 1292 | drivers/isdn/teles/isdnl2.c | else if (IsDISC(datap, st->l2.extended)) |
st | 1293 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_DISC, ibh); |
st | 1294 | drivers/isdn/teles/isdnl2.c | else if (IsREJ(datap, st->l2.extended)) |
st | 1295 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_REJ, ibh); |
st | 1296 | drivers/isdn/teles/isdnl2.c | else if (IsFRMR(datap, st->l2.extended)) |
st | 1297 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_FRMR, ibh); |
st | 1298 | drivers/isdn/teles/isdnl2.c | else if (IsRNR(datap, st->l2.extended)) |
st | 1299 | drivers/isdn/teles/isdnl2.c | ret = FsmEvent(&st->l2.l2m, EV_L2_RNR, ibh); |
st | 1306 | drivers/isdn/teles/isdnl2.c | FsmEvent(&st->l2.l2m, EV_L2_ACK_PULL, arg); |
st | 1312 | drivers/isdn/teles/isdnl2.c | isdnl2_l3l2(struct PStack *st, int pr, |
st | 1317 | drivers/isdn/teles/isdnl2.c | if (FsmEvent(&st->l2.l2m, EV_L2_DL_DATA, arg)) |
st | 1321 | drivers/isdn/teles/isdnl2.c | if (FsmEvent(&st->l2.l2m, EV_L2_DL_UNIT_DATA, arg)) |
st | 1328 | drivers/isdn/teles/isdnl2.c | isdnl2_manl2(struct PStack *st, int pr, |
st | 1333 | drivers/isdn/teles/isdnl2.c | FsmEvent(&st->l2.l2m, EV_L2_DL_ESTABLISH, arg); |
st | 1336 | drivers/isdn/teles/isdnl2.c | FsmEvent(&st->l2.l2m, EV_L2_DL_RELEASE, arg); |
st | 1339 | drivers/isdn/teles/isdnl2.c | FsmEvent(&st->l2.l2m, EV_L2_MDL_NOTEIPROC, NULL); |
st | 1345 | drivers/isdn/teles/isdnl2.c | isdnl2_teil2(struct PStack *st, int pr, |
st | 1350 | drivers/isdn/teles/isdnl2.c | FsmEvent(&st->l2.l2m, EV_L2_MDL_ASSIGN, arg); |
st | 1356 | drivers/isdn/teles/isdnl2.c | releasestack_isdnl2(struct PStack *st) |
st | 1358 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t200_timer, 15); |
st | 1359 | drivers/isdn/teles/isdnl2.c | FsmDelTimer(&st->l2.t203_timer, 16); |
st | 1365 | drivers/isdn/teles/isdnl2.c | struct PStack *st = fi->userdata; |
st | 1369 | drivers/isdn/teles/isdnl2.c | sprintf(str, "%s %s %s\n", tm, st->l2.debug_id, s); |
st | 1375 | drivers/isdn/teles/isdnl2.c | setstack_isdnl2(struct PStack *st, char *debug_id) |
st | 1377 | drivers/isdn/teles/isdnl2.c | st->l1.l1l2 = isdnl2_l1l2; |
st | 1378 | drivers/isdn/teles/isdnl2.c | st->l3.l3l2 = isdnl2_l3l2; |
st | 1379 | drivers/isdn/teles/isdnl2.c | st->ma.manl2 = isdnl2_manl2; |
st | 1380 | drivers/isdn/teles/isdnl2.c | st->ma.teil2 = isdnl2_teil2; |
st | 1382 | drivers/isdn/teles/isdnl2.c | st->l2.uihsize = l2headersize(&st->l2, !0); |
st | 1383 | drivers/isdn/teles/isdnl2.c | st->l2.ihsize = l2headersize(&st->l2, 0); |
st | 1384 | drivers/isdn/teles/isdnl2.c | BufQueueInit(&(st->l2.i_queue)); |
st | 1385 | drivers/isdn/teles/isdnl2.c | st->l2.rejexp = 0; |
st | 1386 | drivers/isdn/teles/isdnl2.c | st->l2.debug = 1; |
st | 1388 | drivers/isdn/teles/isdnl2.c | st->l2.l2m.fsm = &l2fsm; |
st | 1389 | drivers/isdn/teles/isdnl2.c | st->l2.l2m.state = ST_L2_1; |
st | 1390 | drivers/isdn/teles/isdnl2.c | st->l2.l2m.debug = 0; |
st | 1391 | drivers/isdn/teles/isdnl2.c | st->l2.l2m.userdata = st; |
st | 1392 | drivers/isdn/teles/isdnl2.c | st->l2.l2m.printdebug = l2m_debug; |
st | 1393 | drivers/isdn/teles/isdnl2.c | strcpy(st->l2.debug_id, debug_id); |
st | 1395 | drivers/isdn/teles/isdnl2.c | FsmInitTimer(&st->l2.l2m, &st->l2.t200_timer); |
st | 1396 | drivers/isdn/teles/isdnl2.c | FsmInitTimer(&st->l2.l2m, &st->l2.t203_timer); |
st | 1397 | drivers/isdn/teles/isdnl2.c | st->l2.t200_running = 0; |
st | 1402 | drivers/isdn/teles/isdnl2.c | trans_acceptph(struct PStack *st, struct BufHeader *ibh) |
st | 1405 | drivers/isdn/teles/isdnl2.c | st->l3.service_up(st, DL_DATA, ibh); |
st | 1411 | drivers/isdn/teles/isdnl2.c | transdown(struct PStack *st, int pr, |
st | 1416 | drivers/isdn/teles/isdnl2.c | st->l2.l2l1(st, PH_DATA, ibh); |
st | 1422 | drivers/isdn/teles/isdnl2.c | setstack_transl2(struct PStack *st) |
st | 1425 | drivers/isdn/teles/isdnl2.c | st->l2.phdata_up = trans_acceptph; |
st | 1426 | drivers/isdn/teles/isdnl2.c | st->l2.service_down = (void *) transdown; |
st | 1427 | drivers/isdn/teles/isdnl2.c | st->l2.ihsize = 0; |
st | 1428 | drivers/isdn/teles/isdnl2.c | st->l2.debug = 0; |
st | 1433 | drivers/isdn/teles/isdnl2.c | releasestack_transl2(struct PStack *st) |
st | 8 | drivers/isdn/teles/isdnl3.c | i_down(struct PStack *st, |
st | 11 | drivers/isdn/teles/isdnl3.c | st->l3.l3l2(st, DL_DATA, ibh); |
st | 15 | drivers/isdn/teles/isdnl3.c | newl3state(struct PStack *st, int state) |
st | 17 | drivers/isdn/teles/isdnl3.c | st->l3.state = state; |
st | 20 | drivers/isdn/teles/isdnl3.c | st->pa->bchannel, st->pa->callref, state); |
st | 25 | drivers/isdn/teles/isdnl3.c | l3_message(struct PStack *st, int mt) |
st | 31 | drivers/isdn/teles/isdnl3.c | BufPoolGet(&dibh, st->l1.sbufpool, GFP_ATOMIC, (void *) st, 18); |
st | 33 | drivers/isdn/teles/isdnl3.c | p += st->l2.ihsize; |
st | 34 | drivers/isdn/teles/isdnl3.c | size = st->l2.ihsize; |
st | 38 | drivers/isdn/teles/isdnl3.c | *p++ = st->l3.callref; |
st | 43 | drivers/isdn/teles/isdnl3.c | i_down(st, dibh); |
st | 47 | drivers/isdn/teles/isdnl3.c | l3s3(struct PStack *st, byte pr, void *arg) |
st | 49 | drivers/isdn/teles/isdnl3.c | l3_message(st, MT_RELEASE); |
st | 50 | drivers/isdn/teles/isdnl3.c | newl3state(st, 19); |
st | 54 | drivers/isdn/teles/isdnl3.c | l3s4(struct PStack *st, byte pr, void *arg) |
st | 59 | drivers/isdn/teles/isdnl3.c | newl3state(st, 0); |
st | 60 | drivers/isdn/teles/isdnl3.c | st->l3.l3l4(st, CC_RELEASE_CNF, NULL); |
st | 64 | drivers/isdn/teles/isdnl3.c | l3s5(struct PStack *st, byte pr, |
st | 71 | drivers/isdn/teles/isdnl3.c | st->l3.callref = st->pa->callref; |
st | 72 | drivers/isdn/teles/isdnl3.c | BufPoolGet(&dibh, st->l1.sbufpool, GFP_ATOMIC, (void *) st, 19); |
st | 74 | drivers/isdn/teles/isdnl3.c | p += st->l2.ihsize; |
st | 78 | drivers/isdn/teles/isdnl3.c | *p++ = st->l3.callref; |
st | 85 | drivers/isdn/teles/isdnl3.c | switch (st->pa->info) { |
st | 113 | drivers/isdn/teles/isdnl3.c | if (st->pa->calling[0] != '\0') { |
st | 115 | drivers/isdn/teles/isdnl3.c | *p++ = strlen(st->pa->calling) + 1; |
st | 118 | drivers/isdn/teles/isdnl3.c | teln = st->pa->calling; |
st | 123 | drivers/isdn/teles/isdnl3.c | *p++ = strlen(st->pa->called) + 1; |
st | 127 | drivers/isdn/teles/isdnl3.c | teln = st->pa->called; |
st | 134 | drivers/isdn/teles/isdnl3.c | newl3state(st, 1); |
st | 135 | drivers/isdn/teles/isdnl3.c | i_down(st, dibh); |
st | 140 | drivers/isdn/teles/isdnl3.c | l3s6(struct PStack *st, byte pr, void *arg) |
st | 146 | drivers/isdn/teles/isdnl3.c | if ((p = findie(p + st->l2.ihsize, ibh->datasize - st->l2.ihsize, |
st | 148 | drivers/isdn/teles/isdnl3.c | st->pa->bchannel = p[2] & 0x3; |
st | 153 | drivers/isdn/teles/isdnl3.c | newl3state(st, 3); |
st | 154 | drivers/isdn/teles/isdnl3.c | st->l3.l3l4(st, CC_PROCEEDING_IND, NULL); |
st | 158 | drivers/isdn/teles/isdnl3.c | l3s7(struct PStack *st, byte pr, void *arg) |
st | 163 | drivers/isdn/teles/isdnl3.c | newl3state(st, 12); |
st | 164 | drivers/isdn/teles/isdnl3.c | st->l3.l3l4(st, CC_DISCONNECT_IND, NULL); |
st | 168 | drivers/isdn/teles/isdnl3.c | l3s8(struct PStack *st, byte pr, void *arg) |
st | 173 | drivers/isdn/teles/isdnl3.c | st->l3.l3l4(st, CC_SETUP_CNF, NULL); |
st | 174 | drivers/isdn/teles/isdnl3.c | newl3state(st, 10); |
st | 178 | drivers/isdn/teles/isdnl3.c | l3s11(struct PStack *st, byte pr, void *arg) |
st | 183 | drivers/isdn/teles/isdnl3.c | newl3state(st, 4); |
st | 184 | drivers/isdn/teles/isdnl3.c | st->l3.l3l4(st, CC_ALERTING_IND, NULL); |
st | 188 | drivers/isdn/teles/isdnl3.c | l3s12(struct PStack *st, byte pr, void *arg) |
st | 194 | drivers/isdn/teles/isdnl3.c | p += st->l2.uihsize; |
st | 195 | drivers/isdn/teles/isdnl3.c | st->pa->callref = getcallref(p); |
st | 196 | drivers/isdn/teles/isdnl3.c | st->l3.callref = 0x80 + st->pa->callref; |
st | 202 | drivers/isdn/teles/isdnl3.c | if ((p = findie(p + st->l2.uihsize, ibh->datasize - st->l2.uihsize, |
st | 204 | drivers/isdn/teles/isdnl3.c | st->pa->bchannel = p[2] & 0x3; |
st | 209 | drivers/isdn/teles/isdnl3.c | if (st->protocol == ISDN_PTYPE_1TR6) { |
st | 210 | drivers/isdn/teles/isdnl3.c | if ((p = findie(p + st->l2.uihsize, ibh->datasize - st->l2.uihsize, 0x01, 6))) { |
st | 211 | drivers/isdn/teles/isdnl3.c | st->pa->info = p[2]; |
st | 212 | drivers/isdn/teles/isdnl3.c | st->pa->info2 = p[3]; |
st | 219 | drivers/isdn/teles/isdnl3.c | if ((p = findie(p + st->l2.uihsize, ibh->datasize - st->l2.uihsize, 0x04, 0))) { |
st | 225 | drivers/isdn/teles/isdnl3.c | st->pa->info = 1; |
st | 229 | drivers/isdn/teles/isdnl3.c | st->pa->info = 7; |
st | 233 | drivers/isdn/teles/isdnl3.c | st->pa->info = 2; |
st | 237 | drivers/isdn/teles/isdnl3.c | st->pa->info = 3; |
st | 241 | drivers/isdn/teles/isdnl3.c | st->pa->info = 4; |
st | 244 | drivers/isdn/teles/isdnl3.c | st->pa->info = 0; |
st | 251 | drivers/isdn/teles/isdnl3.c | if ((p = findie(p + st->l2.uihsize, ibh->datasize - st->l2.uihsize, |
st | 253 | drivers/isdn/teles/isdnl3.c | iecpy(st->pa->called, p, 1); |
st | 255 | drivers/isdn/teles/isdnl3.c | strcpy(st->pa->called, ""); |
st | 258 | drivers/isdn/teles/isdnl3.c | if ((p = findie(p + st->l2.uihsize, ibh->datasize - st->l2.uihsize, |
st | 260 | drivers/isdn/teles/isdnl3.c | if (st->protocol == ISDN_PTYPE_1TR6) |
st | 261 | drivers/isdn/teles/isdnl3.c | iecpy(st->pa->calling, p, 1); |
st | 263 | drivers/isdn/teles/isdnl3.c | iecpy(st->pa->calling, p, 2); |
st | 265 | drivers/isdn/teles/isdnl3.c | strcpy(st->pa->calling, ""); |
st | 268 | drivers/isdn/teles/isdnl3.c | if (st->pa->info == 7) { |
st | 269 | drivers/isdn/teles/isdnl3.c | newl3state(st, 6); |
st | 270 | drivers/isdn/teles/isdnl3.c | st->l3.l3l4(st, CC_SETUP_IND, NULL); |
st | 273 | drivers/isdn/teles/isdnl3.c | st->pa->calling, |
st | 274 | drivers/isdn/teles/isdnl3.c | st->pa->called); |
st | 279 | drivers/isdn/teles/isdnl3.c | l3s13(struct PStack *st, byte pr, void *arg) |
st | 281 | drivers/isdn/teles/isdnl3.c | newl3state(st, 0); |
st | 286 | drivers/isdn/teles/isdnl3.c | l3s15(struct PStack *st, byte pr, void *arg) |
st | 288 | drivers/isdn/teles/isdnl3.c | newl3state(st, 0); |
st | 289 | drivers/isdn/teles/isdnl3.c | st->l3.l3l4(st, CC_REJECT, NULL); |
st | 294 | drivers/isdn/teles/isdnl3.c | l3s16(struct PStack *st, byte pr, |
st | 297 | drivers/isdn/teles/isdnl3.c | st->l3.callref = 0x80 + st->pa->callref; |
st | 298 | drivers/isdn/teles/isdnl3.c | l3_message(st, MT_CONNECT); |
st | 299 | drivers/isdn/teles/isdnl3.c | newl3state(st, 8); |
st | 303 | drivers/isdn/teles/isdnl3.c | l3s17(struct PStack *st, byte pr, void *arg) |
st | 308 | drivers/isdn/teles/isdnl3.c | st->l3.l3l4(st, CC_SETUP_COMPLETE_IND, NULL); |
st | 309 | drivers/isdn/teles/isdnl3.c | newl3state(st, 10); |
st | 313 | drivers/isdn/teles/isdnl3.c | l3s18(struct PStack *st, byte pr, void *arg) |
st | 319 | drivers/isdn/teles/isdnl3.c | BufPoolGet(&dibh, st->l1.sbufpool, GFP_ATOMIC, (void *) st, 20); |
st | 321 | drivers/isdn/teles/isdnl3.c | p += st->l2.ihsize; |
st | 322 | drivers/isdn/teles/isdnl3.c | size = st->l2.ihsize; |
st | 326 | drivers/isdn/teles/isdnl3.c | *p++ = st->l3.callref; |
st | 337 | drivers/isdn/teles/isdnl3.c | i_down(st, dibh); |
st | 339 | drivers/isdn/teles/isdnl3.c | newl3state(st, 11); |
st | 343 | drivers/isdn/teles/isdnl3.c | l3s19(struct PStack *st, byte pr, void *arg) |
st | 348 | drivers/isdn/teles/isdnl3.c | newl3state(st, 0); |
st | 349 | drivers/isdn/teles/isdnl3.c | l3_message(st, MT_RELEASE_COMPLETE); |
st | 350 | drivers/isdn/teles/isdnl3.c | st->l3.l3l4(st, CC_RELEASE_IND, NULL); |
st | 354 | drivers/isdn/teles/isdnl3.c | l3s20(struct PStack *st, byte pr, |
st | 357 | drivers/isdn/teles/isdnl3.c | l3_message(st, MT_ALERTING); |
st | 358 | drivers/isdn/teles/isdnl3.c | newl3state(st, 7); |
st | 407 | drivers/isdn/teles/isdnl3.c | l3up(struct PStack *st, |
st | 416 | drivers/isdn/teles/isdnl3.c | ptr += st->l2.ihsize; |
st | 417 | drivers/isdn/teles/isdnl3.c | size = ibh->datasize - st->l2.ihsize; |
st | 431 | drivers/isdn/teles/isdnl3.c | if ((st->l3.state == datastatelist_1tr6t[i].state) && |
st | 438 | drivers/isdn/teles/isdnl3.c | st->l3.state, mt_trans(PROTO_DIS_N1, mt)); |
st | 440 | drivers/isdn/teles/isdnl3.c | datastatelist_1tr6t[i].rout(st, pr, ibh); |
st | 445 | drivers/isdn/teles/isdnl3.c | if ((st->l3.state == datastatelist[i].state) && |
st | 451 | drivers/isdn/teles/isdnl3.c | datastatelist[i].rout(st, pr, ibh); |
st | 455 | drivers/isdn/teles/isdnl3.c | ptr += st->l2.uihsize; |
st | 456 | drivers/isdn/teles/isdnl3.c | size = ibh->datasize - st->l2.uihsize; |
st | 470 | drivers/isdn/teles/isdnl3.c | if ((st->l3.state == datastatelist_1tr6t[i].state) && |
st | 476 | drivers/isdn/teles/isdnl3.c | ,st->l3.state, mt_trans(PROTO_DIS_N1, mt)); |
st | 480 | drivers/isdn/teles/isdnl3.c | datastatelist_1tr6t[i].rout(st, pr, ibh); |
st | 485 | drivers/isdn/teles/isdnl3.c | if ((st->l3.state == datastatelist[i].state) && |
st | 491 | drivers/isdn/teles/isdnl3.c | datastatelist[i].rout(st, pr, ibh); |
st | 497 | drivers/isdn/teles/isdnl3.c | l3down(struct PStack *st, |
st | 503 | drivers/isdn/teles/isdnl3.c | switch (st->protocol) { |
st | 507 | drivers/isdn/teles/isdnl3.c | if ((st->l3.state == downstatelist_1tr6t[i].state) && |
st | 512 | drivers/isdn/teles/isdnl3.c | printk(KERN_INFO "isdnl3down unhandled 1tr6 state %d primitiv %x\n", st->l3.state, pr); |
st | 515 | drivers/isdn/teles/isdnl3.c | downstatelist_1tr6t[i].rout(st, pr, ibh); |
st | 520 | drivers/isdn/teles/isdnl3.c | if ((st->l3.state == downstatelist[i].state) && |
st | 525 | drivers/isdn/teles/isdnl3.c | downstatelist[i].rout(st, pr, ibh); |
st | 530 | drivers/isdn/teles/isdnl3.c | setstack_isdnl3(struct PStack *st) |
st | 532 | drivers/isdn/teles/isdnl3.c | st->l4.l4l3 = l3down; |
st | 533 | drivers/isdn/teles/isdnl3.c | st->l2.l2l3 = l3up; |
st | 534 | drivers/isdn/teles/isdnl3.c | st->l3.state = 0; |
st | 535 | drivers/isdn/teles/isdnl3.c | st->l3.callref = 0; |
st | 536 | drivers/isdn/teles/isdnl3.c | st->l3.debug = 0; |
st | 25 | drivers/isdn/teles/l3_1TR6.c | l3_1TR6_message(struct PStack *st, int mt, int pd) |
st | 30 | drivers/isdn/teles/l3_1TR6.c | BufPoolGet(&dibh, st->l1.sbufpool, GFP_ATOMIC, (void *) st, 18); |
st | 32 | drivers/isdn/teles/l3_1TR6.c | p += st->l2.ihsize; |
st | 36 | drivers/isdn/teles/l3_1TR6.c | *p++ = st->l3.callref; |
st | 40 | drivers/isdn/teles/l3_1TR6.c | i_down(st, dibh); |
st | 44 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_setup(struct PStack *st, byte pr, void *arg) |
st | 54 | drivers/isdn/teles/l3_1TR6.c | st->l3.callref = st->pa->callref; |
st | 55 | drivers/isdn/teles/l3_1TR6.c | BufPoolGet(&dibh, st->l1.sbufpool, GFP_ATOMIC, (void *) st, 19); |
st | 57 | drivers/isdn/teles/l3_1TR6.c | p += st->l2.ihsize; |
st | 61 | drivers/isdn/teles/l3_1TR6.c | *p++ = st->l3.callref; |
st | 65 | drivers/isdn/teles/l3_1TR6.c | if (st->pa->calling[0] != '\0') { |
st | 67 | drivers/isdn/teles/l3_1TR6.c | *p++ = strlen(st->pa->calling) + 1; |
st | 70 | drivers/isdn/teles/l3_1TR6.c | teln = st->pa->calling; |
st | 75 | drivers/isdn/teles/l3_1TR6.c | *p++ = strlen(st->pa->called) + 1; |
st | 79 | drivers/isdn/teles/l3_1TR6.c | teln = st->pa->called; |
st | 87 | drivers/isdn/teles/l3_1TR6.c | *p++ = st->pa->info; |
st | 88 | drivers/isdn/teles/l3_1TR6.c | *p++ = st->pa->info2; |
st | 92 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 1); |
st | 93 | drivers/isdn/teles/l3_1TR6.c | i_down(st, dibh); |
st | 99 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_setup(struct PStack *st, byte pr, void *arg) |
st | 109 | drivers/isdn/teles/l3_1TR6.c | p += st->l2.uihsize; |
st | 110 | drivers/isdn/teles/l3_1TR6.c | st->pa->callref = getcallref(p); |
st | 111 | drivers/isdn/teles/l3_1TR6.c | st->l3.callref = 0x80 + st->pa->callref; |
st | 117 | drivers/isdn/teles/l3_1TR6.c | if ((p = findie(p + st->l2.uihsize, ibh->datasize - st->l2.uihsize, |
st | 119 | drivers/isdn/teles/l3_1TR6.c | st->pa->bchannel = p[2] & 0x3; |
st | 125 | drivers/isdn/teles/l3_1TR6.c | if ((p = findie(p + st->l2.uihsize, ibh->datasize - st->l2.uihsize, WE6_serviceInd, 6))) { |
st | 126 | drivers/isdn/teles/l3_1TR6.c | st->pa->info = p[2]; |
st | 127 | drivers/isdn/teles/l3_1TR6.c | st->pa->info2 = p[3]; |
st | 132 | drivers/isdn/teles/l3_1TR6.c | if ((p = findie(p + st->l2.uihsize, ibh->datasize - st->l2.uihsize, |
st | 134 | drivers/isdn/teles/l3_1TR6.c | iecpy(st->pa->called, p, 1); |
st | 136 | drivers/isdn/teles/l3_1TR6.c | strcpy(st->pa->called, ""); |
st | 139 | drivers/isdn/teles/l3_1TR6.c | if ((p = findie(p + st->l2.uihsize, ibh->datasize - st->l2.uihsize, |
st | 141 | drivers/isdn/teles/l3_1TR6.c | iecpy(st->pa->calling, p, 1); |
st | 143 | drivers/isdn/teles/l3_1TR6.c | strcpy(st->pa->calling, ""); |
st | 147 | drivers/isdn/teles/l3_1TR6.c | if (st->pa->info == 7) { |
st | 148 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 6); |
st | 149 | drivers/isdn/teles/l3_1TR6.c | st->l3.l3l4(st, CC_SETUP_IND, NULL); |
st | 154 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_setup_ack(struct PStack *st, byte pr, void *arg) |
st | 164 | drivers/isdn/teles/l3_1TR6.c | if ((p = findie(p + st->l2.ihsize, ibh->datasize - st->l2.ihsize, |
st | 166 | drivers/isdn/teles/l3_1TR6.c | st->pa->bchannel = p[2] & 0x3; |
st | 171 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 2); |
st | 175 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_call_sent(struct PStack *st, byte pr, void *arg) |
st | 185 | drivers/isdn/teles/l3_1TR6.c | if ((p = findie(p + st->l2.ihsize, ibh->datasize - st->l2.ihsize, |
st | 187 | drivers/isdn/teles/l3_1TR6.c | st->pa->bchannel = p[2] & 0x3; |
st | 192 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 3); |
st | 193 | drivers/isdn/teles/l3_1TR6.c | st->l3.l3l4(st, CC_PROCEEDING_IND, NULL); |
st | 197 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_alert(struct PStack *st, byte pr, void *arg) |
st | 207 | drivers/isdn/teles/l3_1TR6.c | if ((p = findie(p + st->l2.ihsize, ibh->datasize - st->l2.ihsize, |
st | 215 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 4); |
st | 216 | drivers/isdn/teles/l3_1TR6.c | st->l3.l3l4(st, CC_ALERTING_IND, NULL); |
st | 220 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_info(struct PStack *st, byte pr, void *arg) |
st | 232 | drivers/isdn/teles/l3_1TR6.c | if ((p = findie(p + st->l2.ihsize, ibh->datasize - st->l2.ihsize, |
st | 235 | drivers/isdn/teles/l3_1TR6.c | st->pa->chargeinfo = 0; |
st | 237 | drivers/isdn/teles/l3_1TR6.c | st->pa->chargeinfo *= 10; |
st | 238 | drivers/isdn/teles/l3_1TR6.c | st->pa->chargeinfo += a_charge[i] & 0xf; |
st | 239 | drivers/isdn/teles/l3_1TR6.c | st->l3.l3l4(st, CC_INFO_CHARGE, NULL); |
st | 242 | drivers/isdn/teles/l3_1TR6.c | printk(KERN_INFO "chargingInfo %d\n", st->pa->chargeinfo); |
st | 250 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_info_s2(struct PStack *st, byte pr, void *arg) |
st | 270 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_connect(struct PStack *st, byte pr, void *arg) |
st | 279 | drivers/isdn/teles/l3_1TR6.c | st->l3.l3l4(st, CC_SETUP_CNF, NULL); |
st | 280 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 10); |
st | 284 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_rel(struct PStack *st, byte pr, void *arg) |
st | 294 | drivers/isdn/teles/l3_1TR6.c | l3_1TR6_message(st, MT_N1_REL_ACK, PROTO_DIS_N1); |
st | 295 | drivers/isdn/teles/l3_1TR6.c | st->l3.l3l4(st, CC_RELEASE_IND, NULL); |
st | 296 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 0); |
st | 300 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_rel_ack(struct PStack *st, byte pr, void *arg) |
st | 310 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 0); |
st | 311 | drivers/isdn/teles/l3_1TR6.c | st->l3.l3l4(st, CC_RELEASE_CNF, NULL); |
st | 315 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_disc(struct PStack *st, byte pr, void *arg) |
st | 329 | drivers/isdn/teles/l3_1TR6.c | if ((p = findie(p + st->l2.ihsize, ibh->datasize - st->l2.ihsize, |
st | 332 | drivers/isdn/teles/l3_1TR6.c | st->pa->chargeinfo = 0; |
st | 334 | drivers/isdn/teles/l3_1TR6.c | st->pa->chargeinfo *= 10; |
st | 335 | drivers/isdn/teles/l3_1TR6.c | st->pa->chargeinfo += a_charge[i] & 0xf; |
st | 336 | drivers/isdn/teles/l3_1TR6.c | st->l3.l3l4(st, CC_INFO_CHARGE, NULL); |
st | 339 | drivers/isdn/teles/l3_1TR6.c | printk(KERN_INFO "chargingInfo %d\n", st->pa->chargeinfo); |
st | 344 | drivers/isdn/teles/l3_1TR6.c | if ((p = findie(p + st->l2.ihsize, ibh->datasize - st->l2.ihsize, |
st | 347 | drivers/isdn/teles/l3_1TR6.c | st->pa->cause = p[2]; |
st | 349 | drivers/isdn/teles/l3_1TR6.c | st->pa->cause = 0; |
st | 352 | drivers/isdn/teles/l3_1TR6.c | printk(KERN_INFO "Cause %x\n", st->pa->cause); |
st | 357 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 12); |
st | 358 | drivers/isdn/teles/l3_1TR6.c | st->l3.l3l4(st, CC_DISCONNECT_IND, NULL); |
st | 363 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_tu_connect_ack(struct PStack *st, byte pr, void *arg) |
st | 373 | drivers/isdn/teles/l3_1TR6.c | st->l3.l3l4(st, CC_SETUP_COMPLETE_IND, NULL); |
st | 374 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 10); |
st | 378 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_alert(struct PStack *st, byte pr, |
st | 385 | drivers/isdn/teles/l3_1TR6.c | l3_1TR6_message(st, MT_N1_ALERT, PROTO_DIS_N1); |
st | 386 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 7); |
st | 390 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_conn(struct PStack *st, byte pr, |
st | 397 | drivers/isdn/teles/l3_1TR6.c | st->l3.callref = 0x80 + st->pa->callref; |
st | 398 | drivers/isdn/teles/l3_1TR6.c | l3_1TR6_message(st, MT_N1_CONN, PROTO_DIS_N1); |
st | 399 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 8); |
st | 403 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_ignore(struct PStack *st, byte pr, void *arg) |
st | 409 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 0); |
st | 413 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_disconn_req(struct PStack *st, byte pr, void *arg) |
st | 422 | drivers/isdn/teles/l3_1TR6.c | BufPoolGet(&dibh, st->l1.sbufpool, GFP_ATOMIC, (void *) st, 20); |
st | 424 | drivers/isdn/teles/l3_1TR6.c | p += st->l2.ihsize; |
st | 428 | drivers/isdn/teles/l3_1TR6.c | *p++ = st->l3.callref; |
st | 436 | drivers/isdn/teles/l3_1TR6.c | i_down(st, dibh); |
st | 438 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 11); |
st | 442 | drivers/isdn/teles/l3_1TR6.c | l3_1tr6_rel_req(struct PStack *st, byte pr, void *arg) |
st | 444 | drivers/isdn/teles/l3_1TR6.c | l3_1TR6_message(st, MT_N1_REL, PROTO_DIS_N1); |
st | 445 | drivers/isdn/teles/l3_1TR6.c | newl3state(st, 19); |
st | 8 | drivers/isdn/teles/tei.c | findces(struct PStack *st, int ces) |
st | 10 | drivers/isdn/teles/tei.c | struct PStack *ptr = *(st->l1.stlistp); |
st | 21 | drivers/isdn/teles/tei.c | findtei(struct PStack *st, int tei) |
st | 23 | drivers/isdn/teles/tei.c | struct PStack *ptr = *(st->l1.stlistp); |
st | 37 | drivers/isdn/teles/tei.c | tei_handler(struct PStack *st, |
st | 45 | drivers/isdn/teles/tei.c | if (st->l2.debug) |
st | 51 | drivers/isdn/teles/tei.c | BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 6); |
st | 55 | drivers/isdn/teles/tei.c | bp += st->l2.uihsize; |
st | 62 | drivers/isdn/teles/tei.c | st->l3.l3l2(st, DL_UNIT_DATA, ibh); |
st | 73 | drivers/isdn/teles/tei.c | if (st->l3.debug) |
st | 76 | drivers/isdn/teles/tei.c | if ((otsp = findces(st, tces))) |
st | 81 | drivers/isdn/teles/tei.c | if (st->l3.debug) |
st | 85 | drivers/isdn/teles/tei.c | ptr = *(st->l1.stlistp); |
st | 88 | drivers/isdn/teles/tei.c | if (BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 7)) |
st | 98 | drivers/isdn/teles/tei.c | st->l3.l3l2(st, DL_UNIT_DATA, ibh); |
st | 103 | drivers/isdn/teles/tei.c | otsp = findtei(st, bp[4] >> 1); |
st | 107 | drivers/isdn/teles/tei.c | if (st->l3.debug) |
st | 109 | drivers/isdn/teles/tei.c | if (BufPoolGet(&ibh, st->l1.smallpool, GFP_ATOMIC, (void *) st, 7)) |
st | 119 | drivers/isdn/teles/tei.c | st->l3.l3l2(st, DL_UNIT_DATA, ibh); |
st | 124 | drivers/isdn/teles/tei.c | if (st->l3.debug) |
st | 149 | drivers/isdn/teles/tei.c | tei_l2tei(struct PStack *st, int pr, void *arg) |
st | 151 | drivers/isdn/teles/tei.c | struct IsdnCardState *sp = st->l1.hardware; |
st | 157 | drivers/isdn/teles/tei.c | setstack_tei(struct PStack *st) |
st | 159 | drivers/isdn/teles/tei.c | st->l2.l2tei = tei_l2tei; |
st | 165 | drivers/isdn/teles/tei.c | struct PStack *st; |
st | 170 | drivers/isdn/teles/tei.c | st = (struct PStack *) Smalloc(sizeof(struct PStack), GFP_KERNEL, |
st | 174 | drivers/isdn/teles/tei.c | sp->teistack = st; /* struct is not initialized yet */ |
st | 179 | drivers/isdn/teles/tei.c | setstack_teles(st, sp); |
st | 181 | drivers/isdn/teles/tei.c | st->l2.extended = !0; |
st | 182 | drivers/isdn/teles/tei.c | st->l2.laptype = LAPD; |
st | 183 | drivers/isdn/teles/tei.c | st->l2.window = 1; |
st | 184 | drivers/isdn/teles/tei.c | st->l2.orig = !0; |
st | 185 | drivers/isdn/teles/tei.c | st->protocol = protocol; |
st | 191 | drivers/isdn/teles/tei.c | st->l2.t200 = 500; /* 500 milliseconds */ |
st | 192 | drivers/isdn/teles/tei.c | st->l2.n200 = 4; /* try 4 times */ |
st | 194 | drivers/isdn/teles/tei.c | st->l2.sap = 63; |
st | 195 | drivers/isdn/teles/tei.c | st->l2.tei = 127; |
st | 198 | drivers/isdn/teles/tei.c | setstack_isdnl2(st, tmp); |
st | 199 | drivers/isdn/teles/tei.c | st->l2.debug = 0; |
st | 200 | drivers/isdn/teles/tei.c | st->l3.debug = 0; |
st | 202 | drivers/isdn/teles/tei.c | st->ma.manl2(st, MDL_NOTEIPROC, NULL); |
st | 204 | drivers/isdn/teles/tei.c | st->l2.l2l3 = (void *) tei_handler; |
st | 205 | drivers/isdn/teles/tei.c | st->l1.l1man = tei_man; |
st | 206 | drivers/isdn/teles/tei.c | st->l2.l2man = tei_man; |
st | 207 | drivers/isdn/teles/tei.c | st->l4.l2writewakeup = NULL; |
st | 209 | drivers/isdn/teles/tei.c | teles_addlist(sp, st); |
st | 210 | drivers/isdn/teles/tei.c | sp->teistack = st; |
st | 216 | drivers/isdn/teles/tei.c | struct PStack *st = sp->teistack; |
st | 218 | drivers/isdn/teles/tei.c | teles_rmlist(sp, st); |
st | 219 | drivers/isdn/teles/tei.c | Sfree((void *) st); |
st | 306 | drivers/isdn/teles/teles.h | struct PStack *st; |
st | 372 | drivers/isdn/teles/teles.h | void l2down(struct PStack *st, |
st | 374 | drivers/isdn/teles/teles.h | void l2up(struct PStack *st, |
st | 376 | drivers/isdn/teles/teles.h | void acceptph(struct PStack *st, |
st | 378 | drivers/isdn/teles/teles.h | void setstack_isdnl2(struct PStack *st, char *debug_id); |
st | 382 | drivers/isdn/teles/teles.h | void setstack_teles(struct PStack *st, struct IsdnCardState *sp); |
st | 384 | drivers/isdn/teles/teles.h | void setstack_isdnl3(struct PStack *st); |
st | 386 | drivers/isdn/teles/teles.h | struct PStack *st); |
st | 387 | drivers/isdn/teles/teles.h | void releasestack_isdnl2(struct PStack *st); |
st | 389 | drivers/isdn/teles/teles.h | struct PStack *st); |
st | 390 | drivers/isdn/teles/teles.h | void newcallref(struct PStack *st); |
st | 394 | drivers/isdn/teles/teles.h | int setstack_hscx(struct PStack *st, struct HscxState *hs); |
st | 424 | drivers/isdn/teles/teles.h | void setstack_transl2(struct PStack *st); |
st | 425 | drivers/isdn/teles/teles.h | void releasestack_transl2(struct PStack *st); |
st | 427 | drivers/isdn/teles/teles.h | void setstack_tei(struct PStack *st); |
st | 434 | drivers/isdn/teles/teles.h | struct PStack *st; |
st | 401 | drivers/net/pi2.c | char st; |
st | 407 | drivers/net/pi2.c | st = rdscc(lp->cardbase, lp->base + CTL, R0); /* Fetch status */ |
st | 413 | drivers/net/pi2.c | if ((lp->rstate >= ACTIVE) && (st & BRK_ABRT)) { |
st | 777 | drivers/net/pi2.c | char st; |
st | 784 | drivers/net/pi2.c | st = rdscc(lp->cardbase, cmd, R0); /* Fetch status */ |
st | 927 | drivers/net/pi2.c | if ((lp->rstate == ACTIVE) && (st & BRK_ABRT)) { |
st | 1516 | drivers/net/pi2.c | int st; |
st | 1531 | drivers/net/pi2.c | while ((st = rdscc(lp->cardbase, pi0a.base_addr | CHANA | CTL, R3)) != 0) { |
st | 1532 | drivers/net/pi2.c | if (st & CHBTxIP) { |
st | 1536 | drivers/net/pi2.c | } else if (st & CHARxIP) { |
st | 1540 | drivers/net/pi2.c | } else if (st & CHATxIP) { |
st | 1544 | drivers/net/pi2.c | } else if (st & CHAEXT) { |
st | 1548 | drivers/net/pi2.c | } else if (st & CHBRxIP) { |
st | 1552 | drivers/net/pi2.c | } else if (st & CHBEXT) { |
st | 1489 | drivers/net/pt.c | unsigned char st; |
st | 1497 | drivers/net/pt.c | while ((st = rdscc(cbase, cbase + CHANA + CTL, R3)) != 0) |
st | 1501 | drivers/net/pt.c | printk("PTd pt_interrupt(): R3 = %#3x", st); |
st | 1505 | drivers/net/pt.c | printk(" R2 = %#3x.\n", st); |
st | 1507 | drivers/net/pt.c | if (st & CHARxIP) { |
st | 1511 | drivers/net/pt.c | } else if (st & CHATxIP) { |
st | 1515 | drivers/net/pt.c | } else if (st & CHAEXT) { |
st | 1519 | drivers/net/pt.c | } else if (st & CHBRxIP) { |
st | 1523 | drivers/net/pt.c | } else if (st & CHBTxIP) { |
st | 1527 | drivers/net/pt.c | } else if (st & CHBEXT) { |
st | 1565 | drivers/net/pt.c | unsigned char st; |
st | 1573 | drivers/net/pt.c | st = rdscc(lp->cardbase, cmd, R0); |
st | 1576 | drivers/net/pt.c | printk("PTd exisr(): R0 = %#3x tstate = %d (%d).\n", st, lp->tstate, lp->base & CHANA); |
st | 1581 | drivers/net/pt.c | if ((lp->rstate >= ACTIVE) && (st & BRK_ABRT) && lp->dmachan) |
st | 1746 | drivers/net/pt.c | if ((lp->rstate == ACTIVE) && (st & BRK_ABRT) ) |
st | 1765 | drivers/net/pt.c | if ( (st & DCD) != (lp->saved_RR0 & DCD)) |
st | 1768 | drivers/net/pt.c | printk("PTd: pt_exisr(): DCD is now %s.\n", (st & DCD)? "ON" : "OFF" ); |
st | 1770 | drivers/net/pt.c | if (st & DCD) |
st | 1799 | drivers/net/pt.c | lp->saved_RR0 = st &~ ZCOUNT; |
st | 126 | drivers/scsi/aha1740.h | st:1, /* Suppress Transfer */ |
st | 79 | drivers/scsi/eata_dma_proc.c | scsitrans *st; |
st | 109 | drivers/scsi/eata_dma_proc.c | st = (scsitrans *)(buff + 0x164); |
st | 67 | include/asm-sparc/kgdb.h | st %reg_y, [%reg + STACKFRAME_SZ + KGDB_Y]; \ |
st | 68 | include/asm-sparc/kgdb.h | st %reg_psr, [%reg + STACKFRAME_SZ + KGDB_PSR]; \ |
st | 69 | include/asm-sparc/kgdb.h | st %reg_wim, [%reg + STACKFRAME_SZ + KGDB_WIM]; \ |
st | 70 | include/asm-sparc/kgdb.h | st %reg_tbr, [%reg + STACKFRAME_SZ + KGDB_TBR]; \ |
st | 71 | include/asm-sparc/kgdb.h | st %reg_pc, [%reg + STACKFRAME_SZ + KGDB_PC]; \ |
st | 72 | include/asm-sparc/kgdb.h | st %reg_npc, [%reg + STACKFRAME_SZ + KGDB_NPC]; |
st | 80 | include/asm-sparc/winmacro.h | st %g1, [%base_reg + STACKFRAME_SZ + PT_G1]; \ |
st | 87 | include/asm-sparc/winmacro.h | st %scratch, [%base_reg + STACKFRAME_SZ + PT_Y]; |
st | 90 | include/asm-sparc/winmacro.h | st %pt_psr, [%base_reg + STACKFRAME_SZ + PT_PSR]; \ |
st | 91 | include/asm-sparc/winmacro.h | st %pt_pc, [%base_reg + STACKFRAME_SZ + PT_PC]; \ |
st | 92 | include/asm-sparc/winmacro.h | st %pt_npc, [%base_reg + STACKFRAME_SZ + PT_NPC]; \ |
st | 93 | include/asm-sparc/winmacro.h | st %pt_wim, [%base_reg + STACKFRAME_SZ + PT_WIM]; |
st | 105 | include/asm-sparc/winmacro.h | st %sp, [%scratch + THREAD_STACK_PTRS]; \ |
st | 113 | include/asm-sparc/winmacro.h | st %scratch, [%cur_reg + THREAD_W_SAVED]; |
st | 731 | mm/mmap.c | unsigned long st, end; |
st | 738 | mm/mmap.c | st = addr < mpnt->vm_start ? mpnt->vm_start : addr; |
st | 743 | mm/mmap.c | mpnt->vm_ops->unmap(mpnt, st, end-st); |
st | 744 | mm/mmap.c | zap_page_range(current->mm, st, end-st); |
st | 745 | mm/mmap.c | unmap_fixup(mpnt, st, end-st); |
st | 1267 | net/ipx/af_ipx.c | struct sockaddr_ipx *sg,*st; |
st | 1276 | net/ipx/af_ipx.c | st=(struct sockaddr_ipx *)&rt.rt_dst; |
st | 1282 | net/ipx/af_ipx.c | if(st->sipx_family!=AF_IPX) |
st | 1288 | net/ipx/af_ipx.c | return ipxrtr_delete(st->sipx_network); |
st | 1292 | net/ipx/af_ipx.c | f.ipx_network=st->sipx_network; |