Home
last modified time | relevance | path

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

/linux/drivers/pci/controller/
H A Dpcie-mediatek-gen3.c353 struct mtk_msi_set *msi_set = &pcie->msi_sets[i]; in mtk_pcie_enable_msi() local
355 msi_set->base = pcie->base + PCIE_MSI_SET_BASE_REG + in mtk_pcie_enable_msi()
357 msi_set->msg_addr = pcie->reg_base + PCIE_MSI_SET_BASE_REG + in mtk_pcie_enable_msi()
361 writel_relaxed(lower_32_bits(msi_set->msg_addr), msi_set->base); in mtk_pcie_enable_msi()
362 writel_relaxed(upper_32_bits(msi_set->msg_addr), in mtk_pcie_enable_msi()
496 struct mtk_msi_set *msi_set = irq_data_get_irq_chip_data(data); in mtk_compose_msi_msg() local
502 msg->address_hi = upper_32_bits(msi_set->msg_addr); in mtk_compose_msi_msg()
503 msg->address_lo = lower_32_bits(msi_set->msg_addr); in mtk_compose_msi_msg()
511 struct mtk_msi_set *msi_set = irq_data_get_irq_chip_data(data); in mtk_msi_bottom_irq_ack() local
516 writel_relaxed(BIT(hwirq), msi_set->base + PCIE_MSI_SET_STATUS_OFFSET); in mtk_msi_bottom_irq_ack()
[all …]