Lines Matching refs:cap3
4490 u32 cap2, cap3, cap4; in udma_get_mmrs() local
4498 cap3 = udma_read(ud->mmrs[MMR_GCFG], 0x2c); in udma_get_mmrs()
4502 ud->rflow_cnt = UDMA_CAP3_RFLOW_CNT(cap3); in udma_get_mmrs()
4509 BCDMA_CAP3_HBCHAN_CNT(cap3) + in udma_get_mmrs()
4510 BCDMA_CAP3_UBCHAN_CNT(cap3); in udma_get_mmrs()
4519 ud->rflow_cnt = UDMA_CAP3_RFLOW_CNT(cap3); in udma_get_mmrs()
4567 u32 cap3; in udma_setup_resources() local
4570 cap3 = udma_read(ud->mmrs[MMR_GCFG], 0x2c); in udma_setup_resources()
4579 } else if (UDMA_CAP3_UCHAN_CNT(cap3)) { in udma_setup_resources()
4581 ud->tchan_tpl.start_idx[1] = UDMA_CAP3_UCHAN_CNT(cap3); in udma_setup_resources()
4582 ud->tchan_tpl.start_idx[0] = UDMA_CAP3_HCHAN_CNT(cap3); in udma_setup_resources()
4583 } else if (UDMA_CAP3_HCHAN_CNT(cap3)) { in udma_setup_resources()
4585 ud->tchan_tpl.start_idx[0] = UDMA_CAP3_HCHAN_CNT(cap3); in udma_setup_resources()
4937 u32 cap3; in pktdma_setup_resources() local
4940 cap3 = udma_read(ud->mmrs[MMR_GCFG], 0x2c); in pktdma_setup_resources()
4941 if (UDMA_CAP3_UCHAN_CNT(cap3)) { in pktdma_setup_resources()
4943 ud->tchan_tpl.start_idx[1] = UDMA_CAP3_UCHAN_CNT(cap3); in pktdma_setup_resources()
4944 ud->tchan_tpl.start_idx[0] = UDMA_CAP3_HCHAN_CNT(cap3); in pktdma_setup_resources()
4945 } else if (UDMA_CAP3_HCHAN_CNT(cap3)) { in pktdma_setup_resources()
4947 ud->tchan_tpl.start_idx[0] = UDMA_CAP3_HCHAN_CNT(cap3); in pktdma_setup_resources()