Lines Matching defs:entry
45 * 0 .. NR_PMB_ENTRIES for specific entry selection, or
48 int entry;
50 /* Adjacent entry link for contiguous multi-entry mappings */
72 static __always_inline unsigned long mk_pmb_entry(unsigned int entry)
74 return (entry & PMB_E_MASK) << PMB_E_SHIFT;
77 static __always_inline unsigned long mk_pmb_addr(unsigned int entry)
79 return mk_pmb_entry(entry) | PMB_ADDR;
82 static __always_inline unsigned long mk_pmb_data(unsigned int entry)
84 return mk_pmb_entry(entry) | PMB_DATA;
237 unsigned long flags, int entry)
246 if (entry == PMB_NO_ENTRY) {
253 if (__test_and_set_bit(entry, pmb_map)) {
258 pos = entry;
272 pmbe->entry = pos;
283 __clear_bit(pmbe->entry, pmb_map);
285 pmbe->entry = PMB_NO_ENTRY;
296 addr = mk_pmb_addr(pmbe->entry);
297 data = mk_pmb_data(pmbe->entry);
313 addr = mk_pmb_addr(pmbe->entry);
314 data = mk_pmb_data(pmbe->entry);
498 * this entry in pmb_alloc() (even if we haven't filled
639 * Compare the previous entry against the current one to
641 * setup the entry links accordingly. Compound mappings