swab32 88 arch/arm/include/asm/opcodes.h #define ___opcode_swab32(x) swab32(x) swab32 103 arch/arm/vdso/vdsomunge.c return swap ? swab32(word) : word; swab32 113 arch/arm/vdso/vdsomunge.c *dst = swap ? swab32(val) : val; swab32 72 arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c data = swab32(data); swab32 79 arch/arm64/kvm/hyp/vgic-v2-cpuif-proxy.c data = swab32(data); swab32 173 arch/mips/boot/elf2ecoff.c e->e_version = swab32(e->e_version); swab32 174 arch/mips/boot/elf2ecoff.c e->e_entry = swab32(e->e_entry); swab32 175 arch/mips/boot/elf2ecoff.c e->e_phoff = swab32(e->e_phoff); swab32 176 arch/mips/boot/elf2ecoff.c e->e_shoff = swab32(e->e_shoff); swab32 177 arch/mips/boot/elf2ecoff.c e->e_flags = swab32(e->e_flags); swab32 191 arch/mips/boot/elf2ecoff.c p->p_type = swab32(p->p_type); swab32 192 arch/mips/boot/elf2ecoff.c p->p_offset = swab32(p->p_offset); swab32 193 arch/mips/boot/elf2ecoff.c p->p_vaddr = swab32(p->p_vaddr); swab32 194 arch/mips/boot/elf2ecoff.c p->p_paddr = swab32(p->p_paddr); swab32 195 arch/mips/boot/elf2ecoff.c p->p_filesz = swab32(p->p_filesz); swab32 196 arch/mips/boot/elf2ecoff.c p->p_memsz = swab32(p->p_memsz); swab32 197 arch/mips/boot/elf2ecoff.c p->p_flags = swab32(p->p_flags); swab32 198 arch/mips/boot/elf2ecoff.c p->p_align = swab32(p->p_align); swab32 208 arch/mips/boot/elf2ecoff.c s->sh_name = swab32(s->sh_name); swab32 209 arch/mips/boot/elf2ecoff.c s->sh_type = swab32(s->sh_type); swab32 210 arch/mips/boot/elf2ecoff.c s->sh_flags = swab32(s->sh_flags); swab32 211 arch/mips/boot/elf2ecoff.c s->sh_addr = swab32(s->sh_addr); swab32 212 arch/mips/boot/elf2ecoff.c s->sh_offset = swab32(s->sh_offset); swab32 213 arch/mips/boot/elf2ecoff.c s->sh_size = swab32(s->sh_size); swab32 214 arch/mips/boot/elf2ecoff.c s->sh_link = swab32(s->sh_link); swab32 215 arch/mips/boot/elf2ecoff.c s->sh_info = swab32(s->sh_info); swab32 216 arch/mips/boot/elf2ecoff.c s->sh_addralign = swab32(s->sh_addralign); swab32 217 arch/mips/boot/elf2ecoff.c s->sh_entsize = swab32(s->sh_entsize); swab32 225 arch/mips/boot/elf2ecoff.c f->f_timdat = swab32(f->f_timdat); swab32 226 arch/mips/boot/elf2ecoff.c f->f_symptr = swab32(f->f_symptr); swab32 227 arch/mips/boot/elf2ecoff.c f->f_nsyms = swab32(f->f_nsyms); swab32 236 arch/mips/boot/elf2ecoff.c a->tsize = swab32(a->tsize); swab32 237 arch/mips/boot/elf2ecoff.c a->dsize = swab32(a->dsize); swab32 238 arch/mips/boot/elf2ecoff.c a->bsize = swab32(a->bsize); swab32 239 arch/mips/boot/elf2ecoff.c a->entry = swab32(a->entry); swab32 240 arch/mips/boot/elf2ecoff.c a->text_start = swab32(a->text_start); swab32 241 arch/mips/boot/elf2ecoff.c a->data_start = swab32(a->data_start); swab32 242 arch/mips/boot/elf2ecoff.c a->bss_start = swab32(a->bss_start); swab32 243 arch/mips/boot/elf2ecoff.c a->gprmask = swab32(a->gprmask); swab32 244 arch/mips/boot/elf2ecoff.c a->cprmask[0] = swab32(a->cprmask[0]); swab32 245 arch/mips/boot/elf2ecoff.c a->cprmask[1] = swab32(a->cprmask[1]); swab32 246 arch/mips/boot/elf2ecoff.c a->cprmask[2] = swab32(a->cprmask[2]); swab32 247 arch/mips/boot/elf2ecoff.c a->cprmask[3] = swab32(a->cprmask[3]); swab32 248 arch/mips/boot/elf2ecoff.c a->gp_value = swab32(a->gp_value); swab32 256 arch/mips/boot/elf2ecoff.c s->s_paddr = swab32(s->s_paddr); swab32 257 arch/mips/boot/elf2ecoff.c s->s_vaddr = swab32(s->s_vaddr); swab32 258 arch/mips/boot/elf2ecoff.c s->s_size = swab32(s->s_size); swab32 259 arch/mips/boot/elf2ecoff.c s->s_scnptr = swab32(s->s_scnptr); swab32 260 arch/mips/boot/elf2ecoff.c s->s_relptr = swab32(s->s_relptr); swab32 261 arch/mips/boot/elf2ecoff.c s->s_lnnoptr = swab32(s->s_lnnoptr); swab32 264 arch/mips/boot/elf2ecoff.c s->s_flags = swab32(s->s_flags); swab32 47 arch/mips/pci/ops-lantiq.c ltq_w32(swab32(*data), ((u32 *)cfg_base)); swab32 50 arch/mips/pci/ops-lantiq.c *data = swab32(*data); swab32 58 arch/mips/pci/ops-lantiq.c temp = swab32(temp); swab32 32 arch/powerpc/boot/of.h #define cpu_to_be32(x) swab32(x) swab32 33 arch/powerpc/boot/of.h #define be32_to_cpu(x) swab32(x) swab32 18 arch/powerpc/boot/xz_config.h return swab32(*q); swab32 23 arch/powerpc/boot/xz_config.h #define cpu_to_be32(x) swab32(x) swab32 343 arch/powerpc/include/asm/kvm_ppc.h swab32(vcpu->arch.last_inst) : swab32 236 arch/powerpc/kernel/align.c data.w[0] = swab32(data.w[0]); swab32 237 arch/powerpc/kernel/align.c data.w[1] = swab32(data.w[1]); swab32 312 arch/powerpc/kernel/align.c instr = swab32(instr); swab32 252 arch/powerpc/kvm/book3s_emulate.c (inst == swab32(inst_sc))) { swab32 1384 arch/powerpc/kvm/book3s_hv.c swab32(vcpu->arch.emul_inst) : swab32 65 arch/powerpc/kvm/book3s_hv_nested.c hr->lpid = swab32(hr->lpid); swab32 66 arch/powerpc/kvm/book3s_hv_nested.c hr->vcpu_token = swab32(hr->vcpu_token); swab32 153 arch/powerpc/kvm/powerpc.c shared->dsisr = swab32(shared->dsisr); swab32 154 arch/powerpc/kvm/powerpc.c shared->int_pending = swab32(shared->int_pending); swab32 156 arch/powerpc/kvm/powerpc.c shared->sr[i] = swab32(shared->sr[i]); swab32 1130 arch/powerpc/kvm/powerpc.c case 4: gpr = swab32(*(u32 *)run->mmio.data); break; swab32 1349 arch/powerpc/kvm/powerpc.c case 4: *(u32 *)data = swab32(val); break; swab32 148 arch/sparc/kernel/leon_pci_grpci1.c *val = swab32(tmp); swab32 201 arch/sparc/kernel/leon_pci_grpci1.c LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); swab32 274 arch/sparc/kernel/leon_pci_grpci2.c *val = swab32(tmp); swab32 332 arch/sparc/kernel/leon_pci_grpci2.c LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); swab32 749 arch/sparc/kernel/pcic.c pend = swab32(pend); swab32 225 arch/sparc/kernel/unaligned_64.c src_val = swab32(src_val); swab32 365 arch/sparc/kernel/unaligned_64.c val_in = swab32(val_in); swab32 47 arch/x86/include/asm/numachip/numachip_csr.h return swab32(readl(lcsr_address(offset))); swab32 52 arch/x86/include/asm/numachip/numachip_csr.h writel(swab32(val), lcsr_address(offset)); swab32 3681 arch/x86/kvm/emulate.c ctxt->dst.val = swab32((u32)ctxt->src.val); swab32 596 crypto/serpent_generic.c rs[0] = swab32(s[3]); swab32 597 crypto/serpent_generic.c rs[1] = swab32(s[2]); swab32 598 crypto/serpent_generic.c rs[2] = swab32(s[1]); swab32 599 crypto/serpent_generic.c rs[3] = swab32(s[0]); swab32 603 crypto/serpent_generic.c d[0] = swab32(rd[3]); swab32 604 crypto/serpent_generic.c d[1] = swab32(rd[2]); swab32 605 crypto/serpent_generic.c d[2] = swab32(rd[1]); swab32 606 crypto/serpent_generic.c d[3] = swab32(rd[0]); swab32 616 crypto/serpent_generic.c rs[0] = swab32(s[3]); swab32 617 crypto/serpent_generic.c rs[1] = swab32(s[2]); swab32 618 crypto/serpent_generic.c rs[2] = swab32(s[1]); swab32 619 crypto/serpent_generic.c rs[3] = swab32(s[0]); swab32 623 crypto/serpent_generic.c d[0] = swab32(rd[3]); swab32 624 crypto/serpent_generic.c d[1] = swab32(rd[2]); swab32 625 crypto/serpent_generic.c d[2] = swab32(rd[1]); swab32 626 crypto/serpent_generic.c d[3] = swab32(rd[0]); swab32 593 drivers/atm/fore200e.c #define swap_here(addr) (*((u32*)(addr)) = swab32( *((u32*)(addr)) )) swab32 61 drivers/block/rsxx/config.c data[i] = swab32(data[i]); swab32 68 drivers/crypto/padlock-sha.c *dst++ = swab32(*src++); swab32 2753 drivers/firewire/ohci.c ctx_hdr[0] = swab32(dma_hdr[1]); /* iso packet header */ swab32 2755 drivers/firewire/ohci.c ctx_hdr[1] = swab32(dma_hdr[0]); /* timestamp */ swab32 67 drivers/i2c/busses/i2c-designware-common.c return swab32(value); swab32 75 drivers/i2c/busses/i2c-designware-common.c b = swab32(b); swab32 104 drivers/i2c/busses/i2c-designware-common.c if (reg == swab32(DW_IC_COMP_TYPE_VALUE)) { swab32 954 drivers/infiniband/hw/mlx4/qp.c qp->doorbell_qpn = swab32(qp->mqp.qpn << 8); swab32 1238 drivers/infiniband/hw/mlx4/qp.c qp->doorbell_qpn = swab32(qp->mqp.qpn << 8); swab32 101 drivers/infiniband/hw/mthca/mthca_catas.c switch (swab32(readl(dev->catas_err.map)) >> 24) { swab32 122 drivers/infiniband/hw/mthca/mthca_catas.c i, swab32(readl(dev->catas_err.map + i))); swab32 195 drivers/infiniband/hw/mthca/mthca_cmd.c swab32(1 << HCR_GO_BIT); swab32 1264 drivers/infiniband/hw/mthca/mthca_cmd.c swab32(*(u32 *) (vsd + VSD_OFFSET_MLX_BOARD_ID + i * 4)); swab32 554 drivers/infiniband/hw/mthca/mthca_eq.c eq->eqn_mask = swab32(1 << eq->eqn); swab32 788 drivers/infiniband/hw/mthca/mthca_eq.c swab32(1 << (dev->eq_table.inta_pin & 31)); swab32 56 drivers/infiniband/hw/mthca/mthca_reset.c #define MTHCA_RESET_VALUE swab32(1) swab32 2604 drivers/media/pci/ddbridge/ddbridge-core.c data = swab32(*(u32 *)wbuf); swab32 2644 drivers/media/pci/ddbridge/ddbridge-core.c *(u32 *)rbuf = swab32(data); swab32 123 drivers/media/pci/ngene/ngene-dvb.c *p = swab32(*p); swab32 156 drivers/media/pci/ttpci/av7110_hw.c iwdebi(av7110, DEBISWAB, AV7110_BOOT_BASE, swab32(base), 4); swab32 174 drivers/media/pci/ttpci/av7110_hw.c iwdebi(av7110, DEBISWAB, AV7110_BOOT_BASE, swab32(base), 4); swab32 142 drivers/media/platform/coda/coda-jpeg.c dst[i + 1] = swab32(src[i]); swab32 143 drivers/media/platform/coda/coda-jpeg.c dst[i] = swab32(src[i + 1]); swab32 1606 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ((u32 *)fw_ptr)[icnt] = swab32(((u32 *)fw_ptr)[icnt]); swab32 920 drivers/mmc/host/atmel-mci.c host->buffer[i] = swab32(host->buffer[i]); swab32 1072 drivers/mmc/host/atmel-mci.c host->buffer[i] = swab32(host->buffer[i]); swab32 279 drivers/mmc/host/mxcmmc.c *buf = swab32(*buf); swab32 235 drivers/mtd/nand/raw/vf610_nfc.c u32 val = swab32(__raw_readl(src + i)); swab32 273 drivers/mtd/nand/raw/vf610_nfc.c __raw_writel(swab32(val), dst + i); swab32 143 drivers/mtd/parsers/redboot.c if (swab32(buf[i].size) == master->erasesize || swab32 145 drivers/mtd/parsers/redboot.c && swab32(buf[i].size) < master->erasesize)) { swab32 148 drivers/mtd/parsers/redboot.c numslots = swab32(buf[i].size) / sizeof (struct fis_image_desc); swab32 222 drivers/net/dsa/microchip/ksz_common.h value[0] = swab32(value[0]); swab32 223 drivers/net/dsa/microchip/ksz_common.h value[1] = swab32(value[1]); swab32 251 drivers/net/dsa/microchip/ksz_common.h val[0] = swab32(value & 0xffffffffULL); swab32 252 drivers/net/dsa/microchip/ksz_common.h val[1] = swab32(value >> 32ULL); swab32 170 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c *p_value = swab32((data << 16) | (*p_value >> 16)); swab32 86 drivers/net/ethernet/atheros/atl1e/atl1e_hw.c *(u32 *) ð_addr[2] = swab32(addr[0]); swab32 456 drivers/net/ethernet/atheros/atlx/atl1.c *(u32 *) ð_addr[2] = swab32(addr[0]); swab32 489 drivers/net/ethernet/atheros/atlx/atl1.c *(u32 *) ð_addr[2] = swab32(addr[0]); swab32 504 drivers/net/ethernet/atheros/atlx/atl1.c *(u32 *) ð_addr[2] = swab32(addr[0]); swab32 3320 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c #define bswab32(b32) ((__force __le32) swab32((__force __u32) (b32))) swab32 3229 drivers/net/ethernet/broadcom/tg3.c *val = swab32(tmp); swab32 3353 drivers/net/ethernet/broadcom/tg3.c tw32(GRC_EEPROM_DATA, swab32(be32_to_cpu(data))); swab32 1162 drivers/net/ethernet/brocade/bna/bfa_ioc.c if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { swab32 1296 drivers/net/ethernet/brocade/bna/bfa_ioc.c swab32(readl(loff + ioc->ioc_regs.smem_page_start)); swab32 1651 drivers/net/ethernet/brocade/bna/bfa_ioc.c *((u32 *)(buf + i)) = swab32(w); swab32 1811 drivers/net/ethernet/brocade/bna/bfa_ioc.c if (swab32(fwhdr.bootenv) != boot_env) swab32 2046 drivers/net/ethernet/brocade/bna/bfa_ioc.c writel(swab32(fwimg[BFA_IOC_FLASH_OFFSET_IN_CHUNK(i)]), swab32 2210 drivers/net/ethernet/brocade/bna/bfa_ioc.c r32 = swab32(readl(loff + ioc->ioc_regs.smem_page_start)); swab32 887 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c addr = swab32(addr) | SF_RD_DATA_FAST; swab32 923 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c val = swab32(addr) | SF_PROG_PAGE; swab32 3051 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c addr = swab32(addr) | SF_RD_DATA_FAST; swab32 3089 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c val = swab32(addr) | SF_PROG_PAGE; swab32 65 drivers/net/ethernet/i825xx/sun3_82586.c #define make24(ptr32) (char *)swab32(( ((unsigned long) (ptr32)) - p->base)) swab32 786 drivers/net/ethernet/i825xx/sun3_82586.c skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); swab32 106 drivers/net/ethernet/mellanox/mlx4/catas.c comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + swab32 135 drivers/net/ethernet/mellanox/mlx4/catas.c comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + swab32 229 drivers/net/ethernet/mellanox/mlx4/catas.c i, swab32(readl(priv->catas_err.map + i))); swab32 239 drivers/net/ethernet/mellanox/mlx4/catas.c slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); swab32 260 drivers/net/ethernet/mellanox/mlx4/cmd.c return (swab32(status) >> 31) != priv->cmd.comm_toggle; swab32 427 drivers/net/ethernet/mellanox/mlx4/cmd.c return (status & swab32(1 << HCR_GO_BIT)) || swab32 429 drivers/net/ethernet/mellanox/mlx4/cmd.c !!(status & swab32(1 << HCR_T_BIT))); swab32 2261 drivers/net/ethernet/mellanox/mlx4/cmd.c comm_cmd = swab32(readl( swab32 2263 drivers/net/ethernet/mellanox/mlx4/cmd.c slt = swab32(readl(&mfunc->comm[slave].slave_read)) swab32 2298 drivers/net/ethernet/mellanox/mlx4/cmd.c wr_toggle = swab32(readl(&priv->mfunc.comm->slave_write)); swab32 2305 drivers/net/ethernet/mellanox/mlx4/cmd.c rd_toggle = swab32(readl(&priv->mfunc.comm->slave_read)); swab32 2320 drivers/net/ethernet/mellanox/mlx4/cmd.c wr_toggle = swab32(readl(&priv->mfunc.comm-> swab32 2566 drivers/net/ethernet/mellanox/mlx4/cmd.c slave_read = swab32(readl(&priv->mfunc.comm[slave].slave_read)); swab32 37 drivers/net/ethernet/mellanox/mlx4/crdump.c #define CR_ENABLE_BIT swab32(BIT(6)) swab32 60 drivers/net/ethernet/mellanox/mlx4/crdump.c writel(swab32(1), cr_space + dev->caps.health_buffer_addrs + swab32 1208 drivers/net/ethernet/mellanox/mlx4/eq.c swab32(1 << (priv->eq_table.inta_pin & 31)); swab32 1794 drivers/net/ethernet/mellanox/mlx4/fw.c val = swab32(val); swab32 229 drivers/net/ethernet/mellanox/mlx4/intf.c swab32(readl(&mlx4_priv(dev)->mfunc.comm->slave_read)); swab32 1914 drivers/net/ethernet/mellanox/mlx4/main.c clockhi = swab32(readl(priv->clock_mapping)); swab32 1915 drivers/net/ethernet/mellanox/mlx4/main.c clocklo = swab32(readl(priv->clock_mapping + 4)); swab32 1916 drivers/net/ethernet/mellanox/mlx4/main.c clockhi1 = swab32(readl(priv->clock_mapping)); swab32 2001 drivers/net/ethernet/mellanox/mlx4/main.c comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + swab32 2034 drivers/net/ethernet/mellanox/mlx4/main.c comm_caps = swab32(readl((__iomem char *)priv->mfunc.comm + swab32 2079 drivers/net/ethernet/mellanox/mlx4/main.c slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); swab32 59 drivers/net/ethernet/mellanox/mlx4/reset.c #define MLX4_RESET_VALUE swab32(1) swab32 652 drivers/net/ethernet/myricom/myri10ge/myri10ge.c hdr_offset = swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)); swab32 1881 drivers/net/ethernet/myricom/myri10ge/myri10ge.c hdr_off = swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)); swab32 1887 drivers/net/ethernet/myricom/myri10ge/myri10ge.c hdr_len = swab32(readl(mgp->sram + hdr_off + swab32 1895 drivers/net/ethernet/myricom/myri10ge/myri10ge.c pattern = swab32(readl(mgp->sram + pattern_off + 4)); swab32 1896 drivers/net/ethernet/myricom/myri10ge/myri10ge.c writel(swab32(pattern), mgp->sram + pattern_off); swab32 3844 drivers/net/ethernet/myricom/myri10ge/myri10ge.c swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)) & 0xffffc; swab32 3846 drivers/net/ethernet/myricom/myri10ge/myri10ge.c mgp->sram_size = swab32(readl(mgp->sram + ss_offset)); swab32 2409 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h *tmp = swab32(*tmp); swab32 2001 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c temp_ip = swab32(ntohl(ip)); swab32 4335 drivers/net/ethernet/realtek/r8169_main.c mc_filter[0] = swab32(mc_filter[1]); swab32 4336 drivers/net/ethernet/realtek/r8169_main.c mc_filter[1] = swab32(tmp); swab32 464 drivers/net/ethernet/renesas/sh_eth.c *p = swab32(*p); swab32 247 drivers/net/ethernet/smsc/smsc911x.c swab32(*buf++)); swab32 279 drivers/net/ethernet/smsc/smsc911x.c swab32(*buf++)); swab32 312 drivers/net/ethernet/smsc/smsc911x.c *buf++ = swab32(__smsc911x_reg_read(pdata, swab32 344 drivers/net/ethernet/smsc/smsc911x.c *buf++ = swab32(__smsc911x_reg_read_shift(pdata, swab32 90 drivers/net/ethernet/tehuti/tehuti.h # define CPU_CHIP_SWAP32(x) swab32(x) swab32 244 drivers/net/ethernet/xscale/ixp4xx_eth.c dest[i] = swab32(src[i]); swab32 2379 drivers/net/usb/r8152.c tmp[0] = __cpu_to_le32(swab32(mc_filter[1])); swab32 2380 drivers/net/usb/r8152.c tmp[1] = __cpu_to_le32(swab32(mc_filter[0])); swab32 349 drivers/net/wan/ixp4xx_hss.c dest[i] = swab32(src[i]); swab32 35 drivers/net/wireless/ath/ath9k/eeprom.h (field = (__force __le32)swab32((__force u32)field)) swab32 472 drivers/net/wireless/broadcom/b43/main.c val = swab32(val); swab32 250 drivers/net/wireless/broadcom/b43legacy/main.c val = swab32(val); swab32 154 drivers/pci/hotplug/ibmphp_hpc.c wpg_data = swab32(data); // swap data before writing swab32 161 drivers/pci/hotplug/ibmphp_hpc.c wpg_data = swab32(data); swab32 169 drivers/pci/hotplug/ibmphp_hpc.c wpg_data = swab32(data); swab32 180 drivers/pci/hotplug/ibmphp_hpc.c data = swab32(wpg_data); swab32 196 drivers/pci/hotplug/ibmphp_hpc.c data = swab32(wpg_data); swab32 210 drivers/pci/hotplug/ibmphp_hpc.c data = swab32(wpg_data); swab32 265 drivers/pci/hotplug/ibmphp_hpc.c wpg_data = swab32(data); // swap data before writing swab32 272 drivers/pci/hotplug/ibmphp_hpc.c wpg_data = swab32(data); swab32 280 drivers/pci/hotplug/ibmphp_hpc.c wpg_data = swab32(data); swab32 291 drivers/pci/hotplug/ibmphp_hpc.c data = swab32(wpg_data); swab32 308 drivers/pci/hotplug/ibmphp_hpc.c data = swab32(wpg_data); swab32 725 drivers/scsi/bfa/bfa_ioc.c if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { swab32 743 drivers/scsi/bfa/bfa_ioc.c bfa_trc(iocpf->ioc, swab32(fwhdr.exec)); swab32 1510 drivers/scsi/bfa/bfa_ioc.c if (swab32(fwhdr.bootenv) != boot_env) { swab32 1951 drivers/scsi/bfa/bfa_ioc.c swab32(asicmode)); swab32 1953 drivers/scsi/bfa/bfa_ioc.c swab32(boot_type)); swab32 1955 drivers/scsi/bfa/bfa_ioc.c swab32(boot_env)); swab32 2072 drivers/scsi/bfa/bfa_ioc.c buf[i] = swab32(r32); swab32 4784 drivers/scsi/bfa/bfa_ioc.c res->status = swab32(res->status); swab32 4791 drivers/scsi/bfa/bfa_ioc.c res->addr = swab32(res->addr); swab32 4792 drivers/scsi/bfa/bfa_ioc.c res->exp = swab32(res->exp); swab32 4793 drivers/scsi/bfa/bfa_ioc.c res->act = swab32(res->act); swab32 4794 drivers/scsi/bfa/bfa_ioc.c res->err_status = swab32(res->err_status); swab32 4795 drivers/scsi/bfa/bfa_ioc.c res->err_status1 = swab32(res->err_status1); swab32 4796 drivers/scsi/bfa/bfa_ioc.c res->err_addr = swab32(res->err_addr); swab32 6941 drivers/scsi/bfa/bfa_ioc.c *((u32 *) (buf + i)) = swab32(w); swab32 62 drivers/scsi/bfa/bfa_ioc.h ((u32 *)(__sge))[0] = swab32(((u32 *)(__sge))[0]); \ swab32 63 drivers/scsi/bfa/bfa_ioc.h ((u32 *)(__sge))[1] = swab32(((u32 *)(__sge))[1]); \ swab32 64 drivers/scsi/bfa/bfa_ioc.h ((u32 *)(__sge))[2] = swab32(((u32 *)(__sge))[2]); \ swab32 222 drivers/scsi/bfa/bfa_ioc.h #define bfa_mem_read(_raddr, _off) swab32(readl(((_raddr) + (_off)))) swab32 224 drivers/scsi/bfa/bfa_ioc.h writel(swab32((_val)), ((_raddr) + (_off))) swab32 494 drivers/scsi/csiostor/csio_hw.c addr = swab32(addr) | SF_RD_DATA_FAST; swab32 537 drivers/scsi/csiostor/csio_hw.c val = swab32(addr) | SF_PROG_PAGE; swab32 473 drivers/scsi/isci/isci.h dest[word_cnt] = swab32(src[word_cnt]); swab32 181 drivers/scsi/qla2xxx/qla_dbg.c chunk[j] : swab32(chunk[j]); swab32 257 drivers/scsi/qla2xxx/qla_dbg.c chunk[j] : swab32(chunk[j]); swab32 7679 drivers/scsi/qla2xxx/qla_init.c dcode[i] = swab32(dcode[i]); swab32 7936 drivers/scsi/qla2xxx/qla_init.c dcode[i] = swab32(fwcode[i]); swab32 77 drivers/scsi/qla2xxx/qla_inline.h *ofcp++ = swab32(*ifcp++); swab32 1914 drivers/scsi/qla2xxx/qla_isr.c *outbuf++ = swab32(*inbuf++); swab32 544 drivers/soc/ixp4xx/ixp4xx-npe.c if (image->magic == swab32(FW_MAGIC)) { /* swapped file */ swab32 545 drivers/soc/ixp4xx/ixp4xx-npe.c image->id = swab32(image->id); swab32 546 drivers/soc/ixp4xx/ixp4xx-npe.c image->size = swab32(image->size); swab32 561 drivers/soc/ixp4xx/ixp4xx-npe.c if (image->magic == swab32(FW_MAGIC)) swab32 563 drivers/soc/ixp4xx/ixp4xx-npe.c image->data[i] = swab32(image->data[i]); swab32 213 drivers/spi/spi-mt7621.c val = swab32(val); swab32 229 drivers/spi/spi-mt7621.c val = swab32(val); swab32 238 drivers/spi/spi-mt7621.c val = swab32(val); swab32 467 drivers/spi/spi-sh-msiof.c sh_msiof_write(p, TFDR, swab32(buf_32[k] << fs)); swab32 477 drivers/spi/spi-sh-msiof.c sh_msiof_write(p, TFDR, swab32(get_unaligned(&buf_32[k]) << fs)); swab32 537 drivers/spi/spi-sh-msiof.c buf_32[k] = swab32(sh_msiof_read(p, RFDR) >> fs); swab32 547 drivers/spi/spi-sh-msiof.c put_unaligned(swab32(sh_msiof_read(p, RFDR) >> fs), &buf_32[k]); swab32 868 drivers/spi/spi-sh-msiof.c *dst++ = swab32(get_unaligned(src)); swab32 873 drivers/spi/spi-sh-msiof.c put_unaligned(swab32(*src++), dst); swab32 878 drivers/spi/spi-sh-msiof.c *dst++ = swab32(*src++); swab32 213 drivers/staging/media/hantro/hantro_h264.c *dst++ = swab32(src[j]); swab32 220 drivers/staging/media/hantro/hantro_h264.c *dst++ = swab32(src[j]); swab32 1210 drivers/usb/dwc2/core.h return swab32(val); swab32 1218 drivers/usb/dwc2/core.h writel(swab32(value), hsotg->regs + offset); swab32 764 include/asm-generic/io.h return swab32(readl(addr)); swab32 790 include/asm-generic/io.h writel(swab32(value), addr); swab32 33 include/linux/bitrev.h #define __bitrev8x4(x) (__bitrev32(swab32(x))) swab32 64 lib/iomap.c #define pio_read32be(port) swab32(inl(port)) swab32 69 lib/iomap.c #define mmio_read32be(addr) swab32(readl(addr)) swab32 180 lib/iomap.c #define pio_write32be(val,port) outl(swab32(val),port) swab32 185 lib/iomap.c #define mmio_write32be(val,port) writel(swab32(val),port) swab32 2942 mm/swapfile.c if (swab32(swap_header->info.version) == 1) { swab32 600 net/mac802154/llsec.c __be32 frame_counter = (__force __be32) swab32((__force u32) sec->frame_counter); swab32 96 net/tipc/subscr.h (swap_ ? swab32(val__) : val__); \ swab32 106 net/tipc/subscr.h (evt__)->field_ = swap_ ? swab32(val__) : val__; \ swab32 50 sound/core/oss/linear.c tmp = swab32(tmp); swab32 98 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); swab32 118 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); swab32 119 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c *dst++ = swab32((((u32)val3 << 16) | (val2 & 0xff00)) ^ xor);