Searched refs:dir_shadow (Results 1 – 3 of 3) sorted by relevance
526 unsigned long dir_shadow; in setget_input() local529 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() local552 dir_shadow = *dir_oe[priv->minor]; in setget_output()[all …]
484 unsigned long dir_shadow; in setget_input() local488 dir_shadow = readl(dir_oe[priv->minor]) & in setget_input()490 writel(dir_shadow, dir_oe[priv->minor]); in setget_input()495 dir_shadow ^= 0xFFFF; /* Only 16 bits */ in setget_input()498 dir_shadow ^= 0xFFFF; /* Only 16 bits */ in setget_input()501 dir_shadow ^= 0xFFFFFFFF; /* PA, PB and PD 32 bits */ in setget_input()503 return dir_shadow; in setget_input()511 unsigned long dir_shadow; in setget_output() local515 dir_shadow = readl(dir_oe[priv->minor]) | in setget_output()517 writel(dir_shadow, dir_oe[priv->minor]); in setget_output()[all …]
60 volatile unsigned char *dir, *dir_shadow; member124 static volatile unsigned char *dir_shadow[NUM_PORTS] = { variable332 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()[all …]