Home
last modified time | relevance | path

Searched refs:changeable_bits (Results 1 – 3 of 3) sorted by relevance

/arch/cris/arch-v10/drivers/
Dgpio.c65 unsigned char changeable_bits; member
117 static unsigned char changeable_bits[NUM_PORTS] = { variable
338 priv->changeable_bits = changeable_bits[p]; in gpio_open()
345 priv->changeable_bits = 0; in gpio_open()
534 ((unsigned char)arg & priv->changeable_bits); in gpio_ioctl()
543 ~((unsigned char)arg & priv->changeable_bits); in gpio_ioctl()
620 if (!((priv->clk_mask & priv->changeable_bits) && in gpio_ioctl()
621 (priv->data_mask & priv->changeable_bits) && in gpio_ioctl()
/arch/cris/arch-v32/drivers/mach-a3/
Dgpio.c163 static unsigned long changeable_bits[NUM_PORTS] = { variable
557 (arg & changeable_bits[priv->minor]); in gpio_ioctl()
565 ~(arg & changeable_bits[priv->minor]); in gpio_ioctl()
615 if ((clk_mask & changeable_bits[priv->minor]) && in gpio_ioctl()
616 (data_mask & changeable_bits[priv->minor]) && in gpio_ioctl()
682 (arg & changeable_bits[priv->minor]); in virtual_gpio_ioctl()
691 ~(arg & changeable_bits[priv->minor]); in virtual_gpio_ioctl()
719 if (!((priv->clk_mask & changeable_bits[priv->minor]) && in virtual_gpio_ioctl()
720 (priv->data_mask & changeable_bits[priv->minor]) && in virtual_gpio_ioctl()
/arch/cris/arch-v32/drivers/mach-fs/
Dgpio.c159 static unsigned long changeable_bits[NUM_PORTS] = { variable
588 shadow |= (arg & changeable_bits[priv->minor]); in gpio_ioctl()
596 shadow &= ~(arg & changeable_bits[priv->minor]); in gpio_ioctl()
657 if (!((priv->clk_mask & changeable_bits[priv->minor]) && in gpio_ioctl()
658 (priv->data_mask & changeable_bits[priv->minor]) && in gpio_ioctl()
725 shadow |= (arg & changeable_bits[priv->minor]); in virtual_gpio_ioctl()
734 shadow &= ~(arg & changeable_bits[priv->minor]); in virtual_gpio_ioctl()
770 if (!((priv->clk_mask & changeable_bits[priv->minor]) && in virtual_gpio_ioctl()
771 (priv->data_mask & changeable_bits[priv->minor]) && in virtual_gpio_ioctl()