/Linux-v5.4/arch/mips/boot/ |
D | elf2ecoff.c | 162 #define swab32(x) \ macro 173 e->e_version = swab32(e->e_version); in convert_elf_hdr() 174 e->e_entry = swab32(e->e_entry); in convert_elf_hdr() 175 e->e_phoff = swab32(e->e_phoff); in convert_elf_hdr() 176 e->e_shoff = swab32(e->e_shoff); in convert_elf_hdr() 177 e->e_flags = swab32(e->e_flags); in convert_elf_hdr() 191 p->p_type = swab32(p->p_type); in convert_elf_phdrs() 192 p->p_offset = swab32(p->p_offset); in convert_elf_phdrs() 193 p->p_vaddr = swab32(p->p_vaddr); in convert_elf_phdrs() 194 p->p_paddr = swab32(p->p_paddr); in convert_elf_phdrs() [all …]
|
/Linux-v5.4/arch/mips/pci/ |
D | ops-lantiq.c | 47 ltq_w32(swab32(*data), ((u32 *)cfg_base)); in ltq_pci_config_access() 50 *data = swab32(*data); in ltq_pci_config_access() 58 temp = swab32(temp); in ltq_pci_config_access()
|
/Linux-v5.4/drivers/pci/hotplug/ |
D | ibmphp_hpc.c | 154 wpg_data = swab32(data); // swap data before writing in i2c_ctrl_read() 161 wpg_data = swab32(data); in i2c_ctrl_read() 169 wpg_data = swab32(data); in i2c_ctrl_read() 180 data = swab32(wpg_data); in i2c_ctrl_read() 196 data = swab32(wpg_data); in i2c_ctrl_read() 210 data = swab32(wpg_data); in i2c_ctrl_read() 265 wpg_data = swab32(data); // swap data before writing in i2c_ctrl_write() 272 wpg_data = swab32(data); in i2c_ctrl_write() 280 wpg_data = swab32(data); in i2c_ctrl_write() 291 data = swab32(wpg_data); in i2c_ctrl_write() [all …]
|
/Linux-v5.4/arch/powerpc/boot/ |
D | xz_config.h | 18 return swab32(*q); in swab32p() 23 #define cpu_to_be32(x) swab32(x)
|
D | of.h | 32 #define cpu_to_be32(x) swab32(x) 33 #define be32_to_cpu(x) swab32(x)
|
D | swab.h | 11 static inline u32 swab32(u32 x) in swab32() function
|
/Linux-v5.4/arch/x86/include/asm/numachip/ |
D | numachip_csr.h | 47 return swab32(readl(lcsr_address(offset))); in read_lcsr() 52 writel(swab32(val), lcsr_address(offset)); in write_lcsr()
|
/Linux-v5.4/arch/arm64/kvm/hyp/ |
D | vgic-v2-cpuif-proxy.c | 72 data = swab32(data); in __vgic_v2_perform_cpuif_access() 79 data = swab32(data); in __vgic_v2_perform_cpuif_access()
|
/Linux-v5.4/arch/arm/vdso/ |
D | vdsomunge.c | 52 #define swab32(x) \ macro 103 return swap ? swab32(word) : word; in read_elf_word() 113 *dst = swap ? swab32(val) : val; in write_elf_word()
|
/Linux-v5.4/net/tipc/ |
D | subscr.h | 96 (swap_ ? swab32(val__) : val__); \ 106 (evt__)->field_ = swap_ ? swab32(val__) : val__; \
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | catas.c | 106 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave() 135 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave() 229 i, swab32(readl(priv->catas_err.map + i))); in dump_err_buf() 239 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in poll_catas()
|
D | crdump.c | 37 #define CR_ENABLE_BIT swab32(BIT(6)) 60 writel(swab32(1), cr_space + dev->caps.health_buffer_addrs + in crdump_enable_crspace_access()
|
/Linux-v5.4/drivers/i2c/busses/ |
D | i2c-designware-common.c | 67 return swab32(value); in dw_readl() 75 b = swab32(b); in dw_writel() 104 if (reg == swab32(DW_IC_COMP_TYPE_VALUE)) { in i2c_dw_set_reg_access()
|
/Linux-v5.4/lib/ |
D | iomap.c | 64 #define pio_read32be(port) swab32(inl(port)) 69 #define mmio_read32be(addr) swab32(readl(addr)) 180 #define pio_write32be(val,port) outl(swab32(val),port) 185 #define mmio_write32be(val,port) writel(swab32(val),port)
|
/Linux-v5.4/drivers/media/platform/coda/ |
D | coda-jpeg.c | 142 dst[i + 1] = swab32(src[i]); in coda_memcpy_parabuf() 143 dst[i] = swab32(src[i + 1]); in coda_memcpy_parabuf()
|
/Linux-v5.4/crypto/ |
D | serpent_generic.c | 596 rs[0] = swab32(s[3]); in tnepres_encrypt() 597 rs[1] = swab32(s[2]); in tnepres_encrypt() 598 rs[2] = swab32(s[1]); in tnepres_encrypt() 599 rs[3] = swab32(s[0]); in tnepres_encrypt() 603 d[0] = swab32(rd[3]); in tnepres_encrypt() 604 d[1] = swab32(rd[2]); in tnepres_encrypt() 605 d[2] = swab32(rd[1]); in tnepres_encrypt() 606 d[3] = swab32(rd[0]); in tnepres_encrypt() 616 rs[0] = swab32(s[3]); in tnepres_decrypt() 617 rs[1] = swab32(s[2]); in tnepres_decrypt() [all …]
|
/Linux-v5.4/drivers/net/dsa/microchip/ |
D | ksz_common.h | 222 value[0] = swab32(value[0]); in ksz_read64() 223 value[1] = swab32(value[1]); in ksz_read64() 251 val[0] = swab32(value & 0xffffffffULL); in ksz_write64() 252 val[1] = swab32(value >> 32ULL); in ksz_write64()
|
/Linux-v5.4/drivers/mtd/parsers/ |
D | redboot.c | 143 if (swab32(buf[i].size) == master->erasesize || in parse_redboot_partitions() 145 && swab32(buf[i].size) < master->erasesize)) { in parse_redboot_partitions() 148 numslots = swab32(buf[i].size) / sizeof (struct fis_image_desc); in parse_redboot_partitions()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | align.c | 236 data.w[0] = swab32(data.w[0]); in emulate_spe() 237 data.w[1] = swab32(data.w[1]); in emulate_spe() 312 instr = swab32(instr); in fix_alignment()
|
/Linux-v5.4/drivers/infiniband/hw/mthca/ |
D | mthca_catas.c | 101 switch (swab32(readl(dev->catas_err.map)) >> 24) { in handle_catas() 122 i, swab32(readl(dev->catas_err.map + i))); in handle_catas()
|
/Linux-v5.4/include/linux/ |
D | swab.h | 8 # define swab32 __swab32 macro
|
/Linux-v5.4/drivers/spi/ |
D | spi-mt7621.c | 213 val = swab32(val); in mt7621_spi_write_half_duplex() 229 val = swab32(val); in mt7621_spi_write_half_duplex() 238 val = swab32(val); in mt7621_spi_write_half_duplex()
|
D | spi-sh-msiof.c | 467 sh_msiof_write(p, TFDR, swab32(buf_32[k] << fs)); in sh_msiof_spi_write_fifo_s32() 477 sh_msiof_write(p, TFDR, swab32(get_unaligned(&buf_32[k]) << fs)); in sh_msiof_spi_write_fifo_s32u() 537 buf_32[k] = swab32(sh_msiof_read(p, RFDR) >> fs); in sh_msiof_spi_read_fifo_s32() 547 put_unaligned(swab32(sh_msiof_read(p, RFDR) >> fs), &buf_32[k]); in sh_msiof_spi_read_fifo_s32u() 868 *dst++ = swab32(get_unaligned(src)); in copy_bswap32() 873 put_unaligned(swab32(*src++), dst); in copy_bswap32() 878 *dst++ = swab32(*src++); in copy_bswap32()
|
/Linux-v5.4/drivers/soc/ixp4xx/ |
D | ixp4xx-npe.c | 544 if (image->magic == swab32(FW_MAGIC)) { /* swapped file */ in npe_load_firmware() 545 image->id = swab32(image->id); in npe_load_firmware() 546 image->size = swab32(image->size); in npe_load_firmware() 561 if (image->magic == swab32(FW_MAGIC)) in npe_load_firmware() 563 image->data[i] = swab32(image->data[i]); in npe_load_firmware()
|
/Linux-v5.4/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf_irq.c | 98 *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); in pdacf_transfer_mono32sw() 118 *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); in pdacf_transfer_stereo32sw() 119 *dst++ = swab32((((u32)val3 << 16) | (val2 & 0xff00)) ^ xor); in pdacf_transfer_stereo32sw()
|