Searched refs:n_bds (Results 1 – 2 of 2) sorted by relevance
454 void __iomem *tibase, int onepacket, unsigned n_bds) in cppi_autoreq_update() argument473 n_bds--; in cppi_autoreq_update()495 if (n_bds && rx->channel.actual_len) { in cppi_autoreq_update()506 return n_bds; in cppi_autoreq_update()567 unsigned n_bds; in cppi_next_tx_segment() local584 n_bds = 1; in cppi_next_tx_segment()587 n_bds = DIV_ROUND_UP(length, maxpacket); in cppi_next_tx_segment()589 n_bds = 1; in cppi_next_tx_segment()590 n_bds = min(n_bds, (unsigned) NUM_TXCHAN_BD); in cppi_next_tx_segment()591 length = min(n_bds * maxpacket, length); in cppi_next_tx_segment()[all …]
157 int n_bds; member226 unsigned int n_bds; member640 if (!iudma->is_tx || iudma->n_bds_used == iudma->n_bds || in iudma_write()762 unsigned int n_bds = cfg->n_bds; in iudma_init_channel() local781 iudma->n_bds = n_bds; in iudma_init_channel()783 n_bds * sizeof(struct bcm_enet_desc), in iudma_init_channel()787 iudma->end_bd = &iudma->bd_ring[n_bds - 1]; in iudma_init_channel()2206 iudma->n_bds); in bcm63xx_iudma_dbg_show()2217 for (i = 0; i < iudma->n_bds; i++) { in bcm63xx_iudma_dbg_show()