Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 1 | /* |
| 2 | * PCIe host controller driver for Freescale Layerscape SoCs |
| 3 | * |
| 4 | * Copyright (C) 2014 Freescale Semiconductor. |
| 5 | * |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 6 | * Author: Minghuan Lian <Minghuan.Lian@freescale.com> |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 as |
| 10 | * published by the Free Software Foundation. |
| 11 | */ |
| 12 | |
| 13 | #include <linux/kernel.h> |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 14 | #include <linux/interrupt.h> |
Paul Gortmaker | 154fb60 | 2016-07-02 19:13:27 -0400 | [diff] [blame] | 15 | #include <linux/init.h> |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 16 | #include <linux/of_pci.h> |
| 17 | #include <linux/of_platform.h> |
| 18 | #include <linux/of_irq.h> |
| 19 | #include <linux/of_address.h> |
| 20 | #include <linux/pci.h> |
| 21 | #include <linux/platform_device.h> |
| 22 | #include <linux/resource.h> |
| 23 | #include <linux/mfd/syscon.h> |
| 24 | #include <linux/regmap.h> |
| 25 | |
| 26 | #include "pcie-designware.h" |
| 27 | |
| 28 | /* PEX1/2 Misc Ports Status Register */ |
| 29 | #define SCFG_PEXMSCPORTSR(pex_idx) (0x94 + (pex_idx) * 4) |
| 30 | #define LTSSM_STATE_SHIFT 20 |
| 31 | #define LTSSM_STATE_MASK 0x3f |
| 32 | #define LTSSM_PCIE_L0 0x11 /* L0 state */ |
| 33 | |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 34 | /* PEX Internal Configuration Registers */ |
| 35 | #define PCIE_STRFMR1 0x71c /* Symbol Timer & Filter Mask Register1 */ |
| 36 | #define PCIE_DBI_RO_WR_EN 0x8bc /* DBI Read-Only Write Enable Register */ |
| 37 | |
| 38 | /* PEX LUT registers */ |
| 39 | #define PCIE_LUT_DBG 0x7FC /* PEX LUT Debug Register */ |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 40 | |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 41 | struct ls_pcie_drvdata { |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 42 | u32 lut_offset; |
| 43 | u32 ltssm_shift; |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 44 | struct pcie_host_ops *ops; |
| 45 | }; |
| 46 | |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 47 | struct ls_pcie { |
Bjorn Helgaas | 6caaa28 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 48 | struct pcie_port pp; /* pp.dbi_base is DT regs */ |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 49 | void __iomem *lut; |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 50 | struct regmap *scfg; |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 51 | const struct ls_pcie_drvdata *drvdata; |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 52 | int index; |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 53 | }; |
| 54 | |
| 55 | #define to_ls_pcie(x) container_of(x, struct ls_pcie, pp) |
| 56 | |
Minghuan Lian | 7af4ce3 | 2015-10-16 15:19:16 +0800 | [diff] [blame] | 57 | static bool ls_pcie_is_bridge(struct ls_pcie *pcie) |
| 58 | { |
| 59 | u32 header_type; |
| 60 | |
Bjorn Helgaas | d41d295 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 61 | header_type = ioread8(pcie->pp.dbi_base + PCI_HEADER_TYPE); |
Minghuan Lian | 7af4ce3 | 2015-10-16 15:19:16 +0800 | [diff] [blame] | 62 | header_type &= 0x7f; |
| 63 | |
| 64 | return header_type == PCI_HEADER_TYPE_BRIDGE; |
| 65 | } |
| 66 | |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 67 | /* Clear multi-function bit */ |
| 68 | static void ls_pcie_clear_multifunction(struct ls_pcie *pcie) |
| 69 | { |
Bjorn Helgaas | d41d295 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 70 | iowrite8(PCI_HEADER_TYPE_BRIDGE, pcie->pp.dbi_base + PCI_HEADER_TYPE); |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 71 | } |
| 72 | |
| 73 | /* Fix class value */ |
| 74 | static void ls_pcie_fix_class(struct ls_pcie *pcie) |
| 75 | { |
Bjorn Helgaas | d41d295 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 76 | iowrite16(PCI_CLASS_BRIDGE_PCI, pcie->pp.dbi_base + PCI_CLASS_DEVICE); |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 77 | } |
| 78 | |
Minghuan Lian | 1195c10 | 2016-02-29 17:24:15 -0600 | [diff] [blame] | 79 | /* Drop MSG TLP except for Vendor MSG */ |
| 80 | static void ls_pcie_drop_msg_tlp(struct ls_pcie *pcie) |
| 81 | { |
| 82 | u32 val; |
| 83 | |
Bjorn Helgaas | d41d295 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 84 | val = ioread32(pcie->pp.dbi_base + PCIE_STRFMR1); |
Minghuan Lian | 1195c10 | 2016-02-29 17:24:15 -0600 | [diff] [blame] | 85 | val &= 0xDFFFFFFF; |
Bjorn Helgaas | d41d295 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 86 | iowrite32(val, pcie->pp.dbi_base + PCIE_STRFMR1); |
Minghuan Lian | 1195c10 | 2016-02-29 17:24:15 -0600 | [diff] [blame] | 87 | } |
| 88 | |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 89 | static int ls1021_pcie_link_up(struct pcie_port *pp) |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 90 | { |
| 91 | u32 state; |
| 92 | struct ls_pcie *pcie = to_ls_pcie(pp); |
| 93 | |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 94 | if (!pcie->scfg) |
| 95 | return 0; |
| 96 | |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 97 | regmap_read(pcie->scfg, SCFG_PEXMSCPORTSR(pcie->index), &state); |
| 98 | state = (state >> LTSSM_STATE_SHIFT) & LTSSM_STATE_MASK; |
| 99 | |
| 100 | if (state < LTSSM_PCIE_L0) |
| 101 | return 0; |
| 102 | |
| 103 | return 1; |
| 104 | } |
| 105 | |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 106 | static void ls1021_pcie_host_init(struct pcie_port *pp) |
Bjorn Helgaas | 1d3f9ba | 2015-06-02 16:24:25 -0500 | [diff] [blame] | 107 | { |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 108 | struct device *dev = pp->dev; |
Bjorn Helgaas | 1d3f9ba | 2015-06-02 16:24:25 -0500 | [diff] [blame] | 109 | struct ls_pcie *pcie = to_ls_pcie(pp); |
Minghuan Lian | 1195c10 | 2016-02-29 17:24:15 -0600 | [diff] [blame] | 110 | u32 index[2]; |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 111 | |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 112 | pcie->scfg = syscon_regmap_lookup_by_phandle(dev->of_node, |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 113 | "fsl,pcie-scfg"); |
| 114 | if (IS_ERR(pcie->scfg)) { |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 115 | dev_err(dev, "No syscfg phandle specified\n"); |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 116 | pcie->scfg = NULL; |
| 117 | return; |
| 118 | } |
| 119 | |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 120 | if (of_property_read_u32_array(dev->of_node, |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 121 | "fsl,pcie-scfg", index, 2)) { |
| 122 | pcie->scfg = NULL; |
| 123 | return; |
| 124 | } |
| 125 | pcie->index = index[1]; |
Bjorn Helgaas | 1d3f9ba | 2015-06-02 16:24:25 -0500 | [diff] [blame] | 126 | |
| 127 | dw_pcie_setup_rc(pp); |
Bjorn Helgaas | 1d3f9ba | 2015-06-02 16:24:25 -0500 | [diff] [blame] | 128 | |
Minghuan Lian | 1195c10 | 2016-02-29 17:24:15 -0600 | [diff] [blame] | 129 | ls_pcie_drop_msg_tlp(pcie); |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 130 | } |
| 131 | |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 132 | static int ls_pcie_link_up(struct pcie_port *pp) |
| 133 | { |
| 134 | struct ls_pcie *pcie = to_ls_pcie(pp); |
| 135 | u32 state; |
| 136 | |
| 137 | state = (ioread32(pcie->lut + PCIE_LUT_DBG) >> |
| 138 | pcie->drvdata->ltssm_shift) & |
| 139 | LTSSM_STATE_MASK; |
| 140 | |
| 141 | if (state < LTSSM_PCIE_L0) |
| 142 | return 0; |
| 143 | |
| 144 | return 1; |
| 145 | } |
| 146 | |
| 147 | static void ls_pcie_host_init(struct pcie_port *pp) |
| 148 | { |
| 149 | struct ls_pcie *pcie = to_ls_pcie(pp); |
| 150 | |
Bjorn Helgaas | d41d295 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 151 | iowrite32(1, pcie->pp.dbi_base + PCIE_DBI_RO_WR_EN); |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 152 | ls_pcie_fix_class(pcie); |
| 153 | ls_pcie_clear_multifunction(pcie); |
Minghuan Lian | 1195c10 | 2016-02-29 17:24:15 -0600 | [diff] [blame] | 154 | ls_pcie_drop_msg_tlp(pcie); |
Bjorn Helgaas | d41d295 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 155 | iowrite32(0, pcie->pp.dbi_base + PCIE_DBI_RO_WR_EN); |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 156 | } |
| 157 | |
Minghuan Lian | bd33b87 | 2015-10-16 15:19:20 +0800 | [diff] [blame] | 158 | static int ls_pcie_msi_host_init(struct pcie_port *pp, |
| 159 | struct msi_controller *chip) |
| 160 | { |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 161 | struct device *dev = pp->dev; |
| 162 | struct device_node *np = dev->of_node; |
Minghuan Lian | bd33b87 | 2015-10-16 15:19:20 +0800 | [diff] [blame] | 163 | struct device_node *msi_node; |
Minghuan Lian | bd33b87 | 2015-10-16 15:19:20 +0800 | [diff] [blame] | 164 | |
| 165 | /* |
| 166 | * The MSI domain is set by the generic of_msi_configure(). This |
| 167 | * .msi_host_init() function keeps us from doing the default MSI |
| 168 | * domain setup in dw_pcie_host_init() and also enforces the |
| 169 | * requirement that "msi-parent" exists. |
| 170 | */ |
| 171 | msi_node = of_parse_phandle(np, "msi-parent", 0); |
| 172 | if (!msi_node) { |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 173 | dev_err(dev, "failed to find msi-parent\n"); |
Minghuan Lian | bd33b87 | 2015-10-16 15:19:20 +0800 | [diff] [blame] | 174 | return -EINVAL; |
| 175 | } |
| 176 | |
| 177 | return 0; |
| 178 | } |
| 179 | |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 180 | static struct pcie_host_ops ls1021_pcie_host_ops = { |
| 181 | .link_up = ls1021_pcie_link_up, |
| 182 | .host_init = ls1021_pcie_host_init, |
Minghuan Lian | bd33b87 | 2015-10-16 15:19:20 +0800 | [diff] [blame] | 183 | .msi_host_init = ls_pcie_msi_host_init, |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 184 | }; |
| 185 | |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 186 | static struct pcie_host_ops ls_pcie_host_ops = { |
| 187 | .link_up = ls_pcie_link_up, |
| 188 | .host_init = ls_pcie_host_init, |
Minghuan Lian | bd33b87 | 2015-10-16 15:19:20 +0800 | [diff] [blame] | 189 | .msi_host_init = ls_pcie_msi_host_init, |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 190 | }; |
| 191 | |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 192 | static struct ls_pcie_drvdata ls1021_drvdata = { |
| 193 | .ops = &ls1021_pcie_host_ops, |
| 194 | }; |
| 195 | |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 196 | static struct ls_pcie_drvdata ls1043_drvdata = { |
| 197 | .lut_offset = 0x10000, |
| 198 | .ltssm_shift = 24, |
| 199 | .ops = &ls_pcie_host_ops, |
| 200 | }; |
| 201 | |
| 202 | static struct ls_pcie_drvdata ls2080_drvdata = { |
| 203 | .lut_offset = 0x80000, |
| 204 | .ltssm_shift = 0, |
| 205 | .ops = &ls_pcie_host_ops, |
| 206 | }; |
| 207 | |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 208 | static const struct of_device_id ls_pcie_of_match[] = { |
| 209 | { .compatible = "fsl,ls1021a-pcie", .data = &ls1021_drvdata }, |
Minghuan Lian | 5192ec7 | 2015-10-16 15:19:19 +0800 | [diff] [blame] | 210 | { .compatible = "fsl,ls1043a-pcie", .data = &ls1043_drvdata }, |
| 211 | { .compatible = "fsl,ls2080a-pcie", .data = &ls2080_drvdata }, |
Yang Shi | dbae40b | 2016-01-27 09:32:05 -0800 | [diff] [blame] | 212 | { .compatible = "fsl,ls2085a-pcie", .data = &ls2080_drvdata }, |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 213 | { }, |
| 214 | }; |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 215 | |
Bjorn Helgaas | 4726a82 | 2016-10-06 13:38:06 -0500 | [diff] [blame] | 216 | static int __init ls_add_pcie_port(struct ls_pcie *pcie) |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 217 | { |
Bjorn Helgaas | 7b0b111 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 218 | struct pcie_port *pp = &pcie->pp; |
Bjorn Helgaas | fefe673 | 2016-10-06 13:38:06 -0500 | [diff] [blame] | 219 | struct device *dev = pp->dev; |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 220 | int ret; |
| 221 | |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 222 | ret = dw_pcie_host_init(pp); |
| 223 | if (ret) { |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 224 | dev_err(dev, "failed to initialize host\n"); |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 225 | return ret; |
| 226 | } |
| 227 | |
| 228 | return 0; |
| 229 | } |
| 230 | |
| 231 | static int __init ls_pcie_probe(struct platform_device *pdev) |
| 232 | { |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 233 | struct device *dev = &pdev->dev; |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 234 | const struct of_device_id *match; |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 235 | struct ls_pcie *pcie; |
Bjorn Helgaas | fefe673 | 2016-10-06 13:38:06 -0500 | [diff] [blame] | 236 | struct pcie_port *pp; |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 237 | struct resource *dbi_base; |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 238 | int ret; |
| 239 | |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 240 | match = of_match_device(ls_pcie_of_match, dev); |
Minghuan Lian | d646334 | 2015-10-16 15:19:17 +0800 | [diff] [blame] | 241 | if (!match) |
| 242 | return -ENODEV; |
| 243 | |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 244 | pcie = devm_kzalloc(dev, sizeof(*pcie), GFP_KERNEL); |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 245 | if (!pcie) |
| 246 | return -ENOMEM; |
| 247 | |
Bjorn Helgaas | fefe673 | 2016-10-06 13:38:06 -0500 | [diff] [blame] | 248 | pp = &pcie->pp; |
| 249 | pp->dev = dev; |
Marc Zyngier | 15480f3 | 2016-10-17 11:39:32 +0100 | [diff] [blame] | 250 | pcie->drvdata = match->data; |
Bjorn Helgaas | fefe673 | 2016-10-06 13:38:06 -0500 | [diff] [blame] | 251 | pp->ops = pcie->drvdata->ops; |
| 252 | |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 253 | dbi_base = platform_get_resource_byname(pdev, IORESOURCE_MEM, "regs"); |
Bjorn Helgaas | d41d295 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 254 | pcie->pp.dbi_base = devm_ioremap_resource(dev, dbi_base); |
| 255 | if (IS_ERR(pcie->pp.dbi_base)) { |
Bjorn Helgaas | c11125e | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 256 | dev_err(dev, "missing *regs* space\n"); |
Bjorn Helgaas | d41d295 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 257 | return PTR_ERR(pcie->pp.dbi_base); |
Bjorn Helgaas | e3dc17a | 2015-04-09 14:36:52 -0500 | [diff] [blame] | 258 | } |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 259 | |
Bjorn Helgaas | d41d295 | 2016-10-06 13:38:05 -0500 | [diff] [blame] | 260 | pcie->lut = pcie->pp.dbi_base + pcie->drvdata->lut_offset; |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 261 | |
Minghuan Lian | 7af4ce3 | 2015-10-16 15:19:16 +0800 | [diff] [blame] | 262 | if (!ls_pcie_is_bridge(pcie)) |
| 263 | return -ENODEV; |
| 264 | |
Bjorn Helgaas | 4726a82 | 2016-10-06 13:38:06 -0500 | [diff] [blame] | 265 | ret = ls_add_pcie_port(pcie); |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 266 | if (ret < 0) |
| 267 | return ret; |
| 268 | |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 269 | return 0; |
| 270 | } |
| 271 | |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 272 | static struct platform_driver ls_pcie_driver = { |
| 273 | .driver = { |
| 274 | .name = "layerscape-pcie", |
Minghuan Lian | 62d0ff83 | 2014-11-05 16:45:11 +0800 | [diff] [blame] | 275 | .of_match_table = ls_pcie_of_match, |
| 276 | }, |
| 277 | }; |
Paul Gortmaker | 154fb60 | 2016-07-02 19:13:27 -0400 | [diff] [blame] | 278 | builtin_platform_driver_probe(ls_pcie_driver, ls_pcie_probe); |