Home
last modified time | relevance | path

Searched full:smem (Results 1 – 25 of 53) sorted by relevance

123

/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,smem.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,smem.yaml#
20 const: qcom,smem
27 description: handle to memory reservation for main SMEM memory region.
58 smem@fa00000 {
59 compatible = "qcom,smem";
72 smem_region: smem@fa00000 {
78 smem {
79 compatible = "qcom,smem";
H A Dqcom,rpm-master-stats.yaml27 newer or higher-end designs providing this information through an SMEM query.
/linux/Documentation/devicetree/bindings/mtd/partitions/
H A Dqcom,smem-part.yaml4 $id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml#
7 title: Qualcomm SMEM NAND flash partition parser
14 Memory (SMEM) based partition table scheme. The maximum partitions supported
22 const: qcom,smem-part
37 compatible = "qcom,smem-part";
45 compatible = "qcom,smem-part";
/linux/drivers/mtd/parsers/
H A Dqcomsmempart.c3 * 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
70 pr_err("%s: SMEM partition parser is incompatible with 4K sectors\n", in parse_qcomsmem_part()
75 pr_debug("Parsing partition table info from SMEM\n"); in parse_qcomsmem_part()
155 pr_debug("SMEM partition table found: ver: %d len: %d\n", in parse_qcomsmem_part()
182 { .compatible = "qcom,smem-part" },
197 MODULE_DESCRIPTION("Qualcomm SMEM NAND flash partition parser");
H A DKconfig204 tristate "Qualcomm SMEM flash partition parser"
207 This provides support for parsing partitions from Shared Memory (SMEM)
/linux/tools/testing/selftests/mm/
H A Dcow.c1510 typedef void (*non_anon_test_fn)(char *mem, const char *smem, size_t size); in test_cow()
1512 static void test_cow(char *mem, const char *smem, size_t size) in test_cow()
1517 memcpy(old, smem, size); in test_cow()
1523 if (!memcmp(smem, old, size)) { in test_ro_pin()
1532 static void test_ro_pin(char *mem, const char *smem, size_t size) in run_with_zeropage() local
1537 static void test_ro_fast_pin(char *mem, const char *smem, size_t size) in run_with_zeropage()
1544 char *mem, *smem; in run_with_zeropage()
1556 smem = mmap(NULL, pagesize, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); in run_with_zeropage()
1557 if (smem == MAP_FAILED) { in run_with_zeropage()
1564 if (!populate_page_checked(mem) || !populate_page_checked(smem)) { in run_with_huge_zeropage() local
1500 test_cow(char * mem,const char * smem,size_t size) test_cow() argument
1520 test_ro_pin(char * mem,const char * smem,size_t size) test_ro_pin() argument
1525 test_ro_fast_pin(char * mem,const char * smem,size_t size) test_ro_fast_pin() argument
1632 char *mem, *smem; run_with_memfd() local
1680 char *mem, *smem; run_with_tmpfile() local
1738 char *mem, *smem; run_with_memfd_hugetlb() local
[all...]
/linux/drivers/soc/qcom/
H A Dsmem_state.c95 "qcom,smem-state-names", in qcom_smem_state_get()
98 dev_err(dev, "missing qcom,smem-state-names\n"); in qcom_smem_state_get()
104 "qcom,smem-states", in qcom_smem_state_get()
105 "#qcom,smem-state-cells", in qcom_smem_state_get()
109 dev_err(dev, "failed to parse qcom,smem-states property\n"); in qcom_smem_state_get()
114 dev_err(dev, "invalid #qcom,smem-state-cells\n"); in qcom_smem_state_get()
H A Dsmsm.c15 #include <linux/soc/qcom/smem.h>
71 * @state: smem state handle
547 if (of_property_present(local_node, "#qcom,smem-state-cells")) in qcom_smsm_probe()
/linux/drivers/rpmsg/
H A DKconfig58 tristate "Qualcomm SMEM Glink driver"
63 Say y here to enable support for the GLINK SMEM communication driver,
65 over SMEM.
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,q6v5.txt76 - qcom,smem-states:
79 Definition: reference to the smem state for requesting the Hexagon to
82 - qcom,smem-state-names:
/linux/include/linux/soc/qcom/
H A Dsocinfo.h9 * SMEM item id, used to acquire handles to respective
10 * SMEM region.
25 /* Socinfo SMEM item structure */
/linux/drivers/video/fbdev/
H A Dpmagb-b-fb.c38 volatile void __iomem *smem; member
298 par->smem = ioremap(info->fix.smem_start, info->fix.smem_len); in pmagbbfb_probe()
299 if (!par->smem) { in pmagbbfb_probe()
305 info->screen_base = (void __iomem *)par->smem + vid_base * 0x1000; in pmagbbfb_probe()
335 iounmap(par->smem); in pmagbbfb_probe()
360 iounmap(par->smem); in pmagbbfb_remove()
/linux/drivers/net/ipa/
H A Dipa_smp2p.c47 * @valid_state: SMEM state indicating enabled state is valid
48 * @enabled_state: SMEM state to indicate power is enabled
49 * @valid_bit: Valid bit in 32-bit SMEM state mask
50 * @enabled_bit: Enabled bit in 32-bit SMEM state mask
51 * @enabled_bit: Enabled bit in 32-bit SMEM state mask
H A Dipa.h52 * @smem_iova: I/O virtual address of IPA region in SMEM
53 * @smem_size: Size of SMEM region
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-sdx65.dtsi139 compatible = "qcom,smem";
169 qcom,smem = <435>, <428>;
177 #qcom,smem-state-cells = <1>;
188 #qcom,smem-state-cells = <1>;
429 qcom,smem-states = <&ipa_smp2p_out 0>,
431 qcom,smem-state-names = "ipa-clock-enabled-valid",
457 qcom,smem-states = <&modem_smp2p_out 0>;
458 qcom,smem-state-names = "stop";
H A Dqcom-msm8226-microsoft-common.dtsi75 * This smem memory region is directly copied from
84 smem_region: smem@fa00000 {
H A Dmsm8226-motorola-falcon.dts98 smem_region: smem@fa00000 {
103 /* Actually <0x0fa00000 0x500000>, but first 100000 is smem */
/linux/arch/arm/mach-qcom/
H A DKconfig19 bool "Reserve SMEM at the beginning of RAM"
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_migrate.c144 pr_err("Object failed migration to smem\n"); in lmem_pages_migrate_one()
245 * Migrate to and from smem without explicitly syncing. in __igt_lmem_pages_migrate()
246 * Finalize with data in smem for fast readout. in __igt_lmem_pages_migrate()
H A Di915_gem_dmabuf.c125 * -EOPNOTSUPP because it can't be migrated to SMEM. in igt_dmabuf_import_same_driver_lmem()
326 struct intel_memory_region *smem = i915->mm.regions[INTEL_REGION_SMEM]; in igt_dmabuf_import_same_driver_smem() local
328 return igt_dmabuf_import_same_driver(i915, &smem, 1); in igt_dmabuf_import_same_driver_smem()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc.c1768 * Returns TRUE if driver is willing to work with current smem f/w version.
1779 /* If smem is incompatible or old, driver should not work with it. */ in bfa_nw_ioc_fwver_cmp()
1786 /* IF Flash has a better F/W than smem do not work with smem. in bfa_nw_ioc_fwver_cmp()
1787 * If smem f/w == flash f/w, as smem f/w not old | incmp, work with it. in bfa_nw_ioc_fwver_cmp()
1788 * If Flash is old or incomp work with smem iff smem f/w == drv f/w. in bfa_nw_ioc_fwver_cmp()
2043 * write smem in bfa_ioc_download_fw()
2182 * bfa_nw_ioc_smem_read - Read data from SMEM to host through PCI memmap
2185 * @tbuf: app memory to store data from smem
2186 * @soff: smem offset
2187 * @sz: size of smem in bytes
/linux/Documentation/devicetree/bindings/opp/
H A Dopp-v2-kryo-cpu.yaml287 smem {
288 compatible = "qcom,smem";
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-address.h160 } smem; member
242 } smem; member
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-config.h163 * @smem_offset: offset from which the SMEM begins
164 * @smem_len: the length of SMEM
174 * @mon_smem_regs: monitor SMEM registers
/linux/drivers/clk/qcom/
H A Dapss-ipq6018.c13 #include <linux/soc/qcom/smem.h>

123