Searched refs:hw_base (Results 1 – 6 of 6) sorted by relevance
| /linux/sound/soc/mediatek/common/ |
| H A D | mtk-afe-platform-driver.c | 92 unsigned int hw_ptr = 0, hw_base = 0; in mtk_afe_pcm_pointer() 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() 91 unsigned int hw_ptr = 0, hw_base = 0; mtk_afe_pcm_pointer() local
|
| /linux/sound/core/ |
| H A D | pcm_lib.c | 291 snd_pcm_uframes_t old_hw_ptr, new_hw_ptr, hw_base; in snd_pcm_update_hw_ptr0() local 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() 351 hw_base += runtime->buffer_size; in snd_pcm_update_hw_ptr0() 352 if (hw_base >= runtime->boundary) { 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() 365 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0() 366 hw_base in snd_pcm_update_hw_ptr0() [all...] |
| /linux/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/drivers/net/wireless/intel/iwlwifi/pcie/ |
| H A D | drv.c | 1145 u8 __iomem *hw_base; in iwl_pci_probe() local 1169 hw_base = pcim_iomap(pdev, 0, 0); in iwl_pci_probe() 1170 if (!hw_base) { in iwl_pci_probe() 1176 hw_rev = readl(hw_base + CSR_HW_REV); in iwl_pci_probe() 1182 return iwl_pci_gen1_2_probe(pdev, ent, mac_cfg, hw_base, hw_rev); in iwl_pci_probe()
|
| /linux/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() 11616 priv->hw_base = base; in ipw_pci_probe() 11711 iounmap(priv->hw_base); in ipw_pci_probe() 11793 iounmap(priv->hw_base); in ipw_pci_remove()
|