| /OK3568_Linux_fs/kernel/drivers/net/ipa/ |
| H A D | ipa_smp2p.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2020 Linaro Ltd. 15 #include "ipa.h" 20 * DOC: IPA SMP2P communication with the modem 23 * the modem. The IPA driver uses this for two purposes: to enable the modem 25 * state of the IPA clock in the event of a crash. 29 * latter case, the modem uses an SMP2P interrupt to tell the AP IPA driver 32 * The modem is also able to inquire about the current state of the IPA 33 * clock by trigging another SMP2P interrupt to the AP. We communicate [all …]
|
| H A D | ipa_clock.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2020 Linaro Ltd. 13 #include "ipa.h" 18 * DOC: IPA Clocking 20 * The "IPA Clock" manages both the IPA core clock and the interconnects 21 * (buses) the IPA depends on as a single logical entity. A reference count 23 * Transitions of that count from 0 to 1 result in the clock and interconnects 24 * being enabled, and transitions of the count from 1 to 0 cause them to be 25 * disabled. We currently operate the core clock at a fixed clock rate, and [all …]
|
| H A D | ipa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2020 Linaro Ltd. 31 * enum ipa_flag - IPA state flags 33 * @IPA_FLAG_COUNT: Number of defined IPA flags 41 * struct ipa - IPA information 44 * @version: IPA hardware version 48 * @clock: IPA clocking information 51 * @interrupt: IPA Interrupt information 53 * @reg_addr: DMA address used for IPA register access [all …]
|
| H A D | ipa_main.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2020 Linaro Ltd. 22 #include "ipa.h" 38 * This driver supports the Qualcomm IP Accelerator (IPA), which is a 39 * networking component found in many Qualcomm SoCs. The IPA is connected 43 * The IPA is the conduit between the AP and the modem that carries network 47 * The IPA provides protocol checksum calculation, offloading this work 48 * from the AP. The IPA offers additional functionality, including routing, 50 * currently supported. Despite that, some resources--including routing [all …]
|
| H A D | ipa_endpoint.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2020 Linaro Ltd. 12 #include <linux/dma-direction.h> 16 #include "ipa.h" 26 #define atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0) 30 /* RX buffer is 1 page (or a power-of-2 contiguous pages) */ 34 #define IPA_RX_BUFFER_OVERHEAD (PAGE_SIZE - SKB_MAX_ORDER(NET_SKB_PAD, 0)) 36 /* Where to find the QMAP mux_id for a packet within modem-supplied metadata */ 42 /** enum ipa_status_opcode - status element opcode hardware values */ [all …]
|
| H A D | gsi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2020 Linaro Ltd. 26 * DOC: The IPA Generic Software Interface 28 * The generic software interface (GSI) is an integral component of the IPA, 29 * providing a well-defined communication layer between the AP subsystem 30 * and the IPA core. The modem uses the GSI layer as well. 32 * -------- --------- 34 * | AP +<---. .----+ Modem | 35 * | +--. | | .->+ | [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | qcom,ipa.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/qcom,ipa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm IP Accelerator (IPA) 10 - Alex Elder <elder@kernel.org> 13 This binding describes the Qualcomm IPA. The IPA is capable of offloading 17 The IPA sits between multiple independent "execution environments," 18 including the Application Processor (AP) and the modem. The IPA presents 20 The GSI is an integral part of the IPA, but it is logically isolated [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2011-2023 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 85 * BASE_JM_MAX_NR_SLOTS - The maximum number of Job Slots to support in the Hardware. 93 * BASE_MAX_NR_AS - The maximum number of Address Spaces to support in the Hardware. 110 #define KBASEP_AS_NR_INVALID (-1) 113 * KBASE_LOCK_REGION_MAX_SIZE_LOG2 - Maximum size in bytes of a MMU lock region, 119 * KBASE_REG_ZONE_MAX - Maximum number of GPU memory region zones 151 /* Maximum number of clock/regulator pairs that may be referenced by 168 * struct kbase_io_access - holds information about 1 register access [all …]
|
| H A D | mali_kbase_config_defaults.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2013-2023 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 83 * Default value for the TIMER register of the IPA Control interface, 86 * The chosen value is a trade off between two requirements: the IPA Control 102 * -# Power off one or more shader cores 103 * -# Power off the entire GPU 113 #define DEFAULT_PM_POWEROFF_TICK_SHADER (2) /* 400-800us */ 121 /* Default minimum number of scheduling ticks before jobs are soft-stopped. 123 * This defines the time-slice for a job (which may be different from that of a [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/ |
| H A D | mali-midgard.txt | 2 # (C) COPYRIGHT 2013-2017 ARM Limited. All rights reserved. 11 # Boston, MA 02110-1301, USA. 21 - compatible : Should be mali<chip>, replacing digits with x from the back, 22 until malit<Major>xx, ending with arm,mali-midgard, the latter not optional. 23 - reg : Physical base address of the device and length of the register area. 24 - interrupts : Contains the three IRQ lines required by T-6xx devices 25 - interrupt-names : Contains the names of IRQ resources in the order they were 30 - clocks : Phandle to clock for the Mali T-6xx device. 31 - clock-names : Shall be "clk_mali". 32 - mali-supply : Phandle to regulator for the Mali device. Refer to [all …]
|
| /OK3568_Linux_fs/kernel/arch/s390/kvm/ |
| H A D | priv.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <asm/asm-offsets.h> 24 #include <asm/page-states.h> 31 #include "kvm-s390.h" 36 vcpu->stat.instruction_ri++; in handle_ri() 38 if (test_kvm_facility(vcpu->kvm, 64)) { in handle_ri() 40 vcpu->arch.sie_block->ecb3 |= ECB3_RI; in handle_ri() 49 if ((vcpu->arch.sie_block->ipa & 0xf) <= 4) in kvm_s390_handle_aa() 52 return -EOPNOTSUPP; in kvm_s390_handle_aa() 57 vcpu->stat.instruction_gs++; in handle_gs() [all …]
|
| H A D | vsie.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include "kvm-s390.h" 47 __u8 reserved[0x0700 - 0x0258]; /* 0x0258 */ 56 scb->ipa = 0x1000; in set_validity_icpt() 57 scb->ipb = ((__u32) reason_code) << 16; in set_validity_icpt() 58 scb->icptcode = ICPT_VALIDITY; in set_validity_icpt() 65 atomic_or(PROG_REQUEST, &vsie_page->scb_s.prog20); in prefix_unmapped() 72 if (vsie_page->scb_s.prog0c & PROG_IN_SIE) in prefix_unmapped_sync() 73 atomic_or(CPUSTAT_STOP_INT, &vsie_page->scb_s.cpuflags); in prefix_unmapped_sync() 74 while (vsie_page->scb_s.prog0c & PROG_IN_SIE) in prefix_unmapped_sync() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/backend/gpu/ |
| H A D | mali_kbase_devfreq.c | 3 * (C) COPYRIGHT 2014-2017 ARM Limited. All rights reserved. 12 * Boston, MA 02110-1301, USA. 60 * opp_translate - Translate nominal OPP frequency from devicetree into real 68 * This function will only perform translation if an operating-points-v2-mali 70 * untranslated frequency and all cores enabled. 77 for (i = 0; i < kbdev->num_opps; i++) { in opp_translate() 78 if (kbdev->opp_table[i].opp_freq == freq) { in opp_translate() 79 *core_mask = kbdev->opp_table[i].core_mask; in opp_translate() 80 return kbdev->opp_table[i].real_freq; in opp_translate() 84 /* Failed to find OPP - return all cores enabled & nominal frequency */ in opp_translate() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/qcom/ |
| H A D | sc7180.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 8 #include <dt-bindings/clock/qcom,dispcc-sc7180.h> 9 #include <dt-bindings/clock/qcom,gcc-sc7180.h> 10 #include <dt-bindings/clock/qcom,gpucc-sc7180.h> 11 #include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h> 12 #include <dt-bindings/clock/qcom,rpmh.h> 13 #include <dt-bindings/clock/qcom,videocc-sc7180.h> 14 #include <dt-bindings/interconnect/qcom,osm-l3.h> 15 #include <dt-bindings/interconnect/qcom,sc7180.h> 16 #include <dt-bindings/interrupt-controller/arm-gic.h> [all …]
|
| H A D | sdm845.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/clock/qcom,camcc-sdm845.h> 9 #include <dt-bindings/clock/qcom,dispcc-sdm845.h> 10 #include <dt-bindings/clock/qcom,gcc-sdm845.h> 11 #include <dt-bindings/clock/qcom,gpucc-sdm845.h> 12 #include <dt-bindings/clock/qcom,lpass-sdm845.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,videocc-sdm845.h> 15 #include <dt-bindings/interconnect/qcom,osm-l3.h> 16 #include <dt-bindings/interconnect/qcom,sdm845.h> [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ipa_control/ |
| H A D | mali_kbase_csf_ipa_control.c | 1 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 4 * (C) COPYRIGHT 2020-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 28 * Status flags from the STATUS register of the IPA Control interface. 36 * Commands for the COMMAND register of the IPA Control interface. 61 #define MAX_PRFCNT_VALUE (((u64)1 << 48) - 1) 64 * struct kbase_ipa_control_listener_data - Data for the GPU clock frequency 67 * @listener: GPU clock frequency listener. 89 while (--max_loops && (status & flags)) in wait_status() 92 dev_err(kbdev->dev, "IPA_CONTROL STATUS register stuck"); in wait_status() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2018-2023 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 64 * enum kbase_csf_queue_bind_state - bind state of the queue 80 * enum kbase_csf_reset_gpu_state - state of the gpu reset 117 * enum kbase_csf_group_state - state of the GPU command queue group 123 * and is subjected to time-slice based 134 * slots left after scheduling non-idle 148 * to time-slice based scheduling. A resume 150 * re-assigned to the group and once the [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
| H A D | mali_kbase_devfreq.c | 1 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 4 * (C) COPYRIGHT 2014-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 20 * SPDX-License-Identifier: GPL-2.0 31 #include <linux/clk-provider.h> 56 * get_voltage() - Get the voltage value corresponding to the nominal frequency 62 * "operating-points-v2-mali", is not present in the devicetree for GPU device. 75 opp = dev_pm_opp_find_freq_exact(kbdev->dev, freq, true); in get_voltage() 78 dev_err(kbdev->dev, "Failed to get opp (%d)\n", PTR_ERR_OR_ZERO(opp)); in get_voltage() 99 for (i = 0; i < kbdev->num_opps; i++) { in kbase_devfreq_opp_translate() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/include/linux/mali/ |
| H A D | mali_utgard.h | 2 * Copyright (C) 2012-2017 ARM Limited. All rights reserved. 8 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 28 #define MALI_GPU_NAME_UTGARD "mali-utgard" 71 /* Mali-300 */ 79 /* Mali-400 */ 123 /* Mali-450 */ 218 /* Mali - 470 */ 440 unsigned int clock; /* unit(MHz) */ member 456 * network. This value is the number of Mali clock cycles it takes to 462 /* Mali Dynamic power domain configuration in sequence from 0-11 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | mali_kbase_defs.h | 3 * (C) COPYRIGHT 2011-2017 ARM Limited. All rights reserved. 12 * Boston, MA 02110-1301, USA. 95 …* actually being reset to give other contexts time for their jobs to be soft-stopped and removed f… 104 * Prevent soft-stops from occuring in scheduling situations 110 * @note Soft stop will still be used for non-scheduling purposes e.g. when terminating a context. 117 * Prevent hard-stops from occuring in scheduling situations 121 * @note Hard stop will still be used for non-scheduling purposes e.g. when terminating a context. 157 #define KBASEP_AS_NR_INVALID (-1) 164 #define KBASE_TRACE_MASK ((1 << KBASE_TRACE_SIZE_LOG2)-1) 171 /* Maximum force replay limit when randomization is enabled */ [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/man/man1/ |
| H A D | aarch64-none-linux-gnu-gcc.1 | 18 .\" Set up some character translations and predefined strings. \*(-- will 24 .tr \(*W- 27 . ds -- \(*W- 29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 37 . ds -- \|\(em\| 73 .\" Fear. Run. Save yourself. No user-serviceable parts. 83 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 99 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 100 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' [all …]
|
| H A D | aarch64-none-linux-gnu-g++.1 | 18 .\" Set up some character translations and predefined strings. \*(-- will 24 .tr \(*W- 27 . ds -- \(*W- 29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 37 . ds -- \|\(em\| 73 .\" Fear. Run. Save yourself. No user-serviceable parts. 83 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 99 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 100 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/man/man1/ |
| H A D | arm-none-linux-gnueabihf-gcc.1 | 18 .\" Set up some character translations and predefined strings. \*(-- will 24 .tr \(*W- 27 . ds -- \(*W- 29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 37 . ds -- \|\(em\| 73 .\" Fear. Run. Save yourself. No user-serviceable parts. 83 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 99 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 100 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' [all …]
|
| H A D | arm-none-linux-gnueabihf-g++.1 | 18 .\" Set up some character translations and predefined strings. \*(-- will 24 .tr \(*W- 27 . ds -- \(*W- 29 . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch 30 . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch 37 . ds -- \|\(em\| 73 .\" Fear. Run. Save yourself. No user-serviceable parts. 83 . ds #H ((1u-(\\\\n(.fu%2u))*.13m) 99 . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" 100 . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | kvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 6 * Userspace interface for /dev/kvm - kernel based virtual machine 71 __u32 enabled; member 77 __u32 enabled; member 117 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47.. 118 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23.. 162 * kvm_s390_cmma_log - Used for CMMA migration. 244 /* Encounter unexpected vm-exit due to delivery event. */ 321 __u16 ipa; member 445 ((PAGE_SIZE - sizeof(struct kvm_coalesced_mmio_ring)) / \ [all …]
|