Lines Matching refs:ingenic_config_pin
3576 static inline void ingenic_config_pin(struct ingenic_pinctrl *jzpc, in ingenic_config_pin() function
3735 ingenic_config_pin(jzpc, pin, JZ4770_GPIO_INT, false); in ingenic_pinmux_set_pin_fn()
3736 ingenic_config_pin(jzpc, pin, GPIO_MSK, false); in ingenic_pinmux_set_pin_fn()
3737 ingenic_config_pin(jzpc, pin, JZ4770_GPIO_PAT1, func & 0x2); in ingenic_pinmux_set_pin_fn()
3738 ingenic_config_pin(jzpc, pin, JZ4770_GPIO_PAT0, func & 0x1); in ingenic_pinmux_set_pin_fn()
3740 ingenic_config_pin(jzpc, pin, JZ4740_GPIO_FUNC, true); in ingenic_pinmux_set_pin_fn()
3741 ingenic_config_pin(jzpc, pin, JZ4740_GPIO_TRIG, func & 0x2); in ingenic_pinmux_set_pin_fn()
3742 ingenic_config_pin(jzpc, pin, JZ4740_GPIO_SELECT, func & 0x1); in ingenic_pinmux_set_pin_fn()
3744 ingenic_config_pin(jzpc, pin, JZ4730_GPIO_GPIER, false); in ingenic_pinmux_set_pin_fn()
3803 ingenic_config_pin(jzpc, pin, JZ4770_GPIO_INT, false); in ingenic_pinmux_gpio_set_direction()
3804 ingenic_config_pin(jzpc, pin, GPIO_MSK, true); in ingenic_pinmux_gpio_set_direction()
3805 ingenic_config_pin(jzpc, pin, JZ4770_GPIO_PAT1, input); in ingenic_pinmux_gpio_set_direction()
3807 ingenic_config_pin(jzpc, pin, JZ4740_GPIO_SELECT, false); in ingenic_pinmux_gpio_set_direction()
3808 ingenic_config_pin(jzpc, pin, JZ4740_GPIO_DIR, !input); in ingenic_pinmux_gpio_set_direction()
3809 ingenic_config_pin(jzpc, pin, JZ4740_GPIO_FUNC, false); in ingenic_pinmux_gpio_set_direction()
3811 ingenic_config_pin(jzpc, pin, JZ4730_GPIO_GPIER, false); in ingenic_pinmux_gpio_set_direction()
3812 ingenic_config_pin(jzpc, pin, JZ4730_GPIO_GPDIR, !input); in ingenic_pinmux_gpio_set_direction()
3929 ingenic_config_pin(jzpc, pin, X2000_GPIO_PEPD, false); in ingenic_set_bias()
3930 ingenic_config_pin(jzpc, pin, X2000_GPIO_PEPU, true); in ingenic_set_bias()
3934 ingenic_config_pin(jzpc, pin, X2000_GPIO_PEPU, false); in ingenic_set_bias()
3935 ingenic_config_pin(jzpc, pin, X2000_GPIO_PEPD, true); in ingenic_set_bias()
3940 ingenic_config_pin(jzpc, pin, X2000_GPIO_PEPU, false); in ingenic_set_bias()
3941 ingenic_config_pin(jzpc, pin, X2000_GPIO_PEPD, false); in ingenic_set_bias()
3963 ingenic_config_pin(jzpc, pin, JZ4770_GPIO_PEN, !bias); in ingenic_set_bias()
3965 ingenic_config_pin(jzpc, pin, JZ4740_GPIO_PULL_DIS, !bias); in ingenic_set_bias()
3967 ingenic_config_pin(jzpc, pin, JZ4730_GPIO_GPPUR, bias); in ingenic_set_bias()
3975 ingenic_config_pin(jzpc, pin, X2000_GPIO_SMT, enable); in ingenic_set_schmitt_trigger()
3977 ingenic_config_pin(jzpc, pin, X1830_GPIO_SMT, enable); in ingenic_set_schmitt_trigger()
3984 ingenic_config_pin(jzpc, pin, JZ4770_GPIO_PAT0, high); in ingenic_set_output_level()
3986 ingenic_config_pin(jzpc, pin, JZ4740_GPIO_DATA, high); in ingenic_set_output_level()
3988 ingenic_config_pin(jzpc, pin, JZ4730_GPIO_DATA, high); in ingenic_set_output_level()
3995 ingenic_config_pin(jzpc, pin, X2000_GPIO_SR, slew); in ingenic_set_slew_rate()
3997 ingenic_config_pin(jzpc, pin, X1830_GPIO_SR, slew); in ingenic_set_slew_rate()