Home
last modified time | relevance | path

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

/drivers/net/ethernet/realtek/
Datp.h161 unsigned char outval; in write_reg() local
164 outval = WrAddr | reg; in write_reg()
165 outb(outval, port + PAR_DATA); in write_reg()
166 outb(outval, port + PAR_DATA); /* Double write for PS/2. */ in write_reg()
168 outval &= 0xf0; in write_reg()
169 outval |= value; in write_reg()
170 outb(outval, port + PAR_DATA); in write_reg()
171 outval &= 0x1f; in write_reg()
172 outb(outval, port + PAR_DATA); in write_reg()
173 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.c85 unsigned long outval; in typhoon_s_frequency() local
100 outval = (x * x + 2500) / 5000; in typhoon_s_frequency()
101 outval = (outval * x + 5000) / 10000; in typhoon_s_frequency()
102 outval -= (10 * x * x + 10433) / 20866; in typhoon_s_frequency()
103 outval += 4 * x - 11505; in typhoon_s_frequency()
105 outb_p((outval >> 8) & 0x01, isa->io + 4); in typhoon_s_frequency()
106 outb_p(outval >> 9, isa->io + 6); in typhoon_s_frequency()
107 outb_p(outval & 0xff, isa->io + 8); in typhoon_s_frequency()
/drivers/pci/controller/
Dpci-ftpci100.c133 u32 outval; in faraday_res_to_memcfg() local
137 outval = FARADAY_PCI_MEMSIZE_1MB; in faraday_res_to_memcfg()
140 outval = FARADAY_PCI_MEMSIZE_2MB; in faraday_res_to_memcfg()
143 outval = FARADAY_PCI_MEMSIZE_4MB; in faraday_res_to_memcfg()
146 outval = FARADAY_PCI_MEMSIZE_8MB; in faraday_res_to_memcfg()
149 outval = FARADAY_PCI_MEMSIZE_16MB; in faraday_res_to_memcfg()
152 outval = FARADAY_PCI_MEMSIZE_32MB; in faraday_res_to_memcfg()
155 outval = FARADAY_PCI_MEMSIZE_64MB; in faraday_res_to_memcfg()
158 outval = FARADAY_PCI_MEMSIZE_128MB; in faraday_res_to_memcfg()
161 outval = FARADAY_PCI_MEMSIZE_256MB; in faraday_res_to_memcfg()
[all …]
/drivers/char/ipmi/
Dipmi_watchdog.c201 typedef int (*action_fn)(const char *intval, char *outval);
203 static int action_op(const char *inval, char *outval);
204 static int preaction_op(const char *inval, char *outval);
205 static int preop_op(const char *inval, char *outval);
1201 static int action_op(const char *inval, char *outval) in action_op() argument
1203 if (outval) in action_op()
1204 strcpy(outval, action); in action_op()
1223 static int preaction_op(const char *inval, char *outval) in preaction_op() argument
1225 if (outval) in preaction_op()
1226 strcpy(outval, preaction); in preaction_op()
[all …]
/drivers/gpio/
Dgpio-viperboard.c50 u8 outval; member
102 gamsg->outval = 0x00; in vprbrd_gpioa_get()
154 gamsg->outval = value; in vprbrd_gpioa_set()
191 gamsg->outval = 0x00; in vprbrd_gpioa_direction_input()
232 gamsg->outval = value; in vprbrd_gpioa_direction_output()
/drivers/gpu/drm/panel/
Dpanel-tpo-tpg110.c190 u8 address, u8 outval) in tpg110_readwrite_reg() argument
208 buf[1] = outval; in tpg110_readwrite_reg()
254 static void tpg110_write_reg(struct tpg110 *tpg, u8 address, u8 outval) in tpg110_write_reg() argument
256 tpg110_readwrite_reg(tpg, true, address, outval); in tpg110_write_reg()
/drivers/pinctrl/
Dpinctrl-coh901.c106 int outval; member
121 .outval = 0, \
126 .outval = 1, \
543 u300_gpio_direction_output(&gpio->chip, offset, conf->outval); in u300_gpio_init_pin()
554 offset, conf->outval); in u300_gpio_init_pin()
/drivers/crypto/qat/qat_common/
Dqat_uclo.c128 unsigned int outval; in qat_uclo_wr_sram_by_words() local
132 memcpy(&outval, ptr, 4); in qat_uclo_wr_sram_by_words()
133 SRAM_WRITE(handle, addr, outval); in qat_uclo_wr_sram_by_words()
145 unsigned int outval; in qat_uclo_wr_umem_by_words() local
151 memcpy(&outval, ptr, 4); in qat_uclo_wr_umem_by_words()
152 qat_hal_wr_umem(handle, ae, addr++, 1, &outval); in qat_uclo_wr_umem_by_words()