Lines Matching refs:dcookies

82     uint64_t nvpages, immu_dcookie_t *dcookies, int dcount, dev_info_t *rdip,
937 immu_dcookie_t dcookies[1] = {0}; in map_unity_domain() local
949 dcookies[0].dck_paddr = 0; in map_unity_domain()
950 dcookies[0].dck_npages = 1; in map_unity_domain()
952 (void) dvma_map(domain, 0, 1, dcookies, dcount, NULL, in map_unity_domain()
968 dcookies[0].dck_paddr = start; in map_unity_domain()
969 dcookies[0].dck_npages = npages; in map_unity_domain()
971 (void) dvma_map(domain, start, npages, dcookies, in map_unity_domain()
986 dcookies[0].dck_paddr = start; in map_unity_domain()
987 dcookies[0].dck_npages = npages; in map_unity_domain()
990 dcookies, dcount, NULL, IMMU_FLAGS_READ | IMMU_FLAGS_WRITE); in map_unity_domain()
1003 dcookies[0].dck_paddr = start; in map_unity_domain()
1004 dcookies[0].dck_npages = npages; in map_unity_domain()
1007 dcookies, dcount, NULL, IMMU_FLAGS_READ | IMMU_FLAGS_WRITE); in map_unity_domain()
1322 immu_dcookie_t dcookies[1] = {0}; in domain_create() local
1395 dcookies[0].dck_paddr = 0; in domain_create()
1396 dcookies[0].dck_npages = 1; in domain_create()
1398 (void) dvma_map(domain, 0, 1, dcookies, dcount, NULL, in domain_create()
2097 uint64_t *dvma_ptr, uint64_t *nvpages_ptr, immu_dcookie_t *dcookies, in PTE_set_all() argument
2125 if (nvpages <= dcookies[j].dck_npages) in PTE_set_all()
2127 nvpages -= dcookies[j].dck_npages; in PTE_set_all()
2132 paddr = dcookies[j].dck_paddr + in PTE_set_all()
2133 (dcookies[j].dck_npages - nppages) * IMMU_PAGESIZE; in PTE_set_all()
2156 nppages = dcookies[j].dck_npages; in PTE_set_all()
2157 paddr = dcookies[j].dck_paddr; in PTE_set_all()
2354 immu_dcookie_t *dcookies, int dcount, dev_info_t *rdip, in dvma_map() argument
2377 PTE_set_all(immu, domain, &xlate[1], &dvma, &n, dcookies, in dvma_map()
2570 immu_dcookie_t *dcookies; in immu_map_dvmaseg() local
2590 dcookies = &ihp->ihp_dcookies[0]; in immu_map_dvmaseg()
2646 dcookies[0].dck_paddr = (paddr & ~MMU_PAGEOFFSET); in immu_map_dvmaseg()
2647 dcookies[0].dck_npages = 1; in immu_map_dvmaseg()
2677 } else if (IMMU_CONTIG_PADDR(dcookies[dmax], paddr)) { in immu_map_dvmaseg()
2678 dcookies[dmax].dck_npages++; in immu_map_dvmaseg()
2686 npages, dcookies, dmax + 1, rdip, in immu_map_dvmaseg()
2700 dcookies[dmax].dck_paddr = paddr; in immu_map_dvmaseg()
2701 dcookies[dmax].dck_npages = 1; in immu_map_dvmaseg()
2716 if (dvma_map(domain, dvma, npages, dcookies, in immu_map_dvmaseg()
2842 immu_dcookie_t dcookies[1] = {0}; in immu_dvma_physmem_update() local
2868 dcookies[0].dck_paddr = start; in immu_dvma_physmem_update()
2869 dcookies[0].dck_npages = npages; in immu_dvma_physmem_update()
2872 dcookies, dcount, NULL, IMMU_FLAGS_READ | IMMU_FLAGS_WRITE); in immu_dvma_physmem_update()
2965 immu_dcookie_t dcookies[1] = {0}; in immu_map_memrange() local
2971 dcookies[0].dck_paddr = mrng->mrng_start; in immu_map_memrange()
2972 dcookies[0].dck_npages = mrng->mrng_npages; in immu_map_memrange()
2978 mrng->mrng_npages, dcookies, 1, rdip, in immu_map_memrange()