Searched refs:gpio_state (Results 1 – 4 of 4) sorted by relevance
58 enum gpio_state { enum178 #define GPIO_PAD_CONF(pad_name, mode_select, mode, gpio_config, gpio_state, \ argument189 (((gpio_state) == HIGH) ? 2 : 0)), \196 (((gpio_state) != NA) ? ONE_BIT << 1 : 0)), \
19 struct gpio_state { struct28 struct gpio_state *state = dev_get_priv(dev); in get_gpio_flags() argument214 dev->priv = calloc(sizeof(struct gpio_state), uc_priv->gpio_count); in gpio_sandbox_probe()
143 void imx_iomux_gpio_get_function(unsigned int gpio, u32 *gpio_state) in imx_iomux_gpio_get_function() argument145 *gpio_state = readl(base + (gpio << 2)) & in imx_iomux_gpio_get_function()
255 u32 *gpio_state);