Searched refs:BUF_PTR (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/atm/ |
D | horizon.c | 1875 wr_mem (dev, &tx_desc->rd_buf_type, BUF_PTR(buf)); in hrz_init() 1876 wr_mem (dev, &tx_desc->wr_buf_type, BUF_PTR(buf)); in hrz_init() 1888 wr_mem (dev, &memmap->txfreebufstart.next, BUF_PTR(tx_desc) | BUFF_STATUS_EMPTY); in hrz_init() 1891 wr_mem (dev, &tx_desc->next, BUF_PTR(tx_desc+1) | BUFF_STATUS_EMPTY); in hrz_init() 1895 wr_mem (dev, &tx_desc->next, BUF_PTR(&memmap->txfreebufend) | BUFF_STATUS_EMPTY); in hrz_init() 1917 wr_mem (dev, &memmap->rxfreebufstart.next, BUF_PTR(rx_desc) | BUFF_STATUS_EMPTY); in hrz_init() 1920 wr_mem (dev, &rx_desc->next, BUF_PTR(rx_desc+1) | BUFF_STATUS_EMPTY); in hrz_init() 1925 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
|