Lines Matching refs:gpio_pushpull
266 u16 gpio_pushpull; member
1583 if (priv->gpio_pushpull & BIT(gpio)) in cp210x_gpio_direction_input()
1615 (priv->gpio_pushpull & BIT(gpio))) in cp210x_gpio_set_config()
1619 !(priv->gpio_pushpull & BIT(gpio))) in cp210x_gpio_set_config()
1682 priv->gpio_pushpull = (u8)((le16_to_cpu(config.gpio_mode) & in cp2105_gpioconf_init()
1695 priv->gpio_pushpull = (u8)((le16_to_cpu(config.gpio_mode) & in cp2105_gpioconf_init()
1733 priv->gpio_pushpull = (u8)((le16_to_cpu(config.gpio_mode) & in cp2104_gpioconf_init()
1758 if (!(priv->gpio_pushpull & BIT(i)) && (gpio_latch & BIT(i))) in cp2104_gpioconf_init()
1780 priv->gpio_pushpull = le16_to_cpu(config.reset_state.gpio_mode_pb1); in cp2108_gpio_init()
1813 if (!(priv->gpio_pushpull & BIT(i)) && (gpio_latch & BIT(i))) in cp2108_gpio_init()
1826 u8 gpio_pushpull; in cp2102n_gpioconf_init() local
1855 gpio_pushpull = config_buf[CP210X_2NCONFIG_GPIO_MODE_IDX]; in cp2102n_gpioconf_init()
1874 priv->gpio_pushpull = (gpio_pushpull >> 3) & 0x0f; in cp2102n_gpioconf_init()
1901 priv->gpio_pushpull |= (gpio_pushpull & 7) << 4; in cp2102n_gpioconf_init()
1917 if (!(priv->gpio_pushpull & BIT(i)) && (gpio_latch & BIT(i))) in cp2102n_gpioconf_init()