Searched refs:byte_shift (Results 1 – 2 of 2) sorted by relevance
124 u32 byte_shift = byte_num * 8; in bcm2835_sdhci_writeb() local125 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() local153 u32 byte = (val >> byte_shift) & 0xff; in bcm2835_sdhci_readb()
136 u32 byte_shift = REG_OFFSET_IN_BITS(reg); in sdhci_iproc_writeb() local137 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