Lines Matching refs:rx_desc
743 rx_ch_desc * rx_desc = &memmap->rx_descs[channel]; in hrz_open_rx() local
748 channel_type = rd_mem (dev, &rx_desc->wr_buf_type) & BUFFER_PTR_MASK; in hrz_open_rx()
776 wr_mem (dev, &rx_desc->wr_buf_type, in hrz_open_rx()
779 wr_mem (dev, &rx_desc->rd_buf_type, buf_ptr); in hrz_open_rx()
817 rx_ch_desc * rx_desc = &memmap->rx_descs[vc]; in hrz_close_rx() local
822 value = rd_mem (dev, &rx_desc->wr_buf_type) & BUFFER_PTR_MASK; in hrz_close_rx()
836 wr_mem (dev, &rx_desc->wr_buf_type, RX_CHANNEL_DISABLED); in hrz_close_rx()
838 if ((rd_mem (dev, &rx_desc->wr_buf_type) & BUFFER_PTR_MASK) == RX_CHANNEL_DISABLED) in hrz_close_rx()
882 r1 = rd_mem (dev, &rx_desc->rd_buf_type); in hrz_close_rx()
900 r2 = rd_mem (dev, &rx_desc->rd_buf_type); in hrz_close_rx()
1858 cell_buf * rx_desc; in hrz_init() local
1928 rx_ch_desc * rx_desc = &memmap->rx_descs[chan]; in hrz_init() local
1930 wr_mem (dev, &rx_desc->wr_buf_type, CHANNEL_TYPE_AAL5 | RX_CHANNEL_DISABLED); in hrz_init()
1937 rx_desc = memmap->bufn4; in hrz_init()
1939 wr_mem (dev, &memmap->rxfreebufstart.next, BUF_PTR(rx_desc) | BUFF_STATUS_EMPTY); in hrz_init()
1942 wr_mem (dev, &rx_desc->next, BUF_PTR(rx_desc+1) | BUFF_STATUS_EMPTY); in hrz_init()
1944 rx_desc++; in hrz_init()
1947 wr_mem (dev, &rx_desc->next, BUF_PTR(&memmap->rxfreebufend) | BUFF_STATUS_EMPTY); in hrz_init()