Home
last modified time | relevance | path

Searched refs:swab (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/lib/
Dfind_bit.c227 return FIND_FIRST_BIT(~addr[idx], swab, size); in _find_first_zero_bit_le()
237 return FIND_NEXT_BIT(~addr[idx], swab, size, offset); in _find_next_zero_bit_le()
246 return FIND_NEXT_BIT(addr[idx], swab, size, offset); in _find_next_bit_le()
/linux-6.1.9/drivers/spi/
Dspi-fsl-espi.c102 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()
Dspi-sh-msiof.c922 bool swab; in sh_msiof_transfer_one() local
978 swab = true; in sh_msiof_transfer_one()
980 swab = false; in sh_msiof_transfer_one()
999 } else if (swab) { in sh_msiof_transfer_one()
/linux-6.1.9/include/linux/
Dswab.h10 # define swab __swab macro
Dfind.h448 val = swab(val) | ~GENMASK(size - 1, offset); in find_next_zero_bit_le()
461 unsigned long val = swab(*(const unsigned long *)addr) | ~GENMASK(size - 1, 0); in find_first_zero_bit_le()
481 val = swab(val) & GENMASK(size - 1, offset); in find_next_bit_le()
/linux-6.1.9/include/drm/
Ddrm_format_helper.h32 const struct drm_rect *clip, bool swab);
/linux-6.1.9/include/uapi/asm-generic/
DKbuild32 mandatory-y += swab.h
/linux-6.1.9/drivers/gpu/drm/
Ddrm_format_helper.c381 const struct drm_rect *clip, bool swab) in drm_fb_xrgb8888_to_rgb565() argument
389 if (swab) in drm_fb_xrgb8888_to_rgb565()
/linux-6.1.9/drivers/net/dsa/microchip/
Dksz_common.h595 swab##swp((opcode) << ((regbits) + (regpad)))
/linux-6.1.9/fs/cramfs/
DREADME148 etc. macros as used by ext2fs. We don't need to swab the compressed
/linux-6.1.9/drivers/char/
Drandom.c1077 (regs ? instruction_pointer(regs) : _RET_IP_) ^ swab(irq)); in add_interrupt_randomness()
/linux-6.1.9/arch/
DKconfig166 hand-coded assembler in <asm/swab.h>. But just in case it
/linux-6.1.9/mm/
Dslub.c364 swab((unsigned long)kasan_reset_tag((void *)ptr_addr))); in freelist_ptr()