CTL_STATUS
return !(sd_ctrl_read16_and_16_as_32(host, CTL_STATUS) &
sd_ctrl_write32_as_16_and_16(host, CTL_STATUS, 0x0);
while (--timeout && (sd_ctrl_read16_and_16_as_32(host, CTL_STATUS)
if (addr == CTL_IRQ_MASK || addr == CTL_STATUS)
return !(sd_ctrl_read16_and_16_as_32(host, CTL_STATUS) &
return !!(sd_ctrl_read16_and_16_as_32(host, CTL_STATUS) &
sd_ctrl_write32_as_16_and_16(host, CTL_STATUS, ~i);
u32 status = sd_ctrl_read16_and_16_as_32(host, CTL_STATUS);
status = sd_ctrl_read16_and_16_as_32(host, CTL_STATUS);
sd_ctrl_write32_as_16_and_16(host, CTL_STATUS, TMIO_MASK_IRQ);