static void esdhc_writew(struct sdhci_host *host, u16 val, int reg) { if (reg == SDHCI_BLOCK_SIZE) { /* * Two last DMA bits are reserved, and first one is used for * non-standard blksz of 4096 bytes that we don't support * yet. So clear the DMA boundary bits. */ val &= ~SDHCI_MAKE_BLKSZ(0x7, 0); } sdhci_be32bs_writew(host, val, reg); }
static void sdhci_hlwd_writew(struct sdhci_host *host, u16 val, int reg) { sdhci_be32bs_writew(host, val, reg); udelay(SDHCI_HLWD_WRITE_DELAY); }