rzv2m_gpio_get_direction
int direction = rzv2m_gpio_get_direction(chip, offset);
chip->get_direction = rzv2m_gpio_get_direction;