scmd_local_write
static int scmd_local_write(struct scmd_sc *, uint8_t, uint8_t);
if ((error = scmd_local_write(sc, (uint8_t)reg_addr, buf)) != 0) {