Home
last modified time | relevance | path

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

123

/Linux-v6.6/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-v6.6/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 …]
DMakefile21 obj-$(CONFIG_QCOM_SMEM) += smem.o
/Linux-v6.6/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-v6.6/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-v6.6/Documentation/devicetree/bindings/remoteproc/
Dqcom,q6v5.txt76 - qcom,smem-states:
79 Definition: reference to the smem state for requesting the Hexagon to
82 - qcom,smem-state-names:
/Linux-v6.6/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";
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>;
508 qcom,smem-states = <&ipa_smp2p_out 0>,
510 qcom,smem-state-names = "ipa-clock-enabled-valid",
559 qcom,smem-states = <&modem_smp2p_out 0>;
560 qcom,smem-state-names = "stop";
Dqcom-msm8226.dtsi112 smem_region: smem@3000000 {
123 smem {
124 compatible = "qcom,smem";
134 qcom,smem = <443>, <429>;
146 #qcom,smem-state-cells = <1>;
772 qcom,smem-states = <&adsp_smp2p_out 0>;
773 qcom,smem-state-names = "stop";
/Linux-v6.6/arch/arm64/boot/dts/qcom/
Dmsm8953.dtsi277 smem_mem: smem@86300000 {
278 compatible = "qcom,smem";
336 qcom,smem = <443>, <429>;
347 #qcom,smem-state-cells = <1>;
360 qcom,smem = <435>, <428>;
372 #qcom,smem-state-cells = <1>;
385 qcom,smem = <451>, <431>;
397 #qcom,smem-state-cells = <1>;
420 #qcom,smem-state-cells = <1>;
1085 qcom,smem-states = <&smp2p_modem_out 0>;
[all …]
Dqcs404.dtsi298 smem {
299 compatible = "qcom,smem";
658 qcom,smem-states = <&cdsp_smp2p_out 0>;
659 qcom,smem-state-names = "stop";
942 qcom,smem-states = <&wcss_smp2p_out 0>;
943 qcom,smem-state-names = "stop";
1449 qcom,smem-states = <&adsp_smp2p_out 0>;
1450 qcom,smem-state-names = "stop";
1525 qcom,smem = <443>, <429>;
1533 #qcom,smem-state-cells = <1>;
[all …]
Dmsm8976.dtsi321 smem@86300000 {
322 compatible = "qcom,smem";
363 qcom,smem = <443>, <429>;
368 #qcom,smem-state-cells = <1>;
386 qcom,smem = <435>, <428>;
391 #qcom,smem-state-cells = <1>;
409 qcom,smem = <451>, <431>;
414 #qcom,smem-state-cells = <1>;
437 #qcom,smem-state-cells = <1>;
Dsm6375.dtsi532 smem_mem: smem@80900000 {
533 compatible = "qcom,smem";
697 qcom,smem = <443>, <429>;
709 #qcom,smem-state-cells = <1>;
721 qcom,smem = <94>, <432>;
733 #qcom,smem-state-cells = <1>;
745 qcom,smem = <435>, <428>;
757 #qcom,smem-state-cells = <1>;
768 #qcom,smem-state-cells = <1>;
1472 qcom,smem-states = <&smp2p_modem_out 0>;
[all …]
Dqcm2290.dtsi286 smem_mem: smem@46000000 {
287 compatible = "qcom,smem";
358 qcom,smem = <443>, <429>;
369 #qcom,smem-state-cells = <1>;
381 qcom,smem = <435>, <428>;
392 #qcom,smem-state-cells = <1>;
1132 qcom,smem-states = <&modem_smp2p_out 0>;
1133 qcom,smem-state-names = "stop";
1168 qcom,smem-states = <&adsp_smp2p_out 0>;
1169 qcom,smem-state-names = "stop";
Dipq6018.dtsi211 smem {
212 compatible = "qcom,smem";
723 qcom,smem-states = <&wcss_smp2p_out 0>,
725 qcom,smem-state-names = "shutdown",
817 qcom,smem = <435>, <428>;
829 #qcom,smem-state-cells = <1>;
Dsm6350.dtsi689 smem {
690 compatible = "qcom,smem";
697 qcom,smem = <443>, <429>;
709 #qcom,smem-state-cells = <1>;
721 qcom,smem = <94>, <432>;
733 #qcom,smem-state-cells = <1>;
745 qcom,smem = <435>, <428>;
758 #qcom,smem-state-cells = <1>;
769 #qcom,smem-state-cells = <1>;
1244 qcom,smem-states = <&ipa_smp2p_out 0>,
[all …]
Dmsm8916.dtsi39 smem@86300000 {
40 compatible = "qcom,smem";
338 qcom,smem = <435>, <428>;
350 #qcom,smem-state-cells = <1>;
363 qcom,smem = <451>, <431>;
375 #qcom,smem-state-cells = <1>;
398 #qcom,smem-state-cells = <1>;
1928 qcom,smem-states = <&hexagon_smp2p_out 0>;
1929 qcom,smem-state-names = "stop";
1953 qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
[all …]
Dmsm8939.dtsi311 smem@86300000 {
312 compatible = "qcom,smem";
371 qcom,smem = <435>, <428>;
383 #qcom,smem-state-cells = <1>;
396 qcom,smem = <451>, <431>;
415 #qcom,smem-state-cells = <1>;
431 #qcom,smem-state-cells = <1>;
1544 qcom,smem-states = <&hexagon_smp2p_out 0>;
1545 qcom,smem-state-names = "stop";
1963 qcom,smem-states = <&wcnss_smp2p_out 0>;
[all …]
Dmsm8994.dtsi290 smem {
291 compatible = "qcom,smem";
299 qcom,smem = <443>, <429>;
310 #qcom,smem-state-cells = <1>;
323 qcom,smem = <435>, <428>;
335 #qcom,smem-state-cells = <1>;
Dmsm8998.dtsi43 smem_mem: smem-mem@86000000 {
417 smem {
418 compatible = "qcom,smem";
425 qcom,smem = <443>, <429>;
436 #qcom,smem-state-cells = <1>;
449 qcom,smem = <435>, <428>;
457 #qcom,smem-state-cells = <1>;
469 qcom,smem = <481>, <430>;
477 #qcom,smem-state-cells = <1>;
1464 qcom,smem-states = <&modem_smp2p_out 0>;
[all …]
Dsm8350.dtsi428 smem@80900000 {
429 compatible = "qcom,smem";
542 qcom,smem = <443>, <429>;
554 #qcom,smem-state-cells = <1>;
566 qcom,smem = <94>, <432>;
578 #qcom,smem-state-cells = <1>;
590 qcom,smem = <435>, <428>;
602 #qcom,smem-state-cells = <1>;
613 #qcom,smem-state-cells = <1>;
625 qcom,smem = <481>, <430>;
[all …]
/Linux-v6.6/arch/mips/include/asm/octeon/
Dcvmx-address.h160 } smem; member
242 } smem; member
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/
DMakefile21 iwlwifi-$(CONFIG_IWLMVM) += fw/paging.o fw/smem.o fw/init.o
/Linux-v6.6/drivers/net/ethernet/ti/icssg/
Dicssg_config.c146 void __iomem *smem = prueth->shram.va; in icssg_miig_queues_init() local
193 memcpy_toio(smem + pdaddr, pd, pd_size); in icssg_miig_queues_init()

123