Searched refs:N_DMA_RX_BUF (Results 1 – 3 of 3) sorted by relevance
64 #define N_DMA_RX_BUF (DMA_RX_MEMSZ / BD_DEF_LEN) /* DMA Rx buffers */ macro67 #define DMA_TX_BASE ((N_DMA_TX_BUF + N_DMA_RX_BUF) * \80 ((N_DMA_RX_BUF*chan) + n) * sizeof(pcsca_bd_t))
742 (N_DMA_RX_BUF - 1); in cpc_tty_rx_disc_frame()777 first_bd = (first_bd + 1) & (N_DMA_RX_BUF - 1); in cpc_tty_receive()858 (N_DMA_RX_BUF -1); in cpc_tty_receive()866 (N_DMA_RX_BUF - 1) ; in cpc_tty_receive()
145 int ch_factor = ch * N_DMA_RX_BUF; in rx_dma_buf_pt_init()149 for (i = 0; i < N_DMA_RX_BUF; i++, ptdescr++) { in rx_dma_buf_pt_init()151 (ch_factor + ((i + 1) & (N_DMA_RX_BUF - 1))) * sizeof(pcsca_bd_t))); in rx_dma_buf_pt_init()160 int ch_factor = ch * N_DMA_RX_BUF; in rx_dma_buf_init()164 for (i = 0; i < N_DMA_RX_BUF; i++, ptdescr++) { in rx_dma_buf_init()231 ch_factor = ch * N_DMA_RX_BUF; in rx_dma_buf_check()235 i < N_DMA_RX_BUF; i++, ptdescr++) { in rx_dma_buf_check()256 first_bd = (first_bd + 1) & (N_DMA_RX_BUF - 1); in dma_get_rx_frame_size()333 chan->rx_first_bd = (chan->rx_first_bd+1) & (N_DMA_RX_BUF-1); in dma_buf_read()351 chan->rx_first_bd = (chan->rx_first_bd + 1) & (N_DMA_RX_BUF - 1); in dma_buf_read()[all …]