Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/
Dspear13xx_pcie_gadget.c69 static void enable_dbi_access(struct pcie_app_reg __iomem *app_reg) in enable_dbi_access() argument
72 writel(readl(&app_reg->slv_armisc) | (1 << AXI_OP_DBI_ACCESS_ID), in enable_dbi_access()
73 &app_reg->slv_armisc); in enable_dbi_access()
74 writel(readl(&app_reg->slv_awmisc) | (1 << AXI_OP_DBI_ACCESS_ID), in enable_dbi_access()
75 &app_reg->slv_awmisc); in enable_dbi_access()
79 static void disable_dbi_access(struct pcie_app_reg __iomem *app_reg) in disable_dbi_access() argument
82 writel(readl(&app_reg->slv_armisc) & ~(1 << AXI_OP_DBI_ACCESS_ID), in disable_dbi_access()
83 &app_reg->slv_armisc); in disable_dbi_access()
84 writel(readl(&app_reg->slv_awmisc) & ~(1 << AXI_OP_DBI_ACCESS_ID), in disable_dbi_access()
85 &app_reg->slv_awmisc); in disable_dbi_access()
[all …]
/linux-4.19.296/drivers/pci/controller/dwc/
Dpcie-spear13xx.c76 struct pcie_app_reg *app_reg = spear13xx_pcie->app_base; in spear13xx_pcie_establish_link() local
127 &app_reg->app_ctrl_0); in spear13xx_pcie_establish_link()
135 struct pcie_app_reg *app_reg = spear13xx_pcie->app_base; in spear13xx_pcie_irq_handler() local
140 status = readl(&app_reg->int_sts); in spear13xx_pcie_irq_handler()
147 writel(status, &app_reg->int_clr); in spear13xx_pcie_irq_handler()
156 struct pcie_app_reg *app_reg = spear13xx_pcie->app_base; in spear13xx_pcie_enable_interrupts() local
161 writel(readl(&app_reg->int_mask) | in spear13xx_pcie_enable_interrupts()
162 MSI_CTRL_INT, &app_reg->int_mask); in spear13xx_pcie_enable_interrupts()
169 struct pcie_app_reg *app_reg = spear13xx_pcie->app_base; in spear13xx_pcie_link_up() local
171 if (readl(&app_reg->app_status_1) & XMLH_LINK_UP) in spear13xx_pcie_link_up()