Lines Matching refs:gpio_altfunc
267 u16 gpio_altfunc; member
1632 unsigned long altfunc_mask = priv->gpio_altfunc; in cp210x_gpio_init_valid_mask()
1678 priv->gpio_altfunc = 0xff; in cp2105_gpioconf_init()
1691 priv->gpio_altfunc = 0xff; in cp2105_gpioconf_init()
1705 priv->gpio_altfunc |= BIT(0); in cp2105_gpioconf_init()
1708 priv->gpio_altfunc |= BIT(1); in cp2105_gpioconf_init()
1743 priv->gpio_altfunc |= BIT(0); in cp2104_gpioconf_init()
1745 priv->gpio_altfunc |= BIT(1); in cp2104_gpioconf_init()
1747 priv->gpio_altfunc |= BIT(2); in cp2104_gpioconf_init()
1796 priv->gpio_altfunc |= BIT(i * 4); in cp2108_gpio_init()
1798 priv->gpio_altfunc |= BIT((i * 4) + 1); in cp2108_gpio_init()
1800 priv->gpio_altfunc |= BIT((i * 4) + 2); in cp2108_gpio_init()
1802 priv->gpio_altfunc |= BIT((i * 4) + 3); in cp2108_gpio_init()
1881 priv->gpio_altfunc |= BIT(0); in cp2102n_gpioconf_init()
1883 priv->gpio_altfunc |= BIT(1); in cp2102n_gpioconf_init()
1885 priv->gpio_altfunc |= BIT(2); in cp2102n_gpioconf_init()
1887 priv->gpio_altfunc |= BIT(3); in cp2102n_gpioconf_init()
1889 priv->gpio_altfunc = (gpio_ctrl >> 2) & 0x0f; in cp2102n_gpioconf_init()