Lines Matching +full:interrupt +full:- +full:direction

8  * SPDX-License-Identifier: Apache-2.0
23 PCIE_OB_LOWMEM, /**< PCIe OB window within 32-bit address range */
24 PCIE_OB_HIGHMEM, /**< PCIe OB window above 32-bit address range */
28 PCIE_EP_IRQ_LEGACY, /**< Raise Legacy interrupt */
29 PCIE_EP_IRQ_MSI, /**< Raise MSI interrupt */
30 PCIE_EP_IRQ_MSIX, /**< Raise MSIX interrupt */
49 * These callbacks execute in interrupt context. Therefore, use only
50 * interrupt-safe APIS. Registration of callbacks is done via
95 (const struct pcie_ep_driver_api *)dev->api; in pcie_ep_conf_read()
97 return api->conf_read(dev, offset, data); in pcie_ep_conf_read()
114 (const struct pcie_ep_driver_api *)dev->api; in pcie_ep_conf_write()
116 api->conf_write(dev, offset, data); in pcie_ep_conf_write()
132 * more than 32-bit address; it becomes essential to use
150 (const struct pcie_ep_driver_api *)dev->api; in pcie_ep_map_addr()
152 return api->map_addr(dev, pcie_addr, mapped_addr, size, ob_mem_type); in pcie_ep_map_addr()
170 (const struct pcie_ep_driver_api *)dev->api; in pcie_ep_unmap_addr()
172 api->unmap_addr(dev, mapped_addr); in pcie_ep_unmap_addr()
176 * @brief Raise interrupt to Host
178 * @details This API raises interrupt to Host
181 * @param irq_type Type of Interrupt be raised (legacy, MSI or MSI-X)
182 * @param irq_num MSI or MSI-X interrupt number
192 (const struct pcie_ep_driver_api *)dev->api; in pcie_ep_raise_irq()
193 return api->raise_irq(dev, irq_type, irq_num); in pcie_ep_raise_irq()
204 * @param reset Reset interrupt type
217 (const struct pcie_ep_driver_api *)dev->api; in pcie_ep_register_reset_cb()
219 if (api->register_reset_cb) { in pcie_ep_register_reset_cb()
220 return api->register_reset_cb(dev, reset, cb, arg); in pcie_ep_register_reset_cb()
223 return -ENOTSUP; in pcie_ep_register_reset_cb()
241 * @param dir Direction of DMA transfer
252 (const struct pcie_ep_driver_api *)dev->api; in pcie_ep_dma_xfer()
254 if (api->dma_xfer) { in pcie_ep_dma_xfer()
255 return api->dma_xfer(dev, mapped_addr, local_addr, size, dir); in pcie_ep_dma_xfer()
258 return -ENOTSUP; in pcie_ep_dma_xfer()
274 * more than 32-bit address
275 * @param dir Data transfer direction (HOST_TO_DEVICE / DEVICE_TO_HOST)
297 * @param dir Data transfer direction (HOST_TO_DEVICE / DEVICE_TO_HOST)