Searched refs:byte_shift (Results 1 – 2 of 2) sorted by relevance
138 u32 byte_shift = REG_OFFSET_IN_BITS(reg); in sdhci_iproc_writeb() local139 u32 mask = 0xff << byte_shift; in sdhci_iproc_writeb()140 u32 newval = (oldval & ~mask) | (val << byte_shift); in sdhci_iproc_writeb()
673 int i, msk, byte_shift; in __acpi_match_device_cls() local681 byte_shift = 8 * (3 - i); in __acpi_match_device_cls()682 msk = (id->cls_msk >> byte_shift) & 0xFF; in __acpi_match_device_cls()686 sprintf(buf, "%02x", (id->cls >> byte_shift) & msk); in __acpi_match_device_cls()