Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunqe.c719 u8 bsizes = qecp->qec_bursts; in qec_init_once() local
721 if (sbus_can_burst64() && (bsizes & DMA_BURST64)) { in qec_init_once()
723 } else if (bsizes & DMA_BURST32) { in qec_init_once()
749 u8 bsizes, bsizes_more; in qec_get_burst() local
754 bsizes = of_getintprop_default(dp, "burst-sizes", 0xff); in qec_get_burst()
755 bsizes &= 0xff; in qec_get_burst()
759 bsizes &= bsizes_more; in qec_get_burst()
760 if (bsizes == 0xff || (bsizes & DMA_BURST16) == 0 || in qec_get_burst()
761 (bsizes & DMA_BURST32)==0) in qec_get_burst()
762 bsizes = (DMA_BURST32 - 1); in qec_get_burst()
[all …]
H A Dsunbmac.c102 u8 bsizes = bp->bigmac_bursts; in qec_init() local
108 if (bsizes & DMA_BURST32) in qec_init()
1077 u8 bsizes, bsizes_more; in bigmac_ether_init() local
1118 bsizes = of_getintprop_default(qec_op->dev.of_node, "burst-sizes", 0xff); in bigmac_ether_init()
1121 bsizes &= 0xff; in bigmac_ether_init()
1123 bsizes &= bsizes_more; in bigmac_ether_init()
1124 if (bsizes == 0xff || (bsizes & DMA_BURST16) == 0 || in bigmac_ether_init()
1125 (bsizes & DMA_BURST32) == 0) in bigmac_ether_init()
1126 bsizes = (DMA_BURST32 - 1); in bigmac_ether_init()
1127 bp->bigmac_bursts = bsizes; in bigmac_ether_init()