/drivers/net/ethernet/realtek/ |
D | atp.h | 161 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 …]
|
D | atp.c | 406 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/ |
D | radio-typhoon.c | 85 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/ |
D | pci-ftpci100.c | 133 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/ |
D | ipmi_watchdog.c | 201 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/ |
D | gpio-viperboard.c | 50 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/ |
D | panel-tpo-tpg110.c | 190 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/ |
D | pinctrl-coh901.c | 106 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/ |
D | qat_uclo.c | 128 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()
|