Home
last modified time | relevance | path

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

/linux-6.15/lib/
H A Dfind_bit.c257 return FIND_FIRST_BIT(~addr[idx], swab, size); in _find_first_zero_bit_le()
267 return FIND_NEXT_BIT(~addr[idx], swab, size, offset); in _find_next_zero_bit_le()
276 return FIND_NEXT_BIT(addr[idx], swab, size, offset); in _find_next_bit_le()
/linux-6.15/drivers/spi/
H A 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()
H A Dspi-sh-msiof.c924 bool swab; in sh_msiof_transfer_one() local
980 swab = true; in sh_msiof_transfer_one()
982 swab = false; in sh_msiof_transfer_one()
1001 } else if (swab) { in sh_msiof_transfer_one()
/linux-6.15/include/linux/
H A Dswab.h10 # define swab __swab macro
H A Dfind.h540 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-6.15/fs/bcachefs/
H A Dreflink.h31 .swab = bch2_ptr_swab, \
H A Dbkey_methods.h28 void (*swab)(struct bkey_s); member
H A Dextents.h419 .swab = bch2_ptr_swab, \
426 .swab = bch2_ptr_swab, \
439 .swab = bch2_ptr_swab, \
H A Dbkey_methods.c339 if (ops->swab) in bch2_bkey_swab_val()
340 ops->swab(k); in bch2_bkey_swab_val()
H A Dbackpointers.h29 .swab = bch2_backpointer_swab, \
H A Dec.h20 .swab = bch2_ptr_swab, \
H A Dalloc_background.h281 .swab = bch2_alloc_v4_swab, \
H A Ddisk_accounting.h119 .swab = bch2_accounting_swab, \
/linux-6.15/include/uapi/asm-generic/
H A DKbuild32 mandatory-y += swab.h
/linux-6.15/drivers/video/fbdev/core/
H A Dfb_draw.h13 #define __swab_long(x) swab##x
/linux-6.15/include/drm/
H A Ddrm_format_helper.h86 bool swab);
/linux-6.15/drivers/gpu/drm/
H A Ddrm_format_helper.c479 bool swab) in drm_fb_xrgb8888_to_rgb565() argument
487 if (swab) in drm_fb_xrgb8888_to_rgb565()
/linux-6.15/fs/cramfs/
H A DREADME148 etc. macros as used by ext2fs. We don't need to swab the compressed
/linux-6.15/drivers/net/dsa/microchip/
H A Dksz_common.h872 swab##swp((opcode) << ((regbits) + (regpad)))
/linux-6.15/drivers/char/
H A Drandom.c1121 (regs ? instruction_pointer(regs) : _RET_IP_) ^ swab(irq)); in add_interrupt_randomness()
/linux-6.15/Documentation/dev-tools/
H A Dcheckuapi.rst319 mandatory-y += swab.h
/linux-6.15/mm/
H A Dslub.c478 encoded = (unsigned long)ptr ^ s->random ^ swab(ptr_addr); in freelist_ptr_encode()
491 decoded = (void *)(ptr.v ^ s->random ^ swab(ptr_addr)); in freelist_ptr_decode()
/linux-6.15/arch/
H A DKconfig197 hand-coded assembler in <asm/swab.h>. But just in case it