Searched refs:BUF_PTR (Results 1 – 2 of 2) sorted by relevance
/drivers/atm/ |
D | horizon.c | 1874 wr_mem (dev, &tx_desc->rd_buf_type, BUF_PTR(buf)); in hrz_init() 1875 wr_mem (dev, &tx_desc->wr_buf_type, BUF_PTR(buf)); in hrz_init() 1887 wr_mem (dev, &memmap->txfreebufstart.next, BUF_PTR(tx_desc) | BUFF_STATUS_EMPTY); in hrz_init() 1890 wr_mem (dev, &tx_desc->next, BUF_PTR(tx_desc+1) | BUFF_STATUS_EMPTY); in hrz_init() 1894 wr_mem (dev, &tx_desc->next, BUF_PTR(&memmap->txfreebufend) | BUFF_STATUS_EMPTY); in hrz_init() 1916 wr_mem (dev, &memmap->rxfreebufstart.next, BUF_PTR(rx_desc) | BUFF_STATUS_EMPTY); in hrz_init() 1919 wr_mem (dev, &rx_desc->next, BUF_PTR(rx_desc+1) | BUFF_STATUS_EMPTY); in hrz_init() 1924 wr_mem (dev, &rx_desc->next, BUF_PTR(&memmap->rxfreebufend) | BUFF_STATUS_EMPTY); in hrz_init()
|
D | horizon.h | 466 #define BUF_PTR(cbptr) ((cbptr) - (cell_buf *) 0) macro
|