Searched refs:swab32 (Results 1 - 91 of 91) sorted by relevance

/linux-4.1.27/arch/score/include/asm/
H A Dbitops.h4 #include <asm/byteorder.h> /* swab32 */
/linux-4.1.27/arch/mips/boot/
H A Delf2ecoff.c160 #define swab32(x) \ macro
171 e->e_version = swab32(e->e_version); convert_elf_hdr()
172 e->e_entry = swab32(e->e_entry); convert_elf_hdr()
173 e->e_phoff = swab32(e->e_phoff); convert_elf_hdr()
174 e->e_shoff = swab32(e->e_shoff); convert_elf_hdr()
175 e->e_flags = swab32(e->e_flags); convert_elf_hdr()
189 p->p_type = swab32(p->p_type); convert_elf_phdrs()
190 p->p_offset = swab32(p->p_offset); convert_elf_phdrs()
191 p->p_vaddr = swab32(p->p_vaddr); convert_elf_phdrs()
192 p->p_paddr = swab32(p->p_paddr); convert_elf_phdrs()
193 p->p_filesz = swab32(p->p_filesz); convert_elf_phdrs()
194 p->p_memsz = swab32(p->p_memsz); convert_elf_phdrs()
195 p->p_flags = swab32(p->p_flags); convert_elf_phdrs()
196 p->p_align = swab32(p->p_align); convert_elf_phdrs()
206 s->sh_name = swab32(s->sh_name); convert_elf_shdrs()
207 s->sh_type = swab32(s->sh_type); convert_elf_shdrs()
208 s->sh_flags = swab32(s->sh_flags); convert_elf_shdrs()
209 s->sh_addr = swab32(s->sh_addr); convert_elf_shdrs()
210 s->sh_offset = swab32(s->sh_offset); convert_elf_shdrs()
211 s->sh_size = swab32(s->sh_size); convert_elf_shdrs()
212 s->sh_link = swab32(s->sh_link); convert_elf_shdrs()
213 s->sh_info = swab32(s->sh_info); convert_elf_shdrs()
214 s->sh_addralign = swab32(s->sh_addralign); convert_elf_shdrs()
215 s->sh_entsize = swab32(s->sh_entsize); convert_elf_shdrs()
223 f->f_timdat = swab32(f->f_timdat); convert_ecoff_filehdr()
224 f->f_symptr = swab32(f->f_symptr); convert_ecoff_filehdr()
225 f->f_nsyms = swab32(f->f_nsyms); convert_ecoff_filehdr()
234 a->tsize = swab32(a->tsize); convert_ecoff_aouthdr()
235 a->dsize = swab32(a->dsize); convert_ecoff_aouthdr()
236 a->bsize = swab32(a->bsize); convert_ecoff_aouthdr()
237 a->entry = swab32(a->entry); convert_ecoff_aouthdr()
238 a->text_start = swab32(a->text_start); convert_ecoff_aouthdr()
239 a->data_start = swab32(a->data_start); convert_ecoff_aouthdr()
240 a->bss_start = swab32(a->bss_start); convert_ecoff_aouthdr()
241 a->gprmask = swab32(a->gprmask); convert_ecoff_aouthdr()
242 a->cprmask[0] = swab32(a->cprmask[0]); convert_ecoff_aouthdr()
243 a->cprmask[1] = swab32(a->cprmask[1]); convert_ecoff_aouthdr()
244 a->cprmask[2] = swab32(a->cprmask[2]); convert_ecoff_aouthdr()
245 a->cprmask[3] = swab32(a->cprmask[3]); convert_ecoff_aouthdr()
246 a->gp_value = swab32(a->gp_value); convert_ecoff_aouthdr()
254 s->s_paddr = swab32(s->s_paddr); convert_ecoff_esecs()
255 s->s_vaddr = swab32(s->s_vaddr); convert_ecoff_esecs()
256 s->s_size = swab32(s->s_size); convert_ecoff_esecs()
257 s->s_scnptr = swab32(s->s_scnptr); convert_ecoff_esecs()
258 s->s_relptr = swab32(s->s_relptr); convert_ecoff_esecs()
259 s->s_lnnoptr = swab32(s->s_lnnoptr); convert_ecoff_esecs()
262 s->s_flags = swab32(s->s_flags); convert_ecoff_esecs()
/linux-4.1.27/arch/avr32/mach-at32ap/include/mach/
H A Dio.h15 # define __mem_ioswabl(a, x) swab32(x)
32 # define ioswabl(a, x) swab32(x)
/linux-4.1.27/include/linux/
H A Dswab.h7 # define swab32 __swab32 macro
/linux-4.1.27/arch/powerpc/boot/
H A Dswab.h10 static inline u32 swab32(u32 x) swab32() function
H A Dof.h29 #define cpu_to_be32(x) swab32(x)
30 #define be32_to_cpu(x) swab32(x)
/linux-4.1.27/arch/mips/pci/
H A Dops-lantiq.c49 ltq_w32(swab32(*data), ((u32 *)cfg_base)); ltq_pci_config_access()
52 *data = swab32(*data); ltq_pci_config_access()
60 temp = swab32(temp); ltq_pci_config_access()
/linux-4.1.27/arch/x86/include/asm/numachip/
H A Dnumachip_csr.h59 return swab32(readl(gcsr_address(node, offset))); read_gcsr()
64 writel(swab32(val), gcsr_address(node, offset)); write_gcsr()
69 return swab32(readl(lcsr_address(offset))); read_lcsr()
74 writel(swab32(val), lcsr_address(offset)); write_lcsr()
/linux-4.1.27/drivers/mtd/
H A Dredboot.c122 * swab32(erasesize) then we know we are looking at parse_redboot_partitions()
134 if (swab32(buf[i].size) == master->erasesize || parse_redboot_partitions()
136 && swab32(buf[i].size) < master->erasesize)) { parse_redboot_partitions()
139 numslots = swab32(buf[i].size) / sizeof (struct fis_image_desc); parse_redboot_partitions()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dcatas.c106 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + mlx4_reset_slave()
139 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + mlx4_reset_slave()
224 i, swab32(readl(priv->catas_err.map + i))); dump_err_buf()
234 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); poll_catas()
H A Dreset.c59 #define MLX4_RESET_VALUE swab32(1) mlx4_reset()
H A Dcmd.c258 return (swab32(status) >> 31) != priv->cmd.comm_toggle; comm_pending()
426 return (status & swab32(1 << HCR_GO_BIT)) || cmd_pending()
428 !!(status & swab32(1 << HCR_T_BIT))); cmd_pending()
2218 comm_cmd = swab32(readl( mlx4_master_comm_channel()
2220 slt = swab32(readl(&mfunc->comm[slave].slave_read)) mlx4_master_comm_channel()
2255 wr_toggle = swab32(readl(&priv->mfunc.comm->slave_write)); sync_toggles()
2262 rd_toggle = swab32(readl(&priv->mfunc.comm->slave_read)); sync_toggles()
2266 wr_toggle = swab32(readl(&priv->mfunc.comm-> sync_toggles()
2498 slave_read = swab32(readl(&priv->mfunc.comm[slave].slave_read)); mlx4_report_internal_err_comm_event()
H A Dmain.c1648 clockhi = swab32(readl(priv->clock_mapping)); mlx4_read_clock()
1649 clocklo = swab32(readl(priv->clock_mapping + 4)); mlx4_read_clock()
1650 clockhi1 = swab32(readl(priv->clock_mapping)); mlx4_read_clock()
1716 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + mlx4_comm_check_offline()
1741 comm_caps = swab32(readl((__iomem char *)priv->mfunc.comm + mlx4_reset_vf_support()
1786 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); mlx4_init_slave()
H A Deq.c1172 swab32(1 << (priv->eq_table.inta_pin & 31)); mlx4_init_eq_table()
H A Dfw.c1618 val = swab32(val); get_board_id()
/linux-4.1.27/crypto/
H A Dserpent_generic.c589 rs[0] = swab32(s[3]); tnepres_encrypt()
590 rs[1] = swab32(s[2]); tnepres_encrypt()
591 rs[2] = swab32(s[1]); tnepres_encrypt()
592 rs[3] = swab32(s[0]); tnepres_encrypt()
596 d[0] = swab32(rd[3]); tnepres_encrypt()
597 d[1] = swab32(rd[2]); tnepres_encrypt()
598 d[2] = swab32(rd[1]); tnepres_encrypt()
599 d[3] = swab32(rd[0]); tnepres_encrypt()
609 rs[0] = swab32(s[3]); tnepres_decrypt()
610 rs[1] = swab32(s[2]); tnepres_decrypt()
611 rs[2] = swab32(s[1]); tnepres_decrypt()
612 rs[3] = swab32(s[0]); tnepres_decrypt()
616 d[0] = swab32(rd[3]); tnepres_decrypt()
617 d[1] = swab32(rd[2]); tnepres_decrypt()
618 d[2] = swab32(rd[1]); tnepres_decrypt()
619 d[3] = swab32(rd[0]); tnepres_decrypt()
/linux-4.1.27/drivers/infiniband/hw/mthca/
H A Dmthca_catas.c101 switch (swab32(readl(dev->catas_err.map)) >> 24) { handle_catas()
122 i, swab32(readl(dev->catas_err.map + i))); handle_catas()
H A Dmthca_reset.c56 #define MTHCA_RESET_VALUE swab32(1) mthca_reset()
H A Dmthca_eq.c554 eq->eqn_mask = swab32(1 << eq->eqn); mthca_create_eq()
788 swab32(1 << (dev->eq_table.inta_pin & 31)); mthca_init_eq_table()
H A Dmthca_cmd.c195 swab32(1 << HCR_GO_BIT); go_bit()
1262 swab32(*(u32 *) (vsd + VSD_OFFSET_MLX_BOARD_ID + i * 4)); get_board_id()
/linux-4.1.27/arch/arm/vdso/
H A Dvdsomunge.c65 #define swab32(x) \ macro
116 return swap ? swab32(word) : word; read_elf_word()
126 *dst = swap ? swab32(val) : val; write_elf_word()
/linux-4.1.27/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_irq.c111 *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); pdacf_transfer_mono32sw()
131 *dst++ = swab32((((val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor); pdacf_transfer_stereo32sw()
132 *dst++ = swab32((((u32)val3 << 16) | (val2 & 0xff00)) ^ xor); pdacf_transfer_stereo32sw()
/linux-4.1.27/drivers/pci/hotplug/
H A Dibmphp_hpc.c185 wpg_data = swab32 (data); // swap data before writing i2c_ctrl_read()
192 wpg_data = swab32 (data); i2c_ctrl_read()
200 wpg_data = swab32 (data); i2c_ctrl_read()
211 data = swab32 (wpg_data); i2c_ctrl_read()
227 data = swab32 (wpg_data); i2c_ctrl_read()
241 data = swab32 (wpg_data); i2c_ctrl_read()
296 wpg_data = swab32 (data); // swap data before writing i2c_ctrl_write()
303 wpg_data = swab32 (data); i2c_ctrl_write()
311 wpg_data = swab32 (data); i2c_ctrl_write()
322 data = swab32 (wpg_data); i2c_ctrl_write()
339 data = swab32 (wpg_data); i2c_ctrl_write()
/linux-4.1.27/arch/blackfin/include/asm/
H A Dbitops.h41 #include <asm/byteorder.h> /* swab32 */
/linux-4.1.27/drivers/media/platform/coda/
H A Dcoda-jpeg.c146 dst[i + 1] = swab32(src[i]); coda_memcpy_parabuf()
147 dst[i] = swab32(src[i + 1]); coda_memcpy_parabuf()
/linux-4.1.27/lib/
H A Diomap.c63 #define pio_read32be(port) swab32(inl(port))
104 #define pio_write32be(val,port) outl(swab32(val),port)
/linux-4.1.27/arch/arm/mach-ixp4xx/
H A Dixp4xx_npe.c551 if (image->magic == swab32(FW_MAGIC)) { /* swapped file */ npe_load_firmware()
552 image->id = swab32(image->id); npe_load_firmware()
553 image->size = swab32(image->size); npe_load_firmware()
568 if (image->magic == swab32(FW_MAGIC)) npe_load_firmware()
570 image->data[i] = swab32(image->data[i]); npe_load_firmware()
/linux-4.1.27/drivers/spi/
H A Dspi-sh-msiof.c434 sh_msiof_write(p, TFDR, swab32(buf_32[k] << fs)); sh_msiof_spi_write_fifo_s32()
444 sh_msiof_write(p, TFDR, swab32(get_unaligned(&buf_32[k]) << fs)); sh_msiof_spi_write_fifo_s32u()
504 buf_32[k] = swab32(sh_msiof_read(p, RFDR) >> fs); sh_msiof_spi_read_fifo_s32()
514 put_unaligned(swab32(sh_msiof_read(p, RFDR) >> fs), &buf_32[k]); sh_msiof_spi_read_fifo_s32u()
787 *dst++ = swab32(get_unaligned(src)); copy_bswap32()
792 put_unaligned(swab32(*src++), dst); copy_bswap32()
797 *dst++ = swab32(*src++); copy_bswap32()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c115 return swab32(readl((__force u32 __iomem *) p)); read_be32()
/linux-4.1.27/drivers/block/rsxx/
H A Dconfig.c75 data[i] = swab32(data[i]); config_data_swab()
/linux-4.1.27/sound/core/oss/
H A Dlinear.c50 tmp = swab32(tmp); do_convert()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_ioc.h69 ((u32 *)(__sge))[0] = swab32(((u32 *)(__sge))[0]); \
70 ((u32 *)(__sge))[1] = swab32(((u32 *)(__sge))[1]); \
71 ((u32 *)(__sge))[2] = swab32(((u32 *)(__sge))[2]); \
225 #define bfa_mem_read(_raddr, _off) swab32(readl(((_raddr) + (_off))))
227 writel(swab32((_val)), ((_raddr) + (_off)))
H A Dbfa_ioc.c732 if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { bfa_iocpf_sm_fwcheck_entry()
750 bfa_trc(iocpf->ioc, swab32(fwhdr.exec)); bfa_iocpf_sm_fwcheck_entry()
1521 if (swab32(fwhdr.bootenv) != boot_env) { bfa_ioc_fwver_valid()
1960 swab32(asicmode)); bfa_ioc_download_fw()
1962 swab32(boot_type)); bfa_ioc_download_fw()
1964 swab32(boot_env)); bfa_ioc_download_fw()
2081 buf[i] = swab32(r32); bfa_ioc_smem_read()
4793 res->status = swab32(res->status); bfa_diag_memtest_done()
4800 res->addr = swab32(res->addr); bfa_diag_memtest_done()
4801 res->exp = swab32(res->exp); bfa_diag_memtest_done()
4802 res->act = swab32(res->act); bfa_diag_memtest_done()
4803 res->err_status = swab32(res->err_status); bfa_diag_memtest_done()
4804 res->err_status1 = swab32(res->err_status1); bfa_diag_memtest_done()
4805 res->err_addr = swab32(res->err_addr); bfa_diag_memtest_done()
6969 *((u32 *) (buf + i)) = swab32(w); bfa_flash_read_end()
/linux-4.1.27/arch/powerpc/kvm/
H A Dpowerpc.c142 shared->dsisr = swab32(shared->dsisr); kvmppc_swab_shared()
143 shared->int_pending = swab32(shared->int_pending); kvmppc_swab_shared()
145 shared->sr[i] = swab32(shared->sr[i]); kvmppc_swab_shared()
736 case 4: gpr = swab32(*(u32 *)run->mmio.data); break; kvmppc_complete_mmio_load()
876 case 4: *(u32 *)data = swab32(val); break; kvmppc_handle_store()
H A Dbook3s_emulate.c103 (inst == swab32(inst_sc))) { kvmppc_core_emulate_op_pr()
H A Dbook3s_hv.c912 swab32(vcpu->arch.emul_inst) : kvmppc_handle_exit_hv()
/linux-4.1.27/drivers/media/pci/ngene/
H A Dngene-dvb.c114 *p = swab32(*p); swap_buffer()
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_inline.h78 *ofcp++ = swab32(*ifcp++); host_to_fcp_swap()
H A Dqla_dbg.c184 le32_to_cpu(dump[idx]) : swab32(dump[idx]); qla27xx_dump_mpi_ram()
261 le32_to_cpu(dump[idx]) : swab32(dump[idx]); qla24xx_dump_ram()
H A Dqla_fw.h584 * format; but all of the "data" field gets swab32-d in the beginning
H A Dqla_isr.c1738 * swab32 of the "data" field in the beginning of qla2x00_status_entry() qla2x00_handle_dif_error()
H A Dqla_init.c5386 dcode[i] = swab32(dcode[i]); qla24xx_load_risc_flash()
5689 dcode[i] = swab32(fwcode[i]); qla24xx_load_risc_blob()
/linux-4.1.27/arch/arm/include/asm/
H A Dopcodes.h91 #define ___opcode_swab32(x) swab32(x)
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-designware-core.c179 return swab32(value); dw_readl()
187 b = swab32(b); dw_writel()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Deeprom_9287.c259 integer = swab32(eep->modalHeader.antCtrlCommon); ath9k_hw_ar9287_check_eeprom()
263 integer = swab32(eep->modalHeader.antCtrlChain[i]); ath9k_hw_ar9287_check_eeprom()
H A Deeprom_4k.c272 integer = swab32(eep->modalHeader.antCtrlCommon); ath9k_hw_4k_check_eeprom()
276 integer = swab32(eep->modalHeader.antCtrlChain[i]); ath9k_hw_4k_check_eeprom()
H A Deeprom_def.c340 integer = swab32(pModal->antCtrlCommon); ath9k_hw_def_check_eeprom()
344 integer = swab32(pModal->antCtrlChain[i]); ath9k_hw_def_check_eeprom()
/linux-4.1.27/drivers/scsi/isci/
H A Disci.h464 * is always a swab32()-per-dword conversion of the standard definition,
473 dest[word_cnt] = swab32(src[word_cnt]); sci_swab32_cpy()
/linux-4.1.27/arch/sparc/kernel/
H A Dleon_pci_grpci1.c147 *val = swab32(tmp); grpci1_cfg_r32()
200 LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); grpci1_cfg_w32()
H A Dunaligned_64.c224 src_val = swab32(src_val); do_int_store()
364 val_in = swab32(val_in); kernel_unaligned_trap()
H A Dleon_pci_grpci2.c273 *val = swab32(tmp); grpci2_cfg_r32()
331 LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); grpci2_cfg_w32()
H A Dpcic.c766 pend = swab32(pend); pcic_nmi()
/linux-4.1.27/net/tipc/
H A Dsubscr.c62 return swap ? swab32(in) : in; htohl()
/linux-4.1.27/arch/powerpc/kernel/
H A Dalign.c594 data.w[0] = swab32(data.w[0]); emulate_spe()
595 data.w[1] = swab32(data.w[1]); emulate_spe()
977 data.x32.low32 = swab32(data.x32.low32); fix_alignment()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc.c1190 if (swab32(fwhdr.exec) == BFI_FWBOOT_TYPE_NORMAL) { bfa_ioc_hw_sem_init()
1324 swab32(readl((loff) + (ioc->ioc_regs.smem_page_start))); bfa_nw_ioc_fwver_get()
1679 *((u32 *)(buf + i)) = swab32(w); bfa_flash_read_end()
1838 if (swab32(fwhdr.bootenv) != boot_env) bfa_ioc_fwver_valid()
2072 writel((swab32(fwimg[BFA_IOC_FLASH_OFFSET_IN_CHUNK(i)])), bfa_ioc_download_fw()
2233 r32 = swab32(readl((loff) + (ioc->ioc_regs.smem_page_start))); bfa_nw_ioc_smem_read()
/linux-4.1.27/drivers/net/ethernet/renesas/
H A Dsh_eth.h545 *p = swab32(*p); sh_eth_soft_swap()
/linux-4.1.27/drivers/net/ethernet/tehuti/
H A Dtehuti.h91 # define CPU_CHIP_SWAP32(x) swab32(x)
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_hw.c99 *(u32 *) &eth_addr[2] = swab32(addr[0]); atl1e_get_permanent_address()
/linux-4.1.27/drivers/crypto/
H A Dpadlock-sha.c76 *dst++ = swab32(*src++); padlock_output_block()
/linux-4.1.27/drivers/net/ethernet/i825xx/
H A Dsun3_82586.c65 #define make24(ptr32) (char *)swab32(( ((unsigned long) (ptr32)) - p->base))
786 skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); sun3_82586_rcv_int()
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dav7110_hw.c171 iwdebi(av7110, DEBISWAB, AV7110_BOOT_BASE, swab32(base), 4); load_dram()
189 iwdebi(av7110, DEBISWAB, AV7110_BOOT_BASE, swab32(base), 4); load_dram()
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c668 hdr_offset = swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)); myri10ge_adopt_running_firmware()
2059 hdr_off = swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)); myri10ge_led()
2065 hdr_len = swab32(readl(mgp->sram + hdr_off + myri10ge_led()
2073 pattern = swab32(readl(mgp->sram + pattern_off + 4)); myri10ge_led()
2074 writel(swab32(pattern), mgp->sram + pattern_off); myri10ge_led()
4046 swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)) & 0xffffc; myri10ge_probe()
4048 mgp->sram_size = swab32(readl(mgp->sram + ss_offset)); myri10ge_probe()
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Dsmsc911x.c256 swab32(*buf++)); smsc911x_tx_writefifo()
288 swab32(*buf++)); smsc911x_tx_writefifo_shift()
321 *buf++ = swab32(__smsc911x_reg_read(pdata, smsc911x_rx_readfifo()
353 *buf++ = swab32(__smsc911x_reg_read_shift(pdata, smsc911x_rx_readfifo_shift()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c183 *p_value = swab32((data << 16) | (*p_value >> 16)); atl1c_read_eeprom()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dkvm_ppc.h291 swab32(vcpu->arch.last_inst) : kvmppc_get_last_inst()
/linux-4.1.27/net/mac802154/
H A Dllsec.c604 __be32 frame_counter = (__force __be32) swab32((__force u32) sec->frame_counter); llsec_geniv()
/linux-4.1.27/drivers/media/pci/ddbridge/
H A Dddbridge-core.c1347 data = swab32(*(u32 *)wbuf); flashio()
1386 *(u32 *) rbuf = swab32(data); flashio()
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/
H A Datl1.c473 *(u32 *) &eth_addr[2] = swab32(addr[0]); atl1_get_permanent_address()
506 *(u32 *) &eth_addr[2] = swab32(addr[0]); atl1_get_permanent_address()
521 *(u32 *) &eth_addr[2] = swab32(addr[0]); atl1_get_permanent_address()
/linux-4.1.27/drivers/mmc/host/
H A Dmxcmmc.c284 *buf = swab32(*buf); buffer_swap32()
H A Datmel-mci.c824 host->buffer[i] = swab32(host->buffer[i]); atmci_pdc_complete()
981 host->buffer[i] = swab32(host->buffer[i]); atmci_prepare_data_pdc()
/linux-4.1.27/drivers/net/wan/
H A Dixp4xx_hss.c352 dest[i] = swab32(src[i]); memcpy_swab32()
/linux-4.1.27/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c248 dest[i] = swab32(src[i]); memcpy_swab32()
/linux-4.1.27/arch/tile/kernel/
H A Dunaligned.c948 b = swab32(x); jit_bundle_gen()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_hw.c1995 * use swab32(value). qlcnic_83xx_config_ipaddr()
1998 temp_ip = swab32(ntohl(ip)); qlcnic_83xx_config_ipaddr()
H A Dqlcnic.h2385 *tmp = swab32(*tmp); qlcnic_swap32_buffer()
/linux-4.1.27/drivers/net/usb/
H A Dr8152.c1959 tmp[0] = __cpu_to_le32(swab32(mc_filter[1]));
1960 tmp[1] = __cpu_to_le32(swab32(mc_filter[0]));
/linux-4.1.27/drivers/firewire/
H A Dohci.c2761 ctx_hdr[0] = swab32(dma_hdr[1]); /* iso packet header */ copy_iso_headers()
2763 ctx_hdr[1] = swab32(dma_hdr[0]); /* timestamp */ copy_iso_headers()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c853 addr = swab32(addr) | SF_RD_DATA_FAST; t3_read_flash()
889 val = swab32(addr) | SF_PROG_PAGE; t3_write_flash()
/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw.c1622 type of the host processor and therefore swab32() makes pvr2_upload_firmware2()
1625 ((u32 *)fw_ptr)[icnt] = swab32(((u32 *)fw_ptr)[icnt]); pvr2_upload_firmware2()
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_hw.c494 addr = swab32(addr) | SF_RD_DATA_FAST; csio_hw_read_flash()
537 val = swab32(addr) | SF_PROG_PAGE; csio_hw_write_flash()
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Dmain.c264 val = swab32(val); b43legacy_ram_write()
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dqp.c837 qp->doorbell_qpn = swab32(qp->mqp.qpn << 8); create_qp_common()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
H A Dqp.c1040 qp->doorbell_qpn = swab32(qp->mqp.qpn << 8); create_qp_common()
/linux-4.1.27/drivers/atm/
H A Dfore200e.c639 #define swap_here(addr) (*((u32*)(addr)) = swab32( *((u32*)(addr)) )) fore200e_pca_prom_read()
/linux-4.1.27/mm/
H A Dswapfile.c2183 if (swab32(swap_header->info.version) == 1) { read_swap_header()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c1608 addr = swab32(addr) | SF_RD_DATA_FAST; t4_read_flash()
1646 val = swab32(addr) | SF_PROG_PAGE; t4_write_flash()
/linux-4.1.27/drivers/net/ethernet/realtek/
H A Dr8169.c5289 mc_filter[0] = swab32(mc_filter[1]);
5290 mc_filter[1] = swab32(data);
/linux-4.1.27/drivers/net/wireless/b43/
H A Dmain.c475 val = swab32(val); b43_ram_write()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c3313 #define bswab32(b32) ((__force __le32) swab32((__force __u32) (b32)))
/linux-4.1.27/arch/x86/kvm/
H A Demulate.c3203 ctxt->dst.val = swab32((u32)ctxt->src.val); em_movbe()
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dtg3.c3222 *val = swab32(tmp); tg3_nvram_read_using_eeprom()
3346 tw32(GRC_EEPROM_DATA, swab32(be32_to_cpu(data))); tg3_nvram_write_block_using_eeprom()

Completed in 3187 milliseconds