Home
last modified time | relevance | path

Searched refs:sts_size (Results 1 – 3 of 3) sorted by relevance

/drivers/rapidio/devices/
Dtsi721_dma.c69 int sts_size; in tsi721_bdma_ch_init() local
88 sts_size = (bd_num >= TSI721_DMA_MINSTSSZ) ? in tsi721_bdma_ch_init()
90 sts_size = roundup_pow_of_two(sts_size); in tsi721_bdma_ch_init()
92 sts_size * sizeof(struct tsi721_dma_sts), in tsi721_bdma_ch_init()
105 bdma_chan->sts_size = sts_size; in tsi721_bdma_ch_init()
109 sts_ptr, (unsigned long long)sts_phys, sts_size); in tsi721_bdma_ch_init()
128 iowrite32(TSI721_DMAC_DSSZ_SIZE(sts_size), in tsi721_bdma_ch_init()
170 bdma_chan->sts_size * sizeof(struct tsi721_dma_sts), in tsi721_bdma_ch_free()
396 srd_ptr %= bdma_chan->sts_size; in tsi721_clr_stat()
Dtsi721.c1060 int sts_size; in tsi721_bdma_maint_init() local
1090 sts_size = (bd_num >= TSI721_DMA_MINSTSSZ) ? in tsi721_bdma_maint_init()
1092 sts_size = roundup_pow_of_two(sts_size); in tsi721_bdma_maint_init()
1094 sts_size * sizeof(struct tsi721_dma_sts), in tsi721_bdma_maint_init()
1107 priv->mdma.sts_size = sts_size; in tsi721_bdma_maint_init()
1111 sts_ptr, (unsigned long long)sts_phys, sts_size); in tsi721_bdma_maint_init()
1128 iowrite32(TSI721_DMAC_DSSZ_SIZE(sts_size), in tsi721_bdma_maint_init()
1169 mdma->sts_size * sizeof(struct tsi721_dma_sts), in tsi721_bdma_maint_free()
1400 srd_ptr %= priv->omsg_ring[ch].sts_size; in tsi721_omsg_handler()
1546 priv->omsg_ring[mbox].sts_size = roundup_pow_of_two(entries + 1); in tsi721_open_outb_mbox()
[all …]
Dtsi721.h668 int sts_size; member
692 int sts_size; member
727 u32 sts_size; /* # of allocated status entries */ member