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

/linux-master/drivers/nvmem/
H A Dsunplus-ocotp.c81 unsigned int byte_shift; local
88 byte_shift = addr % (OTP_WORD_SIZE * OTP_WORDS_PER_BANK);
89 byte_shift = byte_shift % OTP_WORD_SIZE;
112 >> (8 * byte_shift)) & 0xff;
/linux-master/drivers/mmc/host/
H A Dsdhci-iproc.c150 u32 byte_shift = REG_OFFSET_IN_BITS(reg); local
151 u32 mask = 0xff << byte_shift;
152 u32 newval = (oldval & ~mask) | (val << byte_shift);
/linux-master/drivers/spi/
H A Dspi-meson-spicc.c220 unsigned int byte_shift = 0; local
226 data |= (byte & 0xff) << byte_shift;
227 byte_shift += 8;
238 unsigned int byte_shift = 0; local
242 byte = (data >> byte_shift) & 0xff;
244 byte_shift += 8;
/linux-master/drivers/acpi/
H A Dbus.c841 int i, msk, byte_shift; local
849 byte_shift = 8 * (3 - i);
850 msk = (id->cls_msk >> byte_shift) & 0xFF;
854 sprintf(buf, "%02x", (id->cls >> byte_shift) & msk);
/linux-master/scripts/mod/
H A Dfile2alias.c576 int i, byte_shift, cnt = 0; local
582 byte_shift = 8 * (3-i);
583 msk = (*cls_msk >> byte_shift) & 0xFF;
586 (*cls >> byte_shift) & 0xFF);

Completed in 193 milliseconds