Lines Matching defs:ports
302 const struct tegra_pcie_port_soc *ports;
365 struct list_head ports;
455 list_for_each_entry(port, &pcie->ports, list) {
1063 list_for_each_entry(port, &pcie->ports, list) {
1094 list_for_each_entry(port, &pcie->ports, list) {
1125 /* configure mode and disable all ports */
1131 list_for_each_entry(port, &pcie->ports, list) {
1403 list_for_each_entry(port, &pcie->ports, list) {
1425 list_for_each_entry(port, &pcie->ports, list) {
1537 val |= (0x1 << soc->ports[port->index].pme.turnoff_bit);
1540 ack_bit = soc->ports[port->index].pme.ack_bit;
1550 val &= ~(0x1 << soc->ports[port->index].pme.turnoff_bit);
1975 * and either seems to be optional depending on which ports are being used.
2098 /* parse root ports */
2194 list_add_tail(&rp->list, &pcie->ports);
2274 list_for_each_entry(port, &pcie->ports, list) {
2330 list_for_each_entry_safe(port, tmp, &pcie->ports, list) {
2340 list_for_each_entry_safe(port, tmp, &pcie->ports, list) {
2360 list_for_each_entry_safe(port, tmp, &pcie->ports, list)
2371 .ports = tegra20_pcie_ports,
2398 .ports = tegra30_pcie_ports,
2421 .ports = tegra20_pcie_ports,
2442 .ports = tegra20_pcie_ports,
2483 .ports = tegra186_pcie_ports,
2518 if (list_empty(&pcie->ports))
2523 return seq_list_start(&pcie->ports, *pos);
2530 return seq_list_next(v, &pcie->ports, pos);
2590 debugfs_create_file("ports", S_IFREG | S_IRUGO, pcie->debugfs, pcie,
2610 INIT_LIST_HEAD(&pcie->ports);
2678 list_for_each_entry_safe(port, tmp, &pcie->ports, list)
2690 list_for_each_entry(port, &pcie->ports, list)