Home
last modified time | relevance | path

Searched refs:outval (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/net/
Datp.h155 unsigned char outval; in write_reg() local
157 outval = WrAddr | reg; in write_reg()
158 outb(outval, port + PAR_DATA); in write_reg()
159 outb(outval, port + PAR_DATA); /* Double write for PS/2. */ in write_reg()
161 outval &= 0xf0; in write_reg()
162 outval |= value; in write_reg()
163 outb(outval, port + PAR_DATA); in write_reg()
164 outval &= 0x1f; in write_reg()
165 outb(outval, port + PAR_DATA); in write_reg()
166 outb(outval, port + PAR_DATA); in write_reg()
[all …]
Datp.c409 char outval = (cmd & (1<<num_bits)) ? EE_DATA_WRITE : 0; in eeprom_op() local
410 write_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_LOW); in eeprom_op()
411 write_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_HIGH); in eeprom_op()
Deepro.c1425 short outval = (read_cmd & (1 << i)) ? ctrl_val | EEDI in read_eeprom() local
1427 outb(outval, ee_addr); in read_eeprom()
1428 outb(outval | EESK, ee_addr); /* EEPROM clock tick. */ in read_eeprom()
1430 outb(outval, ee_addr); /* Finish EEPROM a clock tick. */ in read_eeprom()
/linux-2.6.39/drivers/media/radio/
Dradio-typhoon.c94 unsigned long outval; in typhoon_setfreq_generic() local
110 outval = (x * x + 2500) / 5000; in typhoon_setfreq_generic()
111 outval = (outval * x + 5000) / 10000; in typhoon_setfreq_generic()
112 outval -= (10 * x * x + 10433) / 20866; in typhoon_setfreq_generic()
113 outval += 4 * x - 11505; in typhoon_setfreq_generic()
115 outb_p((outval >> 8) & 0x01, dev->io + 4); in typhoon_setfreq_generic()
116 outb_p(outval >> 9, dev->io + 6); in typhoon_setfreq_generic()
117 outb_p(outval & 0xff, dev->io + 8); in typhoon_setfreq_generic()
/linux-2.6.39/drivers/char/ipmi/
Dipmi_watchdog.c225 typedef int (*action_fn)(const char *intval, char *outval);
227 static int action_op(const char *inval, char *outval);
228 static int preaction_op(const char *inval, char *outval);
229 static int preop_op(const char *inval, char *outval);
1210 static int action_op(const char *inval, char *outval) in action_op() argument
1212 if (outval) in action_op()
1213 strcpy(outval, action); in action_op()
1232 static int preaction_op(const char *inval, char *outval) in preaction_op() argument
1234 if (outval) in preaction_op()
1235 strcpy(outval, preaction); in preaction_op()
[all …]
/linux-2.6.39/fs/xfs/
Dxfs_fsops.c514 xfs_fsop_resblks_t *outval) in xfs_reserve_blocks() argument
521 if (!outval) in xfs_reserve_blocks()
523 outval->resblks = mp->m_resblks; in xfs_reserve_blocks()
524 outval->resblks_avail = mp->m_resblks_avail; in xfs_reserve_blocks()
582 if (outval) { in xfs_reserve_blocks()
583 outval->resblks = mp->m_resblks; in xfs_reserve_blocks()
584 outval->resblks_avail = mp->m_resblks_avail; in xfs_reserve_blocks()
Dxfs_fsops.h26 xfs_fsop_resblks_t *outval);
/linux-2.6.39/sound/isa/wavefront/
Dwavefront_synth.c549 int outval = 0; in demunge_int32() local
552 outval=(outval<<7)+src[i]; in demunge_int32()
555 return outval; in demunge_int32()