Lines Matching +full:config +full:- +full:cond
1 /* SPDX-License-Identifier: GPL-2.0-only */
133 #define catpt_num_dram(cdev) (hweight_long((cdev)->spec->dram_mask))
134 #define catpt_num_iram(cdev) (hweight_long((cdev)->spec->iram_mask))
141 ((cdev)->lpe_ba + (cdev)->spec->host_shim_offset)
143 ((cdev)->lpe_ba + (cdev)->spec->host_dma_offset[dma])
145 ((cdev)->lpe_ba + (cdev)->spec->host_ssp_offset[ssp])
147 ((cdev)->lpe_ba + (cdev)->ipc.config.inbox_offset)
149 ((cdev)->lpe_ba + (cdev)->ipc.config.outbox_offset)
162 #define catpt_readl_poll_shim(cdev, reg, val, cond, delay_us, timeout_us) \ argument
164 val, cond, delay_us, timeout_us)
167 readl(cdev->pci_ba + CATPT_PCI_##reg)
169 writel(val, cdev->pci_ba + CATPT_PCI_##reg)
174 #define catpt_readl_poll_pci(cdev, reg, val, cond, delay_us, timeout_us) \ argument
175 readl_poll_timeout((cdev)->pci_ba + CATPT_PCI_##reg, \
176 val, cond, delay_us, timeout_us)