Lines Matching defs:res
129 unsigned int res, bit, ctrl;
135 res = ctrl * MSI_REG_CTRL_BLOCK_SIZE;
139 dw_pcie_writel_dbi(pci, PCIE_MSI_INTR0_MASK + res, pp->irq_mask[ctrl]);
148 unsigned int res, bit, ctrl;
154 res = ctrl * MSI_REG_CTRL_BLOCK_SIZE;
158 dw_pcie_writel_dbi(pci, PCIE_MSI_INTR0_MASK + res, pp->irq_mask[ctrl]);
167 unsigned int res, bit, ctrl;
170 res = ctrl * MSI_REG_CTRL_BLOCK_SIZE;
173 dw_pcie_writel_dbi(pci, PCIE_MSI_INTR0_STATUS + res, BIT(bit));
321 switch (resource_type(win->res)) {
323 pp->io_size = resource_size(win->res);
324 pp->io_bus_addr = win->res->start - win->offset;
325 pp->io_base = pci_pio_to_address(win->res->start);
329 pp->cfg0_size = resource_size(win->res);
330 pp->cfg0_base = win->res->start;
594 if (resource_type(tmp->res) == IORESOURCE_MEM)
598 PCIE_ATU_TYPE_MEM, entry->res->start,
599 entry->res->start - entry->offset,
600 resource_size(entry->res));