Lines Matching refs:res
408 unsigned int res, bit, ctrl;
414 res = ctrl * MSI_REG_CTRL_BLOCK_SIZE;
418 dw_pcie_writel_dbi(pci, PCIE_MSI_INTR0_MASK + res,
428 unsigned int res, bit, ctrl;
434 res = ctrl * MSI_REG_CTRL_BLOCK_SIZE;
438 dw_pcie_writel_dbi(pci, PCIE_MSI_INTR0_MASK + res,
448 unsigned int res, bit, ctrl;
451 res = ctrl * MSI_REG_CTRL_BLOCK_SIZE;
454 dw_pcie_writel_dbi(pci, PCIE_MSI_INTR0_STATUS + res, BIT(bit));
581 struct resource *res;
597 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "addr_space");
598 if (!res)
601 ep->phys_base = res->start;
602 ep->addr_size = resource_size(res);