Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/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.c328 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
337 val = inl(devpriv->plx_regbase + PLX9052_INTCSR); in me4000_xilinx_download()
344 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
360 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
369 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
377 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_xilinx_download()
389 ctrl = inl(dev->iobase + ME4000_AI_CTRL_REG); in me4000_ai_reset()
407 val = inl(devpriv->plx_regbase + PLX9052_CNTRL); in me4000_reset()
432 if (!(inl(dev->iobase + ME4000_DIO_DIR_REG) & 0x1)) in me4000_reset()
442 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()
/linux-6.1.9/arch/parisc/include/asm/
Dio.h146 #define inl_p inl
161 extern unsigned int inl(int addr);
167 #define inl inl macro
174 #define inl eisa_in32 macro
191 static inline int inl(unsigned long addr) in inl() function
198 #define inl inl macro
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c296 if (!tx_info->inl) { in mlx4_en_free_tx_desc()
691 struct mlx4_wqe_inline_seg *inl = &tx_desc->inl; in build_inline_wqe() local
692 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe()
697 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe()
699 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe()
700 memset(((void *)(inl + 1)) + skb->len, 0, in build_inline_wqe()
703 skb_copy_from_linear_data(skb, inl + 1, hlen); in build_inline_wqe()
705 memcpy(((void *)(inl + 1)) + hlen, fragptr, in build_inline_wqe()
709 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
711 skb_copy_from_linear_data(skb, inl + 1, hlen); in build_inline_wqe()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/arch/ia64/include/asm/
Dio.h153 #define inl inl macro
154 static inline unsigned int inl(unsigned long port) in inl() function
215 put_unaligned(inl(port), dp++); in insl()
/linux-6.1.9/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()
/linux-6.1.9/drivers/platform/x86/intel/
Dint0002_vgpio.c88 gpe_en_reg = inl(GPE0A_EN_PORT); in int0002_irq_unmask()
97 gpe_en_reg = inl(GPE0A_EN_PORT); in int0002_irq_mask()
124 gpe_sts_reg = inl(GPE0A_STS_PORT); in int0002_irq()
139 gpe_sts_reg = inl(GPE0A_STS_PORT); in int0002_check_wake()
/linux-6.1.9/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()
/linux-6.1.9/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 …]
/linux-6.1.9/sound/pci/ali5451/
Dali5451.c269 return (unsigned int)inl(ALI_REG(codec, port)); in snd_ali_5451_peek()
465 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_special_channel()
475 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_special_channel()
484 gc = inl(ALI_REG(codec, ALI_GC_CIR)); in snd_ali_enable_address_interrupt()
494 gc = inl(ALI_REG(codec, ALI_GC_CIR)); in snd_ali_disable_address_interrupt()
509 pchregs->data.ainten = inl(ALI_REG(codec, pchregs->regs.ainten)); in snd_ali_disable_voice_irq()
544 (inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)) & in snd_ali_find_free_channel()
562 (inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)) & in snd_ali_find_free_channel()
618 begintimer = inl(ALI_REG(codec, ALI_STIMER)); in snd_ali_delay()
619 currenttimer = inl(ALI_REG(codec, ALI_STIMER)); in snd_ali_delay()
[all …]
/linux-6.1.9/lib/
Diomap.c65 #define pio_read32be(port) swab32(inl(port))
99 IO_COND(addr, return inl(port), return readl(addr)); in ioread32()
119 lo = inl(port); in pio_read64_lo_hi()
120 hi = inl(port + sizeof(u32)); in pio_read64_lo_hi()
129 hi = inl(port + sizeof(u32)); in pio_read64_hi_lo()
130 lo = inl(port); in pio_read64_hi_lo()
/linux-6.1.9/arch/sh/include/asm/
Dio_noioport.h17 static inline u32 inl(unsigned long addr) in inl() function
51 #define inl_p(addr) inl(addr)
/linux-6.1.9/arch/mips/loongson2ef/lemote-2f/
Dreset.c61 val = inl(gpio_base + GPIOL_OUT_EN); in fl2f_shutdown()
67 val = inl(gpio_base + GPIOL_OUT_VAL) & ~(1 << (13)); in fl2f_shutdown()

12345678