Lines Matching refs:is_input
109 bool is_input; member
365 val = bank->is_input; in sgpio_pinconf_get()
369 val = !bank->is_input; in sgpio_pinconf_get()
373 if (bank->is_input) in sgpio_pinconf_get()
404 if (bank->is_input) in sgpio_pinconf_set()
458 return (input == bank->is_input) ? 0 : -EINVAL; in sgpio_gpio_set_direction()
530 return bank->is_input ? 0 : -EINVAL; in microchip_sgpio_direction_input()
541 if (bank->is_input) in microchip_sgpio_direction_output()
553 return bank->is_input ? GPIO_LINE_DIRECTION_IN : GPIO_LINE_DIRECTION_OUT; in microchip_sgpio_get_direction()
570 return bank->is_input ? sgpio_input_get(priv, &addr) : sgpio_output_get(priv, &addr); in microchip_sgpio_get_value()
818 bank->is_input ? "in" : "out"); in microchip_sgpio_register_bank()
839 bank->is_input ? 'I' : 'O', in microchip_sgpio_register_bank()
865 gc->can_sleep = !bank->is_input; in microchip_sgpio_register_bank()
867 if (bank->is_input && priv->properties->flags & SGPIO_FLAGS_HAS_IRQ) { in microchip_sgpio_register_bank()
946 priv->in.is_input = true; in microchip_sgpio_probe()