tb_nvm_write_buf
ret = tb_nvm_write_buf(nvm, offset, val, bytes);
int tb_nvm_write_buf(struct tb_nvm *nvm, unsigned int offset, void *val,