Searched refs:byte_shift (Results 1 – 3 of 3) sorted by relevance
202 unsigned int byte_shift = 0; in meson_spicc_pull_data() local208 data |= (byte & 0xff) << byte_shift; in meson_spicc_pull_data()209 byte_shift += 8; in meson_spicc_pull_data()220 unsigned int byte_shift = 0; in meson_spicc_push_data() local224 byte = (data >> byte_shift) & 0xff; in meson_spicc_push_data()226 byte_shift += 8; in meson_spicc_push_data()
159 u32 byte_shift = REG_OFFSET_IN_BITS(reg); in sdhci_iproc_writeb() local160 u32 mask = 0xff << byte_shift; in sdhci_iproc_writeb()161 u32 newval = (oldval & ~mask) | (val << byte_shift); in sdhci_iproc_writeb()
803 int i, msk, byte_shift; in __acpi_match_device_cls() local811 byte_shift = 8 * (3 - i); in __acpi_match_device_cls()812 msk = (id->cls_msk >> byte_shift) & 0xFF; in __acpi_match_device_cls()816 sprintf(buf, "%02x", (id->cls >> byte_shift) & msk); in __acpi_match_device_cls()