/Zephyr-latest/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)
|
D | ptm.h | 41 struct pcie_dev *pcie; member
|
/Zephyr-latest/boards/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-latest/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-latest/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-latest/drivers/pcie/ |
D | Kconfig | 3 source "drivers/pcie/host/Kconfig" 4 source "drivers/pcie/endpoint/Kconfig"
|
/Zephyr-latest/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() 164 DEVICE_PCIE_INST_INIT(inst, pcie), \
|
/Zephyr-latest/tests/drivers/disk/disk_performance/boards/ |
D | qemu_x86_64.overlay | 3 #include <zephyr/dt-bindings/pcie/pcie.h>
|
/Zephyr-latest/samples/drivers/ipm/ipm_ivshmem/boards/ |
D | pcie_ivshmem.dtsi | 6 #include <zephyr/dt-bindings/pcie/pcie.h>
|
/Zephyr-latest/tests/drivers/virtualization/ivshmem/plain/ |
D | app.overlay | 6 #include <zephyr/dt-bindings/pcie/pcie.h>
|
/Zephyr-latest/dts/common/broadcom/ |
D | viper-common.dtsi | 42 pcie { 46 pcie0_ep: pcie@4e100000 { 47 compatible = "brcm,iproc-pcie-ep"; 69 pcie-ep = <&pcie0_ep>;
|
/Zephyr-latest/samples/drivers/virtualization/ivshmem/doorbell/boards/ |
D | pcie_ivshmem.dtsi | 6 #include <zephyr/dt-bindings/pcie/pcie.h>
|
/Zephyr-latest/tests/drivers/virtualization/ivshmem/plain/boards/ |
D | pcie_ivshmem.dtsi | 6 #include <zephyr/dt-bindings/pcie/pcie.h>
|
/Zephyr-latest/tests/drivers/disk/disk_access/boards/ |
D | qemu_x86_64.overlay | 3 #include <zephyr/dt-bindings/pcie/pcie.h>
|
/Zephyr-latest/drivers/disk/nvme/ |
D | nvme_controller.c | 330 if (nvme_ctrlr_cfg->pcie->bdf == PCIE_BDF_NONE) { in nvme_controller_pcie_configure() 336 PCIE_ID_TO_VEND(nvme_ctrlr_cfg->pcie->id), in nvme_controller_pcie_configure() 337 PCIE_ID_TO_DEV(nvme_ctrlr_cfg->pcie->id), in nvme_controller_pcie_configure() 338 PCIE_BDF_TO_BUS(nvme_ctrlr_cfg->pcie->bdf), in nvme_controller_pcie_configure() 339 PCIE_BDF_TO_DEV(nvme_ctrlr_cfg->pcie->bdf), in nvme_controller_pcie_configure() 340 PCIE_BDF_TO_FUNC(nvme_ctrlr_cfg->pcie->bdf)); in nvme_controller_pcie_configure() 342 if (!pcie_get_mbar(nvme_ctrlr_cfg->pcie->bdf, in nvme_controller_pcie_configure() 352 n_vectors = pcie_msi_vectors_allocate(nvme_ctrlr_cfg->pcie->bdf, in nvme_controller_pcie_configure() 363 if (!pcie_msi_enable(nvme_ctrlr_cfg->pcie->bdf, in nvme_controller_pcie_configure() 482 DEVICE_PCIE_INST_INIT(n, pcie), \
|
/Zephyr-latest/boards/qemu/kvm_arm64/ |
D | qemu_kvm_arm64.dts | 26 zephyr,pcie-controller = &pcie;
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_dw.h | 16 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) 97 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) 98 struct pcie_dev *pcie; member
|
/Zephyr-latest/drivers/spi/ |
D | spi_pw.c | 15 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) 754 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(pcie) in spi_pw_init() 755 if (info->pcie) { in spi_pw_init() 758 if (info->pcie->bdf == PCIE_BDF_NONE) { in spi_pw_init() 763 if (!pcie_probe_mbar(info->pcie->bdf, 0, &mbar)) { in spi_pw_init() 768 pcie_set_cmd(info->pcie->bdf, PCIE_CONF_CMDSTAT_MEM, in spi_pw_init() 774 pcie_set_cmd(info->pcie->bdf, in spi_pw_init() 818 #define INIT_PCIE1(n) DEVICE_PCIE_INST_INIT(n, pcie), 819 #define INIT_PCIE(n) _CONCAT(INIT_PCIE, DT_INST_ON_BUS(n, pcie))(n) 823 #define SPI_PCIE_DEFINE(n) _CONCAT(DEFINE_PCIE, DT_INST_ON_BUS(n, pcie))(n) [all …]
|
/Zephyr-latest/soc/intel/elkhart_lake/ |
D | soc.h | 30 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
|
/Zephyr-latest/soc/intel/alder_lake/ |
D | soc.h | 34 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
|
/Zephyr-latest/soc/intel/raptor_lake/ |
D | soc.h | 32 #if DT_ON_BUS(DT_CHOSEN(zephyr_console), pcie)
|
/Zephyr-latest/drivers/smbus/ |
D | intel_pch_smbus.c | 40 struct pcie_dev *pcie; member 227 if (config->pcie->bdf == PCIE_BDF_NONE) { in pch_smbus_init() 232 val = pcie_conf_read(config->pcie->bdf, PCIE_CONF_CMDSTAT); in pch_smbus_init() 238 pcie_probe_mbar(config->pcie->bdf, 0, &mbar); in pch_smbus_init() 239 pcie_set_cmd(config->pcie->bdf, PCIE_CONF_CMDSTAT_MEM, true); in pch_smbus_init() 247 pcie_set_cmd(config->pcie->bdf, PCIE_CONF_CMDSTAT_IO, true); in pch_smbus_init() 248 val = pcie_conf_read(config->pcie->bdf, PCIE_CONF_BAR4); in pch_smbus_init() 259 val = pcie_conf_read(config->pcie->bdf, PCH_SMBUS_HCFG); in pch_smbus_init() 920 sts = pcie_conf_read(config->pcie->bdf, PCIE_CONF_CMDSTAT); in smbus_isr() 995 irq = pcie_alloc_irq(config->pcie->bdf); \ [all …]
|
/Zephyr-latest/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 …]
|
/Zephyr-latest/boards/qemu/x86/ |
D | qemu_x86.dts | 17 #include <zephyr/dt-bindings/pcie/pcie.h> 53 compatible = "pcie-controller";
|