/Zephyr-Core-3.5.0/drivers/pcie/host/ |
D | ptm.c | 9 LOG_MODULE_REGISTER(pcie); 30 cap.raw = pcie_conf_read(config->pcie->bdf, base + PTM_CAP_REG_OFFSET); in pcie_ptm_root_setup() 32 LOG_ERR("PTM root not supported on 0x%x", config->pcie->bdf); in pcie_ptm_root_setup() 39 pcie_conf_write(config->pcie->bdf, base + PTM_CTRL_REG_OFFSET, ctrl.raw); in pcie_ptm_root_setup() 41 LOG_DBG("PTM root 0x%x enabled", config->pcie->bdf); in pcie_ptm_root_setup() 51 reg = pcie_get_ext_cap(config->pcie->bdf, PCIE_EXT_CAP_ID_PTM); in pcie_ptm_root_init() 53 LOG_ERR("PTM capability not exposed on 0x%x", config->pcie->bdf); in pcie_ptm_root_init() 63 DEVICE_PCIE_INST_INIT(index, pcie), \
|
D | CMakeLists.txt | 3 zephyr_library_sources(pcie.c vc.c)
|
/Zephyr-Core-3.5.0/boards/arm64/qemu_cortex_a53/ |
D | qemu_cortex_a53.dts | 25 zephyr,pcie-controller = &pcie; 42 &pcie { 43 eth0: pcie@1,0 { 48 interrupt-parent = <&pcie>;
|
/Zephyr-Core-3.5.0/drivers/virtualization/ |
D | virt_ivshmem.c | 48 n_vectors = pcie_msi_vectors_allocate(data->pcie->bdf, in ivshmem_configure_msi_x_interrupts() 64 if (!pcie_msi_vector_connect(data->pcie->bdf, in ivshmem_configure_msi_x_interrupts() 75 if (!pcie_msi_enable(data->pcie->bdf, data->vectors, n_vectors, 0)) { in ivshmem_configure_msi_x_interrupts() 98 uint32_t cfg_int = pcie_conf_read(data->pcie->bdf, PCIE_CONF_INTR); in ivshmem_configure_int_x_interrupts() 107 pcie_set_cmd(data->pcie->bdf, PCIE_CONF_CMDSTAT_INTX_DISABLE, false); in ivshmem_configure_int_x_interrupts() 117 data->pcie->bdf, intx->irq, intx->priority, in ivshmem_configure_int_x_interrupts() 125 pcie_irq_enable(data->pcie->bdf, intx->irq); in ivshmem_configure_int_x_interrupts() 163 if (!pcie_get_mbar(data->pcie->bdf, IVSHMEM_PCIE_REG_BAR_IDX, &mbar_regs)) { in ivshmem_configure() 173 pcie_set_cmd(data->pcie->bdf, PCIE_CONF_CMDSTAT_MEM | in ivshmem_configure() 181 data->pcie->bdf, IVSHMEM_PCIE_MSI_X_BAR_IDX, &mbar_msi_x); in ivshmem_configure() [all …]
|
/Zephyr-Core-3.5.0/tests/drivers/disk/disk_performance/boards/ |
D | qemu_x86_64.overlay | 3 #include <zephyr/dt-bindings/pcie/pcie.h> 9 compatible = "intel,pcie";
|
/Zephyr-Core-3.5.0/tests/drivers/virtualization/ivshmem/plain/ |
D | app.overlay | 6 #include <zephyr/dt-bindings/pcie/pcie.h> 12 compatible = "intel,pcie";
|
/Zephyr-Core-3.5.0/tests/drivers/disk/disk_access/boards/ |
D | qemu_x86_64.overlay | 3 #include <zephyr/dt-bindings/pcie/pcie.h> 9 compatible = "intel,pcie";
|
/Zephyr-Core-3.5.0/samples/drivers/ethernet/eth_ivshmem/boards/ |
D | qemu_cortex_a53.overlay | 16 /delete-node/ pcie@4010000000; 18 pcie: pcie@8e00000 { 44 &pcie { 52 interrupt-parent = <&pcie>;
|
/Zephyr-Core-3.5.0/drivers/can/ |
D | can_kvaser_pci.c | 29 struct pcie_dev *pcie; member 76 if (kvaser_config->pcie->bdf == PCIE_BDF_NONE) { in can_kvaser_pci_init() 81 pcie_set_cmd(kvaser_config->pcie->bdf, PCIE_CONF_CMDSTAT_IO, true); in can_kvaser_pci_init() 84 if (!pcie_probe_iobar(kvaser_config->pcie->bdf, 0, &iobar)) { in can_kvaser_pci_init() 92 if (!pcie_probe_iobar(kvaser_config->pcie->bdf, 1, &iobar)) { in can_kvaser_pci_init() 100 if (!pcie_probe_iobar(kvaser_config->pcie->bdf, 2, &iobar)) { in can_kvaser_pci_init() 165 DEVICE_PCIE_INST_INIT(inst, pcie), \
|
/Zephyr-Core-3.5.0/drivers/pcie/ |
D | Kconfig | 3 source "drivers/pcie/host/Kconfig" 4 source "drivers/pcie/endpoint/Kconfig"
|
/Zephyr-Core-3.5.0/dts/arm/broadcom/ |
D | viper-common.dtsi | 42 pcie { 46 pcie0_ep: pcie@4e100000 { 47 compatible = "brcm,iproc-pcie-ep"; 69 pcie-ep = <&pcie0_ep>;
|
/Zephyr-Core-3.5.0/dts/arm64/broadcom/ |
D | viper-common.dtsi | 42 pcie { 46 pcie0_ep: pcie@4e100000 { 47 compatible = "brcm,iproc-pcie-ep"; 69 pcie-ep = <&pcie0_ep>;
|
/Zephyr-Core-3.5.0/samples/drivers/ipm/ipm_ivshmem/boards/ |
D | pcie_ivshmem.dtsi | 6 #include <zephyr/dt-bindings/pcie/pcie.h>
|
/Zephyr-Core-3.5.0/tests/drivers/virtualization/ivshmem/plain/boards/ |
D | pcie_ivshmem.dtsi | 6 #include <zephyr/dt-bindings/pcie/pcie.h>
|
/Zephyr-Core-3.5.0/samples/drivers/virtualization/ivshmem/doorbell/boards/ |
D | pcie_ivshmem.dtsi | 6 #include <zephyr/dt-bindings/pcie/pcie.h>
|
/Zephyr-Core-3.5.0/drivers/disk/nvme/ |
D | nvme_controller.c | 328 if (nvme_ctrlr_cfg->pcie->bdf == PCIE_BDF_NONE) { in nvme_controller_pcie_configure() 334 PCIE_ID_TO_VEND(nvme_ctrlr_cfg->pcie->id), in nvme_controller_pcie_configure() 335 PCIE_ID_TO_DEV(nvme_ctrlr_cfg->pcie->id), in nvme_controller_pcie_configure() 336 PCIE_BDF_TO_BUS(nvme_ctrlr_cfg->pcie->bdf), in nvme_controller_pcie_configure() 337 PCIE_BDF_TO_DEV(nvme_ctrlr_cfg->pcie->bdf), in nvme_controller_pcie_configure() 338 PCIE_BDF_TO_FUNC(nvme_ctrlr_cfg->pcie->bdf)); in nvme_controller_pcie_configure() 340 if (!pcie_get_mbar(nvme_ctrlr_cfg->pcie->bdf, in nvme_controller_pcie_configure() 350 n_vectors = pcie_msi_vectors_allocate(nvme_ctrlr_cfg->pcie->bdf, in nvme_controller_pcie_configure() 361 if (!pcie_msi_enable(nvme_ctrlr_cfg->pcie->bdf, in nvme_controller_pcie_configure() 480 DEVICE_PCIE_INST_INIT(n, pcie), \
|
/Zephyr-Core-3.5.0/boards/arm64/qemu_kvm_arm64/ |
D | qemu_kvm_arm64.dts | 26 zephyr,pcie-controller = &pcie;
|
/Zephyr-Core-3.5.0/drivers/i2c/ |
D | i2c_dw.h | 16 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) 104 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) 105 struct pcie_dev *pcie; member
|
D | i2c_dw.c | 1035 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) in i2c_dw_initialize() 1036 if (rom->pcie) { in i2c_dw_initialize() 1039 if (rom->pcie->bdf == PCIE_BDF_NONE) { in i2c_dw_initialize() 1043 pcie_probe_mbar(rom->pcie->bdf, 0, &mbar); in i2c_dw_initialize() 1044 pcie_set_cmd(rom->pcie->bdf, PCIE_CONF_CMDSTAT_MEM, true); in i2c_dw_initialize() 1049 pcie_set_cmd(rom->pcie->bdf, PCIE_CONF_CMDSTAT_MASTER, true); in i2c_dw_initialize() 1133 #define I2C_DW_INIT_PCIE1(n) DEVICE_PCIE_INST_INIT(n, pcie), 1135 _CONCAT(I2C_DW_INIT_PCIE, DT_INST_ON_BUS(n, pcie))(n) 1140 _CONCAT(I2C_DEFINE_PCIE, DT_INST_ON_BUS(n, pcie))(n) 1167 unsigned int irq = pcie_alloc_irq(dev_cfg->pcie->bdf); \ [all …]
|
/Zephyr-Core-3.5.0/drivers/spi/ |
D | spi_pw.c | 14 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) 750 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) in spi_pw_init() 751 if (info->pcie) { in spi_pw_init() 754 if (info->pcie->bdf == PCIE_BDF_NONE) { in spi_pw_init() 759 if (!pcie_probe_mbar(info->pcie->bdf, 0, &mbar)) { in spi_pw_init() 764 pcie_set_cmd(info->pcie->bdf, PCIE_CONF_CMDSTAT_MEM, in spi_pw_init() 770 pcie_set_cmd(info->pcie->bdf, in spi_pw_init() 814 #define INIT_PCIE1(n) DEVICE_PCIE_INST_INIT(n, pcie), 815 #define INIT_PCIE(n) _CONCAT(INIT_PCIE, DT_INST_ON_BUS(n, pcie))(n) 819 #define SPI_PCIE_DEFINE(n) _CONCAT(DEFINE_PCIE, DT_INST_ON_BUS(n, pcie))(n) [all …]
|
/Zephyr-Core-3.5.0/soc/x86/elkhart_lake/ |
D | soc.h | 30 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
|
/Zephyr-Core-3.5.0/soc/x86/alder_lake/ |
D | soc.h | 30 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
|
/Zephyr-Core-3.5.0/soc/x86/raptor_lake/ |
D | soc.h | 28 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
|
/Zephyr-Core-3.5.0/drivers/smbus/ |
D | intel_pch_smbus.c | 40 struct pcie_dev *pcie; member 253 if (config->pcie->bdf == PCIE_BDF_NONE) { in pch_smbus_init() 258 val = pcie_conf_read(config->pcie->bdf, PCIE_CONF_CMDSTAT); in pch_smbus_init() 264 pcie_probe_mbar(config->pcie->bdf, 0, &mbar); in pch_smbus_init() 265 pcie_set_cmd(config->pcie->bdf, PCIE_CONF_CMDSTAT_MEM, true); in pch_smbus_init() 273 pcie_set_cmd(config->pcie->bdf, PCIE_CONF_CMDSTAT_IO, true); in pch_smbus_init() 274 val = pcie_conf_read(config->pcie->bdf, PCIE_CONF_BAR4); in pch_smbus_init() 285 val = pcie_conf_read(config->pcie->bdf, PCH_SMBUS_HCFG); in pch_smbus_init() 946 sts = pcie_conf_read(config->pcie->bdf, PCIE_CONF_CMDSTAT); in smbus_isr() 1021 irq = pcie_alloc_irq(config->pcie->bdf); \ [all …]
|
/Zephyr-Core-3.5.0/drivers/sdhc/ |
D | intel_emmc_host.c | 15 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) 32 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) 33 struct pcie_dev *pcie; member 1238 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) in emmc_init() 1239 if (config->pcie) { in emmc_init() 1242 if (config->pcie->bdf == PCIE_BDF_NONE) { in emmc_init() 1243 LOG_ERR("Cannot probe eMMC PCI device: %x", config->pcie->id); in emmc_init() 1247 if (!pcie_probe_mbar(config->pcie->bdf, 0, &mbar)) { in emmc_init() 1252 pcie_get_mbar(config->pcie->bdf, 0, &mbar); in emmc_init() 1253 pcie_set_cmd(config->pcie->bdf, PCIE_CONF_CMDSTAT_MEM, true); in emmc_init() [all …]
|