Lines Matching refs:dir_shadow
60 volatile unsigned char *dir, *dir_shadow; member
124 static volatile unsigned char *dir_shadow[NUM_PORTS] = { variable
332 priv->dir_shadow = dir_shadow[p]; in gpio_open()
339 priv->dir_shadow = NULL; in gpio_open()
407 *priv->dir = *priv->dir_shadow &= in setget_input()
409 return ~(*priv->dir_shadow) & 0xFF; /* Only 8 bits */ in setget_input()
456 *priv->dir = *priv->dir_shadow |= in setget_output()
458 return *priv->dir_shadow; in setget_output()
588 ret = *priv->dir_shadow; in gpio_ioctl()
637 (priv->clk_mask & *priv->dir_shadow) && in gpio_ioctl()
638 (priv->data_mask & *priv->dir_shadow))) in gpio_ioctl()