Home
last modified time | relevance | path

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

12345678

/Linux-v6.6/sound/pci/emu10k1/
Dio.c43 val = inl(emu->port + DATA); in snd_emu10k1_ptr_read()
84 data |= inl(emu->port + DATA) & ~mask; in snd_emu10k1_ptr_write()
137 val = inl(emu->port + DATA2); in snd_emu10k1_ptr20_read()
438 enable = inl(emu->port + INTE) | intrenb; in snd_emu10k1_intr_enable()
449 enable = inl(emu->port + INTE) & ~intrenb; in snd_emu10k1_intr_disable()
462 val = inl(emu->port + DATA); in snd_emu10k1_voice_intr_enable()
466 val = inl(emu->port + DATA); in snd_emu10k1_voice_intr_enable()
481 val = inl(emu->port + DATA); in snd_emu10k1_voice_intr_disable()
485 val = inl(emu->port + DATA); in snd_emu10k1_voice_intr_disable()
516 val = inl(emu->port + DATA); in snd_emu10k1_voice_half_loop_intr_enable()
[all …]
/Linux-v6.6/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-v6.6/arch/parisc/include/asm/
Dio.h151 #define inl_p inl
166 extern unsigned int inl(int addr);
172 #define inl inl macro
179 #define inl eisa_in32 macro
196 static inline int inl(unsigned long addr) in inl() function
203 #define inl inl macro
/Linux-v6.6/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-v6.6/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c300 if (!tx_info->inl) { in mlx4_en_free_tx_desc()
695 struct mlx4_wqe_inline_seg *inl = &tx_desc->inl; in build_inline_wqe() local
696 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe()
701 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe()
703 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe()
704 memset(inl->data + skb->len, 0, in build_inline_wqe()
707 skb_copy_from_linear_data(skb, inl->data, hlen); in build_inline_wqe()
709 memcpy(inl->data + hlen, fragptr, in build_inline_wqe()
713 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe()
715 skb_copy_from_linear_data(skb, inl->data, hlen); in build_inline_wqe()
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/arch/ia64/include/asm/
Dio.h149 #define inl inl macro
150 static inline unsigned int inl(unsigned long port) in inl() function
211 put_unaligned(inl(port), dp++); in insl()
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/sound/pci/
Dens1370.c501 r = inl(ES_REG(ensoniq, 1371_SMPRATE)); in snd_es1371_wait_src_ready()
530 temp = inl(ES_REG(ensoniq, 1371_SMPRATE)); in snd_es1371_src_read()
573 if (!(inl(ES_REG(ensoniq, STATUS)) & ES_1370_CSTAT)) { in snd_es1370_codec_write()
580 inl(ES_REG(ensoniq, STATUS))); in snd_es1370_codec_write()
601 if (!(inl(ES_REG(ensoniq, 1371_CODEC)) & ES_1371_CODEC_WIP)) { in snd_es1371_codec_write()
610 if ((inl(ES_REG(ensoniq, 1371_SMPRATE)) & 0x00870000) == in snd_es1371_codec_write()
616 if ((inl(ES_REG(ensoniq, 1371_SMPRATE)) & 0x00870000) == in snd_es1371_codec_write()
631 ES_REG(ensoniq, 1371_CODEC), inl(ES_REG(ensoniq, 1371_CODEC))); in snd_es1371_codec_write()
644 if (!(inl(ES_REG(ensoniq, 1371_CODEC)) & ES_1371_CODEC_WIP)) { in snd_es1371_codec_read()
653 if ((inl(ES_REG(ensoniq, 1371_SMPRATE)) & 0x00870000) == in snd_es1371_codec_read()
[all …]
/Linux-v6.6/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()
/Linux-v6.6/arch/mips/boot/dts/ingenic/
Dgcw0.dts263 inl-supply = <&vcc>;
273 inl-supply = <&vcc>;
280 inl-supply = <&vcc>;
288 inl-supply = <&vcc>;
300 inl-supply = <&vcc>;
308 inl-supply = <&vcc>;
313 inl-supply = <&vcc>;

12345678