Searched refs:wval (Results 1 - 20 of 20) sorted by relevance

/linux-master/include/linux/
H A Domap-gpmc.h80 extern int gpmc_configure(int cmd, int wval);
/linux-master/drivers/scsi/
H A Dam53c974.c311 u16 wval = 0; local
315 wval <<= 1;
324 wval |= 1;
327 return wval;
351 u16 *ptr = (u16 *)EEbuf, wval = 0; local
357 wval += *ptr;
360 if (wval != 0x1234) {
H A Dncr53c8xx.c1168 ** SCR_COPY (1), @(wval field of this tcb), @(scntl3 register)
1217 /*0*/ u_char wval; member in struct:tcb
1228 /*3*/ u_char wval; member in struct:tcb
4326 cp->phys.select.sel_scntl3 = tp->wval;
5179 tp->wval = np->rv_scntl3;
5334 OUTB (nc_scntl3, tp->wval);
5335 np->wide_st = tp->wval;
5343 cp->phys.select.sel_scntl3 = tp->wval;
5368 scntl3 = (scntl3 & 0xf0) | (tp->wval & EWS) | (np->rv_scntl3 & 0x07);
5382 if (tp->sval == sxfer && tp->wval
[all...]
H A Dadvansys.c8702 ushort wval; local
8725 wval = AscReadEEPWord(iop_base, (uchar)s_addr);
8731 *wbuf = le16_to_cpu(wval);
8734 *wbuf = wval;
8736 sum += wval; /* Checksum treats all EEPROM data as words. */
9823 ushort wval, chksum; local
9834 wval = AdvReadEEPWord(iop_base, eep_addr);
9835 chksum += wval; /* Checksum is calculated from word values. */
9837 *wbuf = le16_to_cpu(wval);
9839 *wbuf = wval;
9866 ushort wval, chksum; local
9909 ushort wval, chksum; local
[all...]
H A Ddc395x.c3419 u16 wval; local
3435 wval = DC395x_read16(acb, TRM_S1040_GEN_CONTROL) & 0x7F;
3436 DC395x_write16(acb, TRM_S1040_GEN_CONTROL, wval);
3438 wval = DC395x_read16(acb, TRM_S1040_DMA_CONFIG) & ~DMA_FIFO_CTRL;
3439 wval |=
3441 DC395x_write16(acb, TRM_S1040_DMA_CONFIG, wval);
/linux-master/drivers/power/supply/
H A Dqcom_smbb.c260 unsigned int wval; local
274 chg->addr + prop->safe_reg, &wval);
282 wval = prop->hw_fn(wval);
284 if (val > wval) {
287 prop->name, wval);
288 val = wval;
292 wval = smbb_hw_lookup(val, prop->hw_fn);
294 rc = regmap_write(chg->regmap, chg->addr + prop->reg, wval);
299 out = prop->hw_fn(wval);
[all...]
/linux-master/drivers/media/tuners/
H A Dmc44s803.c44 u32 wval; local
52 wval = MC44S803_REG_SM(MC44S803_REG_DATAREG, MC44S803_ADDR) |
55 ret = mc44s803_writereg(priv, wval);
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_hipd.c1881 tp->head.wval = np->rv_scntl3;
1935 u_char sval, wval, uval; local
1941 wval = tp->head.wval;
1945 printf("XXXX sval=%x wval=%x uval=%x (%x)\n",
1946 sval, wval, uval, np->rv_scntl3);
1960 wval = (wval & ~0x70) | ((div+1) << 4);
1973 wval = wval
[all...]
H A Dsym_hipd.h367 * 'sval', 'wval' and 'uval' are read from SCRIPTS and
373 /*3*/ u_char wval; /* -> SCNTL3 io register */ member in struct:sym_tcbh
H A Dsym_glue.c262 if ((len & 1) && (tp->head.wval & EWS)) {
892 tp->head.wval = np->rv_scntl3;
H A Dsym_fw2.h879 offsetof(struct sym_tcb, head.wval),
H A Dsym_fw1.h935 HADDR_1 (tcb_head.wval),
/linux-master/sound/pci/ali5451/
H A Dali5451.c629 u16 wval; local
665 wval = inw(ALI_REG(codec, ALI_SPDIF_CTRL + 2));
666 wval &= 0xe0f0;
667 wval |= (0x09 << 8) | 0x05;
668 outw(wval, ALI_REG(codec, ALI_SPDIF_CTRL + 2));
673 wval = inw(ALI_REG(codec, ALI_SPDIF_CTRL + 2));
674 wval &= 0xe0f0;
675 wval |= (0x0e << 8) | 0x08;
676 outw(wval, ALI_REG(codec, ALI_SPDIF_CTRL + 2));
/linux-master/arch/powerpc/include/asm/
H A Dkvm_ppc.h247 u32 wval; member in union:kvmppc_one_reg
412 case 4: __u.wval = (reg); break; \
423 case 4: __v = (val).wval; break; \
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_iscsi.c277 u16 wval; local
392 wval = p_conn->da_timeout_value;
393 p_tcp->da_timeout_value = cpu_to_le16(wval);
435 wval = p_conn->syn_ip_payload_length;
436 p_tcp2->syn_ip_payload_length = cpu_to_le16(wval);
/linux-master/drivers/base/regmap/
H A Dregmap.c2348 void *wval; local
2350 wval = kmemdup(val, val_count * val_bytes, map->alloc_flags);
2351 if (!wval)
2355 map->format.parse_inplace(wval + i);
2357 ret = regmap_raw_write(map, reg, wval, val_bytes * val_count);
2359 kfree(wval);
/linux-master/arch/mips/math-emu/
H A Dcp1emu.c981 u32 wval; local
1093 if (__get_user(wval, wva)) {
1098 SITOREG(wval, MIPSInst_RT(ir));
1105 SIFROMREG(wval, MIPSInst_RT(ir));
1111 if (__put_user(wval, wva)) {
/linux-master/drivers/usb/serial/
H A Dmos7840.c370 static void mos7840_set_led_async(struct moschip_port *mcs, __u16 wval, argument
378 dr->wValue = cpu_to_le16(wval);
/linux-master/drivers/memory/
H A Domap-gpmc.c1105 * @wval: value to write
1108 int gpmc_configure(int cmd, int wval) argument
1115 if (wval)
/linux-master/drivers/isdn/hardware/mISDN/
H A Dhfcmulti.c2657 u_short wval; local
2681 wval = readw(plx_acc);
2683 if (!(wval & PLX_INTCSR_LINTI1_STATUS))

Completed in 392 milliseconds