Home
last modified time | relevance | path

Searched refs:dport_dev (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/cxl/core/
Dport.c661 rc = sysfs_create_link(&port->dev.kobj, &parent_dport->dport_dev->kobj, in devm_cxl_link_parent_dport()
727 port->host_bridge = parent_dport->dport_dev; in cxl_port_alloc()
783 if (dev_is_platform(dport->dport_dev)) in cxl_dport_setup_regs()
791 rc = cxl_setup_comp_regs(dport->dport_dev, &dport->reg_map, in cxl_dport_setup_regs()
806 return einj_cxl_inject_error(to_pci_dev(dport->dport_dev), type); in cxl_einj_inject()
822 if (!dport->rch && !dev_is_pci(dport->dport_dev)) in cxl_debugfs_create_dport_dir()
825 dir = cxl_debugfs_create_dir(dev_name(dport->dport_dev)); in cxl_debugfs_create_dport_dir()
1063 dport->port_id, dev_name(dport->dport_dev), in add_dport()
1064 dev_name(dup->dport_dev)); in add_dport()
1068 rc = xa_insert(&port->dports, (unsigned long)dport->dport_dev, dport, in add_dport()
[all …]
Dpci.c743 aer_cap = cxl_rcrb_to_aer(dport->dport_dev, dport->rcrb.base); in cxl_dport_map_rch_aer()
755 struct device *dev = dport->dport_dev; in cxl_dport_map_ras()
799 struct pci_host_bridge *host_bridge = to_pci_host_bridge(dport->dport_dev); in cxl_dport_init_ras_reporting()
Dcdat.c339 if (host_bridge == cxlsd->target[i]->dport_dev) in match_cxlrd_hb()
662 index = (unsigned long)endpoint->parent_dport->dport_dev; in cxl_endpoint_gather_bandwidth()
788 us_index = (unsigned long)port->parent_dport->dport_dev; in DEFINE_FREE()
Dregion.c1466 dev_name(ep->dport->dport_dev), in cxl_port_setup_targets()
1477 cxl_rr->nr_targets_set - 1, dev_name(ep->dport->dport_dev), in cxl_port_setup_targets()
/linux-6.12.1/drivers/acpi/apei/
Deinj-cxl.c50 static int cxl_dport_get_sbdf(struct pci_dev *dport_dev, u64 *sbdf) in cxl_dport_get_sbdf() argument
56 pbus = dport_dev->bus; in cxl_dport_get_sbdf()
66 *sbdf = (seg << 24) | (bus << 16) | (dport_dev->devfn << 8); in cxl_dport_get_sbdf()
/linux-6.12.1/include/cxl/
Deinj.h21 int einj_cxl_inject_error(struct pci_dev *dport_dev, u64 type);
31 static inline int einj_cxl_inject_error(struct pci_dev *dport_dev, u64 type) in einj_cxl_inject_error() argument
/linux-6.12.1/tools/testing/cxl/test/
Dmock.c248 struct device *dport_dev, in __wrap_devm_cxl_add_rch_dport() argument
256 if (ops && ops->is_mock_port(dport_dev)) { in __wrap_devm_cxl_add_rch_dport()
257 dport = devm_cxl_add_dport(port, dport_dev, port_id, in __wrap_devm_cxl_add_rch_dport()
264 dport = devm_cxl_add_rch_dport(port, dport_dev, port_id, rcrb); in __wrap_devm_cxl_add_rch_dport()
307 if (!ops || !ops->is_mock_port(dport->dport_dev)) in __wrap_cxl_dport_init_ras_reporting()
/linux-6.12.1/Documentation/ABI/testing/
Ddebugfs-cxl60 What: /sys/kernel/debug/cxl/$dport_dev/einj_inject
66 CXL protocol error into $dport_dev ($dport_dev will be a device
/linux-6.12.1/drivers/cxl/
Dcxl.h652 cxl_find_dport_by_dev(struct cxl_port *port, const struct device *dport_dev) in cxl_find_dport_by_dev() argument
654 return xa_load(&port->dports, (unsigned long)dport_dev); in cxl_find_dport_by_dev()
675 struct device *dport_dev; member
762 struct device *dport_dev, int port_id,
/linux-6.12.1/Documentation/firmware-guide/acpi/apei/
Deinj.rst134 - $dport_dev/einj_inject:
136 Injects a CXL error type into the CXL port represented by $dport_dev,
137 where $dport_dev is the name of the CXL port (usually a PCIe device name).
206 A CXL error injection example with $dport_dev=0000:e0:01.1::