/linux-master/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
H A D | venc_h264_if.c | 197 * @hw_base: h264 encoder hardware register base 213 void __iomem *hw_base; member in struct:venc_h264_inst 228 return readl(inst->hw_base + addr); 597 inst->hw_base = mtk_vcodec_get_reg_addr(inst->ctx->dev->reg_base, VENC_SYS);
|
H A D | venc_vp8_if.c | 111 * @hw_base: vp8 encoder hardware register base 124 void __iomem *hw_base; member in struct:venc_vp8_inst 136 return readl(inst->hw_base + addr); 326 inst->hw_base = mtk_vcodec_get_reg_addr(inst->ctx->dev->reg_base, VENC_LT_SYS);
|
/linux-master/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2200.c | 329 writeb(val, ipw->hw_base + ofs); 343 writew(val, ipw->hw_base + ofs); 357 writel(val, ipw->hw_base + ofs); 370 return readb(ipw->hw_base + ofs); 383 return readl(ipw->hw_base + ofs); 542 memcpy_toio((priv->hw_base + addr), buf, num); 11606 priv->hw_base = base; 11702 iounmap(priv->hw_base); 11784 iounmap(priv->hw_base);
|
H A D | ipw2200.h | 1178 void __iomem *hw_base; member in struct:ipw_priv
|
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945-mac.c | 3636 il->hw_base = pci_ioremap_bar(pdev, 0); 3637 if (!il->hw_base) { 3644 D_INFO("pci_resource_base = %p\n", il->hw_base); 3763 iounmap(il->hw_base); 3839 iounmap(il->hw_base);
|
H A D | 4965-mac.c | 6538 il->hw_base = pci_ioremap_bar(pdev, 0); 6539 if (!il->hw_base) { 6546 D_INFO("pci_resource_base = %p\n", il->hw_base); 6672 iounmap(il->hw_base); 6750 iounmap(il->hw_base);
|
H A D | common.h | 1178 void __iomem *hw_base; member in struct:il_priv 1984 writeb(val, il->hw_base + ofs); 1991 writel(val, il->hw_base + ofs); 1997 return readl(il->hw_base + ofs);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | internal.h | 312 * @hw_base: pci hardware address support 414 u8 __iomem *hw_base; member in struct:iwl_trans_pcie
|
H A D | trans.c | 1911 writeb(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); 1916 writel(val, IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); 1921 return readl(IWL_TRANS_GET_PCIE_TRANS(trans)->hw_base + ofs); 3683 trans_pcie->hw_base = table[0]; 3684 if (!trans_pcie->hw_base) {
|
/linux-master/drivers/thermal/intel/ |
H A D | intel_pch_thermal.c | 84 void __iomem *hw_base; member in struct:pch_thermal_device 125 *temp = GET_WPT_TEMP(WPT_TEMP_TSR & readw(ptd->hw_base + WPT_TEMP)); 190 ptd->hw_base = pci_ioremap_bar(pdev, 0); 191 if (!ptd->hw_base) { 198 if (WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL)) { 203 tsel = readb(ptd->hw_base + WPT_TSEL); 214 writeb(tsel|WPT_TSEL_ETS, ptd->hw_base + WPT_TSEL); 215 if (!(WPT_TSEL_ETS & readb(ptd->hw_base + WPT_TSEL))) { 222 trip_temp = readw(ptd->hw_base + WPT_CTT); 229 trip_temp = readw(ptd->hw_base [all...] |
/linux-master/sound/core/ |
H A D | pcm_lib.c | 288 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; local 338 hw_base = runtime->hw_ptr_base; 339 new_hw_ptr = hw_base + pos; 348 hw_base += runtime->buffer_size; 349 if (hw_base >= runtime->boundary) { 350 hw_base = 0; 353 new_hw_ptr = hw_base + pos; 361 hw_base += runtime->buffer_size; 362 if (hw_base >= runtime->boundary) { 363 hw_base [all...] |
/linux-master/sound/soc/mediatek/common/ |
H A D | mtk-afe-platform-driver.c | 91 unsigned int hw_ptr = 0, hw_base = 0; local 101 ret = regmap_read(regmap, reg_ofs_base, &hw_base); 102 if (ret || hw_base == 0) { 108 pcm_ptr_bytes = hw_ptr - hw_base;
|