Home
last modified time | relevance | path

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

/Linux-v6.1/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.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-v6.1/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()
/Linux-v6.1/drivers/pci/controller/
Dpci-ftpci100.c126 u32 outval; in faraday_res_to_memcfg() local
130 outval = FARADAY_PCI_MEMSIZE_1MB; in faraday_res_to_memcfg()
133 outval = FARADAY_PCI_MEMSIZE_2MB; in faraday_res_to_memcfg()
136 outval = FARADAY_PCI_MEMSIZE_4MB; in faraday_res_to_memcfg()
139 outval = FARADAY_PCI_MEMSIZE_8MB; in faraday_res_to_memcfg()
142 outval = FARADAY_PCI_MEMSIZE_16MB; in faraday_res_to_memcfg()
145 outval = FARADAY_PCI_MEMSIZE_32MB; in faraday_res_to_memcfg()
148 outval = FARADAY_PCI_MEMSIZE_64MB; in faraday_res_to_memcfg()
151 outval = FARADAY_PCI_MEMSIZE_128MB; in faraday_res_to_memcfg()
154 outval = FARADAY_PCI_MEMSIZE_256MB; in faraday_res_to_memcfg()
[all …]
/Linux-v6.1/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);
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-v6.1/fs/xfs/
Dxfs_fsops.c372 xfs_fsop_resblks_t *outval) in xfs_reserve_blocks() argument
382 if (!outval) in xfs_reserve_blocks()
384 outval->resblks = mp->m_resblks; in xfs_reserve_blocks()
385 outval->resblks_avail = mp->m_resblks_avail; in xfs_reserve_blocks()
460 if (outval) { in xfs_reserve_blocks()
461 outval->resblks = mp->m_resblks; in xfs_reserve_blocks()
462 outval->resblks_avail = mp->m_resblks_avail; in xfs_reserve_blocks()
Dxfs_fsops.h13 xfs_fsop_resblks_t *outval);
/Linux-v6.1/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()
/Linux-v6.1/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()
/Linux-v6.1/crypto/
Ddrbg.c310 static int drbg_kcapi_sym(struct drbg_state *drbg, unsigned char *outval,
635 static int drbg_kcapi_hash(struct drbg_state *drbg, unsigned char *outval,
823 unsigned char *outval, size_t outlen, in drbg_hash_df() argument
851 memcpy(outval + len, tmp, blocklen); in drbg_hash_df()
1723 static int drbg_kcapi_hash(struct drbg_state *drbg, unsigned char *outval, in drbg_kcapi_hash() argument
1732 return crypto_shash_final(&sdesc->shash, outval); in drbg_kcapi_hash()
1826 static int drbg_kcapi_sym(struct drbg_state *drbg, unsigned char *outval, in drbg_kcapi_sym() argument
1833 crypto_cipher_encrypt_one(tfm, outval, in->buf); in drbg_kcapi_sym()
/Linux-v6.1/sound/isa/wavefront/
Dwavefront_synth.c552 int outval = 0; in demunge_int32() local
555 outval=(outval<<7)+src[i]; in demunge_int32()
558 return outval; in demunge_int32()
/Linux-v6.1/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()