Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/realtek/
H A 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 …]
H A Datp.c408 char outval = (cmd & (1<<num_bits)) ? EE_DATA_WRITE : 0; in eeprom_op() local
409 write_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_LOW); in eeprom_op()
410 write_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_HIGH); in eeprom_op()
/linux/drivers/media/radio/
H A 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()
/linux/drivers/pci/controller/
H A Dpci-ftpci100.c125 u32 outval; in faraday_res_to_memcfg() local
129 outval = FARADAY_PCI_MEMSIZE_1MB; in faraday_res_to_memcfg()
132 outval = FARADAY_PCI_MEMSIZE_2MB; in faraday_res_to_memcfg()
135 outval = FARADAY_PCI_MEMSIZE_4MB; in faraday_res_to_memcfg()
138 outval = FARADAY_PCI_MEMSIZE_8MB; in faraday_res_to_memcfg()
141 outval = FARADAY_PCI_MEMSIZE_16MB; in faraday_res_to_memcfg()
144 outval = FARADAY_PCI_MEMSIZE_32MB; in faraday_res_to_memcfg()
147 outval = FARADAY_PCI_MEMSIZE_64MB; in faraday_res_to_memcfg()
150 outval = FARADAY_PCI_MEMSIZE_128MB; in faraday_res_to_memcfg()
153 outval = FARADAY_PCI_MEMSIZE_256MB; in faraday_res_to_memcfg()
[all …]
/linux/drivers/char/ipmi/
H A Dipmi_watchdog.c202 typedef int (*action_fn)(const char *intval, char *outval);
204 static int action_op(const char *inval, char *outval);
205 static int preaction_op(const char *inval, char *outval);
206 static int preop_op(const char *inval, char *outval);
1193 static int action_op(const char *inval, char *outval) in action_op() argument
1195 if (outval) in action_op()
1196 strcpy(outval, action); in action_op()
1215 static int preaction_op(const char *inval, char *outval) in preaction_op() argument
1217 if (outval) in preaction_op()
1218 strcpy(outval, preaction); in preaction_op()
[all …]
/linux/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_extended_hypercalls.c43 uint64_t *outval; in main() local
76 outval = addr_gpa2hva(vm, run->hyperv.u.hcall.params[1]); in main()
77 *outval = EXT_CAPABILITIES; in main()
/linux/drivers/gpio/
H A 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()
/linux/drivers/gpu/drm/panel/
H A 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()
/linux/crypto/
H A Ddrbg.c298 static int drbg_kcapi_sym(struct drbg_state *drbg, unsigned char *outval,
623 static int drbg_kcapi_hash(struct drbg_state *drbg, unsigned char *outval,
807 unsigned char *outval, size_t outlen, in drbg_hash_df() argument
835 memcpy(outval + len, tmp, blocklen); in drbg_hash_df()
1707 static int drbg_kcapi_hash(struct drbg_state *drbg, unsigned char *outval, in drbg_kcapi_hash() argument
1716 return crypto_shash_final(&sdesc->shash, outval); in drbg_kcapi_hash()
1810 static int drbg_kcapi_sym(struct drbg_state *drbg, unsigned char *outval, in drbg_kcapi_sym() argument
1817 crypto_cipher_encrypt_one(tfm, outval, in->buf); in drbg_kcapi_sym()
/linux/sound/isa/wavefront/
H A Dwavefront_synth.c553 int outval = 0; in demunge_int32()
556 outval=(outval<<7)+src[i]; in demunge_int32()
559 return outval; in demunge_int32()
552 int outval = 0; demunge_int32() local
/linux/drivers/crypto/intel/qat/qat_common/
H A 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()