Home
last modified time | relevance | path

Searched refs:outl (Results 1 – 25 of 164) sorted by relevance

1234567

/linux-6.1.9/sound/pci/emu10k1/
Dio.c38 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_read()
45 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_read()
74 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_write()
76 outl(data, emu->port + DATA); in snd_emu10k1_ptr_write()
80 outl(regptr, emu->port + PTR); in snd_emu10k1_ptr_write()
81 outl(data, emu->port + DATA); in snd_emu10k1_ptr_write()
98 outl(regptr, emu->port + 0x20 + PTR); in snd_emu10k1_ptr20_read()
115 outl(regptr, emu->port + 0x20 + PTR); in snd_emu10k1_ptr20_write()
116 outl(data, emu->port + 0x20 + DATA); in snd_emu10k1_ptr20_write()
246 outl(reg, emu->port + A_IOCFG); in snd_emu1010_fpga_write()
[all …]
Demu10k1_main.c150 outl(HCFG_LOCKSOUNDCACHE | HCFG_LOCKTANKCACHE_MASK | in snd_emu10k1_init()
162 outl(0, emu->port + INTE); in snd_emu10k1_init()
199 outl(0x0201, emu->port + HCFG2); in snd_emu10k1_init()
213 outl(0x600000, emu->port + 0x20); in snd_emu10k1_init()
214 outl(0x14, emu->port + 0x24); in snd_emu10k1_init()
217 outl(0x7b0000, emu->port + 0x20); in snd_emu10k1_init()
218 outl(0xFF000000, emu->port + 0x24); in snd_emu10k1_init()
224 outl(0x7a0000, emu->port + 0x20); in snd_emu10k1_init()
225 outl(0xFF000000, emu->port + 0x24); in snd_emu10k1_init()
227 outl(tmp, emu->port + A_IOCFG); in snd_emu10k1_init()
[all …]
/linux-6.1.9/arch/sh/drivers/pci/
Dpci-dreamcast.c69 outl(0x5a14a501, GAPSPCI_REGS+0x18); in gapspci_init()
77 outl(0x01000000, GAPSPCI_REGS+0x20); in gapspci_init()
78 outl(0x01000000, GAPSPCI_REGS+0x24); in gapspci_init()
80 outl(GAPSPCI_DMA_BASE, GAPSPCI_REGS+0x28); in gapspci_init()
81 outl(GAPSPCI_DMA_BASE+GAPSPCI_DMA_SIZE, GAPSPCI_REGS+0x2c); in gapspci_init()
83 outl(1, GAPSPCI_REGS+0x14); in gapspci_init()
84 outl(1, GAPSPCI_REGS+0x34); in gapspci_init()
88 outl(0x00000000, GAPSPCI_BBA_CONFIG+0x30); in gapspci_init()
92 outl(0x00002001, GAPSPCI_BBA_CONFIG+0x10); in gapspci_init()
93 outl(0x01000000, GAPSPCI_BBA_CONFIG+0x14); in gapspci_init()
/linux-6.1.9/drivers/comedi/drivers/
Daddi_apci_1564.c175 outl(0x0, dev->iobase + APCI1564_DI_IRQ_REG); in apci1564_reset()
177 outl(0x0, dev->iobase + APCI1564_DI_INT_MODE1_REG); in apci1564_reset()
178 outl(0x0, dev->iobase + APCI1564_DI_INT_MODE2_REG); in apci1564_reset()
181 outl(0x0, dev->iobase + APCI1564_DO_REG); in apci1564_reset()
182 outl(0x0, dev->iobase + APCI1564_DO_INT_CTRL_REG); in apci1564_reset()
188 outl(0x0, devpriv->timer + ADDI_TCW_CTRL_REG); in apci1564_reset()
189 outl(0x0, devpriv->timer + ADDI_TCW_RELOAD_REG); in apci1564_reset()
195 outl(0x0, iobase + APCI1564_COUNTER(0)); in apci1564_reset()
196 outl(0x0, iobase + APCI1564_COUNTER(1)); in apci1564_reset()
197 outl(0x0, iobase + APCI1564_COUNTER(2)); in apci1564_reset()
[all …]
Dme4000.c325 outl(PLX9052_INTCSR_LI2POL, devpriv->plx_regbase + PLX9052_INTCSR); in me4000_xilinx_download()
330 outl(val, devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
346 outl(val, devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
379 outl(val, devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
391 outl(ctrl, dev->iobase + ME4000_AI_CTRL_REG); in me4000_ai_reset()
394 outl(0x0, dev->iobase + ME4000_AI_CTRL_REG); in me4000_ai_reset()
404 outl(0, devpriv->plx_regbase + PLX9052_INTCSR); in me4000_reset()
409 outl(val, devpriv->plx_regbase + PLX9052_CNTRL); in me4000_reset()
411 outl(val, devpriv->plx_regbase + PLX9052_CNTRL); in me4000_reset()
415 outl(0x8000, dev->iobase + ME4000_AO_SINGLE_REG(chan)); in me4000_reset()
[all …]
Dadl_pci9118.c249 outl(dmabuf->hw, devpriv->iobase_a + AMCC_OP_REG_MWAR); in pci9118_amcc_setup_dma()
250 outl(dmabuf->use_size, devpriv->iobase_a + AMCC_OP_REG_MWTC); in pci9118_amcc_setup_dma()
263 outl(mcsr, devpriv->iobase_a + AMCC_OP_REG_MCSR); in pci9118_amcc_dma_ena()
277 outl(intcsr, devpriv->iobase_a + AMCC_OP_REG_INTCSR); in pci9118_amcc_int_ena()
283 outl(0, dev->iobase + PCI9118_FIFO_RESET_REG); in pci9118_ai_reset_fifo()
349 outl(devpriv->ai_ctrl, dev->iobase + PCI9118_AI_CTRL_REG); in pci9118_set_chanlist()
352 outl(2, dev->iobase + PCI9118_AI_AUTOSCAN_MODE_REG); in pci9118_set_chanlist()
353 outl(0, dev->iobase + PCI9118_AI_AUTOSCAN_MODE_REG); in pci9118_set_chanlist()
354 outl(1, dev->iobase + PCI9118_AI_AUTOSCAN_MODE_REG); in pci9118_set_chanlist()
362 outl(val | ssh, dev->iobase + PCI9118_AI_CHANLIST_REG); in pci9118_set_chanlist()
[all …]
Daddi_watchdog.c44 outl(reload, spriv->iobase + ADDI_TCW_RELOAD_REG); in addi_watchdog_insn_config()
57 outl(spriv->wdog_ctrl, spriv->iobase + ADDI_TCW_CTRL_REG); in addi_watchdog_insn_config()
91 outl(spriv->wdog_ctrl | ADDI_TCW_CTRL_TRIG, in addi_watchdog_insn_write()
100 outl(0x0, iobase + ADDI_TCW_CTRL_REG); in addi_watchdog_reset()
101 outl(0x0, iobase + ADDI_TCW_RELOAD_REG); in addi_watchdog_reset()
Daddi_apci_1032.c93 outl(0x0, dev->iobase + APCI1032_CTRL_REG); in apci1032_reset()
97 outl(0x0, dev->iobase + APCI1032_MODE1_REG); in apci1032_reset()
98 outl(0x0, dev->iobase + APCI1032_MODE2_REG); in apci1032_reset()
244 outl(devpriv->mode1, dev->iobase + APCI1032_MODE1_REG); in apci1032_cos_cmd()
245 outl(devpriv->mode2, dev->iobase + APCI1032_MODE2_REG); in apci1032_cos_cmd()
246 outl(devpriv->ctrl, dev->iobase + APCI1032_CTRL_REG); in apci1032_cos_cmd()
276 outl(ctrl & ~APCI1032_CTRL_INT_ENA, dev->iobase + APCI1032_CTRL_REG); in apci1032_interrupt()
284 outl(ctrl, dev->iobase + APCI1032_CTRL_REG); in apci1032_interrupt()
Daddi_apci_3501.c124 outl(0, dev->iobase + APCI3501_AO_CTRL_STATUS_REG); in apci3501_ao_insn_write()
127 outl(APCI3501_AO_CTRL_BIPOLAR, in apci3501_ao_insn_write()
146 outl(cfg | APCI3501_AO_DATA_VAL(val), in apci3501_ao_insn_write()
173 outl(s->state, dev->iobase + APCI3501_DO_REG); in apci3501_do_insn_bits()
281 outl(0x0, dev->iobase + APCI3501_DO_REG); in apci3501_reset()
284 outl(APCI3501_AO_CTRL_BIPOLAR, in apci3501_reset()
296 outl(val | APCI3501_AO_DATA_CHAN(chan), in apci3501_reset()
Daddi_apci_2032.c51 outl(s->state, dev->iobase + APCI2032_DO_REG); in apci2032_do_insn_bits()
74 outl(0x0, dev->iobase + APCI2032_INT_CTRL_REG); in apci2032_int_stop()
141 outl(enabled_isns, dev->iobase + APCI2032_INT_CTRL_REG); in apci2032_int_cmd()
183 outl(~val & 3, dev->iobase + APCI2032_INT_CTRL_REG); in apci2032_interrupt()
218 outl(0x0, dev->iobase + APCI2032_DO_REG); in apci2032_reset()
219 outl(0x0, dev->iobase + APCI2032_INT_CTRL_REG); in apci2032_reset()
/linux-6.1.9/arch/x86/platform/olpc/
Dolpc-xo1-pm.c68 outl(saved_sci_mask, acpi_base + CS5536_PM1_STS); in xo1_power_state_enter()
78 outl(wakeup_mask << 16, acpi_base + CS5536_PM1_STS); in xo1_do_sleep()
95 outl(0x40000000, pms_base + CS5536_PM_SCLK); in xo1_power_off()
96 outl(0x40000000, pms_base + CS5536_PM_IN_SLPCTL); in xo1_power_off()
97 outl(0x40000000, pms_base + CS5536_PM_WKXD); in xo1_power_off()
98 outl(0x40000000, pms_base + CS5536_PM_WKD); in xo1_power_off()
101 outl(0x0002ffff, pms_base + CS5536_PM_SSC); in xo1_power_off()
102 outl(0xffffffff, acpi_base + CS5536_PM_GPE0_STS); in xo1_power_off()
105 outl(0x00002000, acpi_base + CS5536_PM1_CNT); in xo1_power_off()
/linux-6.1.9/arch/x86/pci/
Dearly.c14 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config()
22 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config_byte()
30 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config_16()
38 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in write_pci_config()
39 outl(val, 0xcfc); in write_pci_config()
44 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in write_pci_config_byte()
50 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in write_pci_config_16()
Ddirect.c33 outl(PCI_CONF1_ADDRESS(bus, devfn, reg), 0xCF8); in pci_conf1_read()
62 outl(PCI_CONF1_ADDRESS(bus, devfn, reg), 0xCF8); in pci_conf1_write()
72 outl((u32)value, 0xCFC); in pci_conf1_write()
166 outl((u32)value, PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_write()
233 outl(0x80000000, 0xCF8); in pci_check_type1()
237 outl(tmp, 0xCF8); in pci_check_type1()
/linux-6.1.9/sound/pci/
Dens1370.c522 outl(r, ES_REG(ensoniq, 1371_SMPRATE)); in snd_es1371_src_read()
540 outl(r, ES_REG(ensoniq, 1371_SMPRATE)); in snd_es1371_src_read()
554 outl(r | ES_1371_SRC_RAM_WE, ES_REG(ensoniq, 1371_SMPRATE)); in snd_es1371_src_write()
604 outl((x & (ES_1371_SRC_DISABLE | ES_1371_DIS_P1 | in snd_es1371_codec_write()
620 outl(ES_1371_CODEC_WRITE(reg, val) | flag, in snd_es1371_codec_write()
624 outl(x, ES_REG(ensoniq, 1371_SMPRATE)); in snd_es1371_codec_write()
647 outl((x & (ES_1371_SRC_DISABLE | ES_1371_DIS_P1 | in snd_es1371_codec_read()
663 outl(ES_1371_CODEC_READS(reg) | flag, in snd_es1371_codec_read()
667 outl(x, ES_REG(ensoniq, 1371_SMPRATE)); in snd_es1371_codec_read()
752 outl(r, ES_REG(ensoniq, 1371_SMPRATE)); in snd_es1371_dac1_rate()
[all …]
Dsis7019.c319 outl(status, io + SIS_PISR_A); in sis_interrupt()
325 outl(status, io + SIS_PISR_B); in sis_interrupt()
334 outl(status, io + SIS_RISR); in sis_interrupt()
337 outl(intr, io + SIS_GISR); in sis_interrupt()
620 outl(record, io + SIS_RECORD_START_REG); in sis_pcm_trigger()
622 outl(play[0], io + SIS_PLAY_START_A_REG); in sis_pcm_trigger()
624 outl(play[1], io + SIS_PLAY_START_B_REG); in sis_pcm_trigger()
627 outl(record, io + SIS_RECORD_STOP_REG); in sis_pcm_trigger()
629 outl(play[0], io + SIS_PLAY_STOP_A_REG); in sis_pcm_trigger()
631 outl(play[1], io + SIS_PLAY_STOP_B_REG); in sis_pcm_trigger()
[all …]
/linux-6.1.9/drivers/scsi/
D3w-xxxx.h254 (outl(TW_STATUS_VALID_INTERRUPT, TW_CONTROL_REG_ADDR(x)))
256 (outl(TW_CONTROL_CLEAR_ATTENTION_INTERRUPT, TW_CONTROL_REG_ADDR(x)))
258 (outl(TW_CONTROL_CLEAR_HOST_INTERRUPT, TW_CONTROL_REG_ADDR(x)))
260 (outl(TW_CONTROL_DISABLE_INTERRUPTS, TW_CONTROL_REG_ADDR(x)))
262 (outl(TW_CONTROL_CLEAR_ATTENTION_INTERRUPT | \
266 (outl(TW_CONTROL_MASK_COMMAND_INTERRUPT, TW_CONTROL_REG_ADDR(x)))
268 (outl(TW_CONTROL_UNMASK_COMMAND_INTERRUPT, TW_CONTROL_REG_ADDR(x)))
269 #define TW_SOFT_RESET(x) (outl(TW_CONTROL_ISSUE_SOFT_RESET | \
/linux-6.1.9/arch/mips/pci/
Dops-sni.c79 outl(val, PCIMT_CONFIG_DATA); in pcimt_write()
96 outl((1 << 31) | ((busno & 0xff) << 16) | ((devfn & 0xff) << 8) | (reg & 0xfc), 0xcf8); in pcit_set_config_address()
112 outl(inl(0xcfc) | 0xc0000000, 0xcfc); in pcit_read()
115 outl(0xffffffff, 0xcfc); in pcit_read()
153 outl(val, PCIMT_CONFIG_DATA); in pcit_write()
/linux-6.1.9/drivers/video/backlight/
Dcr_bllcd.c68 outl(cur, addr); in cr_backlight_set_intensity()
72 outl(cur, addr); in cr_backlight_set_intensity()
106 outl(cur, addr); in cr_panel_on()
111 outl(cur, addr); in cr_panel_on()
118 outl(cur | CRVML_LVDS_ON, addr); in cr_panel_on()
130 outl(cur, addr); in cr_panel_off()
134 outl(cur & ~CRVML_PANEL_ON, addr); in cr_panel_off()
/linux-6.1.9/sound/pci/trident/
Dtrident_main.c116 outl(data, TRID_REG(trident, DX_ACR1_AC97_R)); in snd_trident_codec_read()
125 outl(data, TRID_REG(trident, treg)); in snd_trident_codec_read()
135 outl(data, TRID_REG(trident, SI_AC97_READ)); in snd_trident_codec_read()
220 outl(data, TRID_REG(trident, address)); in snd_trident_codec_write()
245 outl(val, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_enable_eso()
270 outl(tmp, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_disable_eso()
292 outl(mask, TRID_REG(trident, reg)); in snd_trident_start_voice()
316 outl(mask, TRID_REG(trident, reg)); in snd_trident_stop_voice()
479 outl(regs[0], TRID_REG(trident, CH_START + 0)); in snd_trident_write_voice_regs()
480 outl(regs[1], TRID_REG(trident, CH_START + 4)); in snd_trident_write_voice_regs()
[all …]
/linux-6.1.9/drivers/watchdog/
DiTCO_vendor_support.c84 outl(val32, smires->start); /* Needed to activate watchdog */ in supermicro_old_pre_start()
94 outl(val32, smires->start); /* Needed to deactivate watchdog */ in supermicro_old_pre_stop()
136 outl(val32, smires->start); in broken_bios_start()
147 outl(val32, smires->start); in broken_bios_stop()
/linux-6.1.9/arch/parisc/include/asm/
Dio.h149 #define outl_p outl
164 extern void outl(unsigned int b, int addr);
170 #define outl outl macro
177 #define outl eisa_out32 macro
201 #define outl(x, y) ({(void)(x); (void)(y); BUG(); 0;}) macro
/linux-6.1.9/arch/parisc/lib/
Dio.c424 outl(le32_to_cpu(*(unsigned int *)p), port); in outsl()
439 outl (le32_to_cpu(l << 16 | l2 >> 16), port); in outsl()
443 outl (le32_to_cpu(l << 16 | l2), port); in outsl()
457 outl (le32_to_cpu(l | l2 >> 24), port); in outsl()
461 outl (le32_to_cpu(l | l2), port); in outsl()
473 outl (le32_to_cpu(l | l2 >> 8), port); in outsl()
479 outl (le32_to_cpu(l | l2), port); in outsl()
/linux-6.1.9/sound/pci/ali5451/
Dali5451.c276 outl((unsigned int)val, ALI_REG(codec, port)); in snd_ali_5451_poke()
397 outl((val << ALI_AC97_GPIO_DATA_SHIFT) | ALI_AC97_GPIO_ENABLE, in snd_ali_codec_write()
467 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_special_channel()
477 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_special_channel()
487 outl( gc, ALI_REG(codec, ALI_GC_CIR)); in snd_ali_enable_address_interrupt()
497 outl(gc, ALI_REG(codec, ALI_GC_CIR)); in snd_ali_disable_address_interrupt()
511 outl(pchregs->data.ainten, ALI_REG(codec, pchregs->regs.ainten)); in snd_ali_disable_voice_irq()
607 outl(mask, ALI_REG(codec, codec->chregs.regs.stop)); in snd_ali_stop_voice()
716 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_spdif_in()
731 outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_spdif_in()
[all …]
/linux-6.1.9/arch/mips/sgi-ip22/
Dip22-eisa.c122 outl(0x0000FFFF, EIU_PREMPT_REG); in ip22_eisa_init()
123 outl(1, EIU_QUIET_REG); in ip22_eisa_init()
124 outl(0x40f3c07F, EIU_MODE_REG); in ip22_eisa_init()
/linux-6.1.9/arch/sh/boards/mach-dreamcast/
Dirq.c71 outl(mask, emr); in disable_systemasic_irq()
83 outl(mask, emr); in enable_systemasic_irq()
92 outl((1 << EVENT_BIT(irq)), esr); in mask_ack_systemasic_irq()

1234567