Home
last modified time | relevance | path

Searched +full:smem +full:- +full:part (Results 1 – 22 of 22) sorted by relevance

/linux/Documentation/devicetree/bindings/mtd/partitions/
H A Dqcom,smem-part.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm SMEM NAND flash partition parser
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
14 Memory (SMEM) based partition table scheme. The maximum partitions supported
22 const: qcom,smem-part
25 "^partition-[0-9a-z]+$":
26 $ref: nvmem-cells.yaml
[all …]
H A Dpartitions.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Miquel Raynal <miquel.raynal@bootlin.com>
17 - $ref: arm,arm-firmware-suite.yaml
18 - $ref: brcm,bcm4908-partitions.yaml
19 - $ref: brcm,bcm947xx-cfe-partitions.yaml
20 - $ref: fixed-partitions.yaml
21 - $ref: linksys,ns-partitions.yaml
22 - $ref: qcom,smem-part.yaml
[all …]
/linux/drivers/mtd/parsers/
H A Dqcomsmempart.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Qualcomm SMEM NAND flash partition parser
13 #include <linux/soc/qcom/smem.h>
28 * struct smem_flash_pentry - SMEM Flash partition entry
42 * struct smem_flash_ptable - SMEM Flash partition table
69 && mtd->type == MTD_NORFLASH) { in parse_qcomsmem_part()
70 pr_err("%s: SMEM partition parser is incompatible with 4K sectors\n", in parse_qcomsmem_part()
71 mtd->name); in parse_qcomsmem_part()
72 return -EINVAL; in parse_qcomsmem_part()
75 pr_debug("Parsing partition table info from SMEM\n"); in parse_qcomsmem_part()
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dqcom,ipa.yaml1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alex Elder <elder@kernel.org>
20 The GSI is an integral part of the IPA, but it is logically isolated
21 and has a distinct interrupt and a separately-defined address space.
28 - |
29 -------- ---------
31 | AP +<---. .----+ Modem |
32 | +--. | | .->+ |
[all …]
/linux/tools/testing/selftests/mm/
H A Dcow.c1 // SPDX-License-Identifier: GPL-2.0-only
102 for (; size; addr += pagesize, size -= pagesize) in range_is_swapped()
115 if (pipe(comm_pipes->child_ready) < 0) in setup_comm_pipes()
116 return -errno; in setup_comm_pipes()
117 if (pipe(comm_pipes->parent_ready) < 0) { in setup_comm_pipes()
118 close(comm_pipes->child_ready[0]); in setup_comm_pipes()
119 close(comm_pipes->child_read in setup_comm_pipes()
1409 test_cow(char * mem,const char * smem,size_t size) test_cow() argument
1425 test_ro_pin(char * mem,const char * smem,size_t size) test_ro_pin() argument
1430 test_ro_fast_pin(char * mem,const char * smem,size_t size) test_ro_fast_pin() argument
1437 char *mem, *smem, tmp; run_with_zeropage() local
1467 char *mem, *smem, *mmap_mem, *mmap_smem, tmp; run_with_huge_zeropage() local
1526 char *mem, *smem, tmp; run_with_memfd() local
1570 char *mem, *smem, tmp; run_with_tmpfile() local
1623 char *mem, *smem, tmp; run_with_memfd_hugetlb() local
[all...]
/linux/drivers/cpufreq/
H A Dqcom-cpufreq-nvmem.c1 // SPDX-License-Identifier: GPL-2.0
10 * defines the voltage and frequency value based on the msm-id in SMEM
12 * The qcom-cpufreq-nvmem driver reads the msm-id and efuse value from the SoC
15 * operating-points-v2 table when it is parsed by the OPP framework.
23 #include <linux/nvmem-consumer.h>
31 #include <linux/soc/qcom/smem.h>
33 #include <dt-bindings/arm/qcom,ids.h>
85 drv->versions = 1 << *speedbin; in qcom_cpufreq_simple_get_version()
142 /* 4 bits of PVS are in efuse register bits 31, 8-6. */ in get_krait_bin_format_b()
201 drv->versions = 1 << (unsigned int)(*speedbin); in qcom_cpufreq_kryo_name_version()
[all …]
/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Linux network driver for QLogic BR-series Converged Network Adapter.
6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
7 * Copyright (c) 2014-2015 QLogic Corporation
21 ((__ioc)->ioc_hwif->ioc_firmware_lock(__ioc))
23 ((__ioc)->ioc_hwif->ioc_firmware_unlock(__ioc))
24 #define bfa_ioc_reg_init(__ioc) ((__ioc)->ioc_hwif->ioc_reg_init(__ioc))
25 #define bfa_ioc_map_port(__ioc) ((__ioc)->ioc_hwif->ioc_map_port(__ioc))
27 ((__ioc)->ioc_hwif->ioc_notify_fail(__ioc))
29 ((__ioc)->ioc_hwif->ioc_sync_start(__ioc))
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Druntime.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
4 * Copyright (C) 2018-2024 Intel Corporation
9 #include "iwl-config.h"
10 #include "iwl-trans.h"
15 #include "iwl-nvm-utils.h"
45 * struct iwl_fwrt_dump_data - dump data
49 * Note that the decision which part of the union is used
50 * is based on iwl_trans_dbg_ini_valid(): the 'trig' part
51 * is used if it is %true, the 'desc' part otherwise.
68 * struct iwl_fwrt_wk_data - dump worker data struct
[all …]
H A Dfile.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2008-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
55 IWL_UCODE_TLV_PAN = 7, /* deprecated -- only used in DVM */
56 IWL_UCODE_TLV_MEM_DESC = 7, /* replaces PAN in non-DVM */
117 /* TLVs 0x1000-0x2000 are for internal driver usage */
169 * enum iwl_ucode_tlv_flag - ucode API flags
205 * enum iwl_ucode_tlv_api - ucode api
303 * member due to its bitwise type) and kernel-doc (which doesn't understand
[all …]
/linux/drivers/net/ipa/
H A Dipa_data.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2019-2024 Linaro Ltd.
18 * Boot-time configuration data is used to define the configuration of the
33 * with it, and each channel has an ID unique for that EE. For the most part
41 * together, establishing the endpoint_id->(EE, channel_id) mapping.
52 /** enum ipa_qsb_master_id - array index for IPA QSB configuration data */
59 * struct ipa_qsb_data - Qualcomm System Bus configuration data
62 * @max_reads_beats: Max outstanding read bytes in 8-byte "beats" (if non-zero)
71 * struct gsi_channel_data - GSI channel configuration data
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-address.h5 * This file is part of the OCTEON SDK
7 * Copyright (c) 2003-2009 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
76 /* send out a single-tick command on the NCB bus */
84 * Octeon-I HW never interprets this X (<39:36> reserved
87 * - 0x0 XXX0 0000 0000 to DRAM Cached
88 * - 0x0 XXX0 0FFF FFFF
90 * - 0x0 XXX0 1000 0000 to Boot Bus Uncached (Converted to 0x1 00X0 1000 0000
91 * - 0x0 XXX0 1FFF FFFF + EJTAG to 0x1 00X0 1FFF FFFF)
[all …]
/linux/drivers/remoteproc/
H A Dqcom_common.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
21 #include <linux/soc/qcom/smem.h>
39 * struct minidump_region - Minidump region
55 * struct minidump_subsystem - Subsystem's SMEM Table of content
73 * struct minidump_global_toc - Global Table of Content
99 list_for_each_entry_safe(entry, tmp, &rproc->dump_segments, node) { in qcom_minidump_cleanup()
100 list_del(&entry->node); in qcom_minidump_cleanup()
101 kfree(entry->priv); in qcom_minidump_cleanup()
117 if (WARN_ON(!list_empty(&rproc->dump_segments))) { in qcom_add_minidump_segments()
[all …]
/linux/drivers/soc/qcom/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 the low-power state for resources related to the remoteproc
26 resource on a RPM-hardened platform must use this database to get
84 and instances handled by the remote DSPs. This is a kernel-space
124 Say yes here to support USB-C and battery status on modern Qualcomm
147 purpose of exchanging sector-data between the remote filesystem
156 The RPM Master sleep stats driver provides detailed per-subsystem
158 assess whether all the low-power modes available are entered as
159 expected or to check which part of the SoC prevents it from sleeping.
164 tristate "Qualcomm RPM-Hardened (RPMH) Communication"
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-config.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2005-2014, 2018-2021 Intel Corporation
4 * Copyright (C) 2016-2017 Intel Deutschland GmbH
5 * Copyright (C) 2018-2024 Intel Corporation
15 #include "iwl-csr.h"
16 #include "iwl-drv.h"
60 * enum iwl_nvm_type - nvm formats
113 * struct iwl_base_params - params not likely to change within a device family
118 * The detail algorithm is described in iwl-led.c
162 * Tx-backoff threshold
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsm8550.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/clock/qcom,rpmh.h>
7 #include <dt-bindings/clock/qcom,sm8450-videocc.h>
8 #include <dt-bindings/clock/qcom,sm8550-camcc.h>
9 #include <dt-bindings/clock/qcom,sm8550-gcc.h>
10 #include <dt-bindings/clock/qcom,sm8550-gpucc.h>
11 #include <dt-bindings/clock/qcom,sm8550-tcsr.h>
12 #include <dt-bindings/clock/qcom,sm8550-dispcc.h>
13 #include <dt-bindings/dma/qcom-gpi.h>
14 #include <dt-bindings/firmware/qcom,scm.h>
[all …]
H A Dsm8650.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/clock/qcom,rpmh.h>
7 #include <dt-bindings/clock/qcom,sm8650-camcc.h>
8 #include <dt-bindings/clock/qcom,sm8650-dispcc.h>
9 #include <dt-bindings/clock/qcom,sm8650-gcc.h>
10 #include <dt-bindings/clock/qcom,sm8650-gpucc.h>
11 #include <dt-bindings/clock/qcom,sm8650-tcsr.h>
12 #include <dt-bindings/clock/qcom,sm8650-videocc.h>
13 #include <dt-bindings/dma/qcom-gpi.h>
14 #include <dt-bindings/firmware/qcom,scm.h>
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_device_types.h1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2022-2023 Intel Corporation
40 #define GRAPHICS_VER(xe) ((xe)->info.graphics_verx100 / 100)
41 #define MEDIA_VER(xe) ((xe)->info.media_verx100 / 100)
42 #define GRAPHICS_VERx100(xe) ((xe)->info.graphics_verx100)
43 #define MEDIA_VERx100(xe) ((xe)->info.media_verx100)
44 #define IS_DGFX(xe) ((xe)->info.is_dgfx)
45 #define HAS_HECI_GSCFI(xe) ((xe)->info.has_heci_gscfi)
46 #define HAS_HECI_CSCFI(xe) ((xe)->info.has_heci_cscfi)
57 ((_xe)->info.platform == (_platform) && \
[all …]
H A Dxe_pt.c1 // SPDX-License-Identifier: MIT
6 #include <linux/dma-fence-array.h>
29 /** @children: Array of page-table child nodes */
34 #define xe_pt_set_addr(__xe_pt, __addr) ((__xe_pt)->addr = (__addr))
35 #define xe_pt_addr(__xe_pt) ((__xe_pt)->addr)
44 #define XE_PT_HIGHEST_LEVEL (ARRAY_SIZE(xe_normal_pt_shifts) - 1)
53 return container_of(pt_dir->children[index], struct xe_pt, base); in xe_pt_entry()
60 u16 pat_index = xe->pat.idx[XE_CACHE_WB]; in __xe_pt_empty_pte()
61 u8 id = tile->id; in __xe_pt_empty_pte()
67 return vm->pt_ops->pde_encode_bo(vm->scratch_pt[id][level - 1]->bo, in __xe_pt_empty_pte()
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2014-2019 Intel Corporation
28 * - Authentication of the HuC, which is required to fully enable HuC usage.
29 * - Low latency graphics context scheduling (a.k.a. GuC submission).
30 * - GT Power management.
52 intel_uncore_write(gt->uncore, guc->notify_reg, GUC_SEND_TRIGGER); in intel_guc_notify()
57 GEM_BUG_ON(!guc->send_regs.base); in guc_send_reg()
58 GEM_BUG_ON(!guc->send_regs.count); in guc_send_reg()
59 GEM_BUG_ON(i >= guc->send_regs.count); in guc_send_reg()
61 return _MMIO(guc->send_regs.base + 4 * i); in guc_send_reg()
[all …]
/linux/drivers/video/fbdev/
H A Dpm2fb.c8 * Copyright (c) 1998-2000 Ilario Nardinocchi (nardinoc@CS.UniBO.IT)
14 * I have a Creative Graphics Blaster Exxtreme card - pm2fb on x86. I
16 * hopefully other big-endian) devices now work, thanks to a lot of
71 * support on TVP4010 and similar where there is no RAMDAC - see
74 * fixed-frequency monitor which absolutely has to have -ve sync. So
76 * should be silently turned in -ve sync.
84 * The hardware state of the graphics card that isn't part of the
128 .height = -1,
129 .width = -1,
147 return fb_readl(p->v_regs + off); in pm2_RD()
[all …]
H A Dtdfxfb.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * I2C part copied from the i2c-voodoo3.c driver by:
17 * Ralph Metzler <rjkm@thp.uni-koeln.de>, and
45 * - multihead support (basically need to support an array of fb_infos)
46 * - support other architectures (PPC, Alpha); does the fact that the VGA
52 * 0.1.4 (released 2002-05-28) ported over to new fbdev api by James Simmons
54 * 0.1.3 (released 1999-11-02) added Attila's panning support, code
60 * 0.1.2 (released 1999-10-19) added Attila Kesmarki's bug fixes and
62 * 0.1.1 (released 1999-10-07) added Voodoo3 support by Harold Oga.
63 * 0.1.0 (released 1999-10-06) initial version
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dgen8_ppgtt.c1 // SPDX-License-Identifier: MIT
42 * For pre-gen12 platforms pat_index is the same as enum in gen8_pte_encode()
43 * i915_cache_level, so the switch-case here is still valid. in gen8_pte_encode()
90 struct drm_i915_private *i915 = ppgtt->vm.i915; in gen8_ppgtt_notify_vgt()
91 struct intel_uncore *uncore = ppgtt->vm.gt->uncore; in gen8_ppgtt_notify_vgt()
96 atomic_inc(px_used(ppgtt->pd)); /* never remove */ in gen8_ppgtt_notify_vgt()
98 atomic_dec(px_used(ppgtt->pd)); in gen8_ppgtt_notify_vgt()
100 mutex_lock(&i915->vgpu.lock); in gen8_ppgtt_notify_vgt()
102 if (i915_vm_is_4lvl(&ppgtt->vm)) { in gen8_ppgtt_notify_vgt()
103 const u64 daddr = px_dma(ppgtt->pd); in gen8_ppgtt_notify_vgt()
[all …]