Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/nvmem/
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-5.19.10/drivers/spi/
Dspi-meson-spicc.c202 unsigned int byte_shift = 0; in meson_spicc_pull_data() local
208 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() local
224 byte = (data >> byte_shift) & 0xff; in meson_spicc_push_data()
226 byte_shift += 8; in meson_spicc_push_data()
/linux-5.19.10/drivers/mmc/host/
Dsdhci-iproc.c159 u32 byte_shift = REG_OFFSET_IN_BITS(reg); in sdhci_iproc_writeb() local
160 u32 mask = 0xff << byte_shift; in sdhci_iproc_writeb()
161 u32 newval = (oldval & ~mask) | (val << byte_shift); in sdhci_iproc_writeb()
/linux-5.19.10/drivers/acpi/
Dbus.c829 int i, msk, byte_shift; in __acpi_match_device_cls() local
837 byte_shift = 8 * (3 - i); in __acpi_match_device_cls()
838 msk = (id->cls_msk >> byte_shift) & 0xFF; in __acpi_match_device_cls()
842 sprintf(buf, "%02x", (id->cls >> byte_shift) & msk); in __acpi_match_device_cls()
/linux-5.19.10/scripts/mod/
Dfile2alias.c575 int i, byte_shift, cnt = 0; in do_acpi_entry() local
581 byte_shift = 8 * (3-i); in do_acpi_entry()
582 msk = (*cls_msk >> byte_shift) & 0xFF; in do_acpi_entry()
585 (*cls >> byte_shift) & 0xFF); in do_acpi_entry()