pInfo 111 drivers/tty/n_r3964.c static void remove_from_tx_queue(struct r3964_info *pInfo, int error_code); pInfo 112 drivers/tty/n_r3964.c static void put_char(struct r3964_info *pInfo, unsigned char ch); pInfo 113 drivers/tty/n_r3964.c static void trigger_transmit(struct r3964_info *pInfo); pInfo 114 drivers/tty/n_r3964.c static void retry_transmit(struct r3964_info *pInfo); pInfo 115 drivers/tty/n_r3964.c static void transmit_block(struct r3964_info *pInfo); pInfo 116 drivers/tty/n_r3964.c static void receive_char(struct r3964_info *pInfo, const unsigned char c); pInfo 117 drivers/tty/n_r3964.c static void receive_error(struct r3964_info *pInfo, const char flag); pInfo 119 drivers/tty/n_r3964.c static int enable_signals(struct r3964_info *pInfo, struct pid *pid, int arg); pInfo 120 drivers/tty/n_r3964.c static int read_telegram(struct r3964_info *pInfo, struct pid *pid, pInfo 124 drivers/tty/n_r3964.c static struct r3964_message *remove_msg(struct r3964_info *pInfo, pInfo 126 drivers/tty/n_r3964.c static void remove_client_block(struct r3964_info *pInfo, pInfo 233 drivers/tty/n_r3964.c static void add_tx_queue(struct r3964_info *pInfo, pInfo 238 drivers/tty/n_r3964.c spin_lock_irqsave(&pInfo->lock, flags); pInfo 242 drivers/tty/n_r3964.c if (pInfo->tx_last == NULL) { pInfo 243 drivers/tty/n_r3964.c pInfo->tx_first = pInfo->tx_last = pHeader; pInfo 245 drivers/tty/n_r3964.c pInfo->tx_last->next = pHeader; pInfo 246 drivers/tty/n_r3964.c pInfo->tx_last = pHeader; pInfo 249 drivers/tty/n_r3964.c spin_unlock_irqrestore(&pInfo->lock, flags); pInfo 252 drivers/tty/n_r3964.c pHeader, pHeader->length, pInfo->tx_first); pInfo 255 drivers/tty/n_r3964.c static void remove_from_tx_queue(struct r3964_info *pInfo, int error_code) pInfo 263 drivers/tty/n_r3964.c pHeader = pInfo->tx_first; pInfo 284 drivers/tty/n_r3964.c wake_up_interruptible(&pInfo->tty->read_wait); pInfo 287 drivers/tty/n_r3964.c spin_lock_irqsave(&pInfo->lock, flags); pInfo 289 drivers/tty/n_r3964.c pInfo->tx_first = pHeader->next; pInfo 290 drivers/tty/n_r3964.c if (pInfo->tx_first == NULL) { pInfo 291 drivers/tty/n_r3964.c pInfo->tx_last = NULL; pInfo 294 drivers/tty/n_r3964.c spin_unlock_irqrestore(&pInfo->lock, flags); pInfo 300 drivers/tty/n_r3964.c pInfo->tx_first, pInfo->tx_last); pInfo 303 drivers/tty/n_r3964.c static void add_rx_queue(struct r3964_info *pInfo, pInfo 308 drivers/tty/n_r3964.c spin_lock_irqsave(&pInfo->lock, flags); pInfo 312 drivers/tty/n_r3964.c if (pInfo->rx_last == NULL) { pInfo 313 drivers/tty/n_r3964.c pInfo->rx_first = pInfo->rx_last = pHeader; pInfo 315 drivers/tty/n_r3964.c pInfo->rx_last->next = pHeader; pInfo 316 drivers/tty/n_r3964.c pInfo->rx_last = pHeader; pInfo 318 drivers/tty/n_r3964.c pInfo->blocks_in_rx_queue++; pInfo 320 drivers/tty/n_r3964.c spin_unlock_irqrestore(&pInfo->lock, flags); pInfo 324 drivers/tty/n_r3964.c pInfo->rx_first, pInfo->blocks_in_rx_queue); pInfo 327 drivers/tty/n_r3964.c static void remove_from_rx_queue(struct r3964_info *pInfo, pInfo 337 drivers/tty/n_r3964.c pInfo->rx_first, pInfo->rx_last, pInfo->blocks_in_rx_queue); pInfo 341 drivers/tty/n_r3964.c spin_lock_irqsave(&pInfo->lock, flags); pInfo 343 drivers/tty/n_r3964.c if (pInfo->rx_first == pHeader) { pInfo 345 drivers/tty/n_r3964.c pInfo->rx_first = pHeader->next; pInfo 347 drivers/tty/n_r3964.c if (pInfo->rx_first == NULL) { pInfo 348 drivers/tty/n_r3964.c pInfo->rx_last = NULL; pInfo 350 drivers/tty/n_r3964.c pInfo->blocks_in_rx_queue--; pInfo 353 drivers/tty/n_r3964.c for (pFind = pInfo->rx_first; pFind; pFind = pFind->next) { pInfo 357 drivers/tty/n_r3964.c pInfo->blocks_in_rx_queue--; pInfo 360 drivers/tty/n_r3964.c pInfo->rx_last = pFind; pInfo 367 drivers/tty/n_r3964.c spin_unlock_irqrestore(&pInfo->lock, flags); pInfo 373 drivers/tty/n_r3964.c pInfo->rx_first, pInfo->rx_last, pInfo->blocks_in_rx_queue); pInfo 376 drivers/tty/n_r3964.c static void put_char(struct r3964_info *pInfo, unsigned char ch) pInfo 378 drivers/tty/n_r3964.c struct tty_struct *tty = pInfo->tty; pInfo 381 drivers/tty/n_r3964.c pInfo->bcc ^= ch; pInfo 384 drivers/tty/n_r3964.c static void flush(struct r3964_info *pInfo) pInfo 386 drivers/tty/n_r3964.c struct tty_struct *tty = pInfo->tty; pInfo 393 drivers/tty/n_r3964.c static void trigger_transmit(struct r3964_info *pInfo) pInfo 397 drivers/tty/n_r3964.c spin_lock_irqsave(&pInfo->lock, flags); pInfo 399 drivers/tty/n_r3964.c if ((pInfo->state == R3964_IDLE) && (pInfo->tx_first != NULL)) { pInfo 400 drivers/tty/n_r3964.c pInfo->state = R3964_TX_REQUEST; pInfo 401 drivers/tty/n_r3964.c pInfo->nRetry = 0; pInfo 402 drivers/tty/n_r3964.c pInfo->flags &= ~R3964_ERROR; pInfo 403 drivers/tty/n_r3964.c mod_timer(&pInfo->tmr, jiffies + R3964_TO_QVZ); pInfo 405 drivers/tty/n_r3964.c spin_unlock_irqrestore(&pInfo->lock, flags); pInfo 409 drivers/tty/n_r3964.c put_char(pInfo, STX); pInfo 410 drivers/tty/n_r3964.c flush(pInfo); pInfo 412 drivers/tty/n_r3964.c pInfo->bcc = 0; pInfo 414 drivers/tty/n_r3964.c spin_unlock_irqrestore(&pInfo->lock, flags); pInfo 418 drivers/tty/n_r3964.c static void retry_transmit(struct r3964_info *pInfo) pInfo 420 drivers/tty/n_r3964.c if (pInfo->nRetry < R3964_MAX_RETRIES) { pInfo 421 drivers/tty/n_r3964.c TRACE_PE("transmission failed. Retry #%d", pInfo->nRetry); pInfo 422 drivers/tty/n_r3964.c pInfo->bcc = 0; pInfo 423 drivers/tty/n_r3964.c put_char(pInfo, STX); pInfo 424 drivers/tty/n_r3964.c flush(pInfo); pInfo 425 drivers/tty/n_r3964.c pInfo->state = R3964_TX_REQUEST; pInfo 426 drivers/tty/n_r3964.c pInfo->nRetry++; pInfo 427 drivers/tty/n_r3964.c mod_timer(&pInfo->tmr, jiffies + R3964_TO_QVZ); pInfo 432 drivers/tty/n_r3964.c remove_from_tx_queue(pInfo, R3964_TX_FAIL); pInfo 434 drivers/tty/n_r3964.c put_char(pInfo, NAK); pInfo 435 drivers/tty/n_r3964.c flush(pInfo); pInfo 436 drivers/tty/n_r3964.c pInfo->state = R3964_IDLE; pInfo 438 drivers/tty/n_r3964.c trigger_transmit(pInfo); pInfo 442 drivers/tty/n_r3964.c static void transmit_block(struct r3964_info *pInfo) pInfo 444 drivers/tty/n_r3964.c struct tty_struct *tty = pInfo->tty; pInfo 445 drivers/tty/n_r3964.c struct r3964_block_header *pBlock = pInfo->tx_first; pInfo 457 drivers/tty/n_r3964.c while (pInfo->tx_position < pBlock->length) { pInfo 461 drivers/tty/n_r3964.c if (pBlock->data[pInfo->tx_position] == DLE) { pInfo 463 drivers/tty/n_r3964.c put_char(pInfo, DLE); pInfo 465 drivers/tty/n_r3964.c put_char(pInfo, pBlock->data[pInfo->tx_position++]); pInfo 470 drivers/tty/n_r3964.c if ((pInfo->tx_position == pBlock->length) && (room >= 3)) { pInfo 471 drivers/tty/n_r3964.c put_char(pInfo, DLE); pInfo 472 drivers/tty/n_r3964.c put_char(pInfo, ETX); pInfo 473 drivers/tty/n_r3964.c if (pInfo->flags & R3964_BCC) { pInfo 474 drivers/tty/n_r3964.c put_char(pInfo, pInfo->bcc); pInfo 476 drivers/tty/n_r3964.c pInfo->state = R3964_WAIT_FOR_TX_ACK; pInfo 477 drivers/tty/n_r3964.c mod_timer(&pInfo->tmr, jiffies + R3964_TO_QVZ); pInfo 479 drivers/tty/n_r3964.c flush(pInfo); pInfo 482 drivers/tty/n_r3964.c static void on_receive_block(struct r3964_info *pInfo) pInfo 488 drivers/tty/n_r3964.c length = pInfo->rx_position; pInfo 491 drivers/tty/n_r3964.c if (pInfo->flags & R3964_BCC) { pInfo 492 drivers/tty/n_r3964.c if (pInfo->bcc != pInfo->last_rx) { pInfo 494 drivers/tty/n_r3964.c pInfo->last_rx, pInfo->bcc); pInfo 495 drivers/tty/n_r3964.c pInfo->flags |= R3964_CHECKSUM; pInfo 500 drivers/tty/n_r3964.c if (pInfo->flags & R3964_ERROR) { pInfo 502 drivers/tty/n_r3964.c pInfo->flags & R3964_ERROR); pInfo 504 drivers/tty/n_r3964.c put_char(pInfo, NAK); pInfo 505 drivers/tty/n_r3964.c flush(pInfo); pInfo 506 drivers/tty/n_r3964.c if (pInfo->nRetry < R3964_MAX_RETRIES) { pInfo 507 drivers/tty/n_r3964.c pInfo->state = R3964_WAIT_FOR_RX_REPEAT; pInfo 508 drivers/tty/n_r3964.c pInfo->nRetry++; pInfo 509 drivers/tty/n_r3964.c mod_timer(&pInfo->tmr, jiffies + R3964_TO_RX_PANIC); pInfo 512 drivers/tty/n_r3964.c pInfo->state = R3964_IDLE; pInfo 518 drivers/tty/n_r3964.c put_char(pInfo, DLE); pInfo 519 drivers/tty/n_r3964.c flush(pInfo); pInfo 520 drivers/tty/n_r3964.c del_timer_sync(&pInfo->tmr); pInfo 538 drivers/tty/n_r3964.c memcpy(pBlock->data, pInfo->rx_buf, length); pInfo 541 drivers/tty/n_r3964.c add_rx_queue(pInfo, pBlock); pInfo 544 drivers/tty/n_r3964.c for (pClient = pInfo->firstClient; pClient; pClient = pClient->next) { pInfo 550 drivers/tty/n_r3964.c wake_up_interruptible(&pInfo->tty->read_wait); pInfo 552 drivers/tty/n_r3964.c pInfo->state = R3964_IDLE; pInfo 554 drivers/tty/n_r3964.c trigger_transmit(pInfo); pInfo 557 drivers/tty/n_r3964.c static void receive_char(struct r3964_info *pInfo, const unsigned char c) pInfo 559 drivers/tty/n_r3964.c switch (pInfo->state) { pInfo 564 drivers/tty/n_r3964.c pInfo->state = R3964_TRANSMITTING; pInfo 565 drivers/tty/n_r3964.c pInfo->tx_position = 0; pInfo 567 drivers/tty/n_r3964.c transmit_block(pInfo); pInfo 569 drivers/tty/n_r3964.c if (pInfo->nRetry == 0) { pInfo 571 drivers/tty/n_r3964.c if (pInfo->priority == R3964_SLAVE) { pInfo 582 drivers/tty/n_r3964.c retry_transmit(pInfo); pInfo 588 drivers/tty/n_r3964.c retry_transmit(pInfo); pInfo 592 drivers/tty/n_r3964.c pInfo->state = R3964_WAIT_ZVZ_BEFORE_TX_RETRY; pInfo 593 drivers/tty/n_r3964.c mod_timer(&pInfo->tmr, jiffies + R3964_TO_ZVZ); pInfo 599 drivers/tty/n_r3964.c remove_from_tx_queue(pInfo, R3964_OK); pInfo 601 drivers/tty/n_r3964.c pInfo->state = R3964_IDLE; pInfo 602 drivers/tty/n_r3964.c trigger_transmit(pInfo); pInfo 604 drivers/tty/n_r3964.c retry_transmit(pInfo); pInfo 612 drivers/tty/n_r3964.c if (pInfo->blocks_in_rx_queue >= pInfo 616 drivers/tty/n_r3964.c pInfo->state = R3964_WAIT_FOR_RX_BUF; pInfo 617 drivers/tty/n_r3964.c mod_timer(&pInfo->tmr, pInfo 624 drivers/tty/n_r3964.c pInfo->rx_position = 0; pInfo 625 drivers/tty/n_r3964.c pInfo->last_rx = 0; pInfo 626 drivers/tty/n_r3964.c pInfo->flags &= ~R3964_ERROR; pInfo 627 drivers/tty/n_r3964.c pInfo->state = R3964_RECEIVING; pInfo 628 drivers/tty/n_r3964.c mod_timer(&pInfo->tmr, jiffies + R3964_TO_ZVZ); pInfo 629 drivers/tty/n_r3964.c pInfo->nRetry = 0; pInfo 630 drivers/tty/n_r3964.c put_char(pInfo, DLE); pInfo 631 drivers/tty/n_r3964.c flush(pInfo); pInfo 632 drivers/tty/n_r3964.c pInfo->bcc = 0; pInfo 636 drivers/tty/n_r3964.c if (pInfo->rx_position < RX_BUF_SIZE) { pInfo 637 drivers/tty/n_r3964.c pInfo->bcc ^= c; pInfo 640 drivers/tty/n_r3964.c if (pInfo->last_rx == DLE) { pInfo 641 drivers/tty/n_r3964.c pInfo->last_rx = 0; pInfo 644 drivers/tty/n_r3964.c pInfo->last_rx = DLE; pInfo 646 drivers/tty/n_r3964.c } else if ((c == ETX) && (pInfo->last_rx == DLE)) { pInfo 647 drivers/tty/n_r3964.c if (pInfo->flags & R3964_BCC) { pInfo 648 drivers/tty/n_r3964.c pInfo->state = R3964_WAIT_FOR_BCC; pInfo 649 drivers/tty/n_r3964.c mod_timer(&pInfo->tmr, pInfo 652 drivers/tty/n_r3964.c on_receive_block(pInfo); pInfo 655 drivers/tty/n_r3964.c pInfo->last_rx = c; pInfo 657 drivers/tty/n_r3964.c pInfo->rx_buf[pInfo->rx_position++] = c; pInfo 658 drivers/tty/n_r3964.c mod_timer(&pInfo->tmr, jiffies + R3964_TO_ZVZ); pInfo 664 drivers/tty/n_r3964.c pInfo->last_rx = c; pInfo 665 drivers/tty/n_r3964.c on_receive_block(pInfo); pInfo 670 drivers/tty/n_r3964.c static void receive_error(struct r3964_info *pInfo, const char flag) pInfo 677 drivers/tty/n_r3964.c pInfo->flags |= R3964_BREAK; pInfo 681 drivers/tty/n_r3964.c pInfo->flags |= R3964_PARITY; pInfo 685 drivers/tty/n_r3964.c pInfo->flags |= R3964_FRAME; pInfo 689 drivers/tty/n_r3964.c pInfo->flags |= R3964_OVERRUN; pInfo 693 drivers/tty/n_r3964.c pInfo->flags |= R3964_UNKNOWN; pInfo 700 drivers/tty/n_r3964.c struct r3964_info *pInfo = from_timer(pInfo, t, tmr); pInfo 702 drivers/tty/n_r3964.c switch (pInfo->state) { pInfo 705 drivers/tty/n_r3964.c retry_transmit(pInfo); pInfo 708 drivers/tty/n_r3964.c put_char(pInfo, NAK); pInfo 709 drivers/tty/n_r3964.c flush(pInfo); pInfo 710 drivers/tty/n_r3964.c retry_transmit(pInfo); pInfo 714 drivers/tty/n_r3964.c retry_transmit(pInfo); pInfo 718 drivers/tty/n_r3964.c put_char(pInfo, NAK); pInfo 719 drivers/tty/n_r3964.c flush(pInfo); pInfo 720 drivers/tty/n_r3964.c pInfo->state = R3964_IDLE; pInfo 724 drivers/tty/n_r3964.c pInfo->rx_position); pInfo 725 drivers/tty/n_r3964.c put_char(pInfo, NAK); pInfo 726 drivers/tty/n_r3964.c flush(pInfo); pInfo 727 drivers/tty/n_r3964.c pInfo->state = R3964_IDLE; pInfo 731 drivers/tty/n_r3964.c pInfo->state = R3964_IDLE; pInfo 735 drivers/tty/n_r3964.c put_char(pInfo, NAK); pInfo 736 drivers/tty/n_r3964.c flush(pInfo); pInfo 737 drivers/tty/n_r3964.c pInfo->state = R3964_IDLE; pInfo 742 drivers/tty/n_r3964.c static struct r3964_client_info *findClient(struct r3964_info *pInfo, pInfo 747 drivers/tty/n_r3964.c for (pClient = pInfo->firstClient; pClient; pClient = pClient->next) { pInfo 755 drivers/tty/n_r3964.c static int enable_signals(struct r3964_info *pInfo, struct pid *pid, int arg) pInfo 763 drivers/tty/n_r3964.c for (ppClient = &pInfo->firstClient; *ppClient; pInfo 772 drivers/tty/n_r3964.c pMsg = remove_msg(pInfo, pClient); pInfo 787 drivers/tty/n_r3964.c pClient = findClient(pInfo, pid); pInfo 803 drivers/tty/n_r3964.c pClient->next = pInfo->firstClient; pInfo 808 drivers/tty/n_r3964.c pInfo->firstClient = pClient; pInfo 815 drivers/tty/n_r3964.c static int read_telegram(struct r3964_info *pInfo, struct pid *pid, pInfo 825 drivers/tty/n_r3964.c pClient = findClient(pInfo, pid); pInfo 837 drivers/tty/n_r3964.c remove_client_block(pInfo, pClient); pInfo 901 drivers/tty/n_r3964.c static struct r3964_message *remove_msg(struct r3964_info *pInfo, pInfo 918 drivers/tty/n_r3964.c remove_client_block(pInfo, pClient); pInfo 926 drivers/tty/n_r3964.c static void remove_client_block(struct r3964_info *pInfo, pInfo 937 drivers/tty/n_r3964.c remove_from_rx_queue(pInfo, block); pInfo 949 drivers/tty/n_r3964.c struct r3964_info *pInfo; pInfo 955 drivers/tty/n_r3964.c pInfo = kmalloc(sizeof(struct r3964_info), GFP_KERNEL); pInfo 956 drivers/tty/n_r3964.c TRACE_M("r3964_open - info kmalloc %p", pInfo); pInfo 958 drivers/tty/n_r3964.c if (!pInfo) { pInfo 963 drivers/tty/n_r3964.c pInfo->rx_buf = kmalloc(RX_BUF_SIZE, GFP_KERNEL); pInfo 964 drivers/tty/n_r3964.c TRACE_M("r3964_open - rx_buf kmalloc %p", pInfo->rx_buf); pInfo 966 drivers/tty/n_r3964.c if (!pInfo->rx_buf) { pInfo 968 drivers/tty/n_r3964.c kfree(pInfo); pInfo 969 drivers/tty/n_r3964.c TRACE_M("r3964_open - info kfree %p", pInfo); pInfo 973 drivers/tty/n_r3964.c pInfo->tx_buf = kmalloc(TX_BUF_SIZE, GFP_KERNEL); pInfo 974 drivers/tty/n_r3964.c TRACE_M("r3964_open - tx_buf kmalloc %p", pInfo->tx_buf); pInfo 976 drivers/tty/n_r3964.c if (!pInfo->tx_buf) { pInfo 978 drivers/tty/n_r3964.c kfree(pInfo->rx_buf); pInfo 979 drivers/tty/n_r3964.c TRACE_M("r3964_open - rx_buf kfree %p", pInfo->rx_buf); pInfo 980 drivers/tty/n_r3964.c kfree(pInfo); pInfo 981 drivers/tty/n_r3964.c TRACE_M("r3964_open - info kfree %p", pInfo); pInfo 985 drivers/tty/n_r3964.c spin_lock_init(&pInfo->lock); pInfo 986 drivers/tty/n_r3964.c mutex_init(&pInfo->read_lock); pInfo 987 drivers/tty/n_r3964.c pInfo->tty = tty; pInfo 988 drivers/tty/n_r3964.c pInfo->priority = R3964_MASTER; pInfo 989 drivers/tty/n_r3964.c pInfo->rx_first = pInfo->rx_last = NULL; pInfo 990 drivers/tty/n_r3964.c pInfo->tx_first = pInfo->tx_last = NULL; pInfo 991 drivers/tty/n_r3964.c pInfo->rx_position = 0; pInfo 992 drivers/tty/n_r3964.c pInfo->tx_position = 0; pInfo 993 drivers/tty/n_r3964.c pInfo->last_rx = 0; pInfo 994 drivers/tty/n_r3964.c pInfo->blocks_in_rx_queue = 0; pInfo 995 drivers/tty/n_r3964.c pInfo->firstClient = NULL; pInfo 996 drivers/tty/n_r3964.c pInfo->state = R3964_IDLE; pInfo 997 drivers/tty/n_r3964.c pInfo->flags = R3964_DEBUG; pInfo 998 drivers/tty/n_r3964.c pInfo->nRetry = 0; pInfo 1000 drivers/tty/n_r3964.c tty->disc_data = pInfo; pInfo 1003 drivers/tty/n_r3964.c timer_setup(&pInfo->tmr, on_timeout, 0); pInfo 1010 drivers/tty/n_r3964.c struct r3964_info *pInfo = tty->disc_data; pInfo 1022 drivers/tty/n_r3964.c del_timer_sync(&pInfo->tmr); pInfo 1025 drivers/tty/n_r3964.c pClient = pInfo->firstClient; pInfo 1029 drivers/tty/n_r3964.c pMsg = remove_msg(pInfo, pClient); pInfo 1041 drivers/tty/n_r3964.c spin_lock_irqsave(&pInfo->lock, flags); pInfo 1042 drivers/tty/n_r3964.c pHeader = pInfo->tx_first; pInfo 1043 drivers/tty/n_r3964.c pInfo->tx_first = pInfo->tx_last = NULL; pInfo 1044 drivers/tty/n_r3964.c spin_unlock_irqrestore(&pInfo->lock, flags); pInfo 1053 drivers/tty/n_r3964.c kfree(pInfo->rx_buf); pInfo 1054 drivers/tty/n_r3964.c TRACE_M("r3964_close - rx_buf kfree %p", pInfo->rx_buf); pInfo 1055 drivers/tty/n_r3964.c kfree(pInfo->tx_buf); pInfo 1056 drivers/tty/n_r3964.c TRACE_M("r3964_close - tx_buf kfree %p", pInfo->tx_buf); pInfo 1057 drivers/tty/n_r3964.c kfree(pInfo); pInfo 1058 drivers/tty/n_r3964.c TRACE_M("r3964_close - info kfree %p", pInfo); pInfo 1064 drivers/tty/n_r3964.c struct r3964_info *pInfo = tty->disc_data; pInfo 1076 drivers/tty/n_r3964.c if (!mutex_trylock(&pInfo->read_lock)) pInfo 1079 drivers/tty/n_r3964.c if (mutex_lock_interruptible(&pInfo->read_lock)) pInfo 1083 drivers/tty/n_r3964.c pClient = findClient(pInfo, task_pid(current)); pInfo 1085 drivers/tty/n_r3964.c pMsg = remove_msg(pInfo, pClient); pInfo 1094 drivers/tty/n_r3964.c (pMsg = remove_msg(pInfo, pClient))); pInfo 1123 drivers/tty/n_r3964.c mutex_unlock(&pInfo->read_lock); pInfo 1130 drivers/tty/n_r3964.c struct r3964_info *pInfo = tty->disc_data; pInfo 1140 drivers/tty/n_r3964.c if (!pInfo) pInfo 1147 drivers/tty/n_r3964.c if (pInfo->flags & R3964_DEBUG) { pInfo 1160 drivers/tty/n_r3964.c if (pInfo->flags & R3964_DEBUG) { pInfo 1172 drivers/tty/n_r3964.c pClient = findClient(pInfo, task_pid(current)); pInfo 1179 drivers/tty/n_r3964.c if (pInfo->flags & R3964_DEBUG) { pInfo 1186 drivers/tty/n_r3964.c add_tx_queue(pInfo, pHeader); pInfo 1187 drivers/tty/n_r3964.c trigger_transmit(pInfo); pInfo 1195 drivers/tty/n_r3964.c struct r3964_info *pInfo = tty->disc_data; pInfo 1196 drivers/tty/n_r3964.c if (pInfo == NULL) pInfo 1200 drivers/tty/n_r3964.c return enable_signals(pInfo, task_pid(current), arg); pInfo 1204 drivers/tty/n_r3964.c pInfo->priority = arg & 0xff; pInfo 1208 drivers/tty/n_r3964.c pInfo->flags |= R3964_BCC; pInfo 1210 drivers/tty/n_r3964.c pInfo->flags &= ~R3964_BCC; pInfo 1213 drivers/tty/n_r3964.c return read_telegram(pInfo, task_pid(current), pInfo 1244 drivers/tty/n_r3964.c struct r3964_info *pInfo = tty->disc_data; pInfo 1252 drivers/tty/n_r3964.c pClient = findClient(pInfo, task_pid(current)); pInfo 1255 drivers/tty/n_r3964.c spin_lock_irqsave(&pInfo->lock, flags); pInfo 1257 drivers/tty/n_r3964.c spin_unlock_irqrestore(&pInfo->lock, flags); pInfo 1269 drivers/tty/n_r3964.c struct r3964_info *pInfo = tty->disc_data; pInfo 1278 drivers/tty/n_r3964.c receive_char(pInfo, *p); pInfo 1280 drivers/tty/n_r3964.c receive_error(pInfo, flags);