Searched refs:hw_base (Results 1 – 12 of 12) sorted by relevance
| /linux-6.15/drivers/thermal/intel/ |
| H A D | intel_pch_thermal.c | 84 void __iomem *hw_base; member 190 ptd->hw_base = pci_ioremap_bar(pdev, 0); in intel_pch_thermal_probe() 191 if (!ptd->hw_base) { in intel_pch_thermal_probe() 203 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_probe() 222 trip_temp = readw(ptd->hw_base + WPT_CTT); in intel_pch_thermal_probe() 229 trip_temp = readw(ptd->hw_base + WPT_PHL); in intel_pch_thermal_probe() 257 iounmap(ptd->hw_base); in intel_pch_thermal_probe() 271 iounmap(ptd->hw_base); in intel_pch_thermal_remove() 286 tsel = readb(ptd->hw_base + WPT_TSEL); in intel_pch_thermal_suspend_noirq() 287 writeb(tsel & 0xFE, ptd->hw_base + WPT_TSEL); in intel_pch_thermal_suspend_noirq() [all …]
|
| /linux-6.15/sound/soc/mediatek/common/ |
| H 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-6.15/sound/core/ |
| H A D | pcm_lib.c | 341 hw_base = runtime->hw_ptr_base; in snd_pcm_update_hw_ptr0() 342 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 353 hw_base = 0; in snd_pcm_update_hw_ptr0() 356 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 364 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0() 366 hw_base = 0; in snd_pcm_update_hw_ptr0() 369 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 391 hw_base = 0; in snd_pcm_update_hw_ptr0() 394 new_hw_ptr = hw_base + pos; in snd_pcm_update_hw_ptr0() 430 hw_base = delta; in snd_pcm_update_hw_ptr0() [all …]
|
| /linux-6.15/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
| H A D | venc_vp8_if.c | 124 void __iomem *hw_base; member 136 return readl(inst->hw_base + addr); in vp8_enc_read_reg() 326 inst->hw_base = mtk_vcodec_get_reg_addr(inst->ctx->dev->reg_base, VENC_LT_SYS); in vp8_enc_init()
|
| H A D | venc_h264_if.c | 213 void __iomem *hw_base; member 228 return readl(inst->hw_base + addr); in h264_read_reg() 602 inst->hw_base = mtk_vcodec_get_reg_addr(inst->ctx->dev->reg_base, VENC_SYS); in h264_enc_init()
|
| /linux-6.15/drivers/net/wireless/intel/iwlegacy/ |
| H A D | common.h | 1190 void __iomem *hw_base; member 1995 writeb(val, il->hw_base + ofs); in _il_write8() 2002 writel(val, il->hw_base + ofs); in _il_wr() 2008 return readl(il->hw_base + ofs); in _il_rd()
|
| H A D | 3945-mac.c | 3598 il->hw_base = pci_ioremap_bar(pdev, 0); in il3945_pci_probe() 3599 if (!il->hw_base) { in il3945_pci_probe() 3606 D_INFO("pci_resource_base = %p\n", il->hw_base); in il3945_pci_probe() 3725 iounmap(il->hw_base); in il3945_pci_probe() 3801 iounmap(il->hw_base); in il3945_pci_remove()
|
| H A D | 4965-mac.c | 6538 il->hw_base = pci_ioremap_bar(pdev, 0); in il4965_pci_probe() 6539 if (!il->hw_base) { in il4965_pci_probe() 6546 D_INFO("pci_resource_base = %p\n", il->hw_base); in il4965_pci_probe() 6672 iounmap(il->hw_base); in il4965_pci_probe() 6750 iounmap(il->hw_base); in il4965_pci_remove()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/pcie/ |
| H A D | trans.c | 1924 writeb(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write8() 1929 writel(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_write32() 1934 return readl(IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); in iwl_trans_pcie_read32() 3928 trans_pcie->hw_base = pcim_iomap(pdev, 0, 0); in iwl_trans_pcie_alloc() 3929 if (!trans_pcie->hw_base) { in iwl_trans_pcie_alloc()
|
| H A D | internal.h | 466 u8 __iomem *hw_base; member
|
| /linux-6.15/drivers/net/wireless/intel/ipw2x00/ |
| H 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 readl(ipw->hw_base + ofs); in _ipw_read32() 542 memcpy_toio((priv->hw_base + addr), buf, num); in ipw_write_direct() 11614 priv->hw_base = base; in ipw_pci_probe() 11709 iounmap(priv->hw_base); in ipw_pci_probe() 11791 iounmap(priv->hw_base); in ipw_pci_remove()
|
| H A D | ipw2200.h | 1176 void __iomem *hw_base; member
|