Lines Matching defs:dart_iopte
40 (sizeof(dart_iopte) << (d)->bits_per_level)
42 (DART_GRANULE(d) >> ilog2(sizeof(dart_iopte)))
76 typedef u64 dart_iopte;
79 static dart_iopte paddr_to_iopte(phys_addr_t paddr,
82 dart_iopte pte;
94 static phys_addr_t iopte_to_paddr(dart_iopte pte,
125 dart_iopte prot, int num_entries,
126 dart_iopte *ptep)
129 dart_iopte pte = prot;
152 static dart_iopte dart_install_table(dart_iopte *table,
153 dart_iopte *ptep,
154 dart_iopte curr,
157 dart_iopte old, new;
175 return (iova >> (3 * data->bits_per_level + ilog2(sizeof(dart_iopte)))) &
182 return (iova >> (2 * data->bits_per_level + ilog2(sizeof(dart_iopte)))) &
189 return (iova >> (data->bits_per_level + ilog2(sizeof(dart_iopte)))) &
193 static dart_iopte *dart_get_l2(struct dart_io_pgtable *data, unsigned long iova)
195 dart_iopte pte, *ptep;
213 static dart_iopte dart_prot_to_pte(struct dart_io_pgtable *data,
216 dart_iopte pte = 0;
244 dart_iopte pte, *cptep, *ptep;
245 dart_iopte prot;
305 dart_iopte pte, *ptep;
345 dart_iopte pte, *ptep;
373 bits_per_level = pg_shift - ilog2(sizeof(dart_iopte));
442 dart_iopte *ptep, *end;
450 dart_iopte pte = *ptep++;