Home
last modified time | relevance | path

Searched refs:gpio_altfunc (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/usb/serial/
Dcp210x.c261 u16 gpio_altfunc; member
1607 unsigned long altfunc_mask = priv->gpio_altfunc; in cp210x_gpio_init_valid_mask()
1653 priv->gpio_altfunc = 0xff; in cp2105_gpioconf_init()
1666 priv->gpio_altfunc = 0xff; in cp2105_gpioconf_init()
1680 priv->gpio_altfunc |= BIT(0); in cp2105_gpioconf_init()
1683 priv->gpio_altfunc |= BIT(1); in cp2105_gpioconf_init()
1718 priv->gpio_altfunc |= BIT(0); in cp2104_gpioconf_init()
1720 priv->gpio_altfunc |= BIT(1); in cp2104_gpioconf_init()
1722 priv->gpio_altfunc |= BIT(2); in cp2104_gpioconf_init()
1771 priv->gpio_altfunc |= BIT(i * 4); in cp2108_gpio_init()
[all …]
Dftdi_sio.c97 u8 gpio_altfunc; /* which pins are in gpio mode */ member
1939 unsigned long map = priv->gpio_altfunc; in ftdi_gpio_init_valid_mask()
2011 priv->gpio_altfunc = 0xff; in ftdi_gpio_init_ft232h()
2015 priv->gpio_altfunc &= ~BIT(i); in ftdi_gpio_init_ft232h()
2046 priv->gpio_altfunc = 0xff; in ftdi_gpio_init_ft232r()
2049 priv->gpio_altfunc &= ~BIT(i); in ftdi_gpio_init_ft232r()
2081 priv->gpio_altfunc = 0xff; in ftdi_gpio_init_ftx()
2084 priv->gpio_altfunc &= ~BIT(i); in ftdi_gpio_init_ftx()