Searched refs:hw_base (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/thermal/intel/ |
A D | intel_pch_thermal.c | 81 void __iomem *hw_base; member 149 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_init() 167 trip_temp = readw(ptd->hw_base + WPT_CTT); in pch_wpt_init() 176 trip_temp = readw(ptd->hw_base + WPT_PHL); in pch_wpt_init() 204 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_suspend() 205 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in pch_wpt_suspend() 266 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_resume() 410 ptd->hw_base = pci_ioremap_bar(pdev, 0); in intel_pch_thermal_probe() 411 if (!ptd->hw_base) { in intel_pch_thermal_probe() 438 iounmap(ptd->hw_base); in intel_pch_thermal_probe() [all …]
|
/linux/sound/soc/mediatek/common/ |
A D | mtk-afe-platform-driver.c | 91 unsigned int hw_ptr = 0, hw_base = 0; in mtk_afe_pcm_pointer() local 101 ret = regmap_read(regmap, reg_ofs_base, &hw_base); in mtk_afe_pcm_pointer() 102 if (ret || hw_base == 0) { in mtk_afe_pcm_pointer() 108 pcm_ptr_bytes = hw_ptr - hw_base; in mtk_afe_pcm_pointer()
|
/linux/sound/core/ |
A D | pcm_lib.c | 313 hw_base = runtime->hw_ptr_base; in snd_pcm_update_hw_ptr0() 314 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 325 hw_base = 0; in snd_pcm_update_hw_ptr0() 328 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 336 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0() 338 hw_base = 0; in snd_pcm_update_hw_ptr0() 341 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 363 hw_base = 0; in snd_pcm_update_hw_ptr0() 366 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 402 hw_base = delta; in snd_pcm_update_hw_ptr0() [all …]
|
/linux/drivers/media/platform/mtk-vcodec/venc/ |
A D | venc_vp8_if.c | 125 void __iomem *hw_base; member 137 return readl(inst->hw_base + addr); in vp8_enc_read_reg() 340 inst->hw_base = mtk_vcodec_get_reg_addr(inst->ctx, VENC_LT_SYS); in vp8_enc_init()
|
A D | venc_h264_if.c | 146 void __iomem *hw_base; member 160 return readl(inst->hw_base + addr); in h264_read_reg() 517 inst->hw_base = mtk_vcodec_get_reg_addr(inst->ctx, VENC_SYS); in h264_enc_init()
|
/linux/drivers/atm/ |
A D | firestream.h | 463 unsigned long hw_base; /* mem base address */ member
|
A D | firestream.c | 1676 dev->hw_base = pci_resource_start(pci_dev, 0); in fs_init() 1678 dev->base = ioremap(dev->hw_base, 0x1000); in fs_init()
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
A D | common.h | 1178 void __iomem *hw_base; member 1983 writeb(val, il->hw_base + ofs); in _il_write8() 1990 writel(val, il->hw_base + ofs); in _il_wr() 1996 return readl(il->hw_base + ofs); in _il_rd()
|
A D | 3945-mac.c | 3633 il->hw_base = pci_ioremap_bar(pdev, 0); in il3945_pci_probe() 3634 if (!il->hw_base) { in il3945_pci_probe() 3641 D_INFO("pci_resource_base = %p\n", il->hw_base); in il3945_pci_probe() 3756 iounmap(il->hw_base); in il3945_pci_probe() 3832 iounmap(il->hw_base); in il3945_pci_remove()
|
A D | 4965-mac.c | 6535 il->hw_base = pci_ioremap_bar(pdev, 0); in il4965_pci_probe() 6536 if (!il->hw_base) { in il4965_pci_probe() 6543 D_INFO("pci_resource_base = %p\n", il->hw_base); in il4965_pci_probe() 6665 iounmap(il->hw_base); in il4965_pci_probe() 6743 iounmap(il->hw_base); in il4965_pci_remove()
|
/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
A D | trans.c | 1866 writeb(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write8() 1871 writel(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write32() 1876 return readl(IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_read32() 3574 trans_pcie->hw_base = table[0]; in iwl_trans_pcie_alloc() 3575 if (!trans_pcie->hw_base) { in iwl_trans_pcie_alloc()
|
A D | internal.h | 366 void __iomem *hw_base; member
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
A D | ipw2200.c | 329 writeb(val, ipw->hw_base + ofs); in _ipw_write8() 343 writew(val, ipw->hw_base + ofs); in _ipw_write16() 357 writel(val, ipw->hw_base + ofs); in _ipw_write32() 370 return readb(ipw->hw_base + ofs); in _ipw_read8() 383 return readw(ipw->hw_base + ofs); in _ipw_read16() 396 return readl(ipw->hw_base + ofs); in _ipw_read32() 555 memcpy_toio((priv->hw_base + addr), buf, num); in ipw_write_direct() 11652 priv->hw_base = base; in ipw_pci_probe() 11748 iounmap(priv->hw_base); in ipw_pci_probe() 11830 iounmap(priv->hw_base); in ipw_pci_remove()
|
A D | ipw2200.h | 1179 void __iomem *hw_base; member
|
Completed in 105 milliseconds