/* Write pointer of output buffer by consecutive reading Note: this function (OBUFSTAT) should only be usd in Enhanced Buffer Mode.  */
static uint32_t shi_npcx_write_buf_pointer(struct shi_reg *const inst)
/* Write pointer of output buffer by consecutive reading Note: this function (OBUFSTAT) should only be usd in Enhanced Buffer Mode.  */
static uint32_t shi_npcx_write_buf_pointer(struct shi_reg *const inst)
{
	uint8_t stat;
	do {
		stat = inst->OBUFSTAT;
	} while (stat != inst->OBUFSTAT);
	return stat;
}