Home
last modified time | relevance | path

Searched refs:inl (Results 1 – 25 of 193) sorted by relevance

12345678

/kernel/linux/linux-5.10/sound/pci/emu10k1/
Dio.c39 val = inl(emu->port + DATA); in snd_emu10k1_ptr_read()
46 val = inl(emu->port + DATA); in snd_emu10k1_ptr_read()
75 data |= inl(emu->port + DATA) & ~mask; in snd_emu10k1_ptr_write()
99 val = inl(emu->port + 0x20 + DATA); in snd_emu10k1_ptr20_read()
269 *value = ((inl(emu->port + A_IOCFG) >> 8) & 0x7f); in snd_emu1010_fpga_read()
294 enable = inl(emu->port + INTE) | intrenb; in snd_emu10k1_intr_enable()
305 enable = inl(emu->port + INTE) & ~intrenb; in snd_emu10k1_intr_disable()
319 val = inl(emu->port + DATA); in snd_emu10k1_voice_intr_enable()
323 val = inl(emu->port + DATA); in snd_emu10k1_voice_intr_enable()
339 val = inl(emu->port + DATA); in snd_emu10k1_voice_intr_disable()
[all …]
Demu10k1_main.c226 tmp = inl(emu->port + A_IOCFG) & ~0x8; /* Clear bit 3 */ in snd_emu10k1_init()
253 tmp = inl(emu->port + A_IOCFG); in snd_emu10k1_init()
255 tmp = inl(emu->port + A_IOCFG); in snd_emu10k1_init()
311 unsigned int reg = inl(emu->port + A_IOCFG); in snd_emu10k1_init()
318 unsigned int reg = inl(emu->port + HCFG); in snd_emu10k1_init()
332 unsigned int reg = inl(emu->port + A_IOCFG); in snd_emu10k1_init()
338 outl(inl(emu->port + HCFG) | HCFG_EXPANDED_MEM, emu->port + HCFG); in snd_emu10k1_init()
349 outl(inl(emu->port + HCFG) | HCFG_AUDIOENABLE, emu->port + HCFG); in snd_emu10k1_audio_enable()
357 outl(inl(emu->port + A_IOCFG) & ~0x44, emu->port + A_IOCFG); in snd_emu10k1_audio_enable()
363 outl(inl(emu->port + A_IOCFG) | 0x0040, emu->port + A_IOCFG); in snd_emu10k1_audio_enable()
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Daddi_apci_1564.c176 inl(dev->iobase + APCI1564_DI_INT_STATUS_REG); in apci1564_reset()
214 status = inl(dev->iobase + APCI1564_DI_IRQ_REG); in apci1564_interrupt()
217 s->state = inl(dev->iobase + APCI1564_DI_INT_STATUS_REG); in apci1564_interrupt()
227 status = inl(devpriv->timer + ADDI_TCW_IRQ_REG); in apci1564_interrupt()
232 ctrl = inl(devpriv->timer + ADDI_TCW_CTRL_REG); in apci1564_interrupt()
243 status = inl(iobase + ADDI_TCW_IRQ_REG); in apci1564_interrupt()
248 ctrl = inl(iobase + ADDI_TCW_CTRL_REG); in apci1564_interrupt()
268 data[1] = inl(dev->iobase + APCI1564_DI_REG); in apci1564_di_insn_bits()
278 s->state = inl(dev->iobase + APCI1564_DO_REG); in apci1564_do_insn_bits()
293 data[1] = inl(dev->iobase + APCI1564_DO_INT_STATUS_REG) & 3; in apci1564_diag_insn_bits()
[all …]
Dme4000.c329 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
338 val = inl(devpriv->plx_regbase + PLX9052_INTCSR); in me4000_xilinx_download()
345 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
361 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
370 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
378 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
390 ctrl = inl(dev->iobase + ME4000_AI_CTRL_REG); in me4000_ai_reset()
408 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_reset()
433 if (!(inl(dev->iobase + ME4000_DIO_DIR_REG) & 0x1)) in me4000_reset()
443 val = inl(dev->iobase + ME4000_AI_DATA_REG); in me4000_ai_get_sample()
[all …]
Daddi_apci_1032.c95 inl(dev->iobase + APCI1032_STATUS_REG); in apci1032_reset()
266 if ((inl(devpriv->amcc_iobase + AMCC_OP_REG_INTCSR) & in apci1032_interrupt()
271 ctrl = inl(dev->iobase + APCI1032_CTRL_REG); in apci1032_interrupt()
278 s->state = inl(dev->iobase + APCI1032_STATUS_REG) & 0xffff; in apci1032_interrupt()
294 data[1] = inl(dev->iobase + APCI1032_DI_REG); in apci1032_di_insn_bits()
/kernel/linux/linux-5.10/drivers/watchdog/
DiTCO_vendor_support.c82 val32 = inl(smires->start); in supermicro_old_pre_start()
92 val32 = inl(smires->start); in supermicro_old_pre_stop()
132 val32 = inl(smires->start); in broken_bios_start()
143 val32 = inl(smires->start); in broken_bios_stop()
Dnv_tco.c81 val = inl(TCO_CNT(tcobase)); in tco_timer_start()
93 val = inl(TCO_CNT(tcobase)); in tco_timer_stop()
354 val = inl(MCP51_SMI_EN(tcobase)); in nv_tco_getdevice()
357 val = inl(MCP51_SMI_EN(tcobase)); in nv_tco_getdevice()
390 inl(TCO_STS(tcobase)) & TCO_STS_TCO2TO_STS ? "" : "not "); in nv_tco_init()
/kernel/linux/linux-5.10/arch/sh/boards/mach-dreamcast/
Dirq.c69 mask = inl(emr); in disable_systemasic_irq()
81 mask = inl(emr); in enable_systemasic_irq()
127 status = inl(esr); in systemasic_irq_demux()
128 status &= inl(emr); in systemasic_irq_demux()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-ss4200.c184 gpio_out = inl(nas_gpio_io_base + port); in __nasgpio_led_set_attr()
207 gpio_in = inl(nas_gpio_io_base + port); in nasgpio_led_get_attr()
282 config_data = inl(nas_gpio_io_base + GPIO_USE_SEL); in ich7_gpio_init()
286 config_data = inl(nas_gpio_io_base + GPIO_USE_SEL); in ich7_gpio_init()
295 config_data = inl(nas_gpio_io_base + GP_IO_SEL); in ich7_gpio_init()
301 config_data = inl(nas_gpio_io_base + GP_IO_SEL); in ich7_gpio_init()
308 config_data = inl(nas_gpio_io_base + GP_LVL); in ich7_gpio_init()
314 config_data = inl(nas_gpio_io_base + GPO_BLINK); in ich7_gpio_init()
320 config_data = inl(nas_gpio_io_base + GPI_INV); in ich7_gpio_init()
/kernel/linux/linux-5.10/arch/mips/pci/
Dops-sni.c56 *val = inl(PCIMT_CONFIG_DATA); in pcimt_read()
112 outl(inl(0xcfc) | 0xc0000000, 0xcfc); in pcit_read()
117 if (inl(0xcfc) & 0x100000) in pcit_read()
131 *val = inl(PCIMT_CONFIG_DATA); in pcit_read()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c295 if (!tx_info->inl) { in mlx4_en_free_tx_desc()
681 struct mlx4_wqe_inline_seg *inl = &tx_desc->inl; in build_inline_wqe() local
682 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe()
687 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe()
689 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe()
690 memset(((void *)(inl + 1)) + skb->len, 0, in build_inline_wqe()
693 skb_copy_from_linear_data(skb, inl + 1, hlen); in build_inline_wqe()
695 memcpy(((void *)(inl + 1)) + hlen, fragptr, in build_inline_wqe()
699 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
701 skb_copy_from_linear_data(skb, inl + 1, hlen); in build_inline_wqe()
[all …]
/kernel/linux/linux-5.10/arch/parisc/lib/
Dio.c254 *(unsigned int *)p = cpu_to_le32(inl(port)); in insl()
262 l = cpu_to_le32(inl(port)); in insl()
268 l2 = cpu_to_le32(inl(port)); in insl()
278 l = cpu_to_le32(inl(port)); in insl()
285 l2 = cpu_to_le32(inl(port)); in insl()
295 l = cpu_to_le32(inl(port)); in insl()
300 l2 = cpu_to_le32(inl(port)); in insl()
/kernel/linux/linux-5.10/tools/power/cpupower/debug/kernel/
Dcpufreq-test_tsc.c44 v1 = inl(pm_tmr_ioport); in read_pmtmr()
45 v2 = inl(pm_tmr_ioport); in read_pmtmr()
46 v3 = inl(pm_tmr_ioport); in read_pmtmr()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-vx855.c97 reg_out = inl(vg->io_gpo); in vx855gpio_direction_input()
112 reg_in = inl(vg->io_gpi); in vx855gpio_get()
118 reg_in = inl(vg->io_gpo); in vx855gpio_get()
122 reg_in = inl(vg->io_gpi); in vx855gpio_get()
142 reg_out = inl(vg->io_gpo); in vx855gpio_set()
Dgpio-cs5535.c76 val |= (inl(addr) & 0xffff); /* ignore the high bits */ in errata_outl()
78 val |= (inl(addr) ^ (val >> 16)); in errata_outl()
136 val = inl(chip->base + reg); in cs5535_gpio_isset()
139 val = inl(chip->base + 0x80 + reg); in cs5535_gpio_isset()
182 val = inl(chip->base + offset); in cs5535_gpio_setup_event()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dde4x5.c687 imr = inl(DE4X5_IMR);\
698 imr = inl(DE4X5_IMR);\
707 omr = inl(DE4X5_OMR);\
713 omr = inl(DE4X5_OMR);\
1064 i=inl(DE4X5_BMR);\
1070 for (i=0;i<5;i++) {inl(DE4X5_BMR); mdelay(1);}\
1114 if ((inl(DE4X5_STS) & (STS_TS | STS_RS)) != 0) { in de4x5_hw_init()
1343 printk("\tsts: 0x%08x\n", inl(DE4X5_STS)); in de4x5_open()
1344 printk("\tbmr: 0x%08x\n", inl(DE4X5_BMR)); in de4x5_open()
1345 printk("\timr: 0x%08x\n", inl(DE4X5_IMR)); in de4x5_open()
[all …]
Dde4x5.h923 omr = inl(DE4X5_OMR) & ~(OMR_TTM | OMR_PCS | OMR_SCR | OMR_FDX);\
931 omr = (inl(DE4X5_OMR) & ~(OMR_PS | OMR_HBD | OMR_TTM | OMR_PCS | OMR_SCR | OMR_FDX));\
935 omr = (inl(DE4X5_OMR) & ~(OMR_PS | OMR_HBD | OMR_TTM | OMR_PCS | OMR_SCR | OMR_FDX));\
950 omr = inl(DE4X5_OMR) & ~(OMR_TTM | OMR_PCS | OMR_SCR | OMR_FDX);\
960 omr = (inl(DE4X5_OMR) & ~(OMR_PS | OMR_HBD | OMR_TTM | OMR_PCS | OMR_SCR | OMR_FDX));\
964 omr = (inl(DE4X5_OMR) & ~(OMR_PS | OMR_HBD | OMR_TTM | OMR_PCS | OMR_SCR | OMR_FDX));\
976 omr = (inl(DE4X5_OMR) & ~(OMR_TTM | OMR_PCS | OMR_SCR | OMR_FDX));\
979 omr = (inl(DE4X5_OMR) & ~(OMR_TTM | OMR_PCS | OMR_SCR | OMR_FDX));\
982 omr = (inl(DE4X5_OMR) & ~(OMR_PS | OMR_HBD | OMR_TTM | OMR_PCS | OMR_SCR | OMR_FDX));\
/kernel/linux/linux-5.10/drivers/ide/
Dcs5530.c56 unsigned int format = (inl(basereg + 4) >> 31) & 1; in cs5530_set_pio_mode()
117 reg = inl(basereg + 4); /* get drive0 config register */ in cs5530_set_dma_mode()
235 d0_timings = inl(basereg + 0); in init_hwif_cs5530()
238 if (CS5530_BAD_PIO(inl(basereg + 8))) in init_hwif_cs5530()
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dio.h161 #define inl inl macro
162 static inline unsigned int inl(unsigned long port) in inl() function
223 put_unaligned(inl(port), dp++); in insl()
/kernel/linux/linux-5.10/drivers/video/backlight/
Dcr_bllcd.c63 u32 cur = inl(addr); in cr_backlight_set_intensity()
81 u32 cur = inl(addr); in cr_backlight_get_intensity()
100 u32 cur = inl(addr); in cr_panel_on()
125 u32 cur = inl(addr); in cr_panel_off()
/kernel/linux/linux-5.10/arch/x86/pci/
Ddirect.c43 *value = inl(0xCFC); in pci_conf1_read()
126 *value = inl(PCI_CONF2_ADDRESS(dev, reg)); in pci_conf2_read()
232 tmp = inl(0xCF8); in pci_check_type1()
234 if (inl(0xCF8) == 0x80000000 && pci_sanity_check(&pci_direct_conf1)) { in pci_check_type1()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_int0002_vgpio.c90 gpe_en_reg = inl(GPE0A_EN_PORT); in int0002_irq_unmask()
99 gpe_en_reg = inl(GPE0A_EN_PORT); in int0002_irq_mask()
126 gpe_sts_reg = inl(GPE0A_STS_PORT); in int0002_irq()
142 gpe_sts_reg = inl(GPE0A_STS_PORT); in int0002_check_wake()
/kernel/linux/linux-5.10/lib/
Diomap.c64 #define pio_read32be(port) swab32(inl(port))
90 IO_COND(addr, return inl(port), return readl(addr)); in ioread32()
109 lo = inl(port); in pio_read64_lo_hi()
110 hi = inl(port + sizeof(u32)); in pio_read64_lo_hi()
119 hi = inl(port + sizeof(u32)); in pio_read64_hi_lo()
120 lo = inl(port); in pio_read64_hi_lo()
/kernel/linux/linux-5.10/sound/pci/trident/
Dtrident_main.c59 val = inl(TRID_REG(trident, CH_LBA));
61 val = inl(TRID_REG(trident, CH_GVSEL_PAN_VOL_CTRL_EC));
68 val = inl(TRID_REG(trident, CH_DX_CSO_ALPHA_FMS));
72 val = inl(TRID_REG(trident, CH_DX_ESO_DELTA));
75 val = inl(TRID_REG(trident, CH_DX_FMC_RVOL_CVOL));
77 val = inl(TRID_REG(trident, CH_NX_DELTA_CSO));
80 val = inl(TRID_REG(trident, CH_NX_DELTA_ESO));
84 val = inl(TRID_REG(trident, CH_NX_ALPHA_FMS_FMC_RVOL_CVOL));
118 data = inl(TRID_REG(trident, DX_ACR1_AC97_R)); in snd_trident_codec_read()
127 data = inl(TRID_REG(trident, treg)); in snd_trident_codec_read()
[all …]
/kernel/linux/linux-5.10/sound/pci/ali5451/
Dali5451.c270 return (unsigned int)inl(ALI_REG(codec, port)); in snd_ali_5451_peek()
466 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_special_channel()
476 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_special_channel()
485 gc = inl(ALI_REG(codec, ALI_GC_CIR)); in snd_ali_enable_address_interrupt()
495 gc = inl(ALI_REG(codec, ALI_GC_CIR)); in snd_ali_disable_address_interrupt()
510 pchregs->data.ainten = inl(ALI_REG(codec, pchregs->regs.ainten)); in snd_ali_disable_voice_irq()
545 (inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)) & in snd_ali_find_free_channel()
563 (inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)) & in snd_ali_find_free_channel()
619 begintimer = inl(ALI_REG(codec, ALI_STIMER)); in snd_ali_delay()
620 currenttimer = inl(ALI_REG(codec, ALI_STIMER)); in snd_ali_delay()
[all …]

12345678