Lines Matching refs:value
74 u32 value; in tz1090_pdc_gpio_direction_input() local
78 value = pdc_read(priv, REG_SOC_GPIO_CONTROL1); in tz1090_pdc_gpio_direction_input()
79 value |= BIT(offset); in tz1090_pdc_gpio_direction_input()
80 pdc_write(priv, REG_SOC_GPIO_CONTROL1, value); in tz1090_pdc_gpio_direction_input()
91 u32 value; in tz1090_pdc_gpio_direction_output() local
97 value = pdc_read(priv, REG_SOC_GPIO_CONTROL0); in tz1090_pdc_gpio_direction_output()
99 value |= BIT(offset); in tz1090_pdc_gpio_direction_output()
101 value &= ~BIT(offset); in tz1090_pdc_gpio_direction_output()
102 pdc_write(priv, REG_SOC_GPIO_CONTROL0, value); in tz1090_pdc_gpio_direction_output()
105 value = pdc_read(priv, REG_SOC_GPIO_CONTROL1); in tz1090_pdc_gpio_direction_output()
106 value &= ~BIT(offset); in tz1090_pdc_gpio_direction_output()
107 pdc_write(priv, REG_SOC_GPIO_CONTROL1, value); in tz1090_pdc_gpio_direction_output()
123 u32 value; in tz1090_pdc_gpio_set() local
131 value = pdc_read(priv, REG_SOC_GPIO_CONTROL0); in tz1090_pdc_gpio_set()
133 value |= BIT(offset); in tz1090_pdc_gpio_set()
135 value &= ~BIT(offset); in tz1090_pdc_gpio_set()
136 pdc_write(priv, REG_SOC_GPIO_CONTROL0, value); in tz1090_pdc_gpio_set()