Lines Matching defs:port

18  * (port-driver, region-driver, nvdimm object-drivers... etc).
524 struct cxl_port *port;
561 * struct cxl_port - logical collection of upstream port devices and
562 * downstream port devices to construct a CXL memory
564 * @dev: this port's device
565 * @uport_dev: PCI or platform device implementing the upstream port capability
566 * @host_bridge: Shortcut to the platform attach point for this port
567 * @id: id for port device-name
569 * @endpoints: cxl_ep instances, endpoints that are a descendant of this port
570 * @regions: cxl_region_ref instances, regions mapped by this port
571 * @parent_dport: dport that points to this port in the parent
578 * @dead: last ep has been removed, force port re-creation
579 * @depth: How deep this port is relative to the root. depth 0 is the root.
608 cxl_find_dport_by_dev(struct cxl_port *port, const struct device *dport_dev)
610 return xa_load(&port->dports, (unsigned long)dport_dev);
619 * struct cxl_dport - CXL downstream port
625 * @port: reference to cxl_port that contains this downstream port
633 struct cxl_port *port;
637 * struct cxl_ep - track an endpoint's interest in a port
639 * @dport: which dport routes to this endpoint on @port
640 * @next: cxl switch port across the link attached to @dport NULL if
650 * struct cxl_region_ref - track a region's interest in a port
651 * @port: point in topology to install this reference
652 * @decoder: decoder assigned for @region in @port
654 * @endpoints: cxl_ep references for region members beneath @port
656 * @nr_eps: number of endpoints beneath @port
660 struct cxl_port *port;
671 * CXL port topology. All other CXL ports have another CXL port as their
672 * parent and their ->uport_dev / host device is out-of-line of the port
675 static inline bool is_cxl_root(struct cxl_port *port)
677 return port->uport_dev == port->dev.parent;
680 int cxl_num_decoders_committed(struct cxl_port *port);
686 struct pci_bus *cxl_port_to_pci_bus(struct cxl_port *port);
691 struct cxl_port *find_cxl_root(struct cxl_port *port);
701 struct cxl_dport *devm_cxl_add_dport(struct cxl_port *port,
704 struct cxl_dport *devm_cxl_add_rch_dport(struct cxl_port *port,
715 struct cxl_root_decoder *cxl_root_decoder_alloc(struct cxl_port *port,
719 struct cxl_switch_decoder *cxl_switch_decoder_alloc(struct cxl_port *port,
722 struct cxl_endpoint_decoder *cxl_endpoint_decoder_alloc(struct cxl_port *port);
731 * @port: endpoint port associated with this info instance
737 struct cxl_port *port;
742 struct cxl_hdm *devm_cxl_setup_hdm(struct cxl_port *port,
746 int devm_cxl_add_passthrough_decoder(struct cxl_port *port);
790 struct cxl_port *port);