Home
last modified time | relevance | path

Searched refs:pud (Results 1 – 25 of 247) sorted by relevance

12345678910

/kernel/linux/linux-5.10/arch/arm/boot/dts/
Ds3c64xx-pinctrl.dtsi137 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
143 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
149 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
155 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
161 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
167 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
173 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
179 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
185 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
191 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
[all …]
Dexynos4412-pinctrl.dtsi18 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_ ##_pull>; \
129 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
136 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
143 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
150 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
157 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
164 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
171 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
178 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
185 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
[all …]
Ds5pv210-pinctrl.dtsi25 samsung,pin-pud-pdn = <S3C64XX_PIN_PULL_ ##_pull>; \
284 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
291 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
298 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
305 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
312 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
319 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
326 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
333 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
340 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
[all …]
Dexynos4210-pinctrl.dtsi148 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
155 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
162 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
169 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
176 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
183 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
190 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
197 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
204 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
211 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
[all …]
Dexynos5250-pinctrl.dtsi203 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
210 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
217 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
224 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
230 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
237 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
244 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
251 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
258 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
265 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
[all …]
Dexynos5420-pinctrl.dtsi64 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
71 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
163 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
170 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
177 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
184 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
191 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
198 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
205 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
212 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
[all …]
Dexynos5260-pinctrl.dtsi202 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
209 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
216 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
223 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
230 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
237 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
244 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
251 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
259 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
267 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
[all …]
Dexynos3250-pinctrl.dtsi18 samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>; \
26 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; \
34 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; \
43 samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>; \
51 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_ ##_pull>; \
114 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
121 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
128 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
135 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
142 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
[all …]
Dexynos5410-pinctrl.dtsi283 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
290 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
297 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
304 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
311 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
318 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
325 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
332 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
339 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
346 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
[all …]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dpgtable-64.h31 static inline int pud_present(pud_t pud) in pud_present() argument
33 return (pud_val(pud) & _PAGE_PRESENT); in pud_present()
36 static inline int pud_none(pud_t pud) in pud_none() argument
38 return (pud_val(pud) == 0); in pud_none()
41 static inline int pud_bad(pud_t pud) in pud_bad() argument
43 return !pud_present(pud); in pud_bad()
47 static inline int pud_leaf(pud_t pud) in pud_leaf() argument
49 return pud_present(pud) && in pud_leaf()
50 (pud_val(pud) & (_PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)); in pud_leaf()
53 static inline void set_pud(pud_t *pudp, pud_t pud) in set_pud() argument
[all …]
/kernel/linux/linux-5.10/include/asm-generic/
Dpgtable-nopmd.h18 typedef struct { pud_t pud; } pmd_t; member
30 static inline int pud_none(pud_t pud) { return 0; } in pud_none() argument
31 static inline int pud_bad(pud_t pud) { return 0; } in pud_bad() argument
32 static inline int pud_present(pud_t pud) { return 1; } in pud_present() argument
33 static inline void pud_clear(pud_t *pud) { } in pud_clear() argument
34 #define pmd_ERROR(pmd) (pud_ERROR((pmd).pud))
44 static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address) in pmd_offset() argument
46 return (pmd_t *)pud; in pmd_offset()
50 #define pmd_val(x) (pud_val((x).pud))
53 #define pud_page(pud) (pmd_page((pmd_t){ pud })) argument
[all …]
/kernel/linux/linux-5.10/mm/kasan/
Dinit.c62 static inline bool kasan_pmd_table(pud_t pud) in kasan_pmd_table() argument
64 return pud_page(pud) == virt_to_page(lm_alias(kasan_early_shadow_pmd)); in kasan_pmd_table()
67 static inline bool kasan_pmd_table(pud_t pud) in kasan_pmd_table() argument
113 static int __ref zero_pmd_populate(pud_t *pud, unsigned long addr, in zero_pmd_populate() argument
116 pmd_t *pmd = pmd_offset(pud, addr); in zero_pmd_populate()
149 pud_t *pud = pud_offset(p4d, addr); in zero_pud_populate() local
157 pud_populate(&init_mm, pud, in zero_pud_populate()
159 pmd = pmd_offset(pud, addr); in zero_pud_populate()
165 if (pud_none(*pud)) { in zero_pud_populate()
169 p = pmd_alloc(&init_mm, pud, addr); in zero_pud_populate()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h88 static inline void p4d_populate(struct mm_struct *mm, p4d_t *pgd, pud_t *pud) in p4d_populate() argument
90 *pgd = __p4d(__pgtable_ptr_val(pud) | PGD_VAL_BITS); in p4d_populate()
95 pud_t *pud; in pud_alloc_one() local
97 pud = kmem_cache_alloc(PGT_CACHE(PUD_CACHE_INDEX), in pud_alloc_one()
105 kmemleak_ignore(pud); in pud_alloc_one()
107 return pud; in pud_alloc_one()
110 static inline void __pud_free(pud_t *pud) in __pud_free() argument
112 struct page *page = virt_to_page(pud); in __pud_free()
121 kmem_cache_free(PGT_CACHE(PUD_CACHE_INDEX), pud); in __pud_free()
124 static inline void pud_free(struct mm_struct *mm, pud_t *pud) in pud_free() argument
[all …]
/kernel/linux/linux-5.10/arch/x86/mm/
Dident_map.c27 pud_t *pud = pud_page + pud_index(addr); in ident_pud_init() local
37 if (pud_present(*pud)) in ident_pud_init()
42 set_pud(pud, pudval); in ident_pud_init()
46 if (pud_present(*pud)) { in ident_pud_init()
47 pmd = pmd_offset(pud, 0); in ident_pud_init()
55 set_pud(pud, __pud(__pa(pmd) | info->kernpg_flag)); in ident_pud_init()
69 pud_t *pud; in ident_p4d_init() local
76 pud = pud_offset(p4d, 0); in ident_p4d_init()
77 result = ident_pud_init(info, pud, addr, next); in ident_p4d_init()
83 pud = (pud_t *)info->alloc_pgt_page(info->context); in ident_p4d_init()
[all …]
Dinit_64.c72 DEFINE_POPULATE(p4d_populate, p4d, pud, init)
74 DEFINE_POPULATE(pud_populate, pud, pmd, init)
88 DEFINE_ENTRY(pud, pud, init)
258 pud_t *pud = (pud_t *)spp_getpage(); in fill_pud() local
259 p4d_populate(&init_mm, p4d, pud); in fill_pud()
260 if (pud != pud_offset(p4d, 0)) in fill_pud()
262 pud, pud_offset(p4d, 0)); in fill_pud()
267 static pmd_t *fill_pmd(pud_t *pud, unsigned long vaddr) in fill_pmd() argument
269 if (pud_none(*pud)) { in fill_pmd()
271 pud_populate(&init_mm, pud, pmd); in fill_pmd()
[all …]
/kernel/linux/linux-5.10/arch/mips/mm/
Dhugetlbpage.c29 pud_t *pud; in huge_pte_alloc() local
34 pud = pud_alloc(mm, p4d, addr); in huge_pte_alloc()
35 if (pud) in huge_pte_alloc()
36 pte = (pte_t *)pmd_alloc(mm, pud, addr); in huge_pte_alloc()
46 pud_t *pud; in huge_pte_offset() local
53 pud = pud_offset(p4d, addr); in huge_pte_offset()
54 if (pud_present(*pud)) in huge_pte_offset()
55 pmd = pmd_offset(pud, addr); in huge_pte_offset()
78 int pud_huge(pud_t pud) in pud_huge() argument
80 return (pud_val(pud) & _PAGE_HUGE) != 0; in pud_huge()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/exynos/
Dexynos5433-pinctrl.dtsi18 samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>; \
135 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
142 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
149 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
186 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
193 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
250 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
257 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
264 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
271 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
[all …]
Dexynos7-pinctrl.dtsi190 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
197 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
204 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
211 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
218 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
225 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
232 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
239 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
246 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
253 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
[all …]
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable.h86 # define set_pud(pudp, pud) native_set_pud(pudp, pud) argument
90 #define pud_clear(pud) native_pud_clear(pud) argument
173 static inline int pud_dirty(pud_t pud) in pud_dirty() argument
175 return pud_flags(pud) & _PAGE_DIRTY; in pud_dirty()
178 static inline int pud_young(pud_t pud) in pud_young() argument
180 return pud_flags(pud) & _PAGE_ACCESSED; in pud_young()
226 static inline unsigned long pud_pfn(pud_t pud) in pud_pfn() argument
228 phys_addr_t pfn = pud_val(pud); in pud_pfn()
230 return (pfn & pud_pfn_mask(pud)) >> PAGE_SHIFT; in pud_pfn()
266 static inline int pud_trans_huge(pud_t pud) in pud_trans_huge() argument
[all …]
/kernel/linux/linux-5.10/mm/
Ddebug_vm_pgtable.c295 pud_t pud; in pud_basic_tests() local
301 pud = pfn_pud(pfn, prot); in pud_basic_tests()
310 WARN_ON(pud_dirty(pud_wrprotect(pud))); in pud_basic_tests()
312 WARN_ON(!pud_same(pud, pud)); in pud_basic_tests()
313 WARN_ON(!pud_young(pud_mkyoung(pud_mkold(pud)))); in pud_basic_tests()
314 WARN_ON(!pud_dirty(pud_mkdirty(pud_mkclean(pud)))); in pud_basic_tests()
315 WARN_ON(pud_dirty(pud_mkclean(pud_mkdirty(pud)))); in pud_basic_tests()
316 WARN_ON(!pud_write(pud_mkwrite(pud_wrprotect(pud)))); in pud_basic_tests()
317 WARN_ON(pud_write(pud_wrprotect(pud_mkwrite(pud)))); in pud_basic_tests()
318 WARN_ON(pud_young(pud_mkold(pud_mkyoung(pud)))); in pud_basic_tests()
[all …]
/kernel/linux/linux-5.10/arch/arm/mm/
Didmap.c24 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd() argument
30 if (pud_none_or_clear_bad(pud) || (pud_val(*pud) & L_PGD_SWAPPER)) { in idmap_add_pmd()
40 if (!pud_none(*pud)) in idmap_add_pmd()
41 memcpy(pmd, pmd_offset(pud, 0), in idmap_add_pmd()
43 pud_populate(&init_mm, pud, pmd); in idmap_add_pmd()
46 pmd = pmd_offset(pud, addr); in idmap_add_pmd()
55 static void idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, in idmap_add_pmd() argument
58 pmd_t *pmd = pmd_offset(pud, addr); in idmap_add_pmd()
72 pud_t *pud = pud_offset(p4d, addr); in idmap_add_pud() local
77 idmap_add_pmd(pud, addr, next, prot); in idmap_add_pud()
[all …]
/kernel/linux/linux-5.10/arch/sh/mm/
Dhugetlbpage.c29 pud_t *pud; in huge_pte_alloc() local
37 pud = pud_alloc(mm, p4d, addr); in huge_pte_alloc()
38 if (pud) { in huge_pte_alloc()
39 pmd = pmd_alloc(mm, pud, addr); in huge_pte_alloc()
54 pud_t *pud; in huge_pte_offset() local
62 pud = pud_offset(p4d, addr); in huge_pte_offset()
63 if (pud) { in huge_pte_offset()
64 pmd = pmd_offset(pud, addr); in huge_pte_offset()
79 int pud_huge(pud_t pud) in pud_huge() argument
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dpgtable.h147 #define pud_access_permitted(pud, write) \ argument
148 (pte_access_permitted(pud_pte(pud), (write)))
353 static inline pte_t pud_pte(pud_t pud) in pud_pte() argument
355 return __pte(pud_val(pud)); in pud_pte()
363 static inline pmd_t pud_pmd(pud_t pud) in pud_pmd() argument
365 return __pmd(pud_val(pud)); in pud_pmd()
459 #define pud_young(pud) pte_young(pud_pte(pud)) argument
460 #define pud_mkyoung(pud) pte_pud(pte_mkyoung(pud_pte(pud))) argument
461 #define pud_write(pud) pte_write(pud_pte(pud)) argument
463 #define pud_mkhuge(pud) (__pud(pud_val(pud) & ~PUD_TABLE_BIT)) argument
[all …]
/kernel/linux/linux-5.10/arch/sparc/mm/
Dhugetlbpage.c280 pud_t *pud; in huge_pte_alloc() local
285 pud = pud_alloc(mm, p4d, addr); in huge_pte_alloc()
286 if (!pud) in huge_pte_alloc()
289 return (pte_t *)pud; in huge_pte_alloc()
290 pmd = pmd_alloc(mm, pud, addr); in huge_pte_alloc()
303 pud_t *pud; in huge_pte_offset() local
312 pud = pud_offset(p4d, addr); in huge_pte_offset()
313 if (pud_none(*pud)) in huge_pte_offset()
315 if (is_hugetlb_pud(*pud)) in huge_pte_offset()
316 return (pte_t *)pud; in huge_pte_offset()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dpgalloc.h40 static inline void pud_populate(struct mm_struct *mm, pud_t *pud, pmd_t *pmd) in pud_populate() argument
42 set_pud(pud, __pud((unsigned long)pmd)); in pud_populate()
87 pud_t *pud; in pud_alloc_one() local
89 pud = (pud_t *) __get_free_pages(GFP_KERNEL, PUD_ORDER); in pud_alloc_one()
90 if (pud) in pud_alloc_one()
91 pud_init((unsigned long)pud, (unsigned long)invalid_pmd_table); in pud_alloc_one()
92 return pud; in pud_alloc_one()
95 static inline void p4d_populate(struct mm_struct *mm, p4d_t *p4d, pud_t *pud) in p4d_populate() argument
97 set_p4d(p4d, __p4d((unsigned long)pud)); in p4d_populate()

12345678910