Home
last modified time | relevance | path

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

/drivers/net/ethernet/realtek/
Datp.h153 unsigned char outval; in write_reg() local
155 outval = WrAddr | reg; in write_reg()
156 outb(outval, port + PAR_DATA); in write_reg()
157 outb(outval, port + PAR_DATA); /* Double write for PS/2. */ in write_reg()
159 outval &= 0xf0; in write_reg()
160 outval |= value; in write_reg()
161 outb(outval, port + PAR_DATA); in write_reg()
162 outval &= 0x1f; in write_reg()
163 outb(outval, port + PAR_DATA); in write_reg()
164 outb(outval, port + PAR_DATA); in write_reg()
[all …]
Datp.c406 char outval = (cmd & (1<<num_bits)) ? EE_DATA_WRITE : 0; in eeprom_op() local
407 write_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_LOW); in eeprom_op()
408 write_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_HIGH); in eeprom_op()
/drivers/media/radio/
Dradio-typhoon.c84 unsigned long outval; in typhoon_s_frequency() local
99 outval = (x * x + 2500) / 5000; in typhoon_s_frequency()
100 outval = (outval * x + 5000) / 10000; in typhoon_s_frequency()
101 outval -= (10 * x * x + 10433) / 20866; in typhoon_s_frequency()
102 outval += 4 * x - 11505; in typhoon_s_frequency()
104 outb_p((outval >> 8) & 0x01, isa->io + 4); in typhoon_s_frequency()
105 outb_p(outval >> 9, isa->io + 6); in typhoon_s_frequency()
106 outb_p(outval & 0xff, isa->io + 8); in typhoon_s_frequency()
/drivers/char/ipmi/
Dipmi_watchdog.c217 typedef int (*action_fn)(const char *intval, char *outval);
219 static int action_op(const char *inval, char *outval);
220 static int preaction_op(const char *inval, char *outval);
221 static int preop_op(const char *inval, char *outval);
1223 static int action_op(const char *inval, char *outval) in action_op() argument
1225 if (outval) in action_op()
1226 strcpy(outval, action); in action_op()
1245 static int preaction_op(const char *inval, char *outval) in preaction_op() argument
1247 if (outval) in preaction_op()
1248 strcpy(outval, preaction); in preaction_op()
[all …]
/drivers/gpio/
Dgpio-viperboard.c56 u8 outval; member
109 gamsg->outval = 0x00; in vprbrd_gpioa_get()
162 gamsg->outval = value; in vprbrd_gpioa_set()
200 gamsg->outval = 0x00; in vprbrd_gpioa_direction_input()
242 gamsg->outval = value; in vprbrd_gpioa_direction_output()
/drivers/pinctrl/
Dpinctrl-coh901.c111 int outval; member
129 .outval = 0, \
134 .outval = 1, \
607 u300_gpio_direction_output(&gpio->chip, offset, conf->outval); in u300_gpio_init_pin()
618 offset, conf->outval); in u300_gpio_init_pin()
/drivers/net/wireless/rtlwifi/rtl8188ee/
Drf.c194 u32 *base0, u32 *base1, u32 *outval) in get_txpwr_by_reg() argument
306 *(outval + rf) = writeval; in get_txpwr_by_reg()