Home
last modified time | relevance | path

Searched refs:pfc_base (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rza2.c83 reg16 = readw(pfc_base + RZA2_PDR(port)); in rza2_set_pin_function()
86 writew(reg16, pfc_base + RZA2_PDR(port)); in rza2_set_pin_function()
89 reg8 = readb(pfc_base + RZA2_PMR(port)); in rza2_set_pin_function()
91 writeb(reg8, pfc_base + RZA2_PMR(port)); in rza2_set_pin_function()
98 writeb(func, pfc_base + RZA2_PFS(port, pin)); in rza2_set_pin_function()
101 writeb(0x00, pfc_base + RZA2_PWPR); /* B0WI=0, PFSWE=0 */ in rza2_set_pin_function()
102 writeb(0x80, pfc_base + RZA2_PWPR); /* B0WI=1, PFSWE=0 */ in rza2_set_pin_function()
105 reg8 = readb(pfc_base + RZA2_PMR(port)); in rza2_set_pin_function()
107 writeb(reg8, pfc_base + RZA2_PMR(port)); in rza2_set_pin_function()
118 reg16 = readw(pfc_base + RZA2_PDR(port)); in rza2_pin_to_gpio()
[all …]
/openbmc/u-boot/board/renesas/alt/
H A Dalt_spl.c109 static const u32 pfc_base = 0xe6060000; in spl_init_pfc() local
114 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
116 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
121 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
124 writel(~pfc_with_unlock2[i].val, pfc_base); in spl_init_pfc()
126 pfc_base | pfc_with_unlock2[i].off); in spl_init_pfc()
/openbmc/u-boot/board/renesas/silk/
H A Dsilk_spl.c109 static const u32 pfc_base = 0xe6060000; in spl_init_pfc() local
114 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
116 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
121 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
124 writel(~pfc_with_unlock2[i].val, pfc_base); in spl_init_pfc()
126 pfc_base | pfc_with_unlock2[i].off); in spl_init_pfc()
/openbmc/u-boot/board/renesas/blanche/
H A Dblanche.c87 static const u32 pfc_base = 0xe6060000; in blanche_init_pfc() local
92 writel(~pfc_with_unlock[i].val, pfc_base); in blanche_init_pfc()
94 pfc_base | pfc_with_unlock[i].off); in blanche_init_pfc()
99 pfc_base | pfc_without_unlock[i].off); in blanche_init_pfc()
/openbmc/u-boot/board/renesas/lager/
H A Dlager_spl.c103 static const u32 pfc_base = 0xe6060000; in spl_init_pfc() local
108 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
110 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
115 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
/openbmc/u-boot/board/renesas/gose/
H A Dgose_spl.c107 static const u32 pfc_base = 0xe6060000; in spl_init_pfc() local
112 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
114 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
119 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
/openbmc/u-boot/board/renesas/koelsch/
H A Dkoelsch_spl.c111 static const u32 pfc_base = 0xe6060000; in spl_init_pfc() local
116 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
118 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
123 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
/openbmc/u-boot/board/renesas/porter/
H A Dporter_spl.c111 static const u32 pfc_base = 0xe6060000; in spl_init_pfc() local
116 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
118 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
123 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()
/openbmc/u-boot/board/renesas/stout/
H A Dstout_spl.c106 static const u32 pfc_base = 0xe6060000; in spl_init_pfc() local
111 writel(~pfc_with_unlock[i].val, pfc_base); in spl_init_pfc()
113 pfc_base | pfc_with_unlock[i].off); in spl_init_pfc()
118 pfc_base | pfc_without_unlock[i].off); in spl_init_pfc()