Home
last modified time | relevance | path

Searched refs:hpd (Results 1 – 25 of 79) sorted by relevance

1234

/arch/powerpc/include/asm/nohash/
Dhugetlb-book3e.h5 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page() argument
7 if (WARN_ON(!hugepd_ok(hpd))) in hugepd_page()
10 return (pte_t *)((hpd_val(hpd) & ~HUGEPD_SHIFT_MASK) | PD_HUGE); in hugepd_page()
13 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() argument
15 return hpd_val(hpd) & HUGEPD_SHIFT_MASK; in hugepd_shift()
18 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset() argument
26 return hugepd_page(hpd); in hugepte_offset()
Dpgtable.h269 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok() argument
272 return ((hpd_val(hpd) & 0x4) != 0); in hugepd_ok()
275 return (hpd_val(hpd) && (hpd_val(hpd) & PD_HUGE) == 0); in hugepd_ok()
295 #define is_hugepd(hpd) (hugepd_ok(hpd)) argument
/arch/powerpc/include/asm/nohash/32/
Dhugetlb-8xx.h7 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page() argument
9 BUG_ON(!hugepd_ok(hpd)); in hugepd_page()
11 return (pte_t *)__va(hpd_val(hpd) & ~HUGEPD_SHIFT_MASK); in hugepd_page()
14 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() argument
16 return ((hpd_val(hpd) & _PMD_PAGE_MASK) >> 1) + 17; in hugepd_shift()
19 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset() argument
24 return hugepd_page(hpd) + idx; in hugepte_offset()
/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h68 static inline pte_t *hugepd_page(hugepd_t hpd) in hugepd_page() argument
70 BUG_ON(!hugepd_ok(hpd)); in hugepd_page()
75 return __va(hpd_val(hpd) & HUGEPD_ADDR_MASK); in hugepd_page()
78 static inline unsigned int hugepd_mmu_psize(hugepd_t hpd) in hugepd_mmu_psize() argument
80 return (hpd_val(hpd) & HUGEPD_SHIFT_MASK) >> 2; in hugepd_mmu_psize()
83 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() argument
85 return mmu_psize_to_shift(hugepd_mmu_psize(hpd)); in hugepd_shift()
94 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset() argument
97 unsigned long idx = (addr & ((1UL << pdshift) - 1)) >> hugepd_shift(hpd); in hugepte_offset()
99 return hugepd_page(hpd) + idx; in hugepte_offset()
Dpgtable-4k.h44 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok() argument
48 return hash__hugepd_ok(hpd); in hugepd_ok()
50 #define is_hugepd(hpd) (hugepd_ok(hpd)) argument
Dhash-4k.h72 static inline int hash__hugepd_ok(hugepd_t hpd) in hash__hugepd_ok() argument
74 unsigned long hpdval = hpd_val(hpd); in hash__hugepd_ok()
Dpgtable-64k.h47 static inline int hugepd_ok(hugepd_t hpd) in hugepd_ok() argument
/arch/powerpc/mm/
Dhugetlbpage.c31 #define hugepd_none(hpd) (hpd_val(hpd) == 0) argument
497 unsigned long address, hugepd_t hpd, in follow_huge_pd() argument
504 int shift = hugepd_shift(hpd); in follow_huge_pd()
515 ptep = hugepte_offset(hpd, address, pdshift); in follow_huge_pd()
/arch/powerpc/include/asm/
Dhugetlb.h76 static inline pte_t *hugepte_offset(hugepd_t hpd, unsigned long addr, in hugepte_offset() argument
/arch/arm/boot/dts/
Dbcm2837-rpi-cm3-io3.dts80 hpd-gpios = <&expgpio 1 GPIO_ACTIVE_LOW>;
Dbcm2835-rpi-cm1-io1.dts81 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
Dexynos5250-spring.dts78 hpd-gpios = <&gpc3 0 GPIO_ACTIVE_HIGH>;
92 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
459 dp_hpd_gpio: dp-hpd-gpio {
508 hdmi_hpd_irq: hdmi-hpd-irq {
Dexynos5260-xyref5260.dts41 hdmi_hpd_irq: hdmi-hpd-irq {
Dexynos5422-odroidxu3-common.dtsi372 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
383 needs-hpd;
431 hdmi_hpd_irq: hdmi-hpd-irq {
Dbcm2836-rpi-2-b.dts108 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
Dbcm2835-rpi-b.dts95 hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
Dbcm2835-rpi-zero.dts103 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
Dbcm2835-rpi-a.dts101 hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
Dbcm2835-rpi-a-plus.dts106 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
Dbcm2835-rpi-b-plus.dts108 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
Dbcm2835-rpi-b-rev2.dts101 hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
Drk3288-veyron-pinky.dts42 force-hpd;
Dexynos4412-odroidu3.dts80 needs-hpd;
Dbcm2835-rpi-zero-w.dts109 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
Dstih407.dtsi124 hdmi,hpd-gpio = <&pio5 3 GPIO_ACTIVE_LOW>;

1234