Searched refs:swab16 (Results 1 - 25 of 71) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/avr32/mach-at32ap/include/mach/
H A Dio.h14 # define __mem_ioswabw(a, x) swab16(x)
24 # define __mem_ioswabw(a, x) swab16(x)
31 # define ioswabw(a, x) swab16(x)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/
H A Dsun3_82586.c65 #define make32(ptr16) (p->memtop + (swab16((unsigned short) (ptr16))) )
67 #define make16(ptr32) (swab16((unsigned short) ((unsigned long)(ptr32) - (unsigned long) p->memtop )))
118 if(swab16((addr)->cmd_status) & STAT_COMPL) break; \
418 cfg_cmd->cmd_cmd = swab16(CMD_CONFIGURE | CMD_LAST);
449 if((swab16(cfg_cmd->cmd_status) & (STAT_OK|STAT_COMPL)) != (STAT_COMPL|STAT_OK))
451 printk("%s: configure command failed: %x\n",dev->name,swab16(cfg_cmd->cmd_status));
462 ias_cmd->cmd_cmd = swab16(CMD_IASETUP | CMD_LAST);
474 if((swab16(ias_cmd->cmd_status) & (STAT_OK|STAT_COMPL)) != (STAT_OK|STAT_COMPL)) {
475 printk("%s (82586): individual address setup command failed: %04x\n",dev->name,swab16(ias_cmd->cmd_status));
486 tdr_cmd->cmd_cmd = swab16(CMD_TD
[all...]
H A Dmac89x0.c141 nubus_writew(swab16(portno), dev->base_addr + ADD_PORT);
142 return swab16(nubus_readw(dev->base_addr + DATA_PORT));
148 nubus_writew(swab16(portno), dev->base_addr + ADD_PORT);
149 nubus_writew(swab16(value), dev->base_addr + DATA_PORT);
156 return swab16(nubus_readw(dev->mem_start + portno));
162 nubus_writew(swab16(value), dev->mem_start + portno);
231 if (sig != swab16(CHIP_EISA_ID_SIG))
418 while ((status = swab16(nubus_readw(dev->base_addr + ISQ_PORT)))) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/input/touchscreen/
H A Dad7879-i2c.c48 return swab16(i2c_smbus_read_word_data(client, reg));
60 buf[idx] = swab16(buf[idx]);
69 return i2c_smbus_write_word_data(client, reg, swab16(val));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/boot/
H A Delf2ecoff.c154 #define swab16(x) \ macro
168 e->e_type = swab16(e->e_type);
169 e->e_machine = swab16(e->e_machine);
175 e->e_ehsize = swab16(e->e_ehsize);
176 e->e_phentsize = swab16(e->e_phentsize);
177 e->e_phnum = swab16(e->e_phnum);
178 e->e_shentsize = swab16(e->e_shentsize);
179 e->e_shnum = swab16(e->e_shnum);
180 e->e_shstrndx = swab16(e->e_shstrndx);
220 f->f_magic = swab16(
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/go7007/
H A Dwis-uda1342.c30 i2c_smbus_write_word_data(client, reg, swab16(value));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/tile/lib/
H A Dchecksum.c99 result = swab16(result);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hwmon/
H A Dlm92.c120 data->temp1_input = swab16(i2c_smbus_read_word_data(client,
122 data->temp1_hyst = swab16(i2c_smbus_read_word_data(client,
124 data->temp1_crit = swab16(i2c_smbus_read_word_data(client,
126 data->temp1_min = swab16(i2c_smbus_read_word_data(client,
128 data->temp1_max = swab16(i2c_smbus_read_word_data(client,
161 i2c_smbus_write_word_data(client, reg, swab16(data->value)); \
198 swab16(TEMP_TO_REG(data->temp1_hyst)));
H A Dlm73.c37 #define LM73_ID 0x9001 /* or 0x190 after a swab16() */
60 i2c_smbus_write_word_data(client, attr->index, swab16(value));
71 int temp = ((s16) (swab16(i2c_smbus_read_word_data(client,
H A Dtmp102.c59 * so we have to swab16 the values */
63 return result < 0 ? result : swab16(result);
68 return i2c_smbus_write_word_data(client, reg, swab16(val));
H A Dad7418.c85 return swab16(i2c_smbus_read_word_data(client, reg));
90 return i2c_smbus_write_word_data(client, reg, swab16(value));
H A Dds1621.c93 return swab16(ret);
98 return i2c_smbus_write_word_data(client, reg, swab16(value));
H A Dlm75.c349 return (value < 0) ? value : swab16(value);
357 return i2c_smbus_write_word_data(client, reg, swab16(value));
H A Dasb100.c831 res = swab16(i2c_smbus_read_word_data(cl, 0));
837 res = swab16(i2c_smbus_read_word_data(cl, 2));
841 res = swab16(i2c_smbus_read_word_data(cl, 3));
879 i2c_smbus_write_word_data(cl, 2, swab16(value));
882 i2c_smbus_write_word_data(cl, 3, swab16(value));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/tokenring/
H A Dolympic.c414 uaa_addr=swab16(readw(init_srb+8));
429 olympic_priv->olympic_addr_table_addr = swab16(readw(init_srb + 12));
430 olympic_priv->olympic_parms_addr = swab16(readw(init_srb + 14));
481 writew(swab16(OPEN_ADAPTER_ENABLE_FDX | OPEN_ADAPTER_PASS_ADC_MAC | OPEN_ADAPTER_PASS_ATT_MAC | OPEN_ADAPTER_PASS_BEACON), init_srb+8);
483 writew(swab16(OPEN_ADAPTER_ENABLE_FDX), init_srb+8);
595 olympic_priv->asb = swab16(readw(init_srb+8));
596 olympic_priv->srb = swab16(readw(init_srb+10));
597 olympic_priv->arb = swab16(readw(init_srb+12));
598 olympic_priv->trb = swab16(readw(init_srb+16));
1392 frame_len = swab16(read
[all...]
H A D3c359.c848 xl_priv->asb = swab16(readw(xl_mmio + MMIO_MACDATA)) ;
852 printk(", SRB: %04x",swab16(readw(xl_mmio + MMIO_MACDATA)) ) ;
855 xl_priv->arb = swab16(readw(xl_mmio + MMIO_MACDATA)) ;
858 vsoff = swab16(readw(xl_mmio + MMIO_MACDATA)) ;
1535 printk(KERN_INFO "%s: Ring Status Change: New Status = %04x\n", dev->name, swab16(readw(xl_mmio + MMIO_MACDATA) )) ;
1537 lan_status = swab16(readw(xl_mmio + MMIO_MACDATA));
1601 xl_priv->mac_buffer = swab16(readw(xl_mmio + MMIO_MACDATA)) ;
1661 writew(swab16(xl_priv->mac_buffer), xl_mmio + MMIO_MACDATA) ;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ssb/
H A Dsprom.c30 "%04X", swab16(sprom[i]) & 0xFFFF);
60 sprom[cnt++] = swab16((u16)parsed);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ath/ath9k/
H A Deeprom_4k.c81 magic2 = swab16(magic);
88 temp = swab16(*eepdata);
105 el = swab16(ah->eeprom.map4k.baseEepHeader.length);
126 word = swab16(eep->baseEepHeader.length);
129 word = swab16(eep->baseEepHeader.checksum);
132 word = swab16(eep->baseEepHeader.version);
135 word = swab16(eep->baseEepHeader.regDmn[0]);
138 word = swab16(eep->baseEepHeader.regDmn[1]);
141 word = swab16(eep->baseEepHeader.rfSilent);
144 word = swab16(ee
[all...]
H A Deeprom_9287.c84 magic2 = swab16(magic);
91 temp = swab16(*eepdata);
108 el = swab16(ah->eeprom.map9287.baseEepHeader.length);
123 word = swab16(eep->baseEepHeader.length);
126 word = swab16(eep->baseEepHeader.checksum);
129 word = swab16(eep->baseEepHeader.version);
132 word = swab16(eep->baseEepHeader.regDmn[0]);
135 word = swab16(eep->baseEepHeader.regDmn[1]);
138 word = swab16(eep->baseEepHeader.rfSilent);
141 word = swab16(ee
[all...]
H A Deeprom_def.c129 magic2 = swab16(magic);
137 temp = swab16(*eepdata);
154 el = swab16(ah->eeprom.def.baseEepHeader.length);
175 word = swab16(eep->baseEepHeader.length);
178 word = swab16(eep->baseEepHeader.checksum);
181 word = swab16(eep->baseEepHeader.version);
184 word = swab16(eep->baseEepHeader.regDmn[0]);
187 word = swab16(eep->baseEepHeader.regDmn[1]);
190 word = swab16(eep->baseEepHeader.rfSilent);
193 word = swab16(ee
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_irq.c97 *dst++ = swab16(inw(rdp_port) ^ xor);
117 *dst++ = swab16(inw(rdp_port) ^ xor);
118 *dst++ = swab16(inw(rdp_port) ^ xor);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/
H A Dvpx3220.c110 if (i2c_smbus_write_word_data(client, 0x27, swab16(fpaddr)) == -1) {
119 if (i2c_smbus_write_word_data(client, 0x28, swab16(data)) == -1) {
133 if (i2c_smbus_write_word_data(client, 0x26, swab16(fpaddr)) == -1) {
148 return swab16(data);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/parisc/lib/
H A Dchecksum.c94 result = swab16(result);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Diomap.c62 #define pio_read16be(port) swab16(inw(port))
103 #define pio_write16be(val,port) outw(swab16(val),port)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/core/oss/
H A Dmulaw.c161 sample = swab16(sample);
209 sample = swab16(sample);

Completed in 154 milliseconds

123