Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/pci/controller/
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-6.6.21/drivers/char/ipmi/
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-6.6.21/tools/testing/selftests/kvm/x86_64/
Dhyperv_extended_hypercalls.c43 uint64_t *outval; in main() local
74 outval = addr_gpa2hva(vm, run->hyperv.u.hcall.params[1]); in main()
75 *outval = EXT_CAPABILITIES; in main()
/linux-6.6.21/fs/xfs/
Dxfs_fsops.c381 xfs_fsop_resblks_t *outval) in xfs_reserve_blocks() argument
391 if (!outval) in xfs_reserve_blocks()
393 outval->resblks = mp->m_resblks; in xfs_reserve_blocks()
394 outval->resblks_avail = mp->m_resblks_avail; in xfs_reserve_blocks()
469 if (outval) { in xfs_reserve_blocks()
470 outval->resblks = mp->m_resblks; in xfs_reserve_blocks()
471 outval->resblks_avail = mp->m_resblks_avail; in xfs_reserve_blocks()
Dxfs_fsops.h13 xfs_fsop_resblks_t *outval);
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/drivers/crypto/intel/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()