Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dsb1250-mac.c177 int sbdma_maxdescr; /* total # of descriptors member
623 d->sbdma_maxdescr = maxdescr; in sbdma_initctx()
625 d->sbdma_dscrtable_unaligned = kcalloc(d->sbdma_maxdescr + 1, in sbdma_initctx()
637 d->sbdma_dscrtable_end = d->sbdma_dscrtable + d->sbdma_maxdescr; in sbdma_initctx()
645 d->sbdma_ctxtable = kcalloc(d->sbdma_maxdescr, in sbdma_initctx()
693 V_DMA_RINGSZ(d->sbdma_maxdescr) | in sbdma_channel_start()
698 __raw_writeq(V_DMA_RINGSZ(d->sbdma_maxdescr) | in sbdma_channel_start()
981 for (idx = 0; idx < d->sbdma_maxdescr; idx++) { in sbdma_emptyring()