Home
last modified time | relevance | path

Searched refs:window_idx (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/sound/soc/intel/avs/
Dregisters.h72 #define avs_sram_offset(adev, window_idx) \ argument
74 (adev)->spec->sram_window_size * (window_idx))
76 #define avs_sram_addr(adev, window_idx) \ argument
77 ((adev)->dsp_ba + avs_sram_offset(adev, window_idx))
/Linux-v6.6/drivers/pci/controller/
Dpcie-iproc.c843 int window_idx) in iproc_pcie_ob_is_valid() argument
847 val = iproc_pcie_read_reg(pcie, MAP_REG(IPROC_PCIE_OARR0, window_idx)); in iproc_pcie_ob_is_valid()
852 static inline int iproc_pcie_ob_write(struct iproc_pcie *pcie, int window_idx, in iproc_pcie_ob_write() argument
863 window_idx)); in iproc_pcie_ob_write()
865 window_idx)); in iproc_pcie_ob_write()
883 window_idx, oarr_offset, &axi_addr, &pci_addr); in iproc_pcie_ob_write()
910 int ret = -EINVAL, window_idx, size_idx; in iproc_pcie_setup_ob() local
925 for (window_idx = ob->nr_windows - 1; window_idx >= 0; window_idx--) { in iproc_pcie_setup_ob()
927 &pcie->ob_map[window_idx]; in iproc_pcie_setup_ob()
933 if (iproc_pcie_ob_is_valid(pcie, window_idx)) in iproc_pcie_setup_ob()
[all …]