Lines Matching refs:sd_status
876 u16 sd_status; in via_sdc_isr() local
892 sd_status = readw(addrbase + VIA_CRDR_SDSTATUS); in via_sdc_isr()
893 sd_status &= VIA_CRDR_SDSTS_INT_MASK; in via_sdc_isr()
894 sd_status &= ~VIA_CRDR_SDSTS_IGN_MASK; in via_sdc_isr()
895 if (!sd_status) { in via_sdc_isr()
900 if (sd_status & VIA_CRDR_SDSTS_CIR) { in via_sdc_isr()
901 writew(sd_status & VIA_CRDR_SDSTS_CIR, in via_sdc_isr()
907 sd_status &= ~VIA_CRDR_SDSTS_CIR; in via_sdc_isr()
908 if (sd_status & VIA_CRDR_SDSTS_CMD_MASK) { in via_sdc_isr()
909 writew(sd_status & VIA_CRDR_SDSTS_CMD_MASK, in via_sdc_isr()
911 via_sdc_cmd_isr(sdhost, sd_status & VIA_CRDR_SDSTS_CMD_MASK); in via_sdc_isr()
913 if (sd_status & VIA_CRDR_SDSTS_DATA_MASK) { in via_sdc_isr()
914 writew(sd_status & VIA_CRDR_SDSTS_DATA_MASK, in via_sdc_isr()
916 via_sdc_data_isr(sdhost, sd_status & VIA_CRDR_SDSTS_DATA_MASK); in via_sdc_isr()
919 sd_status &= ~(VIA_CRDR_SDSTS_CMD_MASK | VIA_CRDR_SDSTS_DATA_MASK); in via_sdc_isr()
920 if (sd_status) { in via_sdc_isr()
922 mmc_hostname(sdhost->mmc), sd_status); in via_sdc_isr()
923 writew(sd_status, addrbase + VIA_CRDR_SDSTATUS); in via_sdc_isr()