Lines Matching refs:qrio_base

21 	void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE;  in qrio_get_gpio()  local
23 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_get_gpio()
32 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_set_gpio() local
36 gprt = in_be32(qrio_base + port_off + GPRT_OFF); in qrio_set_gpio()
42 out_be32(qrio_base + port_off + GPRT_OFF, gprt); in qrio_set_gpio()
49 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_gpio_direction_output() local
53 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_output()
55 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_output()
64 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_gpio_direction_input() local
68 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_gpio_direction_input()
70 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_gpio_direction_input()
77 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_set_opendrain_gpio() local
81 direct = in_be32(qrio_base + port_off + DIRECT_OFF); in qrio_set_opendrain_gpio()
89 out_be32(qrio_base + port_off + DIRECT_OFF, direct); in qrio_set_opendrain_gpio()
97 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_wdmask() local
99 wdmask = in_be16(qrio_base + WDMASK_OFF); in qrio_wdmask()
106 out_be16(qrio_base + WDMASK_OFF, wdmask); in qrio_wdmask()
114 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_prst() local
118 prst = in_be16(qrio_base + PRST_OFF); in qrio_prst()
125 out_be16(qrio_base + PRST_OFF, prst); in qrio_prst()
134 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_prstcfg() local
136 prstcfg = in_be32(qrio_base + PRSTCFG_OFF); in qrio_prstcfg()
145 out_be32(qrio_base + PRSTCFG_OFF, prstcfg); in qrio_prstcfg()
155 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_set_leds() local
158 ctrlh = in_8(qrio_base + CTRLH_OFF); in qrio_set_leds()
160 out_8(qrio_base + CTRLH_OFF, ctrlh); in qrio_set_leds()
169 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_enable_app_buffer() local
172 ctrll = in_8(qrio_base + CTRLL_OFF); in qrio_enable_app_buffer()
174 out_8(qrio_base + CTRLL_OFF, ctrll); in qrio_enable_app_buffer()
183 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_cpuwd_flag() local
184 reason1 = in_8(qrio_base + REASON1_OFF); in qrio_cpuwd_flag()
189 out_8(qrio_base + REASON1_OFF, reason1); in qrio_cpuwd_flag()
197 void __iomem *qrio_base = (void *)CONFIG_SYS_QRIO_BASE; in qrio_uprstreq() local
199 rstcfg = in_8(qrio_base + RSTCFG_OFF); in qrio_uprstreq()
206 out_8(qrio_base + RSTCFG_OFF, rstcfg); in qrio_uprstreq()