Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dsunqe.c693 u8 bsizes = qecp->qec_bursts; in qec_init_once() local
695 if (sbus_can_burst64(qsdev) && (bsizes & DMA_BURST64)) { in qec_init_once()
697 } else if (bsizes & DMA_BURST32) { in qec_init_once()
729 u8 bsizes, bsizes_more; in qec_ether_init() local
812 bsizes = prom_getintdefault(sdev->prom_node, "burst-sizes", 0xff); in qec_ether_init()
813 bsizes &= 0xff; in qec_ether_init()
817 bsizes &= bsizes_more; in qec_ether_init()
818 if (bsizes == 0xff || (bsizes & DMA_BURST16) == 0 || in qec_ether_init()
819 (bsizes & DMA_BURST32)==0) in qec_ether_init()
820 bsizes = (DMA_BURST32 - 1); in qec_ether_init()
[all …]
Dsunbmac.c95 u8 bsizes = bp->bigmac_bursts; in qec_init() local
101 if (bsizes & DMA_BURST32) in qec_init()
1043 u8 bsizes, bsizes_more; in bigmac_ether_init() local
1102 bsizes = prom_getintdefault(bp->qec_sdev->prom_node, in bigmac_ether_init()
1110 bsizes &= 0xff; in bigmac_ether_init()
1112 bsizes &= bsizes_more; in bigmac_ether_init()
1113 if (bsizes == 0xff || (bsizes & DMA_BURST16) == 0 || in bigmac_ether_init()
1114 (bsizes & DMA_BURST32) == 0) in bigmac_ether_init()
1115 bsizes = (DMA_BURST32 - 1); in bigmac_ether_init()
1116 bp->bigmac_bursts = bsizes; in bigmac_ether_init()
/linux-2.4.37.9/drivers/fc4/
Dsocal.c621 int bsizes, bsizes_more; in socal_init_bursts() local
624 bsizes = (prom_getintdefault(sdev->prom_node,"burst-sizes",0xff) & 0xff); in socal_init_bursts()
626 bsizes &= bsizes_more; in socal_init_bursts()
629 mmu_set_sbus64(sdev, bsizes >> 16); in socal_init_bursts()
632 if ((bsizes & 0x7f) == 0x7f) in socal_init_bursts()
634 else if ((bsizes & 0x3f) == 0x3f) in socal_init_bursts()
636 else if ((bsizes & 0x1f) == 0x1f) in socal_init_bursts()
643 if ((bsizes & 0x780000) == 0x780000) in socal_init_bursts()
645 else if ((bsizes & 0x380000) == 0x380000) in socal_init_bursts()
647 else if ((bsizes & 0x180000) == 0x180000) in socal_init_bursts()
Dsoc.c532 int bsizes, bsizes_more; in soc_init_bursts() local
534 bsizes = (prom_getintdefault(sdev->prom_node,"burst-sizes",0xff) & 0xff); in soc_init_bursts()
536 bsizes &= bsizes_more; in soc_init_bursts()
537 if ((bsizes & 0x7f) == 0x7f) in soc_init_bursts()
539 else if ((bsizes & 0x3f) == 0x3f) in soc_init_bursts()
541 else if ((bsizes & 0x1f) == 0x1f) in soc_init_bursts()