Lines Matching refs:CHV_PADCTRL0
38 #define CHV_PADCTRL0 0x000 macro
630 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0); in chv_pin_dbg_show()
698 value = chv_readl(pctrl, pin, CHV_PADCTRL0); in chv_pinmux_set_mux()
704 chv_writel(pctrl, pin, CHV_PADCTRL0, value); in chv_pinmux_set_mux()
733 value = chv_readl(pctrl, offset, CHV_PADCTRL0); in chv_gpio_clear_triggering()
754 value = chv_readl(pctrl, offset, CHV_PADCTRL0); in chv_gpio_request_enable()
775 value = chv_readl(pctrl, offset, CHV_PADCTRL0); in chv_gpio_request_enable()
789 chv_writel(pctrl, offset, CHV_PADCTRL0, value); in chv_gpio_request_enable()
822 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0) & ~CHV_PADCTRL0_GPIOCFG_MASK; in chv_gpio_set_direction()
827 chv_writel(pctrl, offset, CHV_PADCTRL0, ctrl0); in chv_gpio_set_direction()
855 ctrl0 = chv_readl(pctrl, pin, CHV_PADCTRL0); in chv_config_get()
936 ctrl0 = chv_readl(pctrl, pin, CHV_PADCTRL0); in chv_config_set_pull()
988 chv_writel(pctrl, pin, CHV_PADCTRL0, ctrl0); in chv_config_set_pull()
1123 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0); in chv_gpio_get()
1142 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0); in chv_gpio_set()
1149 chv_writel(pctrl, offset, CHV_PADCTRL0, ctrl0); in chv_gpio_set()
1161 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0); in chv_gpio_get_direction()
1205 intr_line = chv_readl(pctrl, hwirq, CHV_PADCTRL0); in chv_gpio_irq_ack()
1221 intr_line = chv_readl(pctrl, hwirq, CHV_PADCTRL0); in chv_gpio_irq_mask_unmask()
1276 intsel = chv_readl(pctrl, hwirq, CHV_PADCTRL0); in chv_gpio_irq_startup()
1307 value = chv_readl(pctrl, pin, CHV_PADCTRL0); in chv_gpio_set_intr_line()
1346 chv_writel(pctrl, pin, CHV_PADCTRL0, value); in chv_gpio_set_intr_line()
1514 intsel = chv_readl(pctrl, desc->number, CHV_PADCTRL0); in chv_init_irq_valid_mask()
1762 ctx->padctrl0 = chv_readl(pctrl, desc->number, CHV_PADCTRL0); in chv_pinctrl_suspend_noirq()
1799 val = chv_readl(pctrl, desc->number, CHV_PADCTRL0); in chv_pinctrl_resume_noirq()
1802 chv_writel(pctrl, desc->number, CHV_PADCTRL0, ctx->padctrl0); in chv_pinctrl_resume_noirq()
1804 chv_readl(pctrl, desc->number, CHV_PADCTRL0)); in chv_pinctrl_resume_noirq()