Lines Matching refs:dir_shadow
526 unsigned long dir_shadow; in setget_input() local
529 dir_shadow = *dir_oe[priv->minor]; in setget_input()
530 dir_shadow &= ~(arg & changeable_dir[priv->minor]); in setget_input()
531 *dir_oe[priv->minor] = dir_shadow; in setget_input()
535 dir_shadow ^= 0xFF; /* Only 8 bits */ in setget_input()
538 dir_shadow ^= 0xFFFF; /* Only 16 bits */ in setget_input()
541 dir_shadow ^= 0x3FFFF; /* Only 18 bits */ in setget_input()
542 return dir_shadow; in setget_input()
549 unsigned long dir_shadow; in setget_output() local
552 dir_shadow = *dir_oe[priv->minor]; in setget_output()
553 dir_shadow |= (arg & changeable_dir[priv->minor]); in setget_output()
554 *dir_oe[priv->minor] = dir_shadow; in setget_output()
556 return dir_shadow; in setget_output()
645 unsigned long dir_shadow; in gpio_ioctl_unlocked() local
646 dir_shadow = *dir_oe[priv->minor]; in gpio_ioctl_unlocked()
656 (priv->clk_mask & dir_shadow) && in gpio_ioctl_unlocked()
657 (priv->data_mask & dir_shadow))) { in gpio_ioctl_unlocked()
769 unsigned long dir_shadow; in virtual_gpio_ioctl() local
770 dir_shadow = *dir_oe[priv->minor]; in virtual_gpio_ioctl()
780 (priv->clk_mask & dir_shadow) && in virtual_gpio_ioctl()
781 (priv->data_mask & dir_shadow))) { in virtual_gpio_ioctl()