Home
last modified time | relevance | path

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

/u-boot/drivers/mmc/
A Dbcm2835_sdhci.c124 u32 byte_shift = byte_num * 8; in bcm2835_sdhci_writeb() local
125 u32 mask = 0xff << byte_shift; in bcm2835_sdhci_writeb()
126 u32 newval = (oldval & ~mask) | (val << byte_shift); in bcm2835_sdhci_writeb()
152 u32 byte_shift = byte_num * 8; in bcm2835_sdhci_readb() local
153 u32 byte = (val >> byte_shift) & 0xff; in bcm2835_sdhci_readb()
A Diproc_sdhci.c136 u32 byte_shift = REG_OFFSET_IN_BITS(reg); in sdhci_iproc_writeb() local
137 u32 mask = 0xff << byte_shift; in sdhci_iproc_writeb()
138 u32 newval = (oldval & ~mask) | (val << byte_shift); in sdhci_iproc_writeb()

Completed in 4 milliseconds