Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/thermal/
Dintel_pch_thermal.c59 void __iomem *hw_base; member
77 if (WPT_TSS_TSDSS & readb(ptd->hw_base + WPT_TSS)) in pch_wpt_init()
80 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_init()
90 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_init()
91 if (!(WPT_TSS_TSDSS & readb(ptd->hw_base + WPT_TSS))) { in pch_wpt_init()
98 trip_temp = readw(ptd->hw_base + WPT_CTT); in pch_wpt_init()
108 trip_temp = readw(ptd->hw_base + WPT_PHL); in pch_wpt_init()
124 wpt_temp = WPT_TEMP_TSR & readl(ptd->hw_base + WPT_TEMP); in pch_wpt_get_temp()
224 ptd->hw_base = pci_ioremap_bar(pdev, 0); in intel_pch_thermal_probe()
225 if (!ptd->hw_base) { in intel_pch_thermal_probe()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/net/wireless/iwlwifi/pcie/
Dtrans.c1397 writeb(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write8()
1402 writel(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write32()
1407 return readl(IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_read32()
1486 iounmap(trans_pcie->hw_base); in iwl_trans_pcie_free()
2722 trans_pcie->hw_base = pci_ioremap_bar(pdev, 0); in iwl_trans_pcie_alloc()
2723 if (!trans_pcie->hw_base) { in iwl_trans_pcie_alloc()
Dinternal.h347 void __iomem *hw_base; member
/linux-4.4.14/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.c3678 il->hw_base = pci_ioremap_bar(pdev, 0); in il3945_pci_probe()
3679 if (!il->hw_base) { in il3945_pci_probe()
3686 D_INFO("pci_resource_base = %p\n", il->hw_base); in il3945_pci_probe()
3804 iounmap(il->hw_base); in il3945_pci_probe()
3881 iounmap(il->hw_base); in il3945_pci_remove()
D4965-mac.c6564 il->hw_base = pci_ioremap_bar(pdev, 0); in il4965_pci_probe()
6565 if (!il->hw_base) { in il4965_pci_probe()
6572 D_INFO("pci_resource_base = %p\n", il->hw_base); in il4965_pci_probe()
6694 iounmap(il->hw_base); in il4965_pci_probe()
6773 iounmap(il->hw_base); in il4965_pci_remove()
/linux-4.4.14/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()
11690 priv->hw_base = base; in ipw_pci_probe()
11787 iounmap(priv->hw_base); in ipw_pci_probe()
11869 iounmap(priv->hw_base); in ipw_pci_remove()
Dipw2200.h1193 void __iomem *hw_base; member