Home
last modified time | relevance | path

Searched refs:IDB_QSIZE (Results 1 – 2 of 2) sorted by relevance

/drivers/rapidio/devices/
Dtsi721.c409 wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc()
410 rd_ptr = ioread32(priv->regs + TSI721_IDQ_RP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc()
416 rd_ptr %= IDB_QSIZE; in tsi721_db_dpc()
440 TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc()
443 iowrite32(rd_ptr & (IDB_QSIZE - 1), in tsi721_db_dpc()
452 wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc()
1012 IDB_QSIZE * TSI721_IDB_ENTRY_SIZE, in tsi721_doorbell_init()
1020 iowrite32(TSI721_IDQ_SIZE_VAL(IDB_QSIZE), in tsi721_doorbell_init()
1042 dma_free_coherent(&priv->pdev->dev, IDB_QSIZE * TSI721_IDB_ENTRY_SIZE, in tsi721_doorbell_free()
Dtsi721.h42 #define IDB_QSIZE 512 /* Inbound Doorbell Queue size */ macro