Home
last modified time | relevance | path

Searched refs:hw_base (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/drivers/devfreq/exynos/
Dexynos_ppmu.c63 void __iomem *ppmu_base = ppmu_data->ppmu[i].hw_base; in busfreq_mon_reset()
83 void __iomem *ppmu_base = ppmu_data->ppmu[i].hw_base; in exynos_read_ppmu()
Dexynos_ppmu.h62 void __iomem *hw_base; member
Dexynos5_bus.c283 ppmu_data->ppmu[i].hw_base = of_iomap(np, i); in exynos5_busfreq_int_probe()
284 if (ppmu_data->ppmu[i].hw_base == NULL) { in exynos5_busfreq_int_probe()
Dexynos4_bus.c922 ppmu_data->ppmu[PPMU_DMC0].hw_base = S5P_VA_DMC0; in exynos4_busfreq_probe()
923 ppmu_data->ppmu[PPMU_DMC1].hw_base = S5P_VA_DMC1; in exynos4_busfreq_probe()
/linux-4.1.27/sound/core/
Dpcm_lib.c283 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() local
333 hw_base = runtime->hw_ptr_base; in snd_pcm_update_hw_ptr0()
334 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
343 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0()
344 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
345 hw_base = 0; in snd_pcm_update_hw_ptr0()
348 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0()
356 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0()
357 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
358 hw_base = 0; in snd_pcm_update_hw_ptr0()
[all …]
/linux-4.1.27/drivers/atm/
Dfirestream.h478 unsigned long hw_base; /* mem base address */ member
Dfirestream.c1684 dev->hw_base = pci_resource_start(pci_dev, 0); in fs_init()
1686 dev->base = ioremap(dev->hw_base, 0x1000); in fs_init()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Dtrans.c1276 writeb(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write8()
1281 writel(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write32()
1286 return readl(IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_read32()
1365 iounmap(trans_pcie->hw_base); in iwl_trans_pcie_free()
2497 trans_pcie->hw_base = pci_ioremap_bar(pdev, 0); in iwl_trans_pcie_alloc()
2498 if (!trans_pcie->hw_base) { in iwl_trans_pcie_alloc()
Dinternal.h302 void __iomem *hw_base; member
/linux-4.1.27/drivers/net/wireless/iwlegacy/
Dcommon.h1195 void __iomem *hw_base; member
2000 writeb(val, il->hw_base + ofs); in _il_write8()
2007 writel(val, il->hw_base + ofs); in _il_wr()
2013 return readl(il->hw_base + ofs); in _il_rd()
D3945-mac.c3676 il->hw_base = pci_ioremap_bar(pdev, 0); in il3945_pci_probe()
3677 if (!il->hw_base) { in il3945_pci_probe()
3684 D_INFO("pci_resource_base = %p\n", il->hw_base); in il3945_pci_probe()
3802 iounmap(il->hw_base); in il3945_pci_probe()
3879 iounmap(il->hw_base); in il3945_pci_remove()
D4965-mac.c6562 il->hw_base = pci_ioremap_bar(pdev, 0); in il4965_pci_probe()
6563 if (!il->hw_base) { in il4965_pci_probe()
6570 D_INFO("pci_resource_base = %p\n", il->hw_base); in il4965_pci_probe()
6692 iounmap(il->hw_base); in il4965_pci_probe()
6771 iounmap(il->hw_base); in il4965_pci_remove()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2200.c343 writeb(val, ipw->hw_base + ofs); in _ipw_write8()
357 writew(val, ipw->hw_base + ofs); in _ipw_write16()
371 writel(val, ipw->hw_base + ofs); in _ipw_write32()
384 return readb(ipw->hw_base + ofs); in _ipw_read8()
397 return readw(ipw->hw_base + ofs); in _ipw_read16()
410 return readl(ipw->hw_base + ofs); in _ipw_read32()
569 memcpy_toio((priv->hw_base + addr), buf, num); in ipw_write_direct()
11691 priv->hw_base = base; in ipw_pci_probe()
11788 iounmap(priv->hw_base); in ipw_pci_probe()
11870 iounmap(priv->hw_base); in ipw_pci_remove()
Dipw2200.h1193 void __iomem *hw_base; member