thunderx_gpio_dir_out
ret = thunderx_gpio_dir_out(chip, line, orig_dat ^ new_invert);
chip->direction_output = thunderx_gpio_dir_out;