pem_pci            31 drivers/pci/controller/pci-thunder-pem.c 	struct thunder_pem_pci *pem_pci = (struct thunder_pem_pci *)cfg->priv;
pem_pci            44 drivers/pci/controller/pci-thunder-pem.c 	writeq(read_val, pem_pci->pem_reg_base + PEM_CFG_RD);
pem_pci            45 drivers/pci/controller/pci-thunder-pem.c 	read_val = readq(pem_pci->pem_reg_base + PEM_CFG_RD);
pem_pci            73 drivers/pci/controller/pci-thunder-pem.c 		writeq(0x70, pem_pci->pem_reg_base + PEM_CFG_RD);
pem_pci            74 drivers/pci/controller/pci-thunder-pem.c 		tmp_val = readq(pem_pci->pem_reg_base + PEM_CFG_RD);
pem_pci           102 drivers/pci/controller/pci-thunder-pem.c 		read_val = pem_pci->ea_entry[0];
pem_pci           105 drivers/pci/controller/pci-thunder-pem.c 		read_val = pem_pci->ea_entry[1];
pem_pci           108 drivers/pci/controller/pci-thunder-pem.c 		read_val = pem_pci->ea_entry[2];
pem_pci           208 drivers/pci/controller/pci-thunder-pem.c 	struct thunder_pem_pci *pem_pci = (struct thunder_pem_pci *)cfg->priv;
pem_pci           225 drivers/pci/controller/pci-thunder-pem.c 		writeq(where_aligned, pem_pci->pem_reg_base + PEM_CFG_RD);
pem_pci           226 drivers/pci/controller/pci-thunder-pem.c 		read_val = readq(pem_pci->pem_reg_base + PEM_CFG_RD);
pem_pci           234 drivers/pci/controller/pci-thunder-pem.c 		writeq(where_aligned, pem_pci->pem_reg_base + PEM_CFG_RD);
pem_pci           235 drivers/pci/controller/pci-thunder-pem.c 		read_val = readq(pem_pci->pem_reg_base + PEM_CFG_RD);
pem_pci           273 drivers/pci/controller/pci-thunder-pem.c 	writeq(write_val, pem_pci->pem_reg_base + PEM_CFG_WR);
pem_pci           299 drivers/pci/controller/pci-thunder-pem.c 	struct thunder_pem_pci *pem_pci;
pem_pci           302 drivers/pci/controller/pci-thunder-pem.c 	pem_pci = devm_kzalloc(dev, sizeof(*pem_pci), GFP_KERNEL);
pem_pci           303 drivers/pci/controller/pci-thunder-pem.c 	if (!pem_pci)
pem_pci           306 drivers/pci/controller/pci-thunder-pem.c 	pem_pci->pem_reg_base = devm_ioremap(dev, res_pem->start, 0x10000);
pem_pci           307 drivers/pci/controller/pci-thunder-pem.c 	if (!pem_pci->pem_reg_base)
pem_pci           317 drivers/pci/controller/pci-thunder-pem.c 	pem_pci->ea_entry[0] = (u32)bar4_start | 2;
pem_pci           318 drivers/pci/controller/pci-thunder-pem.c 	pem_pci->ea_entry[1] = (u32)(res_pem->end - bar4_start) & ~3u;
pem_pci           319 drivers/pci/controller/pci-thunder-pem.c 	pem_pci->ea_entry[2] = (u32)(bar4_start >> 32);
pem_pci           321 drivers/pci/controller/pci-thunder-pem.c 	cfg->priv = pem_pci;