/linux/sound/pcmcia/pdaudiocf/ |
A D | pdaudiocf_irq.c | 45 inw(rdp_port); in pdacf_transfer_mono16() 56 inw(rdp_port); in pdacf_transfer_mono32() 86 inw(rdp_port); in pdacf_transfer_mono16sw() 97 inw(rdp_port); in pdacf_transfer_mono32sw() 131 inw(rdp_port); in pdacf_transfer_mono24le() 147 inw(rdp_port); in pdacf_transfer_mono24be() 277 inw(rdp_port); in pdacf_threaded_irq() 278 inw(rdp_port); in pdacf_threaded_irq() 283 inw(rdp_port); in pdacf_threaded_irq() 284 inw(rdp_port); in pdacf_threaded_irq() [all …]
|
A D | pdaudiocf_core.c | 58 while (inw(chip->port + PDAUDIOCF_REG_SCR) & PDAUDIOCF_AK_SBP) { in pdacf_ak4117_write() 75 inw(chip->port + PDAUDIOCF_REG_WDP)); 77 inw(chip->port + PDAUDIOCF_REG_RDP)); 79 inw(chip->port + PDAUDIOCF_REG_TCR)); 81 inw(chip->port + PDAUDIOCF_REG_SCR)); 83 inw(chip->port + PDAUDIOCF_REG_ISR)); 85 inw(chip->port + PDAUDIOCF_REG_IER)); 87 inw(chip->port + PDAUDIOCF_REG_AK_IFR)); 239 val = inw(chip->port + PDAUDIOCF_REG_IER); in snd_pdacf_powerdown() 253 val = inw(chip->port + PDAUDIOCF_REG_IER); in snd_pdacf_suspend()
|
/linux/drivers/net/ethernet/smsc/ |
A D | smc9194.c | 868 bank = inw( ioaddr + BANK_SELECT ); in smc_probe() 876 bank = inw( ioaddr + BANK_SELECT ); in smc_probe() 926 address = inw( ioaddr + ADDR0 + i ); in smc_probe() 934 memory_info_register = inw( ioaddr + MIR ); in smc_probe() 1146 status = inw( ioaddr + DATA_1 ); in smc_rcv() 1147 packet_length = inw( ioaddr + DATA_1 ); in smc_rcv() 1257 packet_no = inw( ioaddr + FIFO_PORTS ); in smc_tx() 1266 tx_status = inw( ioaddr + DATA_1 ); in smc_tx() 1327 saved_bank = inw( ioaddr + BANK_SELECT ); in smc_interrupt() 1330 saved_pointer = inw( ioaddr + POINTER ); in smc_interrupt() [all …]
|
A D | smc91c92_cs.c | 564 addr = inw(ioaddr + GENERAL); in mot_setup() 789 s = inw(ioaddr + BASE_ADDR); in check_sig() 793 s = inw(ioaddr + REVISION); in check_sig() 1190 inw(ioaddr)&0xff, inw(ioaddr + 2)); in smc_tx_timeout() 1210 skb->len, inw(ioaddr + 2)); in smc_start_xmit() 1244 ir = inw(ioaddr+INTERRUPT); in smc_start_xmit() 1317 ephs = inw(ioaddr + EPH); in smc_eph_irq() 1737 i = inw(ioaddr + INTERRUPT); in media_check() 1860 tmp = inw(ioaddr + CONFIG); in smc_netdev_get_ecmd() 1866 tmp = inw(ioaddr + TCR); in smc_netdev_get_ecmd() [all …]
|
A D | smc9194.h | 207 #define SMC_DELAY() { inw( ioaddr + RCR );\ 208 inw( ioaddr + RCR );\ 209 inw( ioaddr + RCR ); }
|
/linux/drivers/net/ethernet/3com/ |
A D | 3c589_cs.c | 388 return inw(ioaddr + 12); in read_eeprom() 430 inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS), in dump_status() 434 inw(ioaddr+0x04), inw(ioaddr+0x06), inw(ioaddr+0x08), in dump_status() 435 inw(ioaddr+0x0a)); in dump_status() 461 inw(ioaddr + 10); in tc589_reset() 462 inw(ioaddr + 12); in tc589_reset() 642 fifo_diag = inw(ioaddr + 4); in el3_interrupt() 673 inw(ioaddr + EL3_STATUS)); in el3_interrupt() 808 inw(ioaddr + 10); in update_stats() 810 inw(ioaddr + 12); in update_stats() [all …]
|
A D | 3c509.c | 318 if (inw(ioaddr) != 0x6d50) { in el3_isa_match() 367 if (inw(ioaddr) != 0x6d50) in el3_isa_resume() 577 if_port = inw(ioaddr + 6)>>14; in el3_eisa_probe() 629 return inw(ioaddr + 12); in read_eeprom() 691 inw(ioaddr + TX_FREE)); in el3_tx_timeout() 837 inw(ioaddr + EL3_STATUS)); in el3_interrupt() 899 inw(ioaddr + 12); in update_stats() 914 inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS)); in el3_rx() 1029 tmp = inw(ioaddr + WN4_MEDIA); in el3_link_ok() 1288 inw(ioaddr + 10); in el3_up() [all …]
|
A D | 3c515.c | 579 irq = inw(ioaddr + 0x2002) & 15; in corkscrew_setup() 582 irq = inw(ioaddr + 0x2002) & 15; in corkscrew_setup() 793 inw(ioaddr + 10); in corkscrew_open() 794 inw(ioaddr + 12); in corkscrew_open() 960 inw(ioaddr + EL3_STATUS)); in corkscrew_timeout() 1063 if (inw(ioaddr + TxFree) > 1536) { in corkscrew_start_xmit() 1074 if (inw(ioaddr + TxFree) > 1536) { in corkscrew_start_xmit() 1128 status = inw(ioaddr + EL3_STATUS); in corkscrew_interrupt() 1262 inw(ioaddr + EL3_STATUS), inw(ioaddr + RxStatus)); in corkscrew_rx() 1327 inw(ioaddr + EL3_STATUS), inw(ioaddr + RxStatus)); in boomerang_rx() [all …]
|
A D | 3c574_cs.c | 476 inw(ioaddr+EL3_STATUS), in dump_status() 478 inw(ioaddr+TxFree)); in dump_status() 481 inw(ioaddr+0x04), inw(ioaddr+0x06), in dump_status() 482 inw(ioaddr+0x08), inw(ioaddr+0x0a)); in dump_status() 511 return inw(ioaddr + Wn0EepromData); in read_eeprom() 634 inw(ioaddr + 10); in tc574_reset() 635 inw(ioaddr + 12); in tc574_reset() 738 inw(ioaddr + EL3_STATUS)); in el3_start_xmit() 974 /* rx */ inw(ioaddr + 10); in update_stats() 975 /* tx */ inw(ioaddr + 12); in update_stats() [all …]
|
/linux/drivers/net/ethernet/amd/ |
A D | lance.c | 514 if (inw(ioaddr+LANCE_DATA) != 0x0004) in lance_probe1() 519 if (inw(ioaddr+LANCE_ADDR) != 88) { in lance_probe1() 580 inw(ioaddr+LANCE_ADDR); in lance_probe1() 583 inw(ioaddr+LANCE_ADDR); in lance_probe1() 586 inw(ioaddr+LANCE_ADDR); in lance_probe1() 608 bus_info = inw(ioaddr+LANCE_BUS_IF); in lance_probe1() 648 if (inw(ioaddr+LANCE_DATA) & 0x0100) in lance_probe1() 766 inw(ioaddr+LANCE_RESET); in lance_open() 811 if (inw(ioaddr+LANCE_DATA) & 0x0100) in lance_open() 965 inw(ioaddr+LANCE_DATA)); in lance_start_xmit() [all …]
|
A D | ni65.c | 162 inw(PORT+L_DATAREG)) 279 if(inw(PORT+L_ADDRREG) != 80) in ni65_set_performance() 326 outw(inw(PORT+L_RESET),PORT+L_RESET); /* that's the hard way */ in ni65_close() 470 if(inw(PORT+L_ADDRREG) == 88) { in ni65_probe1() 472 v = inw(PORT+L_DATAREG); in ni65_probe1() 475 v |= inw(PORT+L_DATAREG); in ni65_probe1() 485 dev->irq = irqtab[(inw(ioaddr+L_CONFIG)>>2)&3]; in ni65_probe1() 486 dev->dma = dmatab[inw(ioaddr+L_CONFIG)&3]; in ni65_probe1() 595 if(inw(PORT+L_DATAREG) & (CSR0_IDON | CSR0_MERR) ) in ni65_init_lance() 855 if(inw(PORT+L_DATAREG) & CSR0_IDON) { in ni65_lance_reinit() [all …]
|
/linux/arch/parisc/lib/ |
A D | io.c | 183 l = cpu_to_le16(inw(port)) << 16; in insw() 184 l |= cpu_to_le16(inw(port)); in insw() 189 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw() 194 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw() 200 l = cpu_to_le16(inw(port)) << 16; in insw() 201 l |= cpu_to_le16(inw(port)); in insw() 206 *(unsigned short *)p = cpu_to_le16(inw(port)); in insw() 216 l = cpu_to_le16(inw(port)); in insw() 221 l2 = cpu_to_le16(inw(port)); in insw()
|
/linux/drivers/watchdog/ |
A D | iTCO_wdt.c | 222 val = inw(TCO1_CNT(p)); in update_no_reboot_bit_cnt() 228 newval = inw(TCO1_CNT(p)); in update_no_reboot_bit_cnt() 291 val = inw(TCO1_CNT(p)); in iTCO_wdt_start() 294 val = inw(TCO1_CNT(p)); in iTCO_wdt_start() 312 val = inw(TCO1_CNT(p)); in iTCO_wdt_stop() 315 val = inw(TCO1_CNT(p)); in iTCO_wdt_stop() 372 val16 = inw(TCOv2_TMR(p)); in iTCO_wdt_set_timeout() 376 val16 = inw(TCOv2_TMR(p)); in iTCO_wdt_set_timeout() 408 val16 = inw(TCO_RLD(p)); in iTCO_wdt_get_timeleft() 417 if (!(inw(TCO1_STS(p)) & 0x0008)) in iTCO_wdt_get_timeleft() [all …]
|
/linux/drivers/input/touchscreen/ |
A D | mk712.c | 110 last_x = inw(mk712_io + MK712_X) & 0x0fff; in mk712_interrupt() 111 last_y = inw(mk712_io + MK712_Y) & 0x0fff; in mk712_interrupt() 159 if ((inw(mk712_io + MK712_X) & 0xf000) || /* Sanity check */ in mk712_init() 160 (inw(mk712_io + MK712_Y) & 0xf000) || in mk712_init() 161 (inw(mk712_io + MK712_STATUS) & 0xf333)) { in mk712_init()
|
/linux/drivers/input/gameport/ |
A D | fm801-gp.c | 33 w = inw(gameport->io + 2); in fm801_gp_cooked_read() 36 w = inw(gameport->io + 4); in fm801_gp_cooked_read() 38 w = inw(gameport->io + 6); in fm801_gp_cooked_read() 41 w = inw(gameport->io + 8); in fm801_gp_cooked_read()
|
/linux/arch/sh/boards/mach-hp6xx/ |
A D | setup.c | 60 v = inw(HD64461_GPADR); in dac_audio_start() 78 v = inw(HD64461_GPADR); in dac_audio_stop() 129 v = inw(HD64461_STBCR); in hp6xx_setup() 139 v = inw(HD64461_GPADR); in hp6xx_setup()
|
/linux/drivers/net/ethernet/fujitsu/ |
A D | fmvj18x_cs.c | 783 htons(inw(ioaddr + TX_STATUS)), in fjn_tx_timeout() 788 htons(inw(ioaddr + 0)), htons(inw(ioaddr + 2)), in fjn_tx_timeout() 789 htons(inw(ioaddr + 4)), htons(inw(ioaddr + 6)), in fjn_tx_timeout() 790 htons(inw(ioaddr + 8)), htons(inw(ioaddr + 10)), in fjn_tx_timeout() 791 htons(inw(ioaddr + 12)), htons(inw(ioaddr + 14))); in fjn_tx_timeout() 937 inw(ioaddr + DATAPORT); in fjn_reset() 938 inw(ioaddr + DATAPORT); in fjn_reset() 967 u_short status = inw(ioaddr + DATAPORT); in fjn_rx() 984 u_short pkt_len = inw(ioaddr + DATAPORT); in fjn_rx()
|
/linux/arch/ia64/include/asm/ |
A D | io.h | 150 #define inw inw macro 151 static inline unsigned int inw(unsigned long port) in inw() function 214 put_unaligned(inw(port), dp++); in insw()
|
/linux/drivers/scsi/ |
A D | nsp32_io.h | 35 return inw(base + index); in nsp32_read2() 137 return inw(base + DATA_REG_LOW); in nsp32_index_read2() 154 l = inw(base + DATA_REG_LOW); in nsp32_index_read4() 155 h = inw(base + DATA_REG_HI ); in nsp32_index_read4()
|
/linux/arch/hexagon/include/asm/ |
A D | io.h | 210 static inline u16 inw(unsigned long port) in inw() function 245 #define inw_p inw 264 u16 x = inw(port); in insw() 275 u32 x = inw(port); in insl()
|
/linux/drivers/comedi/drivers/ |
A D | addi_apci_3120.c | 343 val = inw(dev->iobase + APCI3120_TIMER_REG); in apci3120_timer_read() 413 inw(dev->iobase + APCI3120_TIMER_MODE_REG); in apci3120_set_chanlist() 479 status = inw(dev->iobase + APCI3120_STATUS_REG); in apci3120_interrupt() 504 val = inw(dev->iobase + APCI3120_AI_FIFO_REG); in apci3120_interrupt() 684 inw(dev->iobase + APCI3120_STATUS_REG); in apci3120_cancel() 697 status = inw(dev->iobase + APCI3120_STATUS_REG); in apci3120_ai_eoc() 754 status = inw(dev->iobase + APCI3120_STATUS_REG); in apci3120_ao_ready() 792 status = inw(dev->iobase + APCI3120_STATUS_REG); in apci3120_di_insn_bits() 850 status = inw(dev->iobase + APCI3120_STATUS_REG); in apci3120_timer_insn_config() 961 inw(dev->iobase + APCI3120_STATUS_REG); in apci3120_reset() [all …]
|
A D | dt282x.c | 508 adcsr = inw(dev->iobase + DT2821_ADCSR_REG); in dt282x_interrupt() 509 dacsr = inw(dev->iobase + DT2821_DACSR_REG); in dt282x_interrupt() 510 supcsr = inw(dev->iobase + DT2821_SUPCSR_REG); in dt282x_interrupt() 565 status = inw(dev->iobase + DT2821_ADCSR_REG); in dt282x_ai_timeout() 619 val = inw(dev->iobase + DT2821_ADDAT_REG); in dt282x_ai_insn_read() 941 data[1] = inw(dev->iobase + DT2821_DIODAT_REG); in dt282x_dio_insn_bits() 1045 inw(dev->iobase + DT2821_ADCSR_REG); in dt282x_initialize() 1051 if (((inw(dev->iobase + DT2821_ADCSR_REG) & 0xfff0) != 0x7c00) || in dt282x_initialize() 1053 ((inw(dev->iobase + DT2821_DACSR_REG) & 0x7c93) != 0x7c90) || in dt282x_initialize() 1054 ((inw(dev->iobase + DT2821_SUPCSR_REG) & 0xf8ff) != 0x0000) || in dt282x_initialize() [all …]
|
A D | adl_pci6208.c | 49 status = inw(dev->iobase + PCI6208_AO_STATUS); in pci6208_ao_eoc() 89 val = inw(dev->iobase + PCI6208_DIO); in pci6208_di_insn_bits() 162 val = inw(dev->iobase + PCI6208_DIO); in pci6208_auto_attach()
|
/linux/arch/mips/loongson2ef/common/cs5536/ |
A D | cs5536_mfgpt.c | 39 outw(inw(MFGPT0_SETUP) & 0x7fff, MFGPT0_SETUP); in disable_mfgpt0_counter() 96 outw(inw(MFGPT0_SETUP) | 0x4000, MFGPT0_SETUP); in timer_interrupt() 165 count = inw(MFGPT0_CNT); in mfgpt_read()
|
/linux/sound/pci/ |
A D | es1968.c | 771 value = inw(chip->io_port + WC_DATA); in wave_get_register() 2057 save_ringbus_a = inw(ioaddr + 0x36); in snd_es1968_ac97_reset() 2066 save_68 = inw(ioaddr + 0x68); in snd_es1968_ac97_reset() 2087 save_68 = inw(ioaddr + 0x68); in snd_es1968_ac97_reset() 2102 if ((inw(ioaddr + 0x30) & 1) == 0) { in snd_es1968_ac97_reset() 2107 if (((inw(ioaddr + 0x30) & 1) == 0) in snd_es1968_ac97_reset() 2111 if (((inw(ioaddr + 0x30) & 1) == 0) in snd_es1968_ac97_reset() 2124 if ((inw(ioaddr + 0x30) & 1) == 0) in snd_es1968_ac97_reset() 2330 w = inw(iobase + WC_CONTROL); in snd_es1968_chip_init() 2555 u16 val = inw(chip->io_port + GPIO_DATA); in snd_es1968_tea575x_get_pins() [all …]
|