ES1370_REG_STATUS
sta = es1370_reg_read_32(&card->config, ES1370_REG_STATUS);
if ((es1370_reg_read_32(config, ES1370_REG_STATUS) & STAT_CWRIP) == 0)