Home
last modified time | relevance | path

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

/linux/drivers/nvmem/
H A Dsunplus-ocotp.c81 unsigned int byte_shift; in sp_otp_read_real() local
88 byte_shift = addr % (OTP_WORD_SIZE * OTP_WORDS_PER_BANK); in sp_otp_read_real()
89 byte_shift = byte_shift % OTP_WORD_SIZE; in sp_otp_read_real()
112 >> (8 * byte_shift)) & 0xff; in sp_otp_read_real()
/linux/drivers/mmc/host/
H A Dsdhci-iproc.c150 u32 byte_shift = REG_OFFSET_IN_BITS(reg); in sdhci_iproc_writeb() local
151 u32 mask = 0xff << byte_shift; in sdhci_iproc_writeb()
152 u32 newval = (oldval & ~mask) | (val << byte_shift); in sdhci_iproc_writeb()
/linux/drivers/acpi/
H A Dbus.c859 int i, msk, byte_shift; in __acpi_match_device_cls() local
867 byte_shift = 8 * (3 - i); in __acpi_match_device_cls()
868 msk = (id->cls_msk >> byte_shift) & 0xFF; in __acpi_match_device_cls()
872 sprintf(buf, "%02x", (id->cls >> byte_shift) & msk); in __acpi_match_device_cls()