| /Linux-v5.4/drivers/thermal/intel/ |
| D | intel_pch_thermal.c | 58 void __iomem *hw_base; member 121 if (WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL)) { in pch_wpt_init() 126 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_init() 136 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); in pch_wpt_init() 137 if (!(WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL))) { in pch_wpt_init() 144 trip_temp = readw(ptd->hw_base + WPT_CTT); in pch_wpt_init() 154 trip_temp = readw(ptd->hw_base + WPT_PHL); in pch_wpt_init() 172 wpt_temp = WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TEMP); in pch_wpt_get_temp() 187 tsel = readb(ptd->hw_base + WPT_TSEL); in pch_wpt_suspend() 189 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in pch_wpt_suspend() [all …]
|
| /Linux-v5.4/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-v5.4/sound/core/ |
| D | pcm_lib.c | 252 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() local 302 hw_base = runtime->hw_ptr_base; in snd_pcm_update_hw_ptr0() 303 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 312 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0() 313 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0() 314 hw_base = 0; in snd_pcm_update_hw_ptr0() 317 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 325 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0() 326 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0() 327 hw_base = 0; in snd_pcm_update_hw_ptr0() [all …]
|
| /Linux-v5.4/drivers/media/platform/mtk-vcodec/venc/ |
| D | venc_vp8_if.c | 126 void __iomem *hw_base; member 138 return readl(inst->hw_base + addr); in vp8_enc_read_reg() 339 inst->hw_base = mtk_vcodec_get_reg_addr(inst->ctx, VENC_LT_SYS); in vp8_enc_init()
|
| D | venc_h264_if.c | 137 void __iomem *hw_base; member 150 return readl(inst->hw_base + addr); in h264_read_reg() 474 inst->hw_base = mtk_vcodec_get_reg_addr(inst->ctx, VENC_SYS); in h264_enc_init()
|
| /Linux-v5.4/drivers/atm/ |
| D | firestream.h | 463 unsigned long hw_base; /* mem base address */ member
|
| D | firestream.c | 1673 dev->hw_base = pci_resource_start(pci_dev, 0); in fs_init() 1675 dev->base = ioremap(dev->hw_base, 0x1000); in fs_init()
|
| /Linux-v5.4/drivers/net/wireless/intel/iwlegacy/ |
| D | common.h | 1181 void __iomem *hw_base; member 1986 writeb(val, il->hw_base + ofs); in _il_write8() 1993 writel(val, il->hw_base + ofs); in _il_wr() 1999 return readl(il->hw_base + ofs); in _il_rd()
|
| D | 3945-mac.c | 3642 il->hw_base = pci_ioremap_bar(pdev, 0); in il3945_pci_probe() 3643 if (!il->hw_base) { in il3945_pci_probe() 3650 D_INFO("pci_resource_base = %p\n", il->hw_base); in il3945_pci_probe() 3765 iounmap(il->hw_base); in il3945_pci_probe() 3842 iounmap(il->hw_base); in il3945_pci_remove()
|
| D | 4965-mac.c | 6547 il->hw_base = pci_ioremap_bar(pdev, 0); in il4965_pci_probe() 6548 if (!il->hw_base) { in il4965_pci_probe() 6555 D_INFO("pci_resource_base = %p\n", il->hw_base); in il4965_pci_probe() 6677 iounmap(il->hw_base); in il4965_pci_probe() 6756 iounmap(il->hw_base); in il4965_pci_remove()
|
| /Linux-v5.4/drivers/net/wireless/intel/iwlwifi/pcie/ |
| D | trans.c | 1859 writeb(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write8() 1864 writel(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write32() 1869 return readl(IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_read32() 3523 trans_pcie->hw_base = pcim_iomap_table(pdev)[0]; in iwl_trans_pcie_alloc() 3524 if (!trans_pcie->hw_base) { in iwl_trans_pcie_alloc()
|
| D | internal.h | 558 void __iomem *hw_base; member
|
| /Linux-v5.4/drivers/net/wireless/intel/ipw2x00/ |
| 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() 11663 priv->hw_base = base; in ipw_pci_probe() 11763 iounmap(priv->hw_base); in ipw_pci_probe() 11845 iounmap(priv->hw_base); in ipw_pci_remove()
|
| D | ipw2200.h | 1179 void __iomem *hw_base; member
|