Home
last modified time | relevance | path

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

12345

/Linux-v6.1/drivers/soc/qcom/
Dsmem.c16 #include <linux/soc/qcom/smem.h>
37 * (@smem_ptable), that is found 4kB from the end of the main smem region. The
54 * region with partition type (SMEM_GLOBAL_HOST) and the max smem item count is
64 * The version member of the smem header contains an array of versions for the
103 * struct smem_global_entry - entry to reference smem items on the heap
119 * struct smem_header - header found in beginning of primary smem region
122 * @initialized: boolean to indicate that smem is initialized
123 * @free_offset: index of the first unallocated byte in smem
199 * struct smem_partition - describes smem partition
217 * @item: identifying number of the smem item
[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.c19 #include <linux/soc/qcom/smem.h>
30 * Each processor is responsible for creating the outgoing SMEM items and each
32 * processor. By using two separate SMEM items that are single-reader and
91 * @state: smem state handle
118 * @in: pointer to the inbound smem item
119 * @out: pointer to the outbound smem item
120 * @smem_items: ids of the two smem items
290 /* Acquire smem item, if not already found */ in qcom_smp2p_intr()
424 /* Allocate an entry from the smem item */ in qcom_smp2p_outbound_entry()
538 key = "qcom,smem"; in qcom_smp2p_probe()
/Linux-v6.1/Documentation/devicetree/bindings/soc/qcom/
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";
Dqcom,wcnss.yaml73 qcom,smem-states:
77 Should reference the tx-enable and tx-rings-empty SMEM states.
79 qcom,smem-state-names:
84 Names of SMEM states.
90 - qcom,smem-states
91 - qcom,smem-state-names
132 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
133 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
Dqcom,smp2p.yaml55 qcom,smem:
60 Two identifiers of the inbound and outbound smem items used for this edge.
87 '#qcom,smem-state-cells':
101 - '#qcom,smem-state-cells'
110 - qcom,smem
129 qcom,smem = <431>, <451>;
137 #qcom,smem-state-cells = <1>;
Dqcom,smsm.yaml77 '#qcom,smem-state-cells':
88 - '#qcom,smem-state-cells'
114 # The following example shows the SMEM setup for controlling properties of
129 #qcom,smem-state-cells = <1>;
/Linux-v6.1/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
35 compatible = "qcom,smem-part";
43 compatible = "qcom,smem-part";
/Linux-v6.1/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()
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");
/Linux-v6.1/Documentation/devicetree/bindings/net/
Dqcom,bam-dmux.yaml40 qcom,smem-states:
47 qcom,smem-state-names:
67 - qcom,smem-states
68 - qcom,smem-state-names
86 qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
87 qcom,smem-state-names = "pc", "pc-ack";
Dqcom,ipa.yaml114 qcom,smem-states:
121 qcom,smem-state-names:
156 - qcom,smem-states
187 qcom,smem = <94>, <432>;
193 #qcom,smem-state-cells = <1>;
238 qcom,smem-states = <&ipa_smp2p_out 0>,
240 qcom,smem-state-names = "ipa-clock-enabled-valid",
/Linux-v6.1/drivers/net/ipa/
Dipa_mem.c13 #include <linux/soc/qcom/smem.h>
26 /* SMEM host id representing the modem. */
510 * ipa_smem_init() - Initialize SMEM memory used by the IPA
512 * @item: Item ID of SMEM memory
513 * @size: Size (bytes) of SMEM memory region
515 * SMEM is a managed block of shared DRAM, from which numbered "items"
518 * The modem accesses SMEM memory directly, but the IPA accesses it
538 return 0; /* SMEM memory not used */ in ipa_smem_init()
540 /* SMEM is memory shared between the AP and another system entity in ipa_smem_init()
541 * (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-v6.1/Documentation/devicetree/bindings/remoteproc/
Dqcom,qcs404-cdsp-pil.yaml86 qcom,smem-states:
92 qcom,smem-state-names:
109 - qcom,smem-states
110 - qcom,smem-state-names
158 qcom,smem-states = <&cdsp_smp2p_out 0>;
159 qcom,smem-state-names = "stop";
Dqcom,sdm845-adsp-pil.yaml86 qcom,smem-states:
92 qcom,smem-state-names:
109 - qcom,smem-states
110 - qcom,smem-state-names
157 qcom,smem-states = <&adsp_smp2p_out 0>;
158 qcom,smem-state-names = "stop";
Dqcom,sc7280-wpss-pil.yaml98 qcom,smem-states:
104 qcom,smem-state-names:
145 - qcom,smem-states
146 - qcom,smem-state-names
188 qcom,smem-states = <&wpss_smp2p_out 0>;
189 qcom,smem-state-names = "stop";
Dqcom,sc7180-mss-pil.yaml131 qcom,smem-states:
137 qcom,smem-state-names:
180 - qcom,smem-states
181 - qcom,smem-state-names
230 qcom,smem-states = <&modem_smp2p_out 0>;
231 qcom,smem-state-names = "stop";
Dqcom,sc7280-mss-pil.yaml145 qcom,smem-states:
151 qcom,smem-state-names:
196 - qcom,smem-states
197 - qcom,smem-state-names
247 qcom,smem-states = <&modem_smp2p_out 0>;
248 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.txt178 - qcom,smem-states:
181 Definition: reference to the smem state for requesting the Hexagon to
184 - qcom,smem-state-names:
245 qcom,smem-states = <&modem_smp2p_out 0>;
246 qcom,smem-state-names = "stop";
/Linux-v6.1/drivers/rpmsg/
DKconfig58 tristate "Qualcomm SMEM Glink driver"
63 Say y here to enable support for the GLINK SMEM communication driver,
65 over SMEM.
/Linux-v6.1/arch/arm/boot/dts/
Dqcom-msm8974.dtsi145 smem_region: smem@fa00000 {
169 smem {
170 compatible = "qcom,smem";
180 qcom,smem = <443>, <429>;
192 #qcom,smem-state-cells = <1>;
205 qcom,smem = <435>, <428>;
217 #qcom,smem-state-cells = <1>;
230 qcom,smem = <451>, <431>;
243 #qcom,smem-state-cells = <1>;
267 #qcom,smem-state-cells = <1>;
[all …]
Dqcom-sdx55.dtsi153 smem {
154 compatible = "qcom,smem";
161 qcom,smem = <435>, <428>;
169 #qcom,smem-state-cells = <1>;
180 #qcom,smem-state-cells = <1>;
372 qcom,smem-states = <&ipa_smp2p_out 0>,
374 qcom,smem-state-names = "ipa-clock-enabled-valid",
462 qcom,smem-states = <&modem_smp2p_out 0>;
463 qcom,smem-state-names = "stop";
Dqcom-msm8226.dtsi53 smem_region: smem@3000000 {
108 smem {
109 compatible = "qcom,smem";
119 qcom,smem = <443>, <429>;
131 #qcom,smem-state-cells = <1>;
560 qcom,smem-states = <&adsp_smp2p_out 0>;
561 qcom,smem-state-names = "stop";
/Linux-v6.1/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()

12345