Lines Matching refs:rx_nbuf
643 if (++info->rx_fbuf == info->rx_nbuf) in rs_rxdma_irq()
866 if (++info->rx_ubuf == info->rx_nbuf) in rxdma_to_tty()
895 info->rx_nbuf = 8; in dma_init()
898 size = sizeof(struct dbdma_cmd) * (3 * info->rx_nbuf + 2) in dma_init()
901 * info->rx_nbuf; in dma_init()
908 info->rx_char_buf = (unsigned char **) (info->rx_cmds + info->rx_nbuf); in dma_init()
909 info->rx_flag_buf = info->rx_char_buf + info->rx_nbuf; in dma_init()
910 p = (unsigned char *) (info->rx_flag_buf + info->rx_nbuf); in dma_init()
911 for (i = 0; i < info->rx_nbuf; i++, p += RX_BUF_SIZE) in dma_init()
913 for (i = 0; i < info->rx_nbuf; i++, p += RX_BUF_SIZE) in dma_init()
928 for (i = 1; i < info->rx_nbuf; i++) { in dma_init()
955 if (info->rx_fbuf == info->rx_nbuf) in dma_init()