Lines Matching refs:clk_mask
89 unsigned char clk_mask; member
311 unsigned char clk_mask, unsigned char data_mask) in gpio_write_bit() argument
313 unsigned long shadow = readl(port) & ~clk_mask; in gpio_write_bit()
321 shadow |= clk_mask; in gpio_write_bit()
332 gpio_write_bit(port, data, i, priv->clk_mask, in gpio_write_byte()
336 gpio_write_bit(port, data, i, priv->clk_mask, in gpio_write_byte()
365 if (priv->clk_mask == 0 || priv->data_mask == 0) in gpio_write()
370 count, priv->data_mask, priv->clk_mask, priv->write_msb)); in gpio_write()
404 priv->clk_mask = 0; in gpio_open()
604 unsigned long dir_shadow, clk_mask, data_mask, write_msb; in gpio_ioctl_unlocked() local
606 clk_mask = arg & 0xFF; in gpio_ioctl_unlocked()
615 if ((clk_mask & changeable_bits[priv->minor]) && in gpio_ioctl_unlocked()
617 (clk_mask & dir_shadow) && in gpio_ioctl_unlocked()
619 priv->clk_mask = clk_mask; in gpio_ioctl_unlocked()
724 priv->clk_mask = arg & 0xFF; in virtual_gpio_ioctl()
730 if (!((priv->clk_mask & changeable_bits[priv->minor]) && in virtual_gpio_ioctl()
732 (priv->clk_mask & dir_shadow) && in virtual_gpio_ioctl()
734 priv->clk_mask = 0; in virtual_gpio_ioctl()