Lines Matching refs:v
127 #define SWITCH_GPIO(name, v, on) \ argument
128 (((v)&~1) | ((on)? \
135 int v; \
142 v = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, \
147 v = SWITCH_GPIO(name##_mute, v, !on); \
150 name##_mute_gpio, v); \
168 int v; in ftr_gpio_set_hw_reset() local
174 v = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, in ftr_gpio_set_hw_reset()
176 v = SWITCH_GPIO(hw_reset, v, on); in ftr_gpio_set_hw_reset()
178 hw_reset_gpio, v); in ftr_gpio_set_hw_reset()
223 int v; in gpio_enable_dual_edge() local
227 v = pmac_call_feature(PMAC_FTR_READ_GPIO, NULL, gpio, 0); in gpio_enable_dual_edge()
228 v |= 0x80; /* enable dual edge */ in gpio_enable_dual_edge()
229 pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, gpio, v); in gpio_enable_dual_edge()