Lines Matching refs:sdhsts
353 u32 sdhsts; in bcm2835_transfer_pio() local
362 sdhsts = readl(host->ioaddr + SDHSTS); in bcm2835_transfer_pio()
363 if (sdhsts & (SDHSTS_CRC16_ERROR | in bcm2835_transfer_pio()
367 is_read ? "read" : "write", sdhsts); in bcm2835_transfer_pio()
369 } else if ((sdhsts & (SDHSTS_CMD_TIME_OUT | in bcm2835_transfer_pio()
372 is_read ? "read" : "write", sdhsts); in bcm2835_transfer_pio()
412 u32 sdcmd, sdhsts; in bcm2835_send_command() local
431 sdhsts = readl(host->ioaddr + SDHSTS); in bcm2835_send_command()
432 if (sdhsts & SDHSTS_ERROR_MASK) in bcm2835_send_command()
433 writel(sdhsts, host->ioaddr + SDHSTS); in bcm2835_send_command()
479 u32 sdhsts = readl(host->ioaddr + SDHSTS); in bcm2835_finish_command() local
484 if (!(sdhsts & SDHSTS_CRC7_ERROR) || in bcm2835_finish_command()
486 if (sdhsts & SDHSTS_CMD_TIME_OUT) { in bcm2835_finish_command()