/linux/Documentation/devicetree/bindings/dma/ti/ |
H A D | k3-udma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/dma/ti/k3-udma.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Peter Ujfalusi <peter.ujfalusi@gmail.com> 15 The UDMA-P is intended to perform similar (but significantly upgraded) 16 functions as the packet-oriented DMA used on previous SoC devices. The UDMA-P 18 The UDMA-P architecture facilitates the segmentation and reassembly of SoC DMA 29 on the Rx PSI-L interface. 31 The UDMA-P also supports acting as both a UTC and UDMA-C for its internal [all …]
|
H A D | k3-pktdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/dma/ti/k3-pktdma.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Peter Ujfalusi <peter.ujfalusi@gmail.com> 16 mode channels of K3 UDMA-P. 17 PKTDMA only includes Split channels to service PSI-L based peripherals. 19 The peripherals can be PSI-L native or legacy, non PSI-L native peripherals 20 with PDMAs. PDMA is tasked to act as a bridge between the PSI-L fabric and the 27 - $ref: /schemas/dma/dma-controller.yaml# [all …]
|
H A D | k3-bcdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/dma/ti/k3-bcdma.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Peter Ujfalusi <peter.ujfalusi@gmail.com> 16 mode channels of K3 UDMA-P. 23 Split channels can be used to service PSI-L based peripherals. 24 The peripherals can be PSI-L native or legacy, non PSI-L native peripherals 25 with PDMAs. PDMA is tasked to act as a bridge between the PSI-L fabric and the 34 - ti,am62a-dmss-bcdma-csirx [all …]
|
/linux/drivers/dma/ti/ |
H A D | k3-psil-priv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 9 #include <linux/dma/k3-psil.h> 17 * struct psil_ep_map - PSI-L thread ID configuration maps 19 * @src: Array of source PSI-L thread configurations 21 * @dst: Array of destination PSI-L thread configurations 39 /* SoC PSI-L endpoint maps */
|
H A D | k3-udma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 28 UDMA_CHAN_RT_PEER_REG(0) /* PSI-L: 0x400 */ 30 UDMA_CHAN_RT_PEER_REG(1) /* PSI-L: 0x401 */ 32 UDMA_CHAN_RT_PEER_REG(4) /* PSI-L: 0x404 */ 34 UDMA_CHAN_RT_PEER_REG(8) /* PSI-L: 0x408 */ 119 /* tisci information for PSI-L thread pairing/unpairing */
|
H A D | k3-psil-am654.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 9 #include "k3-psil-priv.h" 51 /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ 73 /* PDMA0 - McASPs */ 77 /* PDMA1 - SPI0-4 */ 98 /* PDMA1 - USART0-2 */ 104 /* MCU_PDMA0 - ADCs */ 109 /* MCU_PDMA1 - MCU_SPI0-2 */ 122 /* MCU_PDMA1 - MCU_USART0 */ [all …]
|
H A D | k3-psil-am62a.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com 8 #include "k3-psil-priv.h" 15 .mapped_channel_id = -1, \ 16 .default_flow_id = -1, \ 25 .mapped_channel_id = -1, \ 26 .default_flow_id = -1, \ 80 /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ 87 /* PDMA_MAIN0 - SPI0-2 */ 100 /* PDMA_MAIN1 - UART0-6 */ [all …]
|
H A D | k3-psil-am62.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com 8 #include "k3-psil-priv.h" 15 .mapped_channel_id = -1, \ 16 .default_flow_id = -1, \ 70 /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ 77 /* PDMA_MAIN0 - SPI0-2 */ 90 /* PDMA_MAIN1 - UART0-6 */ 98 /* PDMA_MAIN2 - MCASP0-2 */ 139 /* PSI-L destination thread IDs, used for TX (DMA_MEM_TO_DEV) */ [all …]
|
H A D | k3-psil-am64.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com 9 #include "k3-psil-priv.h" 16 .mapped_channel_id = -1, \ 17 .default_flow_id = -1, \ 26 .mapped_channel_id = -1, \ 27 .default_flow_id = -1, \ 63 /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ 80 /* PDMA_MAIN0 - SPI0-3 */ 97 /* PDMA_MAIN0 - USART0-1 */ [all …]
|
H A D | k3-psil-j7200.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 9 #include "k3-psil-priv.h" 61 /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ 63 /* PDMA_MCASP - McASP0-2 */ 67 /* PDMA_SPI_G0 - SPI0-3 */ 84 /* PDMA_SPI_G1 - SPI4-7 */ 101 /* PDMA_USART_G0 - UART0-1 */ 104 /* PDMA_USART_G1 - UART2-3 */ 107 /* PDMA_USART_G2 - UART4-9 */ [all …]
|
H A D | k3-psil-j721s2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com 8 #include "k3-psil-priv.h" 68 /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ 70 /* PDMA_MCASP - McASP0-4 */ 76 /* PDMA_SPI_G0 - SPI0-3 */ 93 /* PDMA_SPI_G1 - SPI4-7 */ 112 /* PDMA_USART_G0 - UART0-1 */ 115 /* PDMA_USART_G1 - UART2-3 */ 118 /* PDMA_USART_G2 - UART4-9 */ [all …]
|
H A D | k3-psil-am62p.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com 8 #include "k3-psil-priv.h" 15 .mapped_channel_id = -1, \ 16 .default_flow_id = -1, \ 25 .mapped_channel_id = -1, \ 26 .default_flow_id = -1, \ 80 /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ 87 /* PDMA_MAIN0 - SPI0-2 */ 100 /* PDMA_MAIN1 - UART0-6 */ [all …]
|
H A D | k3-psil-j784s4.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com 8 #include "k3-psil-priv.h" 68 /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ 70 /* PDMA_MCASP - McASP0-4 */ 76 /* PDMA_SPI_G0 - SPI0-3 */ 93 /* PDMA_SPI_G1 - SPI4-7 */ 112 /* PDMA_USART_G0 - UART0-1 */ 115 /* PDMA_USART_G1 - UART2-3 */ 118 /* PDMA_USART_G2 - UART4-9 */ [all …]
|
H A D | k3-psil-j721e.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 9 #include "k3-psil-priv.h" 69 /* PSI-L source thread IDs, used for RX (DMA_DEV_TO_MEM) */ 86 /* PDMA6 (PSIL_PDMA_MCASP_G0) - McASP0-2 */ 90 /* PDMA7 (PSIL_PDMA_MCASP_G1) - McASP3-11 */ 100 /* PDMA8 (PDMA_MISC_G0) - SPI0-1 */ 109 /* PDMA9 (PDMA_MISC_G1) - SPI2-3 */ 118 /* PDMA10 (PDMA_MISC_G2) - SPI4-5 */ 136 /* PDMA13 (PDMA_USART_G0) - UART0-1 */ [all …]
|
H A D | k3-psil.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 15 #include "k3-psil-priv.h" 44 soc_ep_map = soc->data; in psil_get_ep_config() 48 return ERR_PTR(-ENOTSUPP); in psil_get_ep_config() 50 pr_debug("%s: Using map for %s\n", __func__, soc_ep_map->name); in psil_get_ep_config() 54 if (thread_id & K3_PSIL_DST_THREAD_ID_OFFSET && soc_ep_map->dst) { in psil_get_ep_config() 56 for (i = 0; i < soc_ep_map->dst_count; i++) { in psil_get_ep_config() 57 if (soc_ep_map->dst[i].thread_id == thread_id) in psil_get_ep_config() 58 return &soc_ep_map->dst[i].ep_config; in psil_get_ep_config() [all …]
|
H A D | k3-udma-glue.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 12 #include <linux/dma-mapping.h> 17 #include <linux/soc/ti/k3-ringacc.h> 18 #include <linux/dma/ti-cppi5.h> 19 #include <linux/dma/k3-udma-glue.h> 21 #include "k3-udma.h" 22 #include "k3-psil-priv.h" 104 common->udmax = of_xudma_dev_get(udmax_np, NULL); in of_k3_udma_glue_parse() 105 if (IS_ERR(common->udmax)) in of_k3_udma_glue_parse() [all …]
|
H A D | k3-udma.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com 11 #include <linux/dma-mapping.h> 26 #include <linux/soc/ti/k3-ringacc.h> 29 #include <linux/dma/k3-event-router.h> 30 #include <linux/dma/ti-cppi5.h> 32 #include "../virt-dma.h" 33 #include "k3-udma.h" 34 #include "k3-psil-priv.h" 359 if (!uc->tchan) in udma_tchanrt_read() [all …]
|
/linux/include/linux/dma/ |
H A D | k3-psil.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com 16 * enum udma_tp_level - Channel Throughput Levels 29 * enum psil_endpoint_type - PSI-L Endpoint type 43 * struct psil_endpoint_config - PSI-L Endpoint configuration 44 * @ep_type: PSI-L endpoint type
|
/linux/kernel/cgroup/ |
H A D | cgroup.c | 2 * Generic process-grouping system. 12 * -------------------------------------------------- 14 * Copyright (C) 2004-2006 Silicon Graphics, Inc. 17 * sysfs is Copyright (c) 2001-3 Patrick Mochel 19 * 2003-10-10 Written by Simon Derr. 20 * 2003-10-22 Updates by Stephen Hemminger. 21 * 2004 May-July Rework by Paul Jackson. 22 * --------------------------------------------------- 31 #include "cgroup-internal.h" 33 #include <linux/bpf-cgroup.h> [all …]
|
/linux/include/linux/ |
H A D | damon.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 /* Max priority score for DAMON-based operation schemes */ 22 /* Get a random number in [l, r) */ 23 static inline unsigned long damon_rand(unsigned long l, unsigned long r) in damon_rand() argument 25 return l + get_random_u32_below(r - l); in damon_rand() 29 * struct damon_addr_range - Represents an address region of [@start, @end). 39 * struct damon_region - Represents a monitoring target region. 48 * @nr_accesses is reset to zero for every &damon_attrs->aggr_interval and be 49 * increased for every &damon_attrs->sample_interval if an access to the region 55 * (1 in 10,000) that updated for every &damon_attrs->sample_interval in a [all …]
|
/linux/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_psi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains the logic to work with MPEG Program-Specific Information. 4 * These are defined both in ISO/IEC 13818-1 (systems) and ETSI EN 300 468. 5 * PSI is carried in the form of table structures, and although each table might 84 while (len--) in dvb_crc32() 91 h->version++; in vidtv_psi_update_version_num() 100 return be16_to_cpu(h->bitfield) & mask; in vidtv_psi_get_sec_len() 109 return be16_to_cpu(p->bitfield) & mask; in vidtv_psi_get_pat_program_pid() 118 return be16_to_cpu(s->bitfield) & mask; in vidtv_psi_pmt_stream_get_elem_pid() 141 new = cpu_to_be16((be16_to_cpu(h->bitfield) & mask) | new_len); in vidtv_psi_set_sec_len() [all …]
|
/linux/init/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 - Re-run Kconfig when the compiler is updated 13 - Ensure full rebuild when the compiler is updated 14 include/linux/compiler-version.h contains this option in the comment 16 auto-generated dependency. When the compiler is updated, syncconfig 20 def_bool $(success,test "$(cc-name)" = GCC) 24 default $(cc-version) if CC_IS_GCC 28 def_bool $(success,test "$(cc-name)" = Clang) 32 default $(cc-version) if CC_IS_CLANG 36 def_bool $(success,test "$(as-name)" = GNU) [all …]
|
/linux/arch/parisc/kernel/ |
H A D | hardware.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Based on the document "PA-RISC 1.1 I/O Firmware Architecture 73 {HPHW_NPROC,0x312,0x4,0x81,"Strider-50 (715S/50)"}, 74 {HPHW_NPROC,0x313,0x4,0x81,"Strider-33 (715S/33)"}, 75 {HPHW_NPROC,0x314,0x4,0x81,"Trailways-50 (715T/50)"}, 76 {HPHW_NPROC,0x315,0x4,0x81,"Trailways-33 (715T/33)"}, 87 {HPHW_NPROC,0x482,0x4,0x81,"WB-80 (E35)"}, 88 {HPHW_NPROC,0x483,0x4,0x81,"WB-96 (E45)"}, 89 {HPHW_NPROC,0x484,0x4,0x81,"UL Proc L-100 (811/D210,D310)"}, 90 {HPHW_NPROC,0x485,0x4,0x81,"UL Proc L-75 (801/D200)"}, [all …]
|
/linux/mm/damon/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/psi.h> 46 * damon_is_registered_ops() - Check if a given damon_operations is registered. 64 * damon_register_ops() - Register a monitoring operations set to DAMON. 68 * damon_operations->id so that others can find and use them later. 76 if (ops->id >= NR_DAMON_OPS) in damon_register_ops() 77 return -EINVAL; in damon_register_ops() 80 if (__damon_is_registered_ops(ops->id)) { in damon_register_ops() 81 err = -EINVAL; in damon_register_ops() 84 damon_registered_ops[ops->id] = *ops; in damon_register_ops() [all …]
|
/linux/fs/erofs/ |
H A D | zdata.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/psi.h> 39 * I: Modifiable by initialization/destruction paths and read-only 42 * L: Field should be protected by the pcluster lock; 56 /* L: the maximum decompression size of this round */ 59 /* L: total number of bvecs */ 72 /* L: inline a certain number of bvec for bootstrap */ 82 /* L: whether partial decompression or not */ 85 /* L: indicate several pageofs_outs or not */ 88 /* L: whether extra buffer allocations are best-effort */ [all …]
|