Searched refs:dev_base (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/block/
H A Dmg_disk.c127 void __iomem *dev_base; member in struct:mg_host
190 host->error = inb((unsigned long)host->dev_base + MG_REG_ERROR); mg_dump_status()
228 status = inb((unsigned long)host->dev_base + MG_REG_STATUS); mg_wait()
229 status = inb((unsigned long)host->dev_base + MG_REG_STATUS); mg_wait()
232 status = inb((unsigned long)host->dev_base + MG_REG_STATUS); mg_wait()
259 status = inb((unsigned long)host->dev_base + MG_REG_STATUS); mg_wait()
284 u32 status = inb((unsigned long)host->dev_base + MG_REG_STATUS); mg_unexpected_intr()
354 outb(ATA_NIEN, (unsigned long)host->dev_base + MG_REG_DRV_CTRL); mg_get_disk_id()
356 outb(MG_CMD_ID, (unsigned long)host->dev_base + MG_REG_COMMAND); mg_get_disk_id()
362 host->id[i] = le16_to_cpu(inw((unsigned long)host->dev_base + mg_get_disk_id()
365 outb(MG_CMD_RD_CONF, (unsigned long)host->dev_base + MG_REG_COMMAND); mg_get_disk_id()
397 outb(0, (unsigned long)host->dev_base + MG_REG_DRV_CTRL); mg_get_disk_id()
423 (unsigned long)host->dev_base + MG_REG_DRV_CTRL); mg_disk_init()
430 (unsigned long)host->dev_base + MG_REG_DRV_CTRL); mg_disk_init()
435 init_status = inb((unsigned long)host->dev_base + MG_REG_STATUS) & 0xf; mg_disk_init()
468 outb((u8)sect_cnt, (unsigned long)host->dev_base + MG_REG_SECT_CNT); mg_out()
469 outb((u8)sect_num, (unsigned long)host->dev_base + MG_REG_SECT_NUM); mg_out()
470 outb((u8)(sect_num >> 8), (unsigned long)host->dev_base + mg_out()
472 outb((u8)(sect_num >> 16), (unsigned long)host->dev_base + mg_out()
475 (unsigned long)host->dev_base + MG_REG_DRV_HEAD); mg_out()
476 outb(cmd, (unsigned long)host->dev_base + MG_REG_COMMAND); mg_out()
486 *buff++ = inw((unsigned long)host->dev_base + MG_BUFF_OFFSET + mg_read_one()
510 outb(MG_CMD_RD_CONF, (unsigned long)host->dev_base + mg_read()
521 outw(*buff++, (unsigned long)host->dev_base + MG_BUFF_OFFSET + mg_write_one()
548 outb(MG_CMD_WR_CONF, (unsigned long)host->dev_base + mg_write()
571 i = inb((unsigned long)host->dev_base + MG_REG_STATUS); mg_read_intr()
591 outb(MG_CMD_RD_CONF, (unsigned long)host->dev_base + MG_REG_COMMAND); mg_read_intr()
609 i = inb((unsigned long)host->dev_base + MG_REG_STATUS); mg_write_intr()
633 outb(MG_CMD_WR_CONF, (unsigned long)host->dev_base + MG_REG_COMMAND); mg_write_intr()
700 outb(ATA_NIEN, (unsigned long)host->dev_base + MG_REG_DRV_CTRL); mg_issue_req()
708 outb(0, (unsigned long)host->dev_base + MG_REG_DRV_CTRL); mg_issue_req()
715 outb(MG_CMD_WR_CONF, (unsigned long)host->dev_base + mg_issue_req()
793 outb(ATA_NIEN, (unsigned long)host->dev_base + MG_REG_DRV_CTRL); mg_suspend()
795 outb(MG_CMD_SLEEP, (unsigned long)host->dev_base + MG_REG_COMMAND); mg_suspend()
801 outb(0, (unsigned long)host->dev_base + MG_REG_DRV_CTRL); mg_suspend()
816 outb(MG_CMD_WAKEUP, (unsigned long)host->dev_base + MG_REG_COMMAND); mg_resume()
824 outb(0, (unsigned long)host->dev_base + MG_REG_DRV_CTRL); mg_resume()
868 host->dev_base = ioremap(rsc->start, resource_size(rsc)); mg_probe()
869 if (!host->dev_base) { mg_probe()
875 MG_DBG("dev_base = 0x%x\n", (u32)host->dev_base); mg_probe()
1030 iounmap(host->dev_base); mg_probe()
1071 if (host->dev_base) mg_remove()
1072 iounmap(host->dev_base); mg_remove()
/linux-4.4.14/arch/x86/kernel/
H A Daperture_64.c277 int dev_base, dev_limit; early_gart_iommu_check() local
280 dev_base = amd_nb_bus_dev_ranges[i].dev_base; early_gart_iommu_check()
283 for (slot = dev_base; slot < dev_limit; slot++) { early_gart_iommu_check()
333 int dev_base, dev_limit; early_gart_iommu_check() local
336 dev_base = amd_nb_bus_dev_ranges[i].dev_base; early_gart_iommu_check()
339 for (slot = dev_base; slot < dev_limit; slot++) { early_gart_iommu_check()
377 int dev_base, dev_limit; gart_iommu_hole_init() local
381 dev_base = amd_nb_bus_dev_ranges[i].dev_base; gart_iommu_hole_init()
384 for (slot = dev_base; slot < dev_limit; slot++) { gart_iommu_hole_init()
485 int bus, dev_base, dev_limit; gart_iommu_hole_init() local
494 dev_base = amd_nb_bus_dev_ranges[i].dev_base; gart_iommu_hole_init()
496 for (slot = dev_base; slot < dev_limit; slot++) { gart_iommu_hole_init()
/linux-4.4.14/arch/x86/pci/
H A Dmmconfig_32.c42 u32 dev_base = base | PCI_MMCFG_BUS_OFFSET(bus) | (devfn << 12); pci_exp_set_dev_base() local
44 if (dev_base != mmcfg_last_accessed_device || pci_exp_set_dev_base()
46 mmcfg_last_accessed_device = dev_base; pci_exp_set_dev_base()
48 set_fixmap_nocache(FIX_PCIE_MCFG, dev_base); pci_exp_set_dev_base()
H A Damd_bus.c366 u8 slot = amd_nb_bus_dev_ranges[i].dev_base; pci_enable_pci_io_ecs()
/linux-4.4.14/arch/x86/include/asm/
H A Damd_nb.h9 u8 dev_base; member in struct:amd_nb_bus_dev_range
/linux-4.4.14/arch/powerpc/sysdev/
H A Dfsl_pci.c625 u32 dev_base; member in struct:mpc83xx_pcie_priv
675 u32 dev_base = bus->number << 24 | devfn << 16; mpc83xx_pcie_remap_cfg() local
688 if (pcie->dev_base == dev_base) mpc83xx_pcie_remap_cfg()
691 out_le32(pcie->cfg_type0 + PEX_OUTWIN0_TAL, dev_base); mpc83xx_pcie_remap_cfg()
693 pcie->dev_base = dev_base; mpc83xx_pcie_remap_cfg()
/linux-4.4.14/net/ipv4/
H A Ddevinet.c1224 in dev_base list.
/linux-4.4.14/net/core/
H A Ddev.c1014 * the first empty slot. The caller must hold the dev_base or rtnl lock
1079 * the first empty slot. The caller must hold the dev_base or rtnl lock
/linux-4.4.14/net/ipv6/
H A Daddrconf.c5923 * entry in the global dev_base list of net devices. In fact, addrconf_init()

Completed in 420 milliseconds