Home
last modified time | relevance | path

Searched refs:MASKED_WRITE (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/sd/
H A Dsdhci.c48 #define MASKED_WRITE(reg, mask, val) (reg = (reg & (mask)) | (val)) in DECLARE_INSTANCE_CHECKER() macro
1176 MASKED_WRITE(s->sdmasysad, mask, value); in sdhci_write()
1197 MASKED_WRITE(s->blksize, mask, extract32(value, 0, 15)); in sdhci_write()
1198 MASKED_WRITE(s->blkcnt, mask >> 16, value >> 16); in sdhci_write()
1222 MASKED_WRITE(s->argument, mask, value); in sdhci_write()
1238 MASKED_WRITE(s->trnmod, mask, value & SDHC_TRNMOD_MASK); in sdhci_write()
1239 MASKED_WRITE(s->cmdreg, mask >> 16, value >> 16); in sdhci_write()
1257 MASKED_WRITE(s->hostctl1, mask, value); in sdhci_write()
1258 MASKED_WRITE(s->pwrcon, mask >> 8, value >> 8); in sdhci_write()
1259 MASKED_WRITE(s->wakcon, mask >> 24, value >> 24); in sdhci_write()
[all …]