tag | line | file | source code |
mdm | 244 | drivers/isdn/isdn_common.c | if (dev->mdm.atmodem[midx].mdmreg[13] & 2) |
mdm | 277 | drivers/isdn/isdn_common.c | if (dev->mdm.rcvsched[midx]) |
mdm | 358 | drivers/isdn/isdn_common.c | dev->mdm.msr[mi] |= UART_MSR_RI; |
mdm | 359 | drivers/isdn/isdn_common.c | isdn_tty_modem_result(2, &dev->mdm.info[mi]); |
mdm | 419 | drivers/isdn/isdn_common.c | if (dev->mdm.info[mi].flags & |
mdm | 421 | drivers/isdn/isdn_common.c | if (dev->mdm.dialing[mi] == 1) { |
mdm | 422 | drivers/isdn/isdn_common.c | dev->mdm.dialing[mi] = 2; |
mdm | 446 | drivers/isdn/isdn_common.c | if (dev->mdm.info[mi].flags & |
mdm | 448 | drivers/isdn/isdn_common.c | if (dev->mdm.dialing[mi] == 1) { |
mdm | 449 | drivers/isdn/isdn_common.c | dev->mdm.dialing[mi] = 0; |
mdm | 450 | drivers/isdn/isdn_common.c | isdn_tty_modem_result(7, &dev->mdm.info[mi]); |
mdm | 452 | drivers/isdn/isdn_common.c | if (dev->mdm.online[mi]) |
mdm | 453 | drivers/isdn/isdn_common.c | isdn_tty_modem_result(3, &dev->mdm.info[mi]); |
mdm | 457 | drivers/isdn/isdn_common.c | isdn_tty_modem_hup(&dev->mdm.info[mi]); |
mdm | 458 | drivers/isdn/isdn_common.c | dev->mdm.msr[mi] &= ~(UART_MSR_DCD | UART_MSR_RI); |
mdm | 480 | drivers/isdn/isdn_common.c | if (dev->mdm.info[mi].flags & |
mdm | 482 | drivers/isdn/isdn_common.c | dev->mdm.msr[mi] |= UART_MSR_DCD; |
mdm | 483 | drivers/isdn/isdn_common.c | if (dev->mdm.dialing[mi]) |
mdm | 484 | drivers/isdn/isdn_common.c | dev->mdm.dialing[mi] = 0; |
mdm | 485 | drivers/isdn/isdn_common.c | dev->mdm.rcvsched[mi] = 1; |
mdm | 486 | drivers/isdn/isdn_common.c | isdn_tty_modem_result(5, &dev->mdm.info[mi]); |
mdm | 502 | drivers/isdn/isdn_common.c | if (dev->mdm.info[mi].flags & |
mdm | 504 | drivers/isdn/isdn_common.c | dev->mdm.msr[mi] &= ~(UART_MSR_DCD | UART_MSR_RI); |
mdm | 505 | drivers/isdn/isdn_common.c | if (dev->mdm.online[mi]) |
mdm | 506 | drivers/isdn/isdn_common.c | isdn_tty_modem_result(3, &dev->mdm.info[mi]); |
mdm | 510 | drivers/isdn/isdn_common.c | isdn_tty_modem_hup(&dev->mdm.info[mi]); |
mdm | 525 | drivers/isdn/isdn_common.c | if (dev->mdm.info[mi].flags & |
mdm | 527 | drivers/isdn/isdn_common.c | if (dev->mdm.dialing[mi]) { |
mdm | 528 | drivers/isdn/isdn_common.c | dev->mdm.dialing[mi] = 0; |
mdm | 529 | drivers/isdn/isdn_common.c | isdn_tty_modem_result(6, &dev->mdm.info[mi]); |
mdm | 531 | drivers/isdn/isdn_common.c | dev->mdm.msr[mi] &= ~UART_MSR_DCD; |
mdm | 532 | drivers/isdn/isdn_common.c | if (dev->mdm.online[mi]) { |
mdm | 533 | drivers/isdn/isdn_common.c | isdn_tty_modem_result(3, &dev->mdm.info[mi]); |
mdm | 534 | drivers/isdn/isdn_common.c | dev->mdm.online[mi] = 0; |
mdm | 548 | drivers/isdn/isdn_common.c | dev->mdm.info[i].isdn_driver = -1; |
mdm | 549 | drivers/isdn/isdn_common.c | dev->mdm.info[i].isdn_channel = -1; |
mdm | 1220 | drivers/isdn/isdn_common.c | memcpy_tofs(p, dev->mdm.atmodem[i].profile, ISDN_MODEM_ANZREG); |
mdm | 1222 | drivers/isdn/isdn_common.c | memcpy_tofs(p, dev->mdm.atmodem[i].pmsn, ISDN_MSNLEN); |
mdm | 1241 | drivers/isdn/isdn_common.c | memcpy_fromfs(dev->mdm.atmodem[i].profile, p, ISDN_MODEM_ANZREG); |
mdm | 1243 | drivers/isdn/isdn_common.c | memcpy_fromfs(dev->mdm.atmodem[i].pmsn, p, ISDN_MSNLEN); |
mdm | 1808 | drivers/isdn/isdn_common.c | tty_unregister_driver(&dev->mdm.cua_modem); |
mdm | 1810 | drivers/isdn/isdn_common.c | tty_unregister_driver(&dev->mdm.tty_modem); |
mdm | 1818 | drivers/isdn/isdn_common.c | tty_unregister_driver(&dev->mdm.tty_modem); |
mdm | 1819 | drivers/isdn/isdn_common.c | tty_unregister_driver(&dev->mdm.cua_modem); |
mdm | 1821 | drivers/isdn/isdn_common.c | kfree(dev->mdm.info[i].xmit_buf); |
mdm | 1866 | drivers/isdn/isdn_common.c | if (tty_unregister_driver(&dev->mdm.tty_modem)) { |
mdm | 1871 | drivers/isdn/isdn_common.c | if (tty_unregister_driver(&dev->mdm.cua_modem)) { |
mdm | 1877 | drivers/isdn/isdn_common.c | kfree(dev->mdm.info[i].xmit_buf - 4); |
mdm | 61 | drivers/isdn/isdn_tty.c | if (dev->mdm.online[i]) { |
mdm | 62 | drivers/isdn/isdn_tty.c | if ((tty = dev->mdm.info[i].tty)) { |
mdm | 63 | drivers/isdn/isdn_tty.c | if (dev->mdm.info[i].MCR & UART_MCR_RTS) { |
mdm | 70 | drivers/isdn/isdn_tty.c | if (dev->mdm.atmodem[i].mdmreg[12] & 128) |
mdm | 98 | drivers/isdn/isdn_tty.c | if (dev->mdm.online[midx]) { |
mdm | 102 | drivers/isdn/isdn_tty.c | info = &dev->mdm.info[midx]; |
mdm | 110 | drivers/isdn/isdn_tty.c | if (!(dev->mdm.atmodem[midx].mdmreg[12] & 128)) |
mdm | 124 | drivers/isdn/isdn_tty.c | dev->mdm.rcvsched[midx] = 0; |
mdm | 127 | drivers/isdn/isdn_tty.c | dev->mdm.rcvsched[midx] = 1; |
mdm | 184 | drivers/isdn/isdn_tty.c | dev->mdm.dialing[info->line] = 1; |
mdm | 197 | drivers/isdn/isdn_tty.c | dev->mdm.rcvsched[info->line] = 0; |
mdm | 198 | drivers/isdn/isdn_tty.c | dev->mdm.online[info->line] = 0; |
mdm | 255 | drivers/isdn/isdn_tty.c | isdn_tty_modem_reset_regs(&dev->mdm.atmodem[info->line], 0); |
mdm | 256 | drivers/isdn/isdn_tty.c | if (dev->mdm.online[info->line]) { |
mdm | 315 | drivers/isdn/isdn_tty.c | dev->mdm.msr[info->line] |= UART_MSR_DSR; |
mdm | 340 | drivers/isdn/isdn_tty.c | isdn_tty_modem_reset_regs(&dev->mdm.atmodem[info->line], 0); |
mdm | 341 | drivers/isdn/isdn_tty.c | if (dev->mdm.online[info->line]) { |
mdm | 387 | drivers/isdn/isdn_tty.c | if (dev->mdm.online[i]) { |
mdm | 388 | drivers/isdn/isdn_tty.c | isdn_tty_check_esc(buf, dev->mdm.atmodem[i].mdmreg[2], c, |
mdm | 389 | drivers/isdn/isdn_tty.c | &(dev->mdm.atmodem[i].pluscount), |
mdm | 390 | drivers/isdn/isdn_tty.c | &(dev->mdm.atmodem[i].lastplus), from_user); |
mdm | 396 | drivers/isdn/isdn_tty.c | if (dev->mdm.atmodem[i].mdmreg[13] & 1) { |
mdm | 404 | drivers/isdn/isdn_tty.c | if (dev->mdm.atmodem[i].mdmreg[13] & 2) { |
mdm | 420 | drivers/isdn/isdn_tty.c | info->xmit_size = dev->mdm.atmodem[i].mdmreg[16] * 16; |
mdm | 423 | drivers/isdn/isdn_tty.c | dev->mdm.msr[i] &= ~UART_MSR_CTS; |
mdm | 432 | drivers/isdn/isdn_tty.c | if (dev->mdm.dialing[i]) { |
mdm | 433 | drivers/isdn/isdn_tty.c | dev->mdm.dialing[i] = 0; |
mdm | 459 | drivers/isdn/isdn_tty.c | if (!dev->mdm.online[info->line]) |
mdm | 471 | drivers/isdn/isdn_tty.c | if (!dev->mdm.online[info->line]) |
mdm | 561 | drivers/isdn/isdn_tty.c | status = dev->mdm.msr[info->line]; |
mdm | 578 | drivers/isdn/isdn_tty.c | status = dev->mdm.msr[info->line]; |
mdm | 609 | drivers/isdn/isdn_tty.c | isdn_tty_modem_reset_regs(&dev->mdm.atmodem[info->line], 0); |
mdm | 610 | drivers/isdn/isdn_tty.c | if (dev->mdm.online[info->line]) { |
mdm | 624 | drivers/isdn/isdn_tty.c | isdn_tty_modem_reset_regs(&dev->mdm.atmodem[info->line], 0); |
mdm | 625 | drivers/isdn/isdn_tty.c | if (dev->mdm.online[info->line]) { |
mdm | 865 | drivers/isdn/isdn_tty.c | dev->mdm.msr[info->line] & |
mdm | 908 | drivers/isdn/isdn_tty.c | info = &dev->mdm.info[line]; |
mdm | 1022 | drivers/isdn/isdn_tty.c | while (!(dev->mdm.mlr[info->line] |
mdm | 1129 | drivers/isdn/isdn_tty.c | m = &dev->mdm; |
mdm | 1262 | drivers/isdn/isdn_tty.c | dev->mdm.atmodem[i].msn, isdn_map_eaz2msn(dev->mdm.atmodem[i].msn, di), |
mdm | 1263 | drivers/isdn/isdn_tty.c | dev->mdm.atmodem[i].mdmreg[18], dev->mdm.atmodem[i].mdmreg[19]); |
mdm | 1265 | drivers/isdn/isdn_tty.c | if ((!strcmp(isdn_map_eaz2msn(dev->mdm.atmodem[i].msn, di) |
mdm | 1267 | drivers/isdn/isdn_tty.c | (dev->mdm.atmodem[i].mdmreg[18] == si1) && /* SI1 is matching */ |
mdm | 1268 | drivers/isdn/isdn_tty.c | (dev->mdm.atmodem[i].mdmreg[19] == si2)) { /* SI2 is matching */ |
mdm | 1269 | drivers/isdn/isdn_tty.c | modem_info *info = &dev->mdm.info[i]; |
mdm | 1315 | drivers/isdn/isdn_tty.c | atemu *m = &(dev->mdm.atmodem[info->line]); |
mdm | 1432 | drivers/isdn/isdn_tty.c | atemu *m = &dev->mdm.atmodem[info->line]; |
mdm | 1447 | drivers/isdn/isdn_tty.c | dev->mdm.msr[info->line] &= ~UART_MSR_RI; |
mdm | 1458 | drivers/isdn/isdn_tty.c | dev->mdm.msr[info->line] &= ~(UART_MSR_DCD | UART_MSR_RI); |
mdm | 1467 | drivers/isdn/isdn_tty.c | dev->mdm.online[info->line] = 1; |
mdm | 1515 | drivers/isdn/isdn_tty.c | sprintf(v, "%d\r\n", dev->mdm.atmodem[info->line].mdmreg[ridx]); |
mdm | 1553 | drivers/isdn/isdn_tty.c | atemu *m = &dev->mdm.atmodem[info->line]; |
mdm | 1582 | drivers/isdn/isdn_tty.c | dev->mdm.msr[info->line] &= ~UART_MSR_RI; |
mdm | 1669 | drivers/isdn/isdn_tty.c | if (dev->mdm.msr[info->line] & UART_MSR_DCD) /* if B-Channel is up */ |
mdm | 1876 | drivers/isdn/isdn_tty.c | atemu *m = &dev->mdm.atmodem[info->line]; |
mdm | 1952 | drivers/isdn/isdn_tty.c | if (dev->mdm.online[midx]) { |
mdm | 1954 | drivers/isdn/isdn_tty.c | if ((dev->mdm.atmodem[midx].pluscount == 3) && |
mdm | 1955 | drivers/isdn/isdn_tty.c | ((jiffies - dev->mdm.atmodem[midx].lastplus) > PLUSWAIT2)) { |
mdm | 1956 | drivers/isdn/isdn_tty.c | dev->mdm.atmodem[midx].pluscount = 0; |
mdm | 1957 | drivers/isdn/isdn_tty.c | dev->mdm.online[midx] = 0; |
mdm | 1958 | drivers/isdn/isdn_tty.c | isdn_tty_modem_result(0, &dev->mdm.info[midx]); |
mdm | 1978 | drivers/isdn/isdn_tty.c | if (dev->mdm.msr[midx] & UART_MSR_RI) { |
mdm | 1980 | drivers/isdn/isdn_tty.c | isdn_tty_modem_result(2, &dev->mdm.info[midx]); |
mdm | 1996 | drivers/isdn/isdn_tty.c | if (dev->mdm.online[midx]) { |
mdm | 1997 | drivers/isdn/isdn_tty.c | modem_info *info = &(dev->mdm.info[midx]); |
mdm | 2010 | drivers/isdn/isdn_tty.c | if (dev->mdm.atmodem[midx].mdmreg[13] & 2) { |
mdm | 2025 | drivers/isdn/isdn_tty.c | info->xmit_size = dev->mdm.atmodem[midx].mdmreg[16] * 16; |
mdm | 2028 | drivers/isdn/isdn_tty.c | dev->mdm.msr[midx] &= ~UART_MSR_CTS; |
mdm | 2055 | drivers/isdn/isdn_tty.c | modem_info *info = &dev->mdm.info[i]; |
mdm | 2060 | drivers/isdn/isdn_tty.c | dev->mdm.msr[i] |= UART_MSR_CTS; |
mdm | 554 | include/linux/isdn.h | modem mdm; /* tty-driver-data */ |