Home
last modified time | relevance | path

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

/drivers/pci/controller/
Dpcie-mediatek-gen3.c312 struct mtk_msi_set *msi_set = &pcie->msi_sets[i]; in mtk_pcie_enable_msi() local
314 msi_set->base = pcie->base + PCIE_MSI_SET_BASE_REG + in mtk_pcie_enable_msi()
316 msi_set->msg_addr = pcie->reg_base + PCIE_MSI_SET_BASE_REG + in mtk_pcie_enable_msi()
320 writel_relaxed(lower_32_bits(msi_set->msg_addr), msi_set->base); in mtk_pcie_enable_msi()
321 writel_relaxed(upper_32_bits(msi_set->msg_addr), in mtk_pcie_enable_msi()
460 struct mtk_msi_set *msi_set = irq_data_get_irq_chip_data(data); in mtk_compose_msi_msg() local
466 msg->address_hi = upper_32_bits(msi_set->msg_addr); in mtk_compose_msi_msg()
467 msg->address_lo = lower_32_bits(msi_set->msg_addr); in mtk_compose_msi_msg()
475 struct mtk_msi_set *msi_set = irq_data_get_irq_chip_data(data); in mtk_msi_bottom_irq_ack() local
480 writel_relaxed(BIT(hwirq), msi_set->base + PCIE_MSI_SET_STATUS_OFFSET); in mtk_msi_bottom_irq_ack()
[all …]