Home
last modified time | relevance | path

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

/linux/drivers/rapidio/devices/
H A Dtsi721.c411 wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc()
412 rd_ptr = ioread32(priv->regs + TSI721_IDQ_RP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc()
418 rd_ptr %= IDB_QSIZE; in tsi721_db_dpc()
442 TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc()
445 iowrite32(rd_ptr & (IDB_QSIZE - 1), in tsi721_db_dpc()
454 wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc()
1397 IDB_QSIZE * TSI721_IDB_ENTRY_SIZE, in tsi721_doorbell_init()
1406 iowrite32(TSI721_IDQ_SIZE_VAL(IDB_QSIZE), in tsi721_doorbell_init()
1428 dma_free_coherent(&priv->pdev->dev, IDB_QSIZE * TSI721_IDB_ENTRY_SIZE, in tsi721_doorbell_free()
H A Dtsi721.h69 #define IDB_QSIZE 512 /* Inbound Doorbell Queue size */ macro