/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
D | flipper-pic.c | 53 void __iomem *io_base = irq_data_get_irq_chip_data(d); in flipper_pic_mask_and_ack() local 56 clrbits32(io_base + FLIPPER_IMR, mask); in flipper_pic_mask_and_ack() 58 out_be32(io_base + FLIPPER_ICR, mask); in flipper_pic_mask_and_ack() 64 void __iomem *io_base = irq_data_get_irq_chip_data(d); in flipper_pic_ack() local 67 out_be32(io_base + FLIPPER_ICR, 1 << irq); in flipper_pic_ack() 73 void __iomem *io_base = irq_data_get_irq_chip_data(d); in flipper_pic_mask() local 75 clrbits32(io_base + FLIPPER_IMR, 1 << irq); in flipper_pic_mask() 81 void __iomem *io_base = irq_data_get_irq_chip_data(d); in flipper_pic_unmask() local 83 setbits32(io_base + FLIPPER_IMR, 1 << irq); in flipper_pic_unmask() 127 static void __flipper_quiesce(void __iomem *io_base) in __flipper_quiesce() argument [all …]
|
D | hlwd-pic.c | 48 void __iomem *io_base = irq_data_get_irq_chip_data(d); in hlwd_pic_mask_and_ack() local 51 clrbits32(io_base + HW_BROADWAY_IMR, mask); in hlwd_pic_mask_and_ack() 52 out_be32(io_base + HW_BROADWAY_ICR, mask); in hlwd_pic_mask_and_ack() 58 void __iomem *io_base = irq_data_get_irq_chip_data(d); in hlwd_pic_ack() local 60 out_be32(io_base + HW_BROADWAY_ICR, 1 << irq); in hlwd_pic_ack() 66 void __iomem *io_base = irq_data_get_irq_chip_data(d); in hlwd_pic_mask() local 68 clrbits32(io_base + HW_BROADWAY_IMR, 1 << irq); in hlwd_pic_mask() 74 void __iomem *io_base = irq_data_get_irq_chip_data(d); in hlwd_pic_unmask() local 76 setbits32(io_base + HW_BROADWAY_IMR, 1 << irq); in hlwd_pic_unmask() 110 void __iomem *io_base = h->host_data; in __hlwd_pic_get_irq() local [all …]
|
/linux-4.1.27/sound/isa/ |
D | sscape.c | 147 unsigned io_base; member 201 static inline void sscape_write_unsafe(unsigned io_base, enum GA_REG reg, in sscape_write_unsafe() argument 204 outb(reg, ODIE_ADDR_IO(io_base)); in sscape_write_unsafe() 205 outb(val, ODIE_DATA_IO(io_base)); in sscape_write_unsafe() 218 sscape_write_unsafe(s->io_base, reg, val); in sscape_write() 226 static inline unsigned char sscape_read_unsafe(unsigned io_base, in sscape_read_unsafe() argument 229 outb(reg, ODIE_ADDR_IO(io_base)); in sscape_read_unsafe() 230 return inb(ODIE_DATA_IO(io_base)); in sscape_read_unsafe() 236 static inline void set_host_mode_unsafe(unsigned io_base) in set_host_mode_unsafe() argument 238 outb(0x0, HOST_CTRL_IO(io_base)); in set_host_mode_unsafe() [all …]
|
/linux-4.1.27/sound/oss/ |
D | trix.c | 96 switch (hw_config->io_base) in trix_set_wss_port() 129 int config_port = hw_config->io_base + 0; in init_trix_wss() 179 ports = request_region(hw_config->io_base + 4, 4, "ad1848"); in init_trix_wss() 181 printk(KERN_ERR "AudioTrix: MSS I/O port conflict (%x)\n", hw_config->io_base); in init_trix_wss() 185 if (!request_region(hw_config->io_base, 4, "MSS config")) { in init_trix_wss() 186 printk(KERN_ERR "AudioTrix: MSS I/O port conflict (%x)\n", hw_config->io_base); in init_trix_wss() 187 release_region(hw_config->io_base + 4, 4); in init_trix_wss() 194 config = inb(hw_config->io_base + 3); in init_trix_wss() 198 MDB(printk(KERN_ERR "No MSS signature detected on port 0x%x\n", hw_config->io_base)); in init_trix_wss() 266 release_region(hw_config->io_base, 4); in init_trix_wss() [all …]
|
D | sb_card.c | 101 if (!request_region(scc->conf.io_base, 16, "soundblaster")) { in sb_register_oss() 108 release_region(scc->conf.io_base, 16); in sb_register_oss() 118 if(scc->mpucnf.io_base > 0) { in sb_register_oss() 146 legacy->conf.io_base = io; in sb_init_legacy() 152 legacy->mpucnf.io_base = mpu_io; in sb_init_legacy() 169 scc->conf.io_base = -1; in sb_dev2cfg() 173 scc->mpucnf.io_base = -1; in sb_dev2cfg() 181 scc->conf.io_base = pnp_port_start(dev,0); in sb_dev2cfg() 185 scc->mpucnf.io_base = pnp_port_start(dev,1); in sb_dev2cfg() 189 scc->conf.io_base = pnp_port_start(dev,0); in sb_dev2cfg() [all …]
|
D | pss.c | 182 devc->base = hw_config->io_base; in probe_pss() 692 devc->base = hw_config->io_base; in attach_pss() 713 release_region(hw_config->io_base, 0x10); in attach_pss() 714 release_region(hw_config->io_base+0x10, 0x9); in attach_pss() 720 release_region(hw_config->io_base, 0x10); in attach_pss() 721 release_region(hw_config->io_base+0x10, 0x9); in attach_pss() 727 release_region(hw_config->io_base, 0x10); in attach_pss() 728 release_region(hw_config->io_base+0x10, 0x9); in attach_pss() 748 ports = request_region(hw_config->io_base, 2, "mpu401"); in probe_pss_mpu() 754 set_io_base(devc, CONF_MIDI, hw_config->io_base); in probe_pss_mpu() [all …]
|
D | sb_common.c | 303 switch (hw_config->io_base) in sb16_set_mpu_port() 315 printk(KERN_ERR "SB16: Invalid MIDI I/O port %x\n", hw_config->io_base); in sb16_set_mpu_port() 350 if (jazz16_base != 0 && jazz16_base != hw_config->io_base) in relocate_Jazz16() 353 switch (hw_config->io_base) in relocate_Jazz16() 368 jazz16_base = hw_config->io_base; in relocate_Jazz16() 518 DDB(printk("sb_dsp_detect(%x) entered\n", hw_config->io_base)); in sb_dsp_detect() 523 devc->base = hw_config->io_base; in sb_dsp_detect() 631 …MDB(printk(KERN_INFO "SB %d.%02d detected OK (%x)\n", devc->major, devc->minor, hw_config->io_base… in sb_dsp_detect() 645 DDB(printk("sb_dsp_init(%x) entered\n", hw_config->io_base)); in sb_dsp_init() 656 if (devc->base != hw_config->io_base) in sb_dsp_init() [all …]
|
D | pas2_card.c | 242 if (sb_config->io_base) in config_pas_hw() 258 pas_write((sb_config->io_base >> 4) & 0x0f, 0xF789); in config_pas_hw() 259 pas_sb_base = sb_config->io_base; in config_pas_hw() 294 outb((hw_config->io_base >> 2), 0x9A01); /* Set base address */ in detect_pas_hw() 295 pas_translate_code = hw_config->io_base - 0x388; in detect_pas_hw() 406 cfg.io_base = io; in init_pas2() 411 cfg2.io_base = sb_io; in init_pas2() 416 if (cfg.io_base == -1 || cfg.dma == -1 || cfg.irq == -1) { in init_pas2()
|
D | waveartist.c | 163 unsigned int ctlr_port = hw->io_base + CTLR; in waveartist_set_ctlr() 175 unsigned int ctlr_port = devc->hw.io_base + CTLR; in waveartist_iack() 205 if (inb(hw->io_base + STATR) & CMD_RF) { in waveartist_reset() 206 res = inw(hw->io_base + CMDR); in waveartist_reset() 231 unsigned int io_base = devc->hw.io_base; in waveartist_cmd() local 244 if (inb(io_base + STATR) & CMD_RF) { in waveartist_cmd() 250 old_data = inw(io_base + CMDR); in waveartist_cmd() 262 if (inb(io_base + STATR) & CMD_WE) in waveartist_cmd() 268 outw(cmd[i], io_base + CMDR); in waveartist_cmd() 275 if (inb(io_base + STATR) & CMD_RF) in waveartist_cmd() [all …]
|
D | uart401.c | 300 if (!request_region(hw_config->io_base, 4, "MPU-401 UART")) { in probe_uart401() 301 printk(KERN_INFO "uart401: could not request_region(%d, 4)\n", hw_config->io_base); in probe_uart401() 311 devc->base = hw_config->io_base; in probe_uart401() 391 release_region(hw_config->io_base, 4); in probe_uart401() 411 release_region(hw_config->io_base, 4); in unload_uart401() 439 cfg_mpu.io_base = io; in init_uart401() 443 if (cfg_mpu.io_base != -1 && cfg_mpu.irq != -1) { in init_uart401() 454 if (cfg_mpu.io_base != -1 && cfg_mpu.irq != -1) in cleanup_uart401()
|
D | uart6850.c | 262 uart6850_base = hw_config->io_base; in attach_uart6850() 296 uart6850_base = hw_config->io_base; in probe_uart6850() 323 cfg_mpu.io_base = io; in init_uart6850() 326 if (cfg_mpu.io_base == -1 || cfg_mpu.irq == -1) { in init_uart6850()
|
D | ad1848.c | 1543 int io_base = ports->start; in ad1848_detect() local 1547 DDB(printk("ad1848_detect(%x)\n", io_base)); in ad1848_detect() 1575 devc->base = io_base; in ad1848_detect() 2154 void ad1848_unload(int io_base, int irq, int dma_playback, int dma_capture, int share_dma) in ad1848_unload() argument 2161 if (adev_info[i].base == io_base) in ad1848_unload() 2193 printk(KERN_ERR "ad1848: Can't find device to be unloaded. Base=%x\n", io_base); in ad1848_unload() 2365 switch (hw_config->io_base) in init_deskpro() 2380 DDB(printk("init_deskpro: Invalid MSS port %x\n", hw_config->io_base)); in init_deskpro() 2509 DDB(printk("Entered probe_ms_sound(%x, %d)\n", hw_config->io_base, hw_config->card_subtype)); in probe_ms_sound() 2535 if ((tmp = inb(hw_config->io_base + 3)) == 0xff) /* Bus float */ in probe_ms_sound() [all …]
|
D | ad1848.h | 16 void ad1848_unload (int io_base, int irq, int dma_playback, int dma_capture, int share_dma);
|
D | mpu401.c | 963 devc->base = hw_config->io_base; in attach_mpu401() 1109 release_region(hw_config->io_base, 2); in attach_mpu401() 1189 tmp_devc.base = hw_config->io_base; in probe_mpu401() 1198 if (inb(hw_config->io_base + 1) == 0xff) in probe_mpu401() 1200 DDB(printk("MPU401: Port %x looks dead.\n", hw_config->io_base)); in probe_mpu401() 1207 DDB(printk("MPU401: Reset failed on port %x\n", hw_config->io_base)); in probe_mpu401() 1218 release_region(hw_config->io_base, 2); in unload_mpu401() 1762 cfg.io_base = io; in init_mpu401()
|
D | sound_config.h | 66 int io_base; member
|
D | kahlua.c | 152 hw_config->io_base = io; in probe_one()
|
D | soundcard.c | 697 printk("<%s> at 0x%03x", name, hw_config->io_base); in conf_printf()
|
D | sb_ess.c | 1788 tmp = (hw_config->io_base & 0x0f0) >> 4;
|
/linux-4.1.27/drivers/hwspinlock/ |
D | u8500_hsem.c | 100 void __iomem *io_base; in u8500_hsem_probe() local 111 io_base = ioremap(res->start, resource_size(res)); in u8500_hsem_probe() 112 if (!io_base) in u8500_hsem_probe() 116 val = readl(io_base + HSEM_CTRL_REG); in u8500_hsem_probe() 117 writel((val & ~HSEM_PROTOCOL_1), io_base + HSEM_CTRL_REG); in u8500_hsem_probe() 120 writel(0xFFFF, io_base + HSEM_ICRALL); in u8500_hsem_probe() 131 hwlock->priv = io_base + HSEM_REGISTER_OFFSET + sizeof(u32) * i; in u8500_hsem_probe() 147 iounmap(io_base); in u8500_hsem_probe() 154 void __iomem *io_base = bank->lock[0].priv - HSEM_REGISTER_OFFSET; in u8500_hsem_remove() local 158 writel(0xFFFF, io_base + HSEM_ICRALL); in u8500_hsem_remove() [all …]
|
D | omap_hwspinlock.c | 87 void __iomem *io_base; in omap_hwspinlock_probe() local 97 io_base = ioremap(res->start, resource_size(res)); in omap_hwspinlock_probe() 98 if (!io_base) in omap_hwspinlock_probe() 113 i = readl(io_base + SYSSTATUS_OFFSET); in omap_hwspinlock_probe() 141 hwlock->priv = io_base + LOCK_BASE_OFFSET + sizeof(u32) * i; in omap_hwspinlock_probe() 154 iounmap(io_base); in omap_hwspinlock_probe() 161 void __iomem *io_base = bank->lock[0].priv - LOCK_BASE_OFFSET; in omap_hwspinlock_remove() local 171 iounmap(io_base); in omap_hwspinlock_remove()
|
/linux-4.1.27/drivers/mtd/nand/ |
D | ams-delta.c | 68 void __iomem *io_base = this->priv; in ams_delta_write_byte() local 70 writew(0, io_base + OMAP_MPUIO_IO_CNTL); in ams_delta_write_byte() 81 void __iomem *io_base = this->priv; in ams_delta_read_byte() local 85 writew(~0, io_base + OMAP_MPUIO_IO_CNTL); in ams_delta_read_byte() 179 void __iomem *io_base; in ams_delta_init() local 208 io_base = ioremap(res->start, resource_size(res)); in ams_delta_init() 209 if (io_base == NULL) { in ams_delta_init() 215 this->priv = io_base; in ams_delta_init() 218 this->IO_ADDR_R = io_base + OMAP_MPUIO_INPUT_LATCH; in ams_delta_init() 219 this->IO_ADDR_W = io_base + OMAP_MPUIO_OUTPUT; in ams_delta_init() [all …]
|
D | lpc32xx_slc.c | 205 void __iomem *io_base; member 227 writel(SLCCTRL_SW_RESET, SLC_CTRL(host->io_base)); in lpc32xx_nand_setup() 231 writel(0, SLC_CFG(host->io_base)); in lpc32xx_nand_setup() 232 writel(0, SLC_IEN(host->io_base)); in lpc32xx_nand_setup() 234 SLC_ICR(host->io_base)); in lpc32xx_nand_setup() 250 writel(tmp, SLC_TAC(host->io_base)); in lpc32xx_nand_setup() 264 tmp = readl(SLC_CFG(host->io_base)); in lpc32xx_nand_cmd_ctrl() 269 writel(tmp, SLC_CFG(host->io_base)); in lpc32xx_nand_cmd_ctrl() 273 writel(cmd, SLC_CMD(host->io_base)); in lpc32xx_nand_cmd_ctrl() 275 writel(cmd, SLC_ADDR(host->io_base)); in lpc32xx_nand_cmd_ctrl() [all …]
|
D | socrates_nand.c | 34 void __iomem *io_base; member 52 out_be32(host->io_base, FPGA_NAND_ENABLE | in socrates_nand_write_buf() 73 out_be32(host->io_base, val); in socrates_nand_read_buf() 75 buf[i] = (in_be32(host->io_base) >> in socrates_nand_read_buf() 125 out_be32(host->io_base, val); in socrates_nand_cmd_ctrl() 136 if (in_be32(host->io_base) & FPGA_NAND_BUSY) in socrates_nand_device_ready() 157 host->io_base = of_iomap(ofdev->dev.of_node, 0); in socrates_nand_probe() 158 if (host->io_base == NULL) { in socrates_nand_probe() 211 iounmap(host->io_base); in socrates_nand_probe() 225 iounmap(host->io_base); in socrates_nand_remove()
|
D | lpc32xx_mlc.c | 177 void __iomem *io_base; member 233 writel(MLCCMD_RESET, MLC_CMD(host->io_base)); in lpc32xx_nand_setup() 243 writew(MLCLOCKPR_MAGIC, MLC_LOCK_PR(host->io_base)); in lpc32xx_nand_setup() 247 writel(tmp, MLC_ICR(host->io_base)); in lpc32xx_nand_setup() 251 writew(MLCLOCKPR_MAGIC, MLC_LOCK_PR(host->io_base)); in lpc32xx_nand_setup() 262 writel(tmp, MLC_TIME_REG(host->io_base)); in lpc32xx_nand_setup() 266 MLC_IRQ_MR(host->io_base)); in lpc32xx_nand_setup() 269 writel(MLCCEH_NORMAL, MLC_CEH(host->io_base)); in lpc32xx_nand_setup() 283 writel(cmd, MLC_CMD(host->io_base)); in lpc32xx_nand_cmd_ctrl() 285 writel(cmd, MLC_ADDR(host->io_base)); in lpc32xx_nand_cmd_ctrl() [all …]
|
D | orion_nand.c | 51 void __iomem *io_base = chip->IO_ADDR_R; in orion_nand_read_buf() local 56 *buf++ = readb(io_base); in orion_nand_read_buf() 68 asm volatile ("ldrd\t%0, [%1]" : "=&r" (x) : "r" (io_base)); in orion_nand_read_buf() 73 buf[i++] = readb(io_base); in orion_nand_read_buf() 84 void __iomem *io_base; in orion_nand_probe() local 96 io_base = devm_ioremap_resource(&pdev->dev, res); in orion_nand_probe() 98 if (IS_ERR(io_base)) in orion_nand_probe() 99 return PTR_ERR(io_base); in orion_nand_probe() 130 nc->IO_ADDR_R = nc->IO_ADDR_W = io_base; in orion_nand_probe()
|
D | plat_nand.c | 24 void __iomem *io_base; member 58 data->io_base = devm_ioremap_resource(&pdev->dev, res); in plat_nand_probe() 59 if (IS_ERR(data->io_base)) in plat_nand_probe() 60 return PTR_ERR(data->io_base); in plat_nand_probe() 67 data->chip.IO_ADDR_R = data->io_base; in plat_nand_probe() 68 data->chip.IO_ADDR_W = data->io_base; in plat_nand_probe()
|
D | fsl_upm.c | 41 void __iomem *io_base; member 119 chip->IO_ADDR_R = fun->io_base + fun->mchip_offsets[mchip_nr]; in fun_select_chip() 164 fun->chip.IO_ADDR_R = fun->io_base; in fun_chip_init() 165 fun->chip.IO_ADDR_W = fun->io_base; in fun_chip_init() 293 fun->io_base = devm_ioremap_nocache(&ofdev->dev, io_res.start, in fun_probe() 295 if (!fun->io_base) { in fun_probe()
|
D | atmel_nand.c | 120 void __iomem *io_base; member 198 writeb(cmd, host->io_base + (1 << host->board.cle)); in atmel_nand_cmd_ctrl() 200 writeb(cmd, host->io_base + (1 << host->board.ale)); in atmel_nand_cmd_ctrl() 2107 host->io_base = devm_ioremap_resource(&pdev->dev, mem); in atmel_nand_probe() 2108 if (IS_ERR(host->io_base)) { in atmel_nand_probe() 2109 res = PTR_ERR(host->io_base); in atmel_nand_probe() 2132 nand_chip->IO_ADDR_R = host->io_base; in atmel_nand_probe() 2133 nand_chip->IO_ADDR_W = host->io_base; in atmel_nand_probe()
|
/linux-4.1.27/sound/soc/spear/ |
D | spdif_in.c | 38 void *io_base; member 52 writel(ctrl, host->io_base + SPDIF_IN_CTRL); in spdif_in_configure() 53 writel(0xF, host->io_base + SPDIF_IN_IRQ_MASK); in spdif_in_configure() 74 writel(0x0, host->io_base + SPDIF_IN_IRQ_MASK); in spdif_in_shutdown() 79 u32 ctrl = readl(host->io_base + SPDIF_IN_CTRL); in spdif_in_format() 91 writel(ctrl, host->io_base + SPDIF_IN_CTRL); in spdif_in_format() 128 ctrl = readl(host->io_base + SPDIF_IN_CTRL); in spdif_in_trigger() 130 writel(ctrl, host->io_base + SPDIF_IN_CTRL); in spdif_in_trigger() 131 writel(0xF, host->io_base + SPDIF_IN_IRQ_MASK); in spdif_in_trigger() 137 ctrl = readl(host->io_base + SPDIF_IN_CTRL); in spdif_in_trigger() [all …]
|
D | spdif_out.c | 39 void __iomem *io_base; member 46 writel(SPDIF_OUT_RESET, host->io_base + SPDIF_OUT_SOFT_RST); in spdif_out_configure() 48 writel(readl(host->io_base + SPDIF_OUT_SOFT_RST) & ~SPDIF_OUT_RESET, in spdif_out_configure() 49 host->io_base + SPDIF_OUT_SOFT_RST); in spdif_out_configure() 54 host->io_base + SPDIF_OUT_CFG); in spdif_out_configure() 56 writel(0x7F, host->io_base + SPDIF_OUT_INT_STA_CLR); in spdif_out_configure() 57 writel(0x7F, host->io_base + SPDIF_OUT_INT_EN_CLR); in spdif_out_configure() 99 ctrl = readl(host->io_base + SPDIF_OUT_CTRL); in spdif_out_clock() 102 writel(ctrl, host->io_base + SPDIF_OUT_CTRL); in spdif_out_clock() 165 ctrl = readl(host->io_base + SPDIF_OUT_CTRL); in spdif_out_trigger() [all …]
|
/linux-4.1.27/drivers/input/keyboard/ |
D | spear-keyboard.c | 57 void __iomem *io_base; member 76 sts = readl_relaxed(kbd->io_base + STATUS_REG); in spear_kbd_interrupt() 86 val = readl_relaxed(kbd->io_base + DATA_REG) & in spear_kbd_interrupt() 97 writel_relaxed(0, kbd->io_base + STATUS_REG); in spear_kbd_interrupt() 121 writel_relaxed(val, kbd->io_base + MODE_CTL_REG); in spear_kbd_open() 122 writel_relaxed(1, kbd->io_base + STATUS_REG); in spear_kbd_open() 125 val = readl_relaxed(kbd->io_base + MODE_CTL_REG); in spear_kbd_open() 127 writel_relaxed(val, kbd->io_base + MODE_CTL_REG); in spear_kbd_open() 138 val = readl_relaxed(kbd->io_base + MODE_CTL_REG); in spear_kbd_close() 140 writel_relaxed(val, kbd->io_base + MODE_CTL_REG); in spear_kbd_close() [all …]
|
/linux-4.1.27/drivers/mtd/devices/ |
D | spear_smi.c | 174 void __iomem *io_base; member 229 ctrlreg1 = readl(dev->io_base + SMI_CR1); in spear_smi_read_sr() 231 writel(ctrlreg1 & ~(SW_MODE | WB_MODE), dev->io_base + SMI_CR1); in spear_smi_read_sr() 235 dev->io_base + SMI_CR2); in spear_smi_read_sr() 248 writel(ctrlreg1, dev->io_base + SMI_CR1); in spear_smi_read_sr() 249 writel(0, dev->io_base + SMI_CR2); in spear_smi_read_sr() 301 status = readl(dev->io_base + SMI_SR); in spear_smi_int_handler() 307 writel(0, dev->io_base + SMI_SR); in spear_smi_int_handler() 343 writel(0, dev->io_base + SMI_SR); in spear_smi_hw_init() 345 writel(val, dev->io_base + SMI_CR1); in spear_smi_hw_init() [all …]
|
/linux-4.1.27/drivers/scsi/ |
D | NCR_Q720.c | 148 __u16 io_base; in NCR_Q720_probe() local 161 io_base = (pos2 & NCR_Q720_POS2_IO_MASK) << NCR_Q720_POS2_IO_SHIFT; in NCR_Q720_probe() 170 io_base = mca_device_transform_ioport(mca_dev, io_base); in NCR_Q720_probe() 177 i = inb(io_base) | (inb(io_base+1)<<8); in NCR_Q720_probe() 179 …tk(KERN_ERR "NCR_Q720, adapter failed to I/O map registers correctly at 0x%x(0x%x)\n", io_base, i); in NCR_Q720_probe() 185 pos4 = inb(io_base + 4); in NCR_Q720_probe() 188 outb(pos4, io_base + 4); in NCR_Q720_probe() 191 asr10 = inb(io_base + 0x12); in NCR_Q720_probe() 197 asr9 = inb(io_base + 0x11); in NCR_Q720_probe() 210 outb(asr9, io_base + 0x11); in NCR_Q720_probe() [all …]
|
D | in2000.h | 52 #define read1_io(a) (inb(hostdata->io_base+(a))) 53 #define read2_io(a) (inw(hostdata->io_base+(a))) 54 #define write1_io(b,a) (outb((b),hostdata->io_base+(a))) 55 #define write2_io(w,a) (outw((w),hostdata->io_base+(a))) 282 unsigned short io_base; /* IO port base */ member
|
D | in2000.c | 658 f = hostdata->io_base + IO_FIFO; in DEF_SCSI_QCMD() 813 f = hostdata->io_base + IO_FIFO; in transfer_bytes() 923 f = hostdata->io_base + IO_FIFO; in in2000_intr() 1032 f = hostdata->io_base + IO_FIFO; in in2000_intr() 2010 instance->io_port = hostdata->io_base = base; in in2000_detect() 2107 …2x floppy=%s sync/DOS5=%s ", (switches & 0x7f), instance->irq, hostdata->io_base, (switches & SW_F… in in2000_detect() 2228 …02x floppy=%s sync/DOS5=%s", (hd->dip_switch & 0x7f), instance->irq, hd->io_base, (hd->dip_switch … in in2000_show_info()
|
/linux-4.1.27/arch/arm/plat-omap/include/plat/ |
D | dmtimer.h | 107 void __iomem *io_base; member 304 tidr = readl_relaxed(timer->io_base); in __omap_dm_timer_init_regs() 307 timer->irq_stat = timer->io_base + OMAP_TIMER_V1_STAT_OFFSET; in __omap_dm_timer_init_regs() 308 timer->irq_ena = timer->io_base + OMAP_TIMER_V1_INT_EN_OFFSET; in __omap_dm_timer_init_regs() 309 timer->irq_dis = timer->io_base + OMAP_TIMER_V1_INT_EN_OFFSET; in __omap_dm_timer_init_regs() 310 timer->pend = timer->io_base + _OMAP_TIMER_WRITE_PEND_OFFSET; in __omap_dm_timer_init_regs() 311 timer->func_base = timer->io_base; in __omap_dm_timer_init_regs() 314 timer->irq_stat = timer->io_base + OMAP_TIMER_V2_IRQSTATUS; in __omap_dm_timer_init_regs() 315 timer->irq_ena = timer->io_base + OMAP_TIMER_V2_IRQENABLE_SET; in __omap_dm_timer_init_regs() 316 timer->irq_dis = timer->io_base + OMAP_TIMER_V2_IRQENABLE_CLR; in __omap_dm_timer_init_regs() [all …]
|
/linux-4.1.27/arch/mips/ar7/ |
D | setup.c | 90 unsigned long io_base; in plat_mem_setup() local 96 io_base = (unsigned long)ioremap(AR7_REGS_BASE, 0x10000); in plat_mem_setup() 97 if (!io_base) in plat_mem_setup() 99 set_io_port_base(io_base); in plat_mem_setup()
|
/linux-4.1.27/drivers/char/hw_random/ |
D | timeriomem-rng.c | 37 void __iomem *io_base; member 72 *data = readl(priv->io_base); in timeriomem_rng_data_read() 161 priv->io_base = devm_ioremap_resource(&pdev->dev, res); in timeriomem_rng_probe() 162 if (IS_ERR(priv->io_base)) { in timeriomem_rng_probe() 163 err = PTR_ERR(priv->io_base); in timeriomem_rng_probe() 174 priv->io_base, period); in timeriomem_rng_probe()
|
/linux-4.1.27/drivers/platform/x86/ |
D | fujitsu-tablet.c | 177 int io_base; member 183 return inb(fujitsu.io_base + 2); in fujitsu_ack() 188 return inb(fujitsu.io_base + 6); in fujitsu_status() 193 outb(addr, fujitsu.io_base); in fujitsu_read_register() 194 return inb(fujitsu.io_base + 4); in fujitsu_read_register() 442 fujitsu.io_base = res->data.io.minimum; in fujitsu_walk_resources() 447 if (fujitsu.irq && fujitsu.io_base) in fujitsu_walk_resources() 467 if (ACPI_FAILURE(status) || !fujitsu.irq || !fujitsu.io_base) in acpi_fujitsu_add() 481 if (!request_region(fujitsu.io_base, fujitsu.io_length, MODULENAME)) { in acpi_fujitsu_add() 491 release_region(fujitsu.io_base, fujitsu.io_length); in acpi_fujitsu_add() [all …]
|
/linux-4.1.27/drivers/of/ |
D | of_pci.c | 162 struct list_head *resources, resource_size_t *io_base) in of_pci_get_host_bridge_resources() argument 172 if (io_base) in of_pci_get_host_bridge_resources() 173 *io_base = (resource_size_t)OF_BAD_ADDR; in of_pci_get_host_bridge_resources() 230 if (!io_base) { in of_pci_get_host_bridge_resources() 236 if (*io_base != (resource_size_t)OF_BAD_ADDR) in of_pci_get_host_bridge_resources() 239 *io_base = range.cpu_addr; in of_pci_get_host_bridge_resources()
|
/linux-4.1.27/drivers/pcmcia/ |
D | i82092.c | 59 unsigned int io_base; /* base io address of the socket */ member 107 sockets[i].io_base = pci_resource_start(dev, 0); in i82092aa_pci_probe() 188 port = sockets[socket].io_base; in indirect_read() 203 port = sockets[socket].io_base; 220 port = sockets[socket].io_base; in indirect_write() 233 port = sockets[socket].io_base; in indirect_setbit() 250 port = sockets[socket].io_base; in indirect_resetbit() 266 port = sockets[socket].io_base; in indirect_write16() 366 if (sockets[socketno].io_base == 0) in card_present() 697 if (sockets[0].io_base>0) in i82092aa_module_exit() [all …]
|
D | electra_cf.c | 54 unsigned int io_base; member 236 cf->io_base = (unsigned long)cf->io_virt - VMALLOC_END; in electra_cf_probe() 273 cf->socket.io_offset = cf->io_base; in electra_cf_probe() 282 if (!request_region(cf->io_base, cf->io_size, driver_name)) { in electra_cf_probe() 310 release_region(cf->io_base, cf->io_size); in electra_cf_probe() 345 release_region(cf->io_base, cf->io_size); in electra_cf_remove()
|
D | bcm63xx_pcmcia.c | 370 skt->io_base = ioremap(res->start, iomem_size); in bcm63xx_drv_pcmcia_probe() 371 if (!skt->io_base) { in bcm63xx_drv_pcmcia_probe() 382 sock->io_offset = (unsigned long)skt->io_base; in bcm63xx_drv_pcmcia_probe() 429 if (skt->io_base) in bcm63xx_drv_pcmcia_probe() 430 iounmap(skt->io_base); in bcm63xx_drv_pcmcia_probe() 447 iounmap(skt->io_base); in bcm63xx_drv_pcmcia_remove()
|
D | pd6729.c | 70 port = socket->io_base; in indirect_read() 87 port = socket->io_base; in indirect_read16() 106 port = socket->io_base; in indirect_write() 121 port = socket->io_base; in indirect_setbit() 139 port = socket->io_base; in indirect_resetbit() 157 port = socket->io_base; in indirect_write16() 682 socket[i].io_base = pci_resource_start(dev, 0); in pd6729_pci_probe()
|
D | pd6729.h | 18 unsigned long io_base; /* base io address of the socket */ member
|
D | bcm63xx_pcmcia.h | 57 void __iomem *io_base; member
|
/linux-4.1.27/arch/arm/mach-orion5x/ |
D | ts78xx-setup.c | 204 void __iomem *io_base = chip->IO_ADDR_W; in ts78xx_ts_nand_write_buf() local 210 writesb(io_base, buf, sz); in ts78xx_ts_nand_write_buf() 218 writesl(io_base, buf32, sz); in ts78xx_ts_nand_write_buf() 224 writesb(io_base, buf, len); in ts78xx_ts_nand_write_buf() 231 void __iomem *io_base = chip->IO_ADDR_R; in ts78xx_ts_nand_read_buf() local 237 readsb(io_base, buf, sz); in ts78xx_ts_nand_read_buf() 245 readsl(io_base, buf32, sz); in ts78xx_ts_nand_read_buf() 251 readsb(io_base, buf, len); in ts78xx_ts_nand_read_buf()
|
/linux-4.1.27/arch/mips/txx9/generic/ |
D | pci.c | 117 unsigned long io_base, unsigned long io_size) in txx9_alloc_pci_controller() argument 175 if (io_base) { in txx9_alloc_pci_controller() 176 pcic->mem_resource[1].start = io_base; in txx9_alloc_pci_controller() 177 pcic->mem_resource[1].end = io_base + io_size - 1; in txx9_alloc_pci_controller() 194 io_base = pcic->mem_resource[1].start; in txx9_alloc_pci_controller() 208 io_base - (mips_io_port_base - IO_BASE); in txx9_alloc_pci_controller() 209 pcic->io_offset = io_base - (mips_io_port_base - IO_BASE); in txx9_alloc_pci_controller()
|
/linux-4.1.27/sound/soc/omap/ |
D | omap-dmic.c | 49 void __iomem *io_base; member 65 writel_relaxed(val, dmic->io_base + reg); in omap_dmic_write() 70 return readl_relaxed(dmic->io_base + reg); in omap_dmic_read() 485 dmic->io_base = devm_ioremap_resource(&pdev->dev, res); in asoc_dmic_probe() 486 if (IS_ERR(dmic->io_base)) in asoc_dmic_probe() 487 return PTR_ERR(dmic->io_base); in asoc_dmic_probe()
|
D | omap-mcpdm.c | 55 void __iomem *io_base; member 78 writel_relaxed(val, mcpdm->io_base + reg); in omap_mcpdm_write() 83 return readl_relaxed(mcpdm->io_base + reg); in omap_mcpdm_read() 487 mcpdm->io_base = devm_ioremap_resource(&pdev->dev, res); in asoc_mcpdm_probe() 488 if (IS_ERR(mcpdm->io_base)) in asoc_mcpdm_probe() 489 return PTR_ERR(mcpdm->io_base); in asoc_mcpdm_probe()
|
D | mcbsp.c | 35 void __iomem *addr = mcbsp->io_base + reg * mcbsp->pdata->reg_step; in omap_mcbsp_write() 48 void __iomem *addr = mcbsp->io_base + reg * mcbsp->pdata->reg_step; in omap_mcbsp_read() 983 mcbsp->io_base = devm_ioremap(&pdev->dev, res->start, in omap_mcbsp_init() 985 if (!mcbsp->io_base) in omap_mcbsp_init()
|
D | mcbsp.h | 297 void __iomem *io_base; member
|
/linux-4.1.27/sound/drivers/ |
D | serial-u16550.c | 331 unsigned long io_base = uart->base; in snd_uart16550_detect() local 336 if (io_base == 0 || io_base == SNDRV_AUTO_PORT) { in snd_uart16550_detect() 340 uart->res_base = request_region(io_base, 8, "Serial MIDI"); in snd_uart16550_detect() 342 snd_printk(KERN_ERR "u16550: can't grab port 0x%lx\n", io_base); in snd_uart16550_detect() 349 outb(UART_LCR_WLEN8, io_base + UART_LCR); /* Line Control Register */ in snd_uart16550_detect() 350 c = inb(io_base + UART_IER); in snd_uart16550_detect() 355 outb(0xaa, io_base + UART_SCR); in snd_uart16550_detect() 357 c = inb(io_base + UART_SCR); in snd_uart16550_detect() 362 outb(0x55, io_base + UART_SCR); in snd_uart16550_detect() 364 c = inb(io_base + UART_SCR); in snd_uart16550_detect()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | igafb.c | 65 unsigned long io_base; member 174 #define pci_inb(par, reg) readb(par->io_base+(reg)) 175 #define pci_outb(par, val, reg) writeb(val, par->io_base+(reg)) 449 if ((par->io_base = (int) ioremap(igafb_fix.mmio_start, igafb_fix.smem_len)) == 0) { in igafb_init() 468 iounmap((void *)par->io_base); in igafb_init() 529 iounmap((void *)par->io_base); in igafb_init()
|
/linux-4.1.27/drivers/ide/ |
D | ide-cs.c | 193 unsigned long io_base, ctl_base; in ide_config() local 207 io_base = link->resource[0]->start; in ide_config() 227 host = idecs_register(io_base, ctl_base, link->irq, link); in ide_config() 230 host = idecs_register(io_base + 0x10, ctl_base + 0x10, in ide_config()
|
D | hpt366.c | 911 unsigned long io_base = pci_resource_start(dev, 4); in init_chipset_hpt366() local 943 outb(0x0e, io_base + 0x9c); in init_chipset_hpt366() 970 unsigned long io_base = pci_resource_start(dev1, 4); in init_chipset_hpt366() local 972 temp = inl(io_base + 0x90); in init_chipset_hpt366() 975 temp = inl(io_base + 0x90); in init_chipset_hpt366() 1146 outb(inb(io_base + 0x9c) | 0x04, io_base + 0x9c); in init_chipset_hpt366()
|
/linux-4.1.27/drivers/ata/ |
D | pata_pcmcia.c | 204 unsigned long io_base, ctl_base; in pcmcia_init_one() local 224 io_base = pdev->resource[0]->start; in pcmcia_init_one() 239 io_addr = devm_ioport_map(&pdev->dev, io_base, 8); in pcmcia_init_one() 276 ata_port_desc(ap, "cmd 0x%lx ctl 0x%lx", io_base, ctl_base); in pcmcia_init_one()
|
D | pata_hpt37x.c | 707 unsigned long io_base = pci_resource_start(pdev, 4); in hpt374_read_freq() local 716 io_base = pci_resource_start(pdev_0, 4); in hpt374_read_freq() 717 freq = inl(io_base + 0x90); in hpt374_read_freq() 720 freq = inl(io_base + 0x90); in hpt374_read_freq()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | fsl_lbc.c | 155 int fsl_upm_run_pattern(struct fsl_upm *upm, void __iomem *io_base, u32 mar) in fsl_upm_run_pattern() argument 169 out_8(io_base, 0x0); in fsl_upm_run_pattern() 172 out_be16(io_base, 0x0); in fsl_upm_run_pattern() 175 out_be32(io_base, 0x0); in fsl_upm_run_pattern()
|
/linux-4.1.27/arch/mips/ath79/ |
D | pci.c | 173 unsigned long io_base, in ath79_register_pci_ar724x() argument 202 res[4].start = io_base; in ath79_register_pci_ar724x() 203 res[4].end = io_base; in ath79_register_pci_ar724x()
|
/linux-4.1.27/sound/pci/ctxfi/ |
D | cthw20k1.c | 1805 unsigned int io_base; in uaa_to_xfi() local 1817 io_base = pci_resource_start(pci, 0); in uaa_to_xfi() 1818 mem_base = ioremap(io_base, pci_resource_len(pci, 0)); in uaa_to_xfi() 1922 if (!hw->io_base) { in hw_card_start() 1928 hw->io_base = pci_resource_start(pci, 5); in hw_card_start() 1930 hw->io_base = pci_resource_start(pci, 0); in hw_card_start() 1959 hw->io_base = 0; in hw_card_start() 1991 if (hw->io_base) in hw_card_shutdown() 1994 hw->io_base = 0; in hw_card_shutdown() 2116 outl(reg, hw->io_base + 0x0); in hw_read_20kx() [all …]
|
D | cthw20k2.c | 2047 if (!hw->io_base) { in hw_card_start() 2052 hw->io_base = pci_resource_start(hw->pci, 2); in hw_card_start() 2053 hw->mem_base = ioremap(hw->io_base, in hw_card_start() 2086 hw->io_base = 0; in hw_card_start() 2116 if (hw->io_base) in hw_card_shutdown() 2119 hw->io_base = 0; in hw_card_shutdown() 2355 if (hw->io_base) in destroy_20k2_hw_obj()
|
D | cthardware.h | 190 unsigned long io_base; member
|
/linux-4.1.27/drivers/tty/ |
D | synclink.c | 260 unsigned int io_base; /* base I/O address of adapter */ member 1460 outw( (inw(info->io_base + CCAR) & 0x0780) | (RDR+LSBONLY), in mgsl_isr_receive_data() 1461 info->io_base + CCAR ); in mgsl_isr_receive_data() 1462 DataByte = inb( info->io_base + CCAR ); in mgsl_isr_receive_data() 3464 info->device_name, info->io_base, info->irq_level, in line_info() 3468 info->device_name, info->io_base, in line_info() 3540 u16 Ccar = inw( info->io_base + CCAR ); in line_info() 4068 if (request_region(info->io_base,info->io_addr_size,"synclink") == NULL) { in mgsl_claim_resources() 4070 __FILE__,__LINE__,info->device_name, info->io_base); in mgsl_claim_resources() 4169 release_region(info->io_base,info->io_addr_size); in mgsl_release_resources() [all …]
|
/linux-4.1.27/drivers/pci/host/ |
D | pci-xgene.c | 270 resource_size_t io_base) in xgene_pcie_map_ranges() argument 284 xgene_pcie_setup_ob_reg(port, res, OMR3BARL, io_base, in xgene_pcie_map_ranges() 286 ret = pci_remap_iospace(res, io_base); in xgene_pcie_map_ranges() 443 resource_size_t io_base) in xgene_pcie_setup() argument 454 ret = xgene_pcie_map_ranges(port, res, io_base); in xgene_pcie_setup()
|
D | pcie-designware.h | 37 u64 io_base; member
|
D | pcie-designware.c | 399 pp->io_base = range.cpu_addr; in dw_pcie_host_init() 712 pci_ioremap_io(global_io_offset, pp->io_base); in dw_pcie_setup()
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-pca-platform.c | 36 unsigned long io_base; member 169 i2c->io_base = res->start; in i2c_pca_pf_probe() 272 release_mem_region(i2c->io_base, i2c->io_size); in i2c_pca_pf_remove()
|
/linux-4.1.27/arch/mips/include/asm/txx9/ |
D | pci.h | 15 unsigned long io_base, unsigned long io_size);
|
/linux-4.1.27/arch/mips/pci/ |
D | ops-tx3927.c | 133 unsigned long io_base = in tx3927_pcic_setup() local 162 tx3927_pcicptr->ilbioma = io_base; in tx3927_pcic_setup()
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_kms.c | 139 qdev->io_base = pci_resource_start(pdev, 3); in qxl_device_init() 194 qdev->io_base + QXL_IO_NOTIFY_CMD, in qxl_device_init() 202 qdev->io_base + QXL_IO_NOTIFY_CMD, in qxl_device_init()
|
D | qxl_cmd.c | 284 long addr = qdev->io_base + port; in wait_for_io_cmd_user() 360 outb(0, qdev->io_base + QXL_IO_NOTIFY_OOM); in qxl_io_notify_oom() 365 outb(0, qdev->io_base + QXL_IO_FLUSH_RELEASE); in qxl_io_flush_release() 419 outb(0, qdev->io_base + QXL_IO_LOG); in qxl_io_log() 424 outb(0, qdev->io_base + QXL_IO_RESET); in qxl_io_reset()
|
D | qxl_irq.c | 67 outb(0, qdev->io_base + QXL_IO_UPDATE_IRQ); in qxl_irq_handler()
|
D | qxl_drv.h | 260 int io_base; member
|
/linux-4.1.27/drivers/crypto/ |
D | omap-des.c | 129 void __iomem *io_base; member 179 _read_ret = __raw_readl(dd->io_base + offset); \ 187 return __raw_readl(dd->io_base + offset); in omap_des_read() 196 __raw_writel(value, dd->io_base + offset); \ 202 __raw_writel(value, dd->io_base + offset); in omap_des_write() 1081 dd->io_base = devm_ioremap_resource(dev, res); in omap_des_probe() 1082 if (IS_ERR(dd->io_base)) { in omap_des_probe() 1083 err = PTR_ERR(dd->io_base); in omap_des_probe()
|
D | omap-aes.c | 148 void __iomem *io_base; member 198 _read_ret = __raw_readl(dd->io_base + offset); \ 206 return __raw_readl(dd->io_base + offset); in omap_aes_read() 215 __raw_writel(value, dd->io_base + offset); \ 221 __raw_writel(value, dd->io_base + offset); in omap_aes_write() 1192 dd->io_base = devm_ioremap_resource(dev, &res); in omap_aes_probe() 1193 if (IS_ERR(dd->io_base)) { in omap_aes_probe() 1194 err = PTR_ERR(dd->io_base); in omap_aes_probe()
|
D | img-hash.c | 120 void __iomem *io_base; member 149 return readl_relaxed(hdev->io_base + offset); in img_hash_read() 155 writel_relaxed(value, hdev->io_base + offset); in img_hash_write() 905 hdev->io_base = devm_ioremap_resource(dev, hash_res); in img_hash_probe() 906 if (IS_ERR(hdev->io_base)) { in img_hash_probe() 907 err = PTR_ERR(hdev->io_base); in img_hash_probe()
|
D | atmel-tdes.c | 96 void __iomem *io_base; member 183 return readl_relaxed(dd->io_base + offset); in atmel_tdes_read() 189 writel_relaxed(value, dd->io_base + offset); in atmel_tdes_write() 1419 tdes_dd->io_base = devm_ioremap_resource(&pdev->dev, tdes_res); in atmel_tdes_probe() 1420 if (!tdes_dd->io_base) { in atmel_tdes_probe()
|
D | atmel-sha.c | 120 void __iomem *io_base; member 149 return readl_relaxed(dd->io_base + offset); in atmel_sha_read() 155 writel_relaxed(value, dd->io_base + offset); in atmel_sha_write() 1407 sha_dd->io_base = devm_ioremap_resource(&pdev->dev, sha_res); in atmel_sha_probe() 1408 if (!sha_dd->io_base) { in atmel_sha_probe()
|
D | atmel-aes.c | 103 void __iomem *io_base; member 217 return readl_relaxed(dd->io_base + offset); in atmel_aes_read() 223 writel_relaxed(value, dd->io_base + offset); in atmel_aes_write() 1398 aes_dd->io_base = devm_ioremap_resource(&pdev->dev, aes_res); in atmel_aes_probe() 1399 if (!aes_dd->io_base) { in atmel_aes_probe()
|
D | omap-sham.c | 218 void __iomem *io_base; member 247 return __raw_readl(dd->io_base + offset); in omap_sham_read() 253 __raw_writel(value, dd->io_base + offset); in omap_sham_write() 1921 dd->io_base = devm_ioremap_resource(dev, &res); in omap_sham_probe() 1922 if (IS_ERR(dd->io_base)) { in omap_sham_probe() 1923 err = PTR_ERR(dd->io_base); in omap_sham_probe()
|
/linux-4.1.27/drivers/scsi/arm/ |
D | arxescsi.c | 117 void __iomem *base = info->info.scsi.io_base; in arxescsi_dma_pseudo() 280 info->info.scsi.io_base = base + 0x2000; in arxescsi_probe()
|
D | fas216.h | 237 void __iomem *io_base; /* iomem base of FAS216 */ member
|
D | powertec.c | 333 info->info.scsi.io_base = base + POWERTEC_FAS216_OFFSET; in powertecscsi_probe()
|
D | cumana_2.c | 408 info->info.scsi.io_base = base + CUMANASCSI2_FAS216_OFFSET; in cumanascsi2_probe()
|
D | eesox.c | 527 info->info.scsi.io_base = base + EESOX_FAS216_OFFSET; in eesoxscsi_probe()
|
D | fas216.c | 145 return readb(info->scsi.io_base + off); in fas216_readb() 151 writeb(val, info->scsi.io_base + off); in fas216_writeb() 2963 info->scsi.type, info->scsi.io_base, in fas216_print_host()
|
/linux-4.1.27/drivers/mfd/ |
D | kempld-core.c | 461 pld->io_base = devm_ioport_map(dev, ioport->start, in kempld_probe() 463 if (!pld->io_base) in kempld_probe() 466 pld->io_index = pld->io_base; in kempld_probe() 467 pld->io_data = pld->io_base + 1; in kempld_probe()
|
/linux-4.1.27/arch/mips/include/asm/netlogic/ |
D | psb-bootinfo.h | 40 uint64_t io_base; member
|
/linux-4.1.27/include/linux/ |
D | of_pci.h | 61 struct list_head *resources, resource_size_t *io_base);
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | timer.c | 256 timer->io_base = of_iomap(np, 0); in omap_dm_timer_init_one() 286 timer->io_base = ioremap(mem.start, mem.end - mem.start); in omap_dm_timer_init_one() 289 if (!timer->io_base) in omap_dm_timer_init_one()
|
/linux-4.1.27/sound/soc/dwc/ |
D | designware_i2s.c | 105 static inline void i2s_write_reg(void __iomem *io_base, int reg, u32 val) in i2s_write_reg() argument 107 writel(val, io_base + reg); in i2s_write_reg() 110 static inline u32 i2s_read_reg(void __iomem *io_base, int reg) in i2s_read_reg() argument 112 return readl(io_base + reg); in i2s_read_reg()
|
/linux-4.1.27/arch/arm/mach-cns3xxx/ |
D | pcie.c | 227 u16 io_base = cnspci->res_io.start >> 16; in cns3xxx_pcie_hw_init() local 244 pci_bus_write_config_word(&bus, devfn, PCI_IO_BASE_UPPER16, io_base); in cns3xxx_pcie_hw_init()
|
/linux-4.1.27/sound/pci/ |
D | azt3328.c | 265 unsigned long io_base; /* keep first! (avoid offset calc) */ member 357 outb(value, codec->io_base + reg); in snd_azf3328_codec_outb() 363 return inb(codec->io_base + reg); in snd_azf3328_codec_inb() 372 outw(value, codec->io_base + reg); in snd_azf3328_codec_outw() 378 return inw(codec->io_base + reg); in snd_azf3328_codec_inw() 387 outl(value, codec->io_base + reg); in snd_azf3328_codec_outl() 395 unsigned long addr = codec->io_base + reg; in snd_azf3328_codec_outl_multi() 408 return inl(codec->io_base + reg); in snd_azf3328_codec_inl() 2443 codec_setup->io_base = chip->ctrl_io + AZF_IO_OFFS_CODEC_PLAYBACK; in snd_azf3328_create() 2449 codec_setup->io_base = chip->ctrl_io + AZF_IO_OFFS_CODEC_CAPTURE; in snd_azf3328_create() [all …]
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | tlan.c | 2025 static void tlan_print_dio(u16 io_base) in tlan_print_dio() argument 2031 io_base); in tlan_print_dio() 2034 data0 = tlan_dio_read32(io_base, i); in tlan_print_dio() 2035 data1 = tlan_dio_read32(io_base, i + 0x4); in tlan_print_dio() 3097 static void tlan_ee_send_start(u16 io_base) in tlan_ee_send_start() argument 3101 outw(TLAN_NET_SIO, io_base + TLAN_DIO_ADR); in tlan_ee_send_start() 3102 sio = io_base + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_ee_send_start() 3137 static int tlan_ee_send_byte(u16 io_base, u8 data, int stop) in tlan_ee_send_byte() argument 3143 outw(TLAN_NET_SIO, io_base + TLAN_DIO_ADR); in tlan_ee_send_byte() 3144 sio = io_base + TLAN_DIO_DATA + TLAN_NET_SIO; in tlan_ee_send_byte() [all …]
|
/linux-4.1.27/include/linux/mfd/ |
D | kempld.h | 90 void __iomem *io_base; member
|
/linux-4.1.27/drivers/media/platform/s3c-camif/ |
D | camif-core.c | 440 camif->io_base = devm_ioremap_resource(dev, mres); in s3c_camif_probe() 441 if (IS_ERR(camif->io_base)) in s3c_camif_probe() 442 return PTR_ERR(camif->io_base); in s3c_camif_probe()
|
D | camif-regs.c | 16 #define camif_write(_camif, _off, _val) writel(_val, (_camif)->io_base + (_off)) 17 #define camif_read(_camif, _off) readl((_camif)->io_base + (_off)) 603 u32 cfg = readl(camif->io_base + registers[i].offset); in camif_hw_dump_regs()
|
D | camif-regs.h | 265 return readl(vp->camif->io_base + S3C_CAMIF_REG_CISTATUS(vp->id, in camif_hw_get_status()
|
D | camif-core.h | 302 void __iomem *io_base; member
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | cpqphp_pci.c | 1252 u16 io_base = readw(one_slot + IO_BASE); in cpqhp_find_available_resources() local 1260 dev_func, io_base, io_length, mem_base, mem_length, pre_mem_base, pre_mem_length, in cpqhp_find_available_resources() 1304 temp_dword = io_base + io_length; in cpqhp_find_available_resources() 1306 if ((io_base) && (temp_dword < 0x10000)) { in cpqhp_find_available_resources() 1311 io_node->base = io_base; in cpqhp_find_available_resources()
|
D | cpqphp.h | 215 u16 io_base; member 231 IO_BASE = offsetof(struct slot_rt, io_base),
|
D | ibmphp_pci.c | 572 u8 io_base; in configure_bridge() local 950 pci_bus_read_config_byte (ibmphp_pci_bus, devfn, PCI_IO_BASE, &io_base); in configure_bridge() 953 if ((io_base & PCI_IO_RANGE_TYPE_MASK) == PCI_IO_RANGE_TYPE_32) { in configure_bridge()
|
/linux-4.1.27/arch/arm/plat-omap/ |
D | dmtimer.c | 831 timer->io_base = devm_ioremap_resource(dev, mem); in omap_dm_timer_probe() 832 if (IS_ERR(timer->io_base)) in omap_dm_timer_probe() 833 return PTR_ERR(timer->io_base); in omap_dm_timer_probe()
|
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/ |
D | vf.h | 242 unsigned long io_base; member
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | fsl_lbc.h | 305 extern int fsl_upm_run_pattern(struct fsl_upm *upm, void __iomem *io_base,
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | adl_pci9111.c | 141 static void plx9050_interrupt_control(unsigned long io_base, in plx9050_interrupt_control() argument 162 outb(flags, io_base + PLX9052_INTCSR); in plx9050_interrupt_control()
|
/linux-4.1.27/drivers/char/pcmcia/ |
D | synclink_cs.c | 201 unsigned int io_base; /* base I/O address of adapter */ member 321 #define write_reg(info, reg, val) outb((val),(info)->io_base + (reg)) 322 #define read_reg(info, reg) inb((info)->io_base + (reg)) 324 #define read_reg16(info, reg) inw((info)->io_base + (reg)) 325 #define write_reg16(info, reg, val) outw((val), (info)->io_base + (reg)) 600 info->io_base = link->resource[0]->start; in mgslpc_config() 2566 info->device_name, info->io_base, info->irq_level); in line_info() 2746 info->device_name, info->io_base, info->irq_level); in mgslpc_add_device() 3818 __FILE__, __LINE__, info->device_name, (unsigned short)(info->io_base)); in adapter_test() 4301 dev->base_addr = info->io_base; in hdlcdev_init()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | cnic_if.h | 197 void __iomem *io_base; member
|
D | cnic.c | 5314 dev->regview = ethdev->io_base; in cnic_start_hw()
|
D | bnx2.c | 430 cp->io_base = bp->regview; in bnx2_cnic_probe()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | e1000_hw.h | 536 unsigned long io_base; member
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.h | 692 unsigned long io_base; /* Our I/O mapped location */ member
|
D | ixgb_main.c | 454 adapter->hw.io_base = pci_resource_start(pdev, i); in ixgb_probe()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000_hw.c | 4900 unsigned long io_addr = hw->io_base; in e1000_write_reg_io() 4901 unsigned long io_data = hw->io_base + 4; in e1000_write_reg_io()
|
D | e1000_hw.h | 1372 unsigned long io_base; member
|
D | e1000_main.c | 1003 hw->io_base = pci_resource_start(pdev, i); in e1000_probe()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 14488 cp->io_base = bp->regview; in bnx2x_cnic_probe()
|