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

/linux-4.4.14/drivers/thermal/
H A Dintel_pch_thermal.c59 void __iomem *hw_base; member in struct:pch_thermal_device
77 if (WPT_TSS_TSDSS & readb(ptd->hw_base + WPT_TSS)) pch_wpt_init()
80 tsel = readb(ptd->hw_base + WPT_TSEL); pch_wpt_init()
90 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); pch_wpt_init()
91 if (!(WPT_TSS_TSDSS & readb(ptd->hw_base + WPT_TSS))) { pch_wpt_init()
98 trip_temp = readw(ptd->hw_base + WPT_CTT); pch_wpt_init()
108 trip_temp = readw(ptd->hw_base + WPT_PHL); pch_wpt_init()
124 wpt_temp = WPT_TEMP_TSR & readl(ptd->hw_base + WPT_TEMP); pch_wpt_get_temp()
224 ptd->hw_base = pci_ioremap_bar(pdev, 0); intel_pch_thermal_probe()
225 if (!ptd->hw_base) { intel_pch_thermal_probe()
247 iounmap(ptd->hw_base); intel_pch_thermal_probe()
261 iounmap(ptd->hw_base); intel_pch_thermal_remove()
/linux-4.4.14/drivers/devfreq/exynos/
H A Dexynos_ppmu.c63 void __iomem *ppmu_base = ppmu_data->ppmu[i].hw_base; busfreq_mon_reset()
83 void __iomem *ppmu_base = ppmu_data->ppmu[i].hw_base; exynos_read_ppmu()
H A Dexynos_ppmu.h62 void __iomem *hw_base; member in struct:exynos_ppmu
H A Dexynos5_bus.c283 ppmu_data->ppmu[i].hw_base = of_iomap(np, i); exynos5_busfreq_int_probe()
284 if (ppmu_data->ppmu[i].hw_base == NULL) { exynos5_busfreq_int_probe()
H A Dexynos4_bus.c922 ppmu_data->ppmu[PPMU_DMC0].hw_base = S5P_VA_DMC0; exynos4_busfreq_probe()
923 ppmu_data->ppmu[PPMU_DMC1].hw_base = S5P_VA_DMC1; exynos4_busfreq_probe()
/linux-4.4.14/sound/core/
H A Dpcm_lib.c283 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; snd_pcm_update_hw_ptr0() local
333 hw_base = runtime->hw_ptr_base; snd_pcm_update_hw_ptr0()
334 new_hw_ptr = hw_base + pos; snd_pcm_update_hw_ptr0()
343 hw_base += runtime->buffer_size; snd_pcm_update_hw_ptr0()
344 if (hw_base >= runtime->boundary) { snd_pcm_update_hw_ptr0()
345 hw_base = 0; snd_pcm_update_hw_ptr0()
348 new_hw_ptr = hw_base + pos; snd_pcm_update_hw_ptr0()
356 hw_base += runtime->buffer_size; snd_pcm_update_hw_ptr0()
357 if (hw_base >= runtime->boundary) { snd_pcm_update_hw_ptr0()
358 hw_base = 0; snd_pcm_update_hw_ptr0()
361 new_hw_ptr = hw_base + pos; snd_pcm_update_hw_ptr0()
381 hw_base += runtime->buffer_size; snd_pcm_update_hw_ptr0()
382 if (hw_base >= runtime->boundary) { snd_pcm_update_hw_ptr0()
383 hw_base = 0; snd_pcm_update_hw_ptr0()
386 new_hw_ptr = hw_base + pos; snd_pcm_update_hw_ptr0()
422 hw_base = delta; snd_pcm_update_hw_ptr0()
433 /* align hw_base to buffer_size */ snd_pcm_update_hw_ptr0()
438 ((hdelta * HZ) / runtime->rate), hw_base, snd_pcm_update_hw_ptr0()
443 hw_base = new_hw_ptr - (new_hw_ptr % runtime->buffer_size); snd_pcm_update_hw_ptr0()
474 runtime->hw_ptr_base = hw_base; snd_pcm_update_hw_ptr0()
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
H A Dinternal.h301 * @hw_base: pci hardware address support
347 void __iomem *hw_base; member in struct:iwl_trans_pcie
H A Dtrans.c1397 writeb(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); iwl_trans_pcie_write8()
1402 writel(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); iwl_trans_pcie_write32()
1407 return readl(IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); iwl_trans_pcie_read32()
1486 iounmap(trans_pcie->hw_base); iwl_trans_pcie_free()
2722 trans_pcie->hw_base = pci_ioremap_bar(pdev, 0); iwl_trans_pcie_alloc()
2723 if (!trans_pcie->hw_base) { iwl_trans_pcie_alloc()
/linux-4.4.14/drivers/atm/
H A Dfirestream.h478 unsigned long hw_base; /* mem base address */ member in struct:fs_dev
H A Dfirestream.c1684 dev->hw_base = pci_resource_start(pci_dev, 0); fs_init()
1686 dev->base = ioremap(dev->hw_base, 0x1000); fs_init()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
H A Dcommon.h1195 void __iomem *hw_base; member in struct:il_priv
2000 writeb(val, il->hw_base + ofs); _il_write8()
2007 writel(val, il->hw_base + ofs); _il_wr()
2013 return readl(il->hw_base + ofs); _il_rd()
H A D3945-mac.c3678 il->hw_base = pci_ioremap_bar(pdev, 0); il3945_pci_probe()
3679 if (!il->hw_base) { il3945_pci_probe()
3686 D_INFO("pci_resource_base = %p\n", il->hw_base); il3945_pci_probe()
3804 iounmap(il->hw_base); il3945_pci_probe()
3881 iounmap(il->hw_base); il3945_pci_remove()
H A D4965-mac.c6564 il->hw_base = pci_ioremap_bar(pdev, 0); il4965_pci_probe()
6565 if (!il->hw_base) { il4965_pci_probe()
6572 D_INFO("pci_resource_base = %p\n", il->hw_base); il4965_pci_probe()
6694 iounmap(il->hw_base); il4965_pci_probe()
6773 iounmap(il->hw_base); il4965_pci_remove()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
H A Dipw2200.c343 writeb(val, ipw->hw_base + ofs); _ipw_write8()
357 writew(val, ipw->hw_base + ofs); _ipw_write16()
371 writel(val, ipw->hw_base + ofs); _ipw_write32()
384 return readb(ipw->hw_base + ofs); _ipw_read8()
397 return readw(ipw->hw_base + ofs); _ipw_read16()
410 return readl(ipw->hw_base + ofs); _ipw_read32()
569 memcpy_toio((priv->hw_base + addr), buf, num); ipw_write_direct()
11690 priv->hw_base = base; ipw_pci_probe()
11787 iounmap(priv->hw_base); ipw_pci_probe()
11869 iounmap(priv->hw_base); ipw_pci_remove()
H A Dipw2200.h1193 void __iomem *hw_base; member in struct:ipw_priv

Completed in 620 milliseconds