Home
last modified time | relevance | path

Searched refs:smem (Results 1 – 25 of 82) sorted by relevance

1234

/linux-6.6.21/drivers/rpmsg/
Dqcom_glink_smem.c58 struct qcom_glink_smem *smem; member
66 struct qcom_glink_smem *smem = pipe->smem; in glink_smem_rx_avail() local
73 fifo = qcom_smem_get(smem->remote_pid, in glink_smem_rx_avail()
198 struct qcom_glink_smem *smem = pipe->smem; in glink_smem_tx_kick() local
200 mbox_send_message(smem->mbox_chan, NULL); in glink_smem_tx_kick()
201 mbox_client_txdone(smem->mbox_chan, 0); in glink_smem_tx_kick()
206 struct qcom_glink_smem *smem = data; in qcom_glink_smem_intr() local
208 qcom_glink_native_rx(smem->glink); in qcom_glink_smem_intr()
215 struct qcom_glink_smem *smem = container_of(dev, struct qcom_glink_smem, dev); in qcom_glink_smem_release() local
217 kfree(smem); in qcom_glink_smem_release()
[all …]
/linux-6.6.21/drivers/soc/qcom/
Dsmem.c373 static int qcom_smem_alloc_private(struct qcom_smem *smem, in qcom_smem_alloc_private() argument
409 dev_err(smem->dev, "Out of memory\n"); in qcom_smem_alloc_private()
429 dev_err(smem->dev, "Found invalid canary in hosts %hu:%hu partition\n", in qcom_smem_alloc_private()
435 static int qcom_smem_alloc_global(struct qcom_smem *smem, in qcom_smem_alloc_global() argument
442 header = smem->regions[0].virt_base; in qcom_smem_alloc_global()
517 static void *qcom_smem_get_global(struct qcom_smem *smem, in qcom_smem_get_global() argument
529 header = smem->regions[0].virt_base; in qcom_smem_get_global()
536 for (i = 0; i < smem->num_regions; i++) { in qcom_smem_get_global()
537 region = &smem->regions[i]; in qcom_smem_get_global()
556 static void *qcom_smem_get_private(struct qcom_smem *smem, in qcom_smem_get_private() argument
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smem.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,smem.yaml#
20 const: qcom,smem
58 smem@fa00000 {
59 compatible = "qcom,smem";
72 smem_region: smem@fa00000 {
78 smem {
79 compatible = "qcom,smem";
Dqcom,wcnss.yaml71 qcom,smem-states:
77 qcom,smem-state-names:
88 - qcom,smem-states
89 - qcom,smem-state-names
130 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
131 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'
129 #qcom,smem-state-cells = <1>;
/linux-6.6.21/tools/testing/selftests/mm/
Dcow.c1350 typedef void (*non_anon_test_fn)(char *mem, const char *smem, size_t size);
1352 static void test_cow(char *mem, const char *smem, size_t size) in test_cow() argument
1357 memcpy(old, smem, size); in test_cow()
1363 ksft_test_result(!memcmp(smem, old, size), in test_cow()
1368 static void test_ro_pin(char *mem, const char *smem, size_t size) in test_ro_pin() argument
1373 static void test_ro_fast_pin(char *mem, const char *smem, size_t size) in test_ro_fast_pin() argument
1380 char *mem, *smem, tmp; in run_with_zeropage() local
1391 smem = mmap(NULL, pagesize, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); in run_with_zeropage()
1398 tmp = *mem + *smem; in run_with_zeropage()
1401 fn(mem, smem, pagesize); in run_with_zeropage()
[all …]
/linux-6.6.21/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.yaml116 qcom,smem-states:
123 qcom,smem-state-names:
170 - qcom,smem-states
215 qcom,smem = <94>, <432>;
221 #qcom,smem-state-cells = <1>;
269 qcom,smem-states = <&ipa_smp2p_out 0>,
271 qcom,smem-state-names = "ipa-clock-enabled-valid",
/linux-6.6.21/Documentation/devicetree/bindings/mtd/partitions/
Dqcom,smem-part.yaml4 $id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml#
22 const: qcom,smem-part
37 compatible = "qcom,smem-part";
45 compatible = "qcom,smem-part";
/linux-6.6.21/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,pas-common.yaml55 qcom,smem-states:
61 qcom,smem-state-names:
85 - qcom,smem-states
86 - qcom,smem-state-names
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,sc7280-adsp-pil.yaml89 qcom,smem-states:
95 qcom,smem-state-names:
134 - qcom,smem-states
135 - qcom,smem-state-names
180 qcom,smem-states = <&adsp_smp2p_out 0>;
181 qcom,smem-state-names = "stop";
Dqcom,sc7180-mss-pil.yaml132 qcom,smem-states:
138 qcom,smem-state-names:
181 - qcom,smem-states
182 - qcom,smem-state-names
231 qcom,smem-states = <&modem_smp2p_out 0>;
232 qcom,smem-state-names = "stop";
Dqcom,wcnss-pil.yaml79 qcom,smem-states:
86 qcom,smem-state-names:
244 qcom,smem-states = <&wcnss_smp2p_out 0>;
245 qcom,smem-state-names = "stop";
289 qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
290 qcom,smem-state-names = "tx-enable", "tx-rings-empty";
Dqcom,msm8916-mss-pil.yaml98 qcom,smem-states:
104 qcom,smem-state-names:
192 - qcom,smem-states
193 - qcom,smem-state-names
263 qcom,smem-states = <&hexagon_smp2p_out 0>;
264 qcom,smem-state-names = "stop";
Dqcom,sc7280-mss-pil.yaml146 qcom,smem-states:
152 qcom,smem-state-names:
197 - qcom,smem-states
198 - qcom,smem-state-names
248 qcom,smem-states = <&modem_smp2p_out 0>;
249 qcom,smem-state-names = "stop";
Dqcom,q6v5.txt76 - qcom,smem-states:
79 Definition: reference to the smem state for requesting the Hexagon to
82 - qcom,smem-state-names:
Dqcom,msm8996-mss-pil.yaml99 qcom,smem-states:
105 qcom,smem-state-names:
204 - qcom,smem-states
205 - qcom,smem-state-names
386 qcom,smem-states = <&modem_smp2p_out 0>;
387 qcom,smem-state-names = "stop";
Dqcom,qcs404-pas.yaml84 qcom,smem-states = <&adsp_smp2p_out 0>;
85 qcom,smem-state-names = "stop";
/linux-6.6.21/drivers/video/fbdev/
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-6.6.21/arch/arm/boot/dts/qcom/
Dqcom-msm8974.dtsi168 smem_region: smem@fa00000 {
192 smem {
193 compatible = "qcom,smem";
203 qcom,smem = <443>, <429>;
215 #qcom,smem-state-cells = <1>;
228 qcom,smem = <435>, <428>;
240 #qcom,smem-state-cells = <1>;
253 qcom,smem = <451>, <431>;
266 #qcom,smem-state-cells = <1>;
290 #qcom,smem-state-cells = <1>;
[all …]
Dqcom-sdx65.dtsi139 compatible = "qcom,smem";
169 qcom,smem = <435>, <428>;
177 #qcom,smem-state-cells = <1>;
188 #qcom,smem-state-cells = <1>;
421 qcom,smem-states = <&ipa_smp2p_out 0>,
423 qcom,smem-state-names = "ipa-clock-enabled-valid",
449 qcom,smem-states = <&modem_smp2p_out 0>;
450 qcom,smem-state-names = "stop";

1234