/Linux-v4.19/sound/pci/emu10k1/ |
D | io.c | 53 val = inl(emu->port + DATA); in snd_emu10k1_ptr_read() 60 val = inl(emu->port + DATA); in snd_emu10k1_ptr_read() 89 data |= inl(emu->port + DATA) & ~mask; in snd_emu10k1_ptr_write() 113 val = inl(emu->port + 0x20 + DATA); in snd_emu10k1_ptr20_read() 283 *value = ((inl(emu->port + A_IOCFG) >> 8) & 0x7f); in snd_emu1010_fpga_read() 308 enable = inl(emu->port + INTE) | intrenb; in snd_emu10k1_intr_enable() 319 enable = inl(emu->port + INTE) & ~intrenb; in snd_emu10k1_intr_disable() 333 val = inl(emu->port + DATA); in snd_emu10k1_voice_intr_enable() 337 val = inl(emu->port + DATA); in snd_emu10k1_voice_intr_enable() 353 val = inl(emu->port + DATA); in snd_emu10k1_voice_intr_disable() [all …]
|
D | emu10k1_main.c | 241 tmp = inl(emu->port + A_IOCFG) & ~0x8; /* Clear bit 3 */ in snd_emu10k1_init() 268 tmp = inl(emu->port + A_IOCFG); in snd_emu10k1_init() 270 tmp = inl(emu->port + A_IOCFG); in snd_emu10k1_init() 326 unsigned int reg = inl(emu->port + A_IOCFG); in snd_emu10k1_init() 333 unsigned int reg = inl(emu->port + HCFG); in snd_emu10k1_init() 347 unsigned int reg = inl(emu->port + A_IOCFG); in snd_emu10k1_init() 353 outl(inl(emu->port + HCFG) | HCFG_EXPANDED_MEM, emu->port + HCFG); in snd_emu10k1_init() 364 outl(inl(emu->port + HCFG) | HCFG_AUDIOENABLE, emu->port + HCFG); in snd_emu10k1_audio_enable() 372 outl(inl(emu->port + A_IOCFG) & ~0x44, emu->port + A_IOCFG); in snd_emu10k1_audio_enable() 378 outl(inl(emu->port + A_IOCFG) | 0x0040, emu->port + A_IOCFG); in snd_emu10k1_audio_enable() [all …]
|
/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | addi_apci_1564.c | 176 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 …]
|
D | me4000.c | 329 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 …]
|
D | addi_apci_1032.c | 95 inl(dev->iobase + APCI1032_STATUS_REG); in apci1032_reset() 257 if ((inl(devpriv->amcc_iobase + AMCC_OP_REG_INTCSR) & in apci1032_interrupt() 262 ctrl = inl(dev->iobase + APCI1032_CTRL_REG); in apci1032_interrupt() 269 s->state = inl(dev->iobase + APCI1032_STATUS_REG) & 0xffff; in apci1032_interrupt() 284 data[1] = inl(dev->iobase + APCI1032_DI_REG); in apci1032_di_insn_bits()
|
/Linux-v4.19/drivers/gpio/ |
D | gpio-lynxpoint.c | 123 if (!(inl(acpi_use) & BIT(offset % 32))) { in lp_gpio_request() 128 if (!(inl(reg) & USE_SEL_BIT)) in lp_gpio_request() 132 outl(inl(conf2) & ~GPINDIS_BIT, conf2); in lp_gpio_request() 144 outl(inl(conf2) | GPINDIS_BIT, conf2); in lp_gpio_free() 162 value = inl(reg); in lp_irq_type() 189 return !!(inl(reg) & IN_LVL_BIT); in lp_gpio_get() 201 outl(inl(reg) | OUT_LVL_BIT, reg); in lp_gpio_set() 203 outl(inl(reg) & ~OUT_LVL_BIT, reg); in lp_gpio_set() 215 outl(inl(reg) | DIR_BIT, reg); in lp_gpio_direction_input() 231 outl(inl(reg) & ~DIR_BIT, reg); in lp_gpio_direction_output() [all …]
|
D | gpio-vx855.c | 113 reg_out = inl(vg->io_gpo); in vx855gpio_direction_input() 128 reg_in = inl(vg->io_gpi); in vx855gpio_get() 134 reg_in = inl(vg->io_gpo); in vx855gpio_get() 138 reg_in = inl(vg->io_gpi); in vx855gpio_get() 158 reg_out = inl(vg->io_gpo); in vx855gpio_set()
|
D | gpio-cs5535.c | 79 val |= (inl(addr) & 0xffff); /* ignore the high bits */ in errata_outl() 81 val |= (inl(addr) ^ (val >> 16)); in errata_outl() 139 val = inl(chip->base + reg); in cs5535_gpio_isset() 142 val = inl(chip->base + 0x80 + reg); in cs5535_gpio_isset() 185 val = inl(chip->base + offset); in cs5535_gpio_setup_event()
|
/Linux-v4.19/arch/sh/boards/mach-dreamcast/ |
D | irq.c | 70 mask = inl(emr); in disable_systemasic_irq() 82 mask = inl(emr); in enable_systemasic_irq() 128 status = inl(esr); in systemasic_irq_demux() 129 status &= inl(emr); in systemasic_irq_demux()
|
/Linux-v4.19/drivers/leds/ |
D | leds-ss4200.c | 196 gpio_out = inl(nas_gpio_io_base + port); in __nasgpio_led_set_attr() 219 gpio_in = inl(nas_gpio_io_base + port); in nasgpio_led_get_attr() 294 config_data = inl(nas_gpio_io_base + GPIO_USE_SEL); in ich7_gpio_init() 298 config_data = inl(nas_gpio_io_base + GPIO_USE_SEL); in ich7_gpio_init() 307 config_data = inl(nas_gpio_io_base + GP_IO_SEL); in ich7_gpio_init() 313 config_data = inl(nas_gpio_io_base + GP_IO_SEL); in ich7_gpio_init() 320 config_data = inl(nas_gpio_io_base + GP_LVL); in ich7_gpio_init() 326 config_data = inl(nas_gpio_io_base + GPO_BLINK); in ich7_gpio_init() 332 config_data = inl(nas_gpio_io_base + GPI_INV); in ich7_gpio_init()
|
/Linux-v4.19/arch/mips/pci/ |
D | ops-sni.c | 56 *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-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 293 if (!tx_info->inl) { in mlx4_en_free_tx_desc() 646 struct mlx4_wqe_inline_seg *inl = &tx_desc->inl; in build_inline_wqe() local 647 int spc = MLX4_INLINE_ALIGN - CTRL_SIZE - sizeof(*inl); in build_inline_wqe() 652 inl->byte_count = cpu_to_be32(1 << 31 | skb->len); in build_inline_wqe() 654 inl->byte_count = cpu_to_be32(1 << 31 | MIN_PKT_LEN); in build_inline_wqe() 655 memset(((void *)(inl + 1)) + skb->len, 0, in build_inline_wqe() 658 skb_copy_from_linear_data(skb, inl + 1, hlen); in build_inline_wqe() 660 memcpy(((void *)(inl + 1)) + hlen, fragptr, in build_inline_wqe() 664 inl->byte_count = cpu_to_be32(1 << 31 | spc); in build_inline_wqe() 666 skb_copy_from_linear_data(skb, inl + 1, hlen); in build_inline_wqe() [all …]
|
/Linux-v4.19/arch/parisc/lib/ |
D | io.c | 254 *(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-v4.19/tools/power/cpupower/debug/kernel/ |
D | cpufreq-test_tsc.c | 43 v1 = inl(pm_tmr_ioport); in read_pmtmr() 44 v2 = inl(pm_tmr_ioport); in read_pmtmr() 45 v3 = inl(pm_tmr_ioport); in read_pmtmr()
|
/Linux-v4.19/drivers/net/ethernet/dec/tulip/ |
D | de4x5.c | 687 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 …]
|
D | de4x5.h | 923 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));\
|
/Linux-v4.19/drivers/watchdog/ |
D | iTCO_vendor_support.c | 85 val32 = inl(smires->start); in supermicro_old_pre_start() 95 val32 = inl(smires->start); in supermicro_old_pre_stop() 272 val32 = inl(smires->start); in broken_bios_start() 283 val32 = inl(smires->start); in broken_bios_stop()
|
D | nv_tco.c | 85 val = inl(TCO_CNT(tcobase)); in tco_timer_start() 97 val = inl(TCO_CNT(tcobase)); in tco_timer_stop() 357 val = inl(MCP51_SMI_EN(tcobase)); in nv_tco_getdevice() 360 val = inl(MCP51_SMI_EN(tcobase)); in nv_tco_getdevice() 393 inl(TCO_STS(tcobase)) & TCO_STS_TCO2TO_STS ? "" : "not "); in nv_tco_init()
|
/Linux-v4.19/drivers/ide/ |
D | cs5530.c | 56 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()
|
/Linux-v4.19/arch/x86/pci/ |
D | direct.c | 43 *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-v4.19/drivers/video/backlight/ |
D | cr_bllcd.c | 78 u32 cur = inl(addr); in cr_backlight_set_intensity() 103 u32 cur = inl(addr); in cr_backlight_get_intensity() 122 u32 cur = inl(addr); in cr_panel_on() 147 u32 cur = inl(addr); in cr_panel_off()
|
/Linux-v4.19/drivers/platform/x86/ |
D | intel_int0002_vgpio.c | 99 gpe_en_reg = inl(GPE0A_EN_PORT); in int0002_irq_unmask() 108 gpe_en_reg = inl(GPE0A_EN_PORT); in int0002_irq_mask() 118 gpe_sts_reg = inl(GPE0A_STS_PORT); in int0002_irq()
|
/Linux-v4.19/sound/pci/ali5451/ |
D | ali5451.c | 284 return (unsigned int)inl(ALI_REG(codec, port)); in snd_ali_5451_peek() 480 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_enable_special_channel() 490 dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)); in snd_ali_disable_special_channel() 499 gc = inl(ALI_REG(codec, ALI_GC_CIR)); in snd_ali_enable_address_interrupt() 509 gc = inl(ALI_REG(codec, ALI_GC_CIR)); in snd_ali_disable_address_interrupt() 524 pchregs->data.ainten = inl(ALI_REG(codec, pchregs->regs.ainten)); in snd_ali_disable_voice_irq() 559 (inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)) & in snd_ali_find_free_channel() 577 (inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)) & in snd_ali_find_free_channel() 633 begintimer = inl(ALI_REG(codec, ALI_STIMER)); in snd_ali_delay() 634 currenttimer = inl(ALI_REG(codec, ALI_STIMER)); in snd_ali_delay() [all …]
|
/Linux-v4.19/sound/pci/trident/ |
D | trident_main.c | 73 val = inl(TRID_REG(trident, CH_LBA)); 75 val = inl(TRID_REG(trident, CH_GVSEL_PAN_VOL_CTRL_EC)); 82 val = inl(TRID_REG(trident, CH_DX_CSO_ALPHA_FMS)); 86 val = inl(TRID_REG(trident, CH_DX_ESO_DELTA)); 89 val = inl(TRID_REG(trident, CH_DX_FMC_RVOL_CVOL)); 91 val = inl(TRID_REG(trident, CH_NX_DELTA_CSO)); 94 val = inl(TRID_REG(trident, CH_NX_DELTA_ESO)); 98 val = inl(TRID_REG(trident, CH_NX_ALPHA_FMS_FMC_RVOL_CVOL)); 132 data = inl(TRID_REG(trident, DX_ACR1_AC97_R)); in snd_trident_codec_read() 141 data = inl(TRID_REG(trident, treg)); in snd_trident_codec_read() [all …]
|
/Linux-v4.19/arch/sh/include/asm/ |
D | io_noioport.h | 17 static inline u32 inl(unsigned long addr) in inl() function 51 #define inl_p(addr) inl(addr)
|