Home
last modified time | relevance | path

Searched refs:inw (Results 1 - 25 of 370) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_irq.c27 stat = inw(chip->port + PDAUDIOCF_REG_ISR); in pdacf_interrupt()
44 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_mono16()
45 inw(rdp_port); in pdacf_transfer_mono16()
54 val1 = inw(rdp_port); in pdacf_transfer_mono32()
55 val2 = inw(rdp_port); in pdacf_transfer_mono32()
56 inw(rdp_port); in pdacf_transfer_mono32()
64 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_stereo16()
65 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_stereo16()
74 val1 = inw(rdp_port); in pdacf_transfer_stereo32()
75 val2 = inw(rdp_por in pdacf_transfer_stereo32()
[all...]
H A Dpdaudiocf_core.c58 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(chi in snd_pdacf_suspend()
[all...]
/kernel/linux/linux-6.6/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_irq.c27 stat = inw(chip->port + PDAUDIOCF_REG_ISR); in pdacf_interrupt()
44 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_mono16()
45 inw(rdp_port); in pdacf_transfer_mono16()
54 val1 = inw(rdp_port); in pdacf_transfer_mono32()
55 val2 = inw(rdp_port); in pdacf_transfer_mono32()
56 inw(rdp_port); in pdacf_transfer_mono32()
64 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_stereo16()
65 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_stereo16()
74 val1 = inw(rdp_port); in pdacf_transfer_stereo32()
75 val2 = inw(rdp_por in pdacf_transfer_stereo32()
[all...]
H A Dpdaudiocf_core.c58 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(chi in snd_pdacf_suspend()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
H A D3c589_cs.c379 if (!(inw(dev->base_addr + EL3_STATUS) & 0x1000)) in tc589_wait_for_completion()
395 if ((inw(ioaddr + 10) & EEPROM_BUSY) == 0) in read_eeprom()
397 return inw(ioaddr + 12); in read_eeprom()
439 inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS), in dump_status()
440 inb(ioaddr+TX_STATUS), inw(ioaddr+TX_FREE)); in dump_status()
443 inw(ioaddr+0x04), inw(ioaddr+0x06), inw(ioaddr+0x08), in dump_status()
444 inw(ioadd in dump_status()
[all...]
H A D3c509.c319 if (inw(ioaddr) != 0x6d50) { in el3_isa_match()
369 if (inw(ioaddr) != 0x6d50) in el3_isa_resume()
577 irq = inw(ioaddr + WN0_IRQ) >> 12; in el3_eisa_probe()
578 if_port = inw(ioaddr + 6)>>14; in el3_eisa_probe()
631 return inw(ioaddr + 12); in read_eeprom()
674 dev->irq, ioaddr + EL3_STATUS, inw(ioaddr + EL3_STATUS)); in el3_open()
680 dev->name, dev->irq, inw(ioaddr + EL3_STATUS)); in el3_open()
692 dev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS), in el3_tx_timeout()
693 inw(ioaddr + TX_FREE)); in el3_tx_timeout()
716 dev->name, skb->len, inw(ioadd in el3_start_xmit()
[all...]
H A D3c574_cs.c477 inw(ioaddr+EL3_STATUS), in dump_status()
478 inw(ioaddr+RxStatus), inb(ioaddr+TxStatus), in dump_status()
479 inw(ioaddr+TxFree)); in dump_status()
482 inw(ioaddr+0x04), inw(ioaddr+0x06), in dump_status()
483 inw(ioaddr+0x08), inw(ioaddr+0x0a)); in dump_status()
495 if (!(inw(dev->base_addr + EL3_STATUS) & 0x1000)) break; in tc574_wait_for_completion()
509 if ((inw(ioaddr + Wn0EepromCmd) & 0x8000) == 0) in read_eeprom()
512 return inw(ioadd in read_eeprom()
[all...]
H A D3c515.c439 if ((inw(ioaddr + 0x2002) & 0x1f0) != (ioaddr & 0x1f0)) { in check_device()
448 if ((inw(ioaddr + Wn0EepromCmd) & 0x0200) == 0) in check_device()
451 if (inw(ioaddr + Wn0EepromData) != 0x6d50) { in check_device()
522 inl(ioaddr + 0x2002), inw(ioaddr + 0x2000)); in corkscrew_scan()
523 /* irq = inw(ioaddr + 0x2002) & 15; */ /* Use the irq from isapnp */ in corkscrew_scan()
541 inl(ioaddr + 0x2002), inw(ioaddr + 0x2000)); in corkscrew_scan()
577 irq = inw(ioaddr + 0x2002) & 15; in corkscrew_setup()
580 irq = inw(ioaddr + 0x2002) & 15; in corkscrew_setup()
585 dev->dma = inw(ioaddr + 0x2000) & 7; in corkscrew_setup()
627 if ((inw(ioadd in corkscrew_setup()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/3com/
H A D3c589_cs.c379 if (!(inw(dev->base_addr + EL3_STATUS) & 0x1000)) in tc589_wait_for_completion()
395 if ((inw(ioaddr + 10) & EEPROM_BUSY) == 0) in read_eeprom()
397 return inw(ioaddr + 12); in read_eeprom()
439 inw(ioaddr+EL3_STATUS), inw(ioaddr+RX_STATUS), in dump_status()
440 inb(ioaddr+TX_STATUS), inw(ioaddr+TX_FREE)); in dump_status()
443 inw(ioaddr+0x04), inw(ioaddr+0x06), inw(ioaddr+0x08), in dump_status()
444 inw(ioadd in dump_status()
[all...]
H A D3c509.c318 if (inw(ioaddr) != 0x6d50) { in el3_isa_match()
367 if (inw(ioaddr) != 0x6d50) in el3_isa_resume()
576 irq = inw(ioaddr + WN0_IRQ) >> 12; in el3_eisa_probe()
577 if_port = inw(ioaddr + 6)>>14; in el3_eisa_probe()
629 return inw(ioaddr + 12); in read_eeprom()
672 dev->irq, ioaddr + EL3_STATUS, inw(ioaddr + EL3_STATUS)); in el3_open()
678 dev->name, dev->irq, inw(ioaddr + EL3_STATUS)); in el3_open()
690 dev->name, inb(ioaddr + TX_STATUS), inw(ioaddr + EL3_STATUS), in el3_tx_timeout()
691 inw(ioaddr + TX_FREE)); in el3_tx_timeout()
714 dev->name, skb->len, inw(ioadd in el3_start_xmit()
[all...]
H A D3c574_cs.c476 inw(ioaddr+EL3_STATUS), in dump_status()
477 inw(ioaddr+RxStatus), inb(ioaddr+TxStatus), 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()
494 if (!(inw(dev->base_addr + EL3_STATUS) & 0x1000)) break; in tc574_wait_for_completion()
508 if ((inw(ioaddr + Wn0EepromCmd) & 0x8000) == 0) in read_eeprom()
511 return inw(ioadd in read_eeprom()
[all...]
H A D3c515.c442 if ((inw(ioaddr + 0x2002) & 0x1f0) != (ioaddr & 0x1f0)) { in check_device()
451 if ((inw(ioaddr + Wn0EepromCmd) & 0x0200) == 0) in check_device()
454 if (inw(ioaddr + Wn0EepromData) != 0x6d50) { in check_device()
525 inl(ioaddr + 0x2002), inw(ioaddr + 0x2000)); in corkscrew_scan()
526 /* irq = inw(ioaddr + 0x2002) & 15; */ /* Use the irq from isapnp */ in corkscrew_scan()
544 inl(ioaddr + 0x2002), inw(ioaddr + 0x2000)); in corkscrew_scan()
581 irq = inw(ioaddr + 0x2002) & 15; in corkscrew_setup()
584 irq = inw(ioaddr + 0x2002) & 15; in corkscrew_setup()
589 dev->dma = inw(ioaddr + 0x2000) & 7; in corkscrew_setup()
630 if ((inw(ioadd in corkscrew_setup()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
H A Dsmc9194.c338 outw( inw( ioaddr + CONTROL ) | CTL_AUTO_RELEASE , ioaddr + CONTROL ); in smc_reset()
398 outw( inw( ioaddr + CONTROL ), CTL_POWERDOWN, ioaddr + CONTROL ); in smc_shutdown()
868 bank = inw( ioaddr + BANK_SELECT ); in smc_probe()
876 bank = inw( ioaddr + BANK_SELECT ); in smc_probe()
885 base_address_register = inw( ioaddr + BASE ); in smc_probe()
900 revision_register = inw( ioaddr + REVISION ); in smc_probe()
926 address = inw( ioaddr + ADDR0 + i ); in smc_probe()
934 memory_info_register = inw( ioaddr + MIR ); in smc_probe()
935 memory_cfg_register = inw( ioaddr + MCR ); in smc_probe()
945 revision_register = inw( ioadd in smc_probe()
[all...]
H A Dsmc91c92_cs.c262 #define set_bits(v, p) outw(inw(p)|(v), (p))
263 #define mask_bits(v, p) outw(inw(p)&(v), (p))
554 wait = ((CTL_RELOAD | CTL_STORE) & inw(ioaddr + CONTROL)); in mot_setup()
561 addr = inw(ioaddr + GENERAL); in mot_setup()
703 inw(link->resource[0]->start + OSITECH_AUI_PWR), in osi_setup()
704 inw(link->resource[0]->start + OSITECH_RESET_ISR)); in osi_setup()
770 if (inw(ioaddr + BANK_SELECT) >> 8 != 0x33) { in check_sig()
786 s = inw(ioaddr + BASE_ADDR); in check_sig()
787 if ((inw(ioaddr + BANK_SELECT) >> 8 == 0x33) && in check_sig()
790 s = inw(ioadd in check_sig()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/smsc/
H A Dsmc9194.c338 outw( inw( ioaddr + CONTROL ) | CTL_AUTO_RELEASE , ioaddr + CONTROL ); in smc_reset()
398 outw( inw( ioaddr + CONTROL ), CTL_POWERDOWN, ioaddr + CONTROL ); in smc_shutdown()
869 bank = inw( ioaddr + BANK_SELECT ); in smc_probe()
877 bank = inw( ioaddr + BANK_SELECT ); in smc_probe()
886 base_address_register = inw( ioaddr + BASE ); in smc_probe()
901 revision_register = inw( ioaddr + REVISION ); in smc_probe()
927 address = inw( ioaddr + ADDR0 + i ); in smc_probe()
936 memory_info_register = inw( ioaddr + MIR ); in smc_probe()
937 memory_cfg_register = inw( ioaddr + MCR ); in smc_probe()
947 revision_register = inw( ioadd in smc_probe()
[all...]
H A Dsmc91c92_cs.c262 #define set_bits(v, p) outw(inw(p)|(v), (p))
263 #define mask_bits(v, p) outw(inw(p)&(v), (p))
557 wait = ((CTL_RELOAD | CTL_STORE) & inw(ioaddr + CONTROL)); in mot_setup()
564 addr = inw(ioaddr + GENERAL); in mot_setup()
706 inw(link->resource[0]->start + OSITECH_AUI_PWR), in osi_setup()
707 inw(link->resource[0]->start + OSITECH_RESET_ISR)); in osi_setup()
773 if (inw(ioaddr + BANK_SELECT) >> 8 != 0x33) { in check_sig()
789 s = inw(ioaddr + BASE_ADDR); in check_sig()
790 if ((inw(ioaddr + BANK_SELECT) >> 8 == 0x33) && in check_sig()
793 s = inw(ioadd in check_sig()
[all...]
/kernel/linux/linux-6.6/arch/parisc/include/asm/
H A Dio.h150 #define inw_p inw
165 extern unsigned short inw(int addr);
171 #define inw inw macro
178 #define inw eisa_in16 macro
190 static inline short inw(unsigned long addr) in inw() function
202 #define inw inw macro
/kernel/linux/linux-5.10/arch/parisc/lib/
H A Dio.c165 * of the inw() breaks things.
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(por in insw()
[all...]
/kernel/linux/linux-6.6/arch/parisc/lib/
H A Dio.c165 * of the inw() breaks things.
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(por in insw()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
H A Dlance.c504 reset_val = inw(ioaddr+LANCE_RESET); /* Reset the LANCE */ in lance_probe1()
512 if (inw(ioaddr+LANCE_DATA) != 0x0004) in lance_probe1()
517 if (inw(ioaddr+LANCE_ADDR) != 88) { in lance_probe1()
520 int chip_version = inw(ioaddr+LANCE_DATA); in lance_probe1()
522 chip_version |= inw(ioaddr+LANCE_DATA) << 16; in lance_probe1()
578 inw(ioaddr+LANCE_ADDR); in lance_probe1()
581 inw(ioaddr+LANCE_ADDR); in lance_probe1()
584 inw(ioaddr+LANCE_ADDR); in lance_probe1()
599 short reset_val = inw(ioaddr+LANCE_RESET); in lance_probe1()
606 bus_info = inw(ioadd in lance_probe1()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/
H A Dlance.c508 reset_val = inw(ioaddr+LANCE_RESET); /* Reset the LANCE */ in lance_probe1()
516 if (inw(ioaddr+LANCE_DATA) != 0x0004) in lance_probe1()
521 if (inw(ioaddr+LANCE_ADDR) != 88) { in lance_probe1()
524 int chip_version = inw(ioaddr+LANCE_DATA); in lance_probe1()
526 chip_version |= inw(ioaddr+LANCE_DATA) << 16; in lance_probe1()
583 inw(ioaddr+LANCE_ADDR); in lance_probe1()
586 inw(ioaddr+LANCE_ADDR); in lance_probe1()
589 inw(ioaddr+LANCE_ADDR); in lance_probe1()
604 short reset_val = inw(ioaddr+LANCE_RESET); in lance_probe1()
611 bus_info = inw(ioadd in lance_probe1()
[all...]
/kernel/linux/linux-5.10/drivers/watchdog/
H A DiTCO_wdt.c225 val = inw(TCO1_CNT(p)); in update_no_reboot_bit_cnt()
231 newval = inw(TCO1_CNT(p)); in update_no_reboot_bit_cnt()
294 val = inw(TCO1_CNT(p)); in iTCO_wdt_start()
297 val = inw(TCO1_CNT(p)); in iTCO_wdt_start()
315 val = inw(TCO1_CNT(p)); in iTCO_wdt_stop()
318 val = inw(TCO1_CNT(p)); in iTCO_wdt_stop()
375 val16 = inw(TCOv2_TMR(p)); in iTCO_wdt_set_timeout()
379 val16 = inw(TCOv2_TMR(p)); in iTCO_wdt_set_timeout()
411 val16 = inw(TCO_RLD(p)); in iTCO_wdt_get_timeleft()
420 if (!(inw(TCO1_ST in iTCO_wdt_get_timeleft()
[all...]
/kernel/linux/linux-6.6/drivers/watchdog/
H A DiTCO_wdt.c222 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_ST in iTCO_wdt_get_timeleft()
[all...]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dmk712.c110 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()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dmk712.c110 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()

Completed in 26 milliseconds

12345678910>>...15