Lines Matching refs:sd_status
868 u16 sd_status; in via_sdc_isr() local
884 sd_status = readw(addrbase + VIA_CRDR_SDSTATUS); in via_sdc_isr()
885 sd_status &= VIA_CRDR_SDSTS_INT_MASK; in via_sdc_isr()
886 sd_status &= ~VIA_CRDR_SDSTS_IGN_MASK; in via_sdc_isr()
887 if (!sd_status) { in via_sdc_isr()
892 if (sd_status & VIA_CRDR_SDSTS_CIR) { in via_sdc_isr()
893 writew(sd_status & VIA_CRDR_SDSTS_CIR, in via_sdc_isr()
899 sd_status &= ~VIA_CRDR_SDSTS_CIR; in via_sdc_isr()
900 if (sd_status & VIA_CRDR_SDSTS_CMD_MASK) { in via_sdc_isr()
901 writew(sd_status & VIA_CRDR_SDSTS_CMD_MASK, in via_sdc_isr()
903 via_sdc_cmd_isr(sdhost, sd_status & VIA_CRDR_SDSTS_CMD_MASK); in via_sdc_isr()
905 if (sd_status & VIA_CRDR_SDSTS_DATA_MASK) { in via_sdc_isr()
906 writew(sd_status & VIA_CRDR_SDSTS_DATA_MASK, in via_sdc_isr()
908 via_sdc_data_isr(sdhost, sd_status & VIA_CRDR_SDSTS_DATA_MASK); in via_sdc_isr()
911 sd_status &= ~(VIA_CRDR_SDSTS_CMD_MASK | VIA_CRDR_SDSTS_DATA_MASK); in via_sdc_isr()
912 if (sd_status) { in via_sdc_isr()
914 mmc_hostname(sdhost->mmc), sd_status); in via_sdc_isr()
915 writew(sd_status, addrbase + VIA_CRDR_SDSTATUS); in via_sdc_isr()