Searched refs:swab (Results 1 – 12 of 12) sorted by relevance
| /linux/lib/ |
| H A D | find_bit.c | 20 #include <linux/swab.h> 269 return FIND_FIRST_BIT(~addr[idx], swab, size); in _find_first_zero_bit_le() 279 return FIND_NEXT_BIT(~addr[idx], swab, size, offset); in _find_next_zero_bit_le() 288 return FIND_NEXT_BIT(addr[idx], swab, size, offset); in _find_next_bit_le()
|
| /linux/drivers/spi/ |
| H A D | spi-fsl-espi.c | 102 bool swab; member 229 else if (espi->swab) in fsl_espi_fill_tx_fifo() 238 } else if (tx_left >= 2 && tx_buf && espi->swab) { in fsl_espi_fill_tx_fifo() 284 if (rx_buf && espi->swab) in fsl_espi_read_rx_fifo() 291 } else if (rx_left >= 2 && rx_buf && espi->swab) { in fsl_espi_read_rx_fifo() 404 espi->swab = spi->mode & SPI_LSB_FIRST && trans->bits_per_word > 8; in fsl_espi_trans()
|
| /linux/include/linux/ |
| H A D | swab.h | 10 # define swab __swab macro
|
| H A D | find.h | 540 val = swab(val) | ~GENMASK(size - 1, offset); in find_next_zero_bit_le() 553 unsigned long val = swab(*(const unsigned long *)addr) | ~GENMASK(size - 1, 0); in find_first_zero_bit_le() 573 val = swab(val) & GENMASK(size - 1, offset); in find_next_bit_le()
|
| /linux/include/uapi/asm-generic/ |
| H A D | Kbuild | 32 mandatory-y += swab.h
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fb_draw.h | 13 #define __swab_long(x) swab##x
|
| /linux/fs/cramfs/ |
| H A D | README | 148 etc. macros as used by ext2fs. We don't need to swab the compressed
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_common.h | 929 swab##swp((opcode) << ((regbits) + (regpad)))
|
| /linux/drivers/char/ |
| H A D | random.c | 1112 (regs ? instruction_pointer(regs) : _RET_IP_) ^ swab(irq)); in add_interrupt_randomness()
|
| /linux/Documentation/dev-tools/ |
| H A D | checkuapi.rst | 319 mandatory-y += swab.h
|
| /linux/mm/ |
| H A D | slub.c | 506 encoded = (unsigned long)ptr ^ s->random ^ swab(ptr_addr); in freelist_ptr_encode() 519 decoded = (void *)(ptr.v ^ s->random ^ swab(ptr_addr)); in freelist_ptr_decode()
|
| /linux/arch/ |
| H A D | Kconfig | 241 which is worse than the hand-coded assembler in <asm/swab.h>.
|