/Linux-v4.19/drivers/thermal/ |
D | intel_pch_thermal.c | 67 void __iomem *hw_base; member 130 if (WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL)) { in pch_wpt_init() 135 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_init() 145 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_init() 146 if (!(WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL))) { in pch_wpt_init() 153 trip_temp = readw(ptd->hw_base + WPT_CTT); in pch_wpt_init() 163 trip_temp = readw(ptd->hw_base + WPT_PHL); in pch_wpt_init() 181 wpt_temp = WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TEMP); in pch_wpt_get_temp() 196 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_suspend() 198 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in pch_wpt_suspend() [all …]
|
/Linux-v4.19/sound/soc/mediatek/common/ |
D | mtk-afe-platform-driver.c | 92 unsigned int hw_ptr = 0, hw_base = 0; in mtk_afe_pcm_pointer() local 102 ret = regmap_read(regmap, reg_ofs_base, &hw_base); in mtk_afe_pcm_pointer() 103 if (ret || hw_base == 0) { in mtk_afe_pcm_pointer() 109 pcm_ptr_bytes = hw_ptr - hw_base; in mtk_afe_pcm_pointer()
|
/Linux-v4.19/sound/core/ |
D | pcm_lib.c | 267 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() local 317 hw_base = runtime->hw_ptr_base; in snd_pcm_update_hw_ptr0() 318 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 327 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0() 328 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0() 329 hw_base = 0; in snd_pcm_update_hw_ptr0() 332 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 340 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0() 341 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0() 342 hw_base = 0; in snd_pcm_update_hw_ptr0() [all …]
|
/Linux-v4.19/drivers/media/platform/mtk-vcodec/venc/ |
D | venc_vp8_if.c | 135 void __iomem *hw_base; member 147 return readl(inst->hw_base + addr); in vp8_enc_read_reg() 348 inst->hw_base = mtk_vcodec_get_reg_addr(inst->ctx, VENC_LT_SYS); in vp8_enc_init()
|
D | venc_h264_if.c | 146 void __iomem *hw_base; member 159 return readl(inst->hw_base + addr); in h264_read_reg() 483 inst->hw_base = mtk_vcodec_get_reg_addr(inst->ctx, VENC_SYS); in h264_enc_init()
|
/Linux-v4.19/drivers/atm/ |
D | firestream.h | 478 unsigned long hw_base; /* mem base address */ member
|
D | firestream.c | 1688 dev->hw_base = pci_resource_start(pci_dev, 0); in fs_init() 1690 dev->base = ioremap(dev->hw_base, 0x1000); in fs_init()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/ |
D | common.h | 1196 void __iomem *hw_base; member 2001 writeb(val, il->hw_base + ofs); in _il_write8() 2008 writel(val, il->hw_base + ofs); in _il_wr() 2014 return readl(il->hw_base + ofs); in _il_rd()
|
D | 3945-mac.c | 3658 il->hw_base = pci_ioremap_bar(pdev, 0); in il3945_pci_probe() 3659 if (!il->hw_base) { in il3945_pci_probe() 3666 D_INFO("pci_resource_base = %p\n", il->hw_base); in il3945_pci_probe() 3784 iounmap(il->hw_base); in il3945_pci_probe() 3861 iounmap(il->hw_base); in il3945_pci_remove()
|
D | 4965-mac.c | 6566 il->hw_base = pci_ioremap_bar(pdev, 0); in il4965_pci_probe() 6567 if (!il->hw_base) { in il4965_pci_probe() 6574 D_INFO("pci_resource_base = %p\n", il->hw_base); in il4965_pci_probe() 6696 iounmap(il->hw_base); in il4965_pci_probe() 6775 iounmap(il->hw_base); in il4965_pci_remove()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 1820 writeb(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write8() 1825 writel(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write32() 1830 return readl(IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_read32() 3315 trans_pcie->hw_base = pcim_iomap_table(pdev)[0]; in iwl_trans_pcie_alloc() 3316 if (!trans_pcie->hw_base) { in iwl_trans_pcie_alloc()
|
D | internal.h | 589 void __iomem *hw_base; member
|
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2200.c | 343 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() 11680 priv->hw_base = base; in ipw_pci_probe() 11780 iounmap(priv->hw_base); in ipw_pci_probe() 11862 iounmap(priv->hw_base); in ipw_pci_remove()
|
D | ipw2200.h | 1193 void __iomem *hw_base; member
|