Home
last modified time | relevance | path

Searched refs:bd_num (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/rapidio/devices/
Dtsi721_dma.c75 static int tsi721_bdma_ch_init(struct tsi721_bdma_chan *bdma_chan, int bd_num) in tsi721_bdma_ch_init() argument
94 (bd_num + 1) * sizeof(struct tsi721_dma_desc), in tsi721_bdma_ch_init()
99 bdma_chan->bd_num = bd_num; in tsi721_bdma_ch_init()
108 sts_size = ((bd_num + 1) >= TSI721_DMA_MINSTSSZ) ? in tsi721_bdma_ch_init()
109 (bd_num + 1) : TSI721_DMA_MINSTSSZ; in tsi721_bdma_ch_init()
117 (bd_num + 1) * sizeof(struct tsi721_dma_desc), in tsi721_bdma_ch_init()
132 bd_ptr[bd_num].type_id = cpu_to_le32(DTYPE3 << 29); in tsi721_bdma_ch_init()
133 bd_ptr[bd_num].next_lo = cpu_to_le32((u64)bd_phys & in tsi721_bdma_ch_init()
135 bd_ptr[bd_num].next_hi = cpu_to_le32((u64)bd_phys >> 32); in tsi721_bdma_ch_init()
193 (bd_num + 1) * sizeof(struct tsi721_dma_desc), in tsi721_bdma_ch_init()
[all …]
Dtsi721.c1436 int bd_num = 2; in tsi721_bdma_maint_init() local
1451 bd_num * sizeof(struct tsi721_dma_desc), in tsi721_bdma_maint_init()
1456 priv->mdma.bd_num = bd_num; in tsi721_bdma_maint_init()
1464 sts_size = (bd_num >= TSI721_DMA_MINSTSSZ) ? in tsi721_bdma_maint_init()
1465 bd_num : TSI721_DMA_MINSTSSZ; in tsi721_bdma_maint_init()
1473 bd_num * sizeof(struct tsi721_dma_desc), in tsi721_bdma_maint_init()
1488 bd_ptr[bd_num - 1].type_id = cpu_to_le32(DTYPE3 << 29); in tsi721_bdma_maint_init()
1489 bd_ptr[bd_num - 1].next_lo = cpu_to_le32((u64)bd_phys & in tsi721_bdma_maint_init()
1491 bd_ptr[bd_num - 1].next_hi = cpu_to_le32((u64)bd_phys >> 32); in tsi721_bdma_maint_init()
1537 mdma->bd_num * sizeof(struct tsi721_dma_desc), in tsi721_bdma_maint_free()
Dtsi721.h704 int bd_num; /* number of HW buffer descriptors */ member
728 int bd_num; /* number of buffer descriptors */ member
/Linux-v4.19/include/linux/qed/
Deth_common.h245 u8 bd_num; member
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c1127 qede_recycle_rx_bd_ring(rxq, cqe->bd_num); in qede_rx_xdp()
1147 for (num_frags = cqe->bd_num - 1; num_frags > 0; num_frags--) { in qede_rx_build_jumbo()
1275 qede_recycle_rx_bd_ring(rxq, fp_cqe->bd_num); in qede_rx_process_cqe()
1282 if (fp_cqe->bd_num > 1) { in qede_rx_process_cqe()