XGPIO_TRI_OFFSET
xgpio_write_ch(chip, XGPIO_TRI_OFFSET, bit, chip->dir);
xgpio_write_ch_all(chip, XGPIO_TRI_OFFSET, chip->dir);