/linux-6.3-rc2/drivers/net/ethernet/i825xx/ |
A D | sun3_82586.c | 484 tdr_cmd->cmd_cmd = swab16(CMD_TDR | CMD_LAST); in init586() 494 if(!(swab16(tdr_cmd->cmd_status) & STAT_COMPL)) in init586() 501 result = swab16(tdr_cmd->status); in init586() 530 mc_cmd->mc_cnt = swab16(num_addrs * 6); in init586() 554 p->nop_cmds[i]->cmd_cmd = swab16(CMD_NOP); in init586() 563 p->nop_cmds[i]->cmd_cmd = swab16(CMD_NOP); in init586() 662 rbd[i].size = swab16(RECV_BUFF_SIZE); in alloc_rfa() 973 …4x N1: %04x %d\n",dev->name,(int)swab16(p->xmit_cmds[0]->cmd_status),(int)swab16(p->nop_cmds[0]->c… in sun3_82586_timeout() 1120 aln = swab16(p->scb->aln_errs); in sun3_82586_get_stats() 1122 rsc = swab16(p->scb->rsc_errs); in sun3_82586_get_stats() [all …]
|
/linux-6.3-rc2/arch/mips/boot/ |
A D | elf2ecoff.c | 157 #define swab16(x) \ macro 171 e->e_type = swab16(e->e_type); in convert_elf_hdr() 178 e->e_ehsize = swab16(e->e_ehsize); in convert_elf_hdr() 180 e->e_phnum = swab16(e->e_phnum); in convert_elf_hdr() 182 e->e_shnum = swab16(e->e_shnum); in convert_elf_hdr() 223 f->f_magic = swab16(f->f_magic); in convert_ecoff_filehdr() 224 f->f_nscns = swab16(f->f_nscns); in convert_ecoff_filehdr() 229 f->f_flags = swab16(f->f_flags); in convert_ecoff_filehdr() 234 a->magic = swab16(a->magic); in convert_ecoff_aouthdr() 235 a->vstamp = swab16(a->vstamp); in convert_ecoff_aouthdr() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/cirrus/ |
A D | mac89x0.c | 128 nubus_writew(swab16(portno), dev->base_addr + ADD_PORT); in readreg_io() 129 return swab16(nubus_readw(dev->base_addr + DATA_PORT)); in readreg_io() 135 nubus_writew(swab16(portno), dev->base_addr + ADD_PORT); in writereg_io() 136 nubus_writew(swab16(value), dev->base_addr + DATA_PORT); in writereg_io() 143 return swab16(nubus_readw(dev->mem_start + portno)); in readreg() 149 nubus_writew(swab16(value), dev->mem_start + portno); in writereg() 201 if (sig != swab16(CHIP_EISA_ID_SIG)) in mac89x0_device_probe() 386 while ((status = swab16(nubus_readw(dev->base_addr + ISQ_PORT)))) { in net_interrupt()
|
/linux-6.3-rc2/arch/powerpc/boot/ |
A D | of.h | 30 #define cpu_to_be16(x) swab16(x) 31 #define be16_to_cpu(x) swab16(x)
|
A D | swab.h | 5 static inline u16 swab16(u16 x) in swab16() function
|
/linux-6.3-rc2/drivers/net/wireless/st/cw1200/ |
A D | cw1200_spi.c | 91 regaddr = swab16(regaddr); in cw1200_spi_memcpy_fromio() 117 buf[i] = swab16(buf[i]); in cw1200_spi_memcpy_fromio() 158 regaddr = swab16(regaddr); in cw1200_spi_memcpy_toio() 160 buf[i] = swab16(buf[i]); in cw1200_spi_memcpy_toio() 189 buf[i] = swab16(buf[i]); in cw1200_spi_memcpy_toio()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | align.c | 238 data.h[0] = swab16(data.h[0]); in emulate_spe() 239 data.h[1] = swab16(data.h[1]); in emulate_spe() 240 data.h[2] = swab16(data.h[2]); in emulate_spe() 241 data.h[3] = swab16(data.h[3]); in emulate_spe()
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | io_no.h | 70 return swab16(__raw_readw(addr)); in readw() 87 __raw_writew(swab16(value), addr); in writew()
|
/linux-6.3-rc2/drivers/media/i2c/ |
A D | vpx3220.c | 97 if (i2c_smbus_write_word_data(client, 0x27, swab16(fpaddr)) == -1) { in vpx3220_fp_write() 106 if (i2c_smbus_write_word_data(client, 0x28, swab16(data)) == -1) { in vpx3220_fp_write() 120 if (i2c_smbus_write_word_data(client, 0x26, swab16(fpaddr)) == -1) { in vpx3220_fp_read() 135 return swab16(data); in vpx3220_fp_read()
|
A D | uda1342.c | 17 i2c_smbus_write_word_data(client, reg, swab16(value)); in write_reg()
|
A D | mt9t112.c | 156 command = swab16(command); in __mt9t112_reg_read() 178 return swab16(ret); in __mt9t112_reg_read() 188 command = swab16(command); in __mt9t112_reg_write() 189 data = swab16(data); in __mt9t112_reg_write()
|
/linux-6.3-rc2/drivers/misc/ |
A D | smpro-misc.c | 66 boot_progress[1] = swab16(reg); in boot_progress_show() 67 boot_progress[2] = swab16(reg_lo); in boot_progress_show()
|
/linux-6.3-rc2/lib/ |
A D | iomap.c | 64 #define pio_read16be(port) swab16(inw(port)) 69 #define mmio_read16be(addr) swab16(readw(addr)) 193 #define pio_write16be(val,port) outw(swab16(val),port) 198 #define mmio_write16be(val,port) writew(swab16(val),port)
|
/linux-6.3-rc2/drivers/ssb/ |
A D | sprom.c | 30 "%04X", swab16(sprom[i]) & 0xFFFF); in sprom2hex() 60 sprom[cnt++] = swab16((u16)parsed); in hex2sprom()
|
/linux-6.3-rc2/arch/arm/vdso/ |
A D | vdsomunge.c | 48 #define swab16(x) \ macro 108 return swap ? swab16(half) : half; in read_elf_half()
|
/linux-6.3-rc2/include/linux/ |
A D | swab.h | 7 # define swab16 __swab16 macro
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/ |
A D | ath9k_pci_owl_loader.c | 57 if (*cal_data != swab16(AR5416_EEPROM_MAGIC)) { in ath9k_pci_fixup() 93 reg = swab16(reg); in ath9k_pci_fixup()
|
/linux-6.3-rc2/sound/pcmcia/pdaudiocf/ |
A D | pdaudiocf_irq.c | 85 *dst++ = swab16(inw(rdp_port) ^ xor); in pdacf_transfer_mono16sw() 105 *dst++ = swab16(inw(rdp_port) ^ xor); in pdacf_transfer_stereo16sw() 106 *dst++ = swab16(inw(rdp_port) ^ xor); in pdacf_transfer_stereo16sw()
|
/linux-6.3-rc2/drivers/media/usb/em28xx/ |
A D | em28xx-camera.c | 102 id = swab16(ret); /* LE -> BE */ in em28xx_probe_sensor_micron() 112 if (id != swab16(ret)) in em28xx_probe_sensor_micron()
|
/linux-6.3-rc2/arch/parisc/lib/ |
A D | checksum.c | 90 result = swab16(result); in do_csum()
|
/linux-6.3-rc2/drivers/base/regmap/ |
A D | regmap-mmio.c | 109 writew(swab16(val), ctx->regs + reg); in regmap_mmio_write16be() 195 writew(swab16(valp[i]), ctx->regs + reg); in regmap_mmio_noinc_write() 286 return swab16(readw(ctx->regs + reg)); in regmap_mmio_read16be()
|
/linux-6.3-rc2/sound/core/oss/ |
A D | mulaw.c | 161 sample = swab16(sample); in cvt_s16_to_native() 209 sample = swab16(sample); in cvt_native_to_s16()
|
/linux-6.3-rc2/drivers/leds/simple/ |
A D | simatic-ipc-leds.c | 93 ipcled->value = swab16(ipcled->value); in simatic_ipc_leds_probe()
|
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | opcodes.h | 89 #define ___opcode_swab16(x) swab16(x)
|
/linux-6.3-rc2/arch/alpha/include/asm/ |
A D | io.h | 542 #define ioread16be(p) swab16(ioread16(p)) 544 #define iowrite16be(v,p) iowrite16(swab16(v), (p))
|