Lines Matching refs:qrio_base

20 	void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE;  in qrio_get_gpio()  local
22 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_get_gpio()
31 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_set_gpio() local
35 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_set_gpio()
41 out_be32(qrio_base + port_off + GPRT_OFF, gprt); in qrio_set_gpio()
48 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_gpio_direction_output() local
52 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_output()
54 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_output()
63 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_gpio_direction_input() local
67 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_input()
69 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_input()
76 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_set_opendrain_gpio() local
80 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_set_opendrain_gpio()
88 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_set_opendrain_gpio()
96 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_wdmask() local
98 wdmask = in_be16(qrio_base + WDMASK_OFF); in qrio_wdmask()
105 out_be16(qrio_base + WDMASK_OFF, wdmask); in qrio_wdmask()
113 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_prst() local
117 prst = in_be16(qrio_base + PRST_OFF); in qrio_prst()
124 out_be16(qrio_base + PRST_OFF, prst); in qrio_prst()
133 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_prstcfg() local
135 prstcfg = in_be32(qrio_base + PRSTCFG_OFF); in qrio_prstcfg()
144 out_be32(qrio_base + PRSTCFG_OFF, prstcfg); in qrio_prstcfg()
154 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_set_leds() local
157 ctrlh = in_8(qrio_base + CTRLH_OFF); in qrio_set_leds()
159 out_8(qrio_base + CTRLH_OFF, ctrlh); in qrio_set_leds()
168 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_enable_app_buffer() local
171 ctrll = in_8(qrio_base + CTRLL_OFF); in qrio_enable_app_buffer()
173 out_8(qrio_base + CTRLL_OFF, ctrll); in qrio_enable_app_buffer()
182 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_cpuwd_flag() local
183 reason1 = in_8(qrio_base + REASON1_OFF); in qrio_cpuwd_flag()
188 out_8(qrio_base + REASON1_OFF, reason1); in qrio_cpuwd_flag()
196 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_uprstreq() local
198 rstcfg = in_8(qrio_base + RSTCFG_OFF); in qrio_uprstreq()
205 out_8(qrio_base + RSTCFG_OFF, rstcfg); in qrio_uprstreq()