Home
last modified time | relevance | path

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

1234

/Linux-v5.15/drivers/soc/qcom/
Dsmem.c15 #include <linux/soc/qcom/smem.h>
36 * (@smem_ptable), that is found 4kB from the end of the main smem region. The
53 * region with partition type (SMEM_GLOBAL_HOST) and the max smem item count is
63 * The version member of the smem header contains an array of versions for the
102 * struct smem_global_entry - entry to reference smem items on the heap
118 * struct smem_header - header found in beginning of primary smem region
121 * @initialized: boolean to indicate that smem is initialized
122 * @free_offset: index of the first unallocated byte in smem
202 * @item: identifying number of the smem item
219 * struct smem_info - smem region info located after the table of contents
[all …]
Dsmem_state.c99 "qcom,smem-state-names", in qcom_smem_state_get()
102 dev_err(dev, "missing qcom,smem-state-names\n"); in qcom_smem_state_get()
108 "qcom,smem-states", in qcom_smem_state_get()
109 "#qcom,smem-state-cells", in qcom_smem_state_get()
113 dev_err(dev, "failed to parse qcom,smem-states property\n"); in qcom_smem_state_get()
118 dev_err(dev, "invalid #qcom,smem-state-cells\n"); in qcom_smem_state_get()
Dsmp2p.c18 #include <linux/soc/qcom/smem.h>
29 * Each processor is responsible for creating the outgoing SMEM items and each
31 * processor. By using two separate SMEM items that are single-reader and
87 * @state: smem state handle
114 * @in: pointer to the inbound smem item
115 * @out: pointer to the outbound smem item
116 * @smem_items: ids of the two smem items
189 /* Acquire smem item, if not already found */ in qcom_smp2p_intr()
350 /* Allocate an entry from the smem item */ in qcom_smp2p_outbound_entry()
462 key = "qcom,smem"; in qcom_smp2p_probe()
Dsocinfo.c13 #include <linux/soc/qcom/smem.h>
32 * SMEM item id, used to acquire handles to respective
33 * SMEM region.
45 * SMEM Image table indices
58 * SMEM Image table names
108 /* Socinfo SMEM item structure */
/Linux-v5.15/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smem.yaml4 $id: "http://devicetree.org/schemas/soc/qcom/qcom,smem.yaml#"
19 const: qcom,smem
23 description: handle to memory reservation for main SMEM memory region.
46 smem_region: smem@fa00000 {
52 smem {
53 compatible = "qcom,smem";
Dqcom,smp2p.txt35 - qcom,smem:
38 Definition: two identifiers of the inbound and outbound smem items used
77 - #qcom,smem-state-cells:
89 qcom,smem = <431>, <451>;
101 #qcom,smem-state-cells = <1>;
Dqcom,wcnss.txt71 - qcom,smem-state:
74 Definition: should reference the tx-enable and tx-rings-empty SMEM states
76 - qcom,smem-state-names:
117 qcom,smem-state = <&apps_smsm 10>, <&apps_smsm 9>;
118 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
Dqcom,smsm.txt54 - #qcom,smem-state-cells:
78 The following example shows the SMEM setup for controlling properties of the
94 #qcom,smem-state-cells = <1>;
Dqcom,glink.txt5 of edges can be described by the binding; the GLINK RPM edge and a SMEM based
25 Usage: required for glink-smem
/Linux-v5.15/Documentation/devicetree/bindings/mtd/partitions/
Dqcom,smem-part.yaml4 $id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml#
7 title: Qualcomm SMEM NAND flash partition parser binding
14 Memory (SMEM) based partition table scheme. The maximum partitions supported
20 const: qcom,smem-part
31 compatible = "qcom,smem-part";
/Linux-v5.15/drivers/mtd/parsers/
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()
147 pr_debug("SMEM partition table found: ver: %d len: %d\n", in parse_qcomsmem_part()
172 { .compatible = "qcom,smem-part" },
187 MODULE_DESCRIPTION("Qualcomm SMEM NAND flash partition parser");
/Linux-v5.15/drivers/net/ipa/
Dipa_mem.c13 #include <linux/soc/qcom/smem.h>
26 /* SMEM host id representing the modem. */
506 * ipa_smem_init() - Initialize SMEM memory used by the IPA
508 * @item: Item ID of SMEM memory
509 * @size: Size (bytes) of SMEM memory region
511 * SMEM is a managed block of shared DRAM, from which numbered "items"
514 * The modem accesses SMEM memory directly, but the IPA accesses it
534 return 0; /* SMEM memory not used */ in ipa_smem_init()
536 /* SMEM is memory shared between the AP and another system entity in ipa_smem_init()
537 * (in this case, the modem). An allocation from SMEM is persistent in ipa_smem_init()
[all …]
Dipa_smp2p.c13 #include <linux/soc/qcom/smem.h>
47 * @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
/Linux-v5.15/Documentation/devicetree/bindings/remoteproc/
Dqcom,hexagon-v56.txt83 - qcom,smem-states:
86 Definition: reference to the smem state for requesting the Hexagon to
89 - qcom,smem-state-names:
138 qcom,smem-states = <&adsp_smp2p_out 0>;
139 qcom,smem-state-names = "stop";
Dqcom,wcnss-pil.txt62 - qcom,smem-states:
65 Definition: reference to the SMEM state used to indicate to WCNSS that
68 - qcom,smem-state-names:
137 qcom,smem-states = <&wcnss_smp2p_out 0>;
138 qcom,smem-state-names = "stop";
Dqcom,q6v5.txt179 - qcom,smem-states:
182 Definition: reference to the smem state for requesting the Hexagon to
185 - qcom,smem-state-names:
259 qcom,smem-states = <&modem_smp2p_out 0>;
260 qcom,smem-state-names = "stop";
Dqcom,adsp.yaml96 qcom,smem-states:
102 qcom,smem-state-names:
133 - qcom,smem-states
134 - qcom,smem-state-names
539 qcom,smem-states = <&adsp_smp2p_out 0>;
540 qcom,smem-state-names = "stop";
/Linux-v5.15/Documentation/devicetree/bindings/net/
Dqcom,ipa.yaml109 qcom,smem-states:
116 qcom,smem-state-names:
151 - qcom,smem-states
182 #qcom,smem-state-cells = <1>;
224 qcom,smem-states = <&ipa_smp2p_out 0>,
226 qcom,smem-state-names = "ipa-clock-enabled-valid",
/Linux-v5.15/drivers/rpmsg/
DKconfig50 tristate "Qualcomm SMEM Glink driver"
55 Say y here to enable support for the GLINK SMEM communication driver,
57 over SMEM.
/Linux-v5.15/arch/arm64/boot/dts/qcom/
Dsm8350.dtsi320 smem: qcom,smem { label
321 compatible = "qcom,smem";
328 qcom,smem = <443>, <429>;
340 #qcom,smem-state-cells = <1>;
352 qcom,smem = <94>, <432>;
364 #qcom,smem-state-cells = <1>;
376 qcom,smem = <435>, <428>;
388 #qcom,smem-state-cells = <1>;
399 #qcom,smem-state-cells = <1>;
411 qcom,smem = <481>, <430>;
[all …]
Dqcs404.dtsi289 smem {
290 compatible = "qcom,smem";
516 qcom,smem-states = <&cdsp_smp2p_out 0>;
517 qcom,smem-state-names = "stop";
757 qcom,smem-states = <&wcss_smp2p_out 0>;
758 qcom,smem-state-names = "stop";
1262 qcom,smem-states = <&adsp_smp2p_out 0>;
1263 qcom,smem-state-names = "stop";
1338 qcom,smem = <443>, <429>;
1346 #qcom,smem-state-cells = <1>;
[all …]
/Linux-v5.15/arch/arm/boot/dts/
Dqcom-sdx55.dtsi152 smem {
153 compatible = "qcom,smem";
160 qcom,smem = <435>, <428>;
168 #qcom,smem-state-cells = <1>;
179 #qcom,smem-state-cells = <1>;
346 qcom,smem-states = <&ipa_smp2p_out 0>,
348 qcom,smem-state-names = "ipa-clock-enabled-valid",
392 qcom,smem-states = <&modem_smp2p_out 0>;
393 qcom,smem-state-names = "stop";
Dqcom-msm8974.dtsi49 smem_region: smem@fa00000 {
361 qcom,smem-states = <&adsp_smp2p_out 0>;
362 qcom,smem-state-names = "stop";
374 smem {
375 compatible = "qcom,smem";
385 qcom,smem = <443>, <429>;
397 #qcom,smem-state-cells = <1>;
410 qcom,smem = <435>, <428>;
422 #qcom,smem-state-cells = <1>;
435 qcom,smem = <451>, <431>;
[all …]
/Linux-v5.15/drivers/video/fbdev/
Dpmagb-b-fb.c38 volatile void __iomem *smem; member
301 par->smem = ioremap(info->fix.smem_start, info->fix.smem_len); in pmagbbfb_probe()
302 if (!par->smem) { in pmagbbfb_probe()
308 info->screen_base = (void __iomem *)par->smem + vid_base * 0x1000; in pmagbbfb_probe()
338 iounmap(par->smem); in pmagbbfb_probe()
363 iounmap(par->smem); in pmagbbfb_remove()
/Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_migrate.c114 pr_err("Object failed migration to smem\n"); in lmem_pages_migrate_one()
201 * Migrate to and from smem without explicitly syncing. in igt_lmem_pages_migrate()
202 * Finalize with data in smem for fast readout. in igt_lmem_pages_migrate()

1234