| // SPDX-License-Identifier: GPL-2.0 |
| * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com |
| * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> |
| #include <linux/kernel.h> |
| #include "k3-psil-priv.h" |
| #define PSIL_ETHERNET(x) \ |
| .ep_type = PSIL_EP_NATIVE, \ |
| /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ |
| static struct psil_ep am654_src_ep_map[] = { |
| /* PSI-L destination thread IDs, used for TX (DMA_MEM_TO_DEV) */ |
| static struct psil_ep am654_dst_ep_map[] = { |
| /* PSIL: 0xc101 - 0xc103 unused */ |
| /* PSIL: 0xc105 - 0xc107 unused */ |
| /* PSIL: 0xc201 - 0xc203 unused */ |
| /* PSIL: 0xc205 - 0xc207 unused */ |
| /* PSIL: 0xc301 - 0xc303 unused */ |
| /* PSIL: 0xc305 - 0xc307 unused */ |
| /* PSIL: 0xf001 - 0xf007 unused */ |
| struct psil_ep_map am654_ep_map = { |
| .src_count = ARRAY_SIZE(am654_src_ep_map), |
| .dst_count = ARRAY_SIZE(am654_dst_ep_map), |