Home
last modified time | relevance | path

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

123

/linux/drivers/rpmsg/
H A 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/drivers/soc/qcom/
H A Dsmem.c403 static int qcom_smem_alloc_private(struct qcom_smem *smem, in qcom_smem_alloc_private() argument
439 dev_err(smem->dev, "Out of memory\n"); in qcom_smem_alloc_private()
459 dev_err(smem->dev, "Found invalid canary in hosts %hu:%hu partition\n", in qcom_smem_alloc_private()
465 static int qcom_smem_alloc_global(struct qcom_smem *smem, in qcom_smem_alloc_global() argument
472 header = smem->regions[0].virt_base; in qcom_smem_alloc_global()
549 static void *qcom_smem_get_global(struct qcom_smem *smem, in qcom_smem_get_global() argument
561 header = smem->regions[0].virt_base; in qcom_smem_get_global()
568 for (i = 0; i < smem->num_regions; i++) { in qcom_smem_get_global()
569 region = &smem->regions[i]; in qcom_smem_get_global()
588 static void *qcom_smem_get_private(struct qcom_smem *smem, in qcom_smem_get_private() argument
[all …]
/linux/tools/testing/selftests/mm/
H A Dcow.c1510 typedef void (*non_anon_test_fn)(char *mem, const char *smem, size_t size);
1512 static void test_cow(char *mem, const char *smem, size_t size) in test_cow() argument
1517 memcpy(old, smem, size); in test_cow()
1523 if (!memcmp(smem, old, size)) { in test_cow()
1532 static void test_ro_pin(char *mem, const char *smem, size_t size) in test_ro_pin() argument
1537 static void test_ro_fast_pin(char *mem, const char *smem, size_t size) in test_ro_fast_pin() argument
1544 char *mem, *smem; in run_with_zeropage() local
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_zeropage()
[all …]
/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/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/arch/arm/boot/dts/qcom/
H A Dqcom-msm8226.dtsi212 smem_region: smem@3000000 {
235 smem {
236 compatible = "qcom,smem";
246 qcom,smem = <443>, <429>;
258 #qcom,smem-state-cells = <1>;
271 qcom,smem = <435>, <428>;
283 #qcom,smem-state-cells = <1>;
303 #qcom,smem-state-cells = <1>;
968 qcom,smem-states = <&modem_smp2p_out 0>;
969 qcom,smem-state-names = "stop";
[all …]
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-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";
H A Dqcom-msm8974.dtsi218 smem_region: smem@fa00000 {
242 smem {
243 compatible = "qcom,smem";
253 qcom,smem = <443>, <429>;
265 #qcom,smem-state-cells = <1>;
278 qcom,smem = <435>, <428>;
290 #qcom,smem-state-cells = <1>;
303 qcom,smem = <451>, <431>;
316 #qcom,smem-state-cells = <1>;
338 #qcom,smem-state-cells = <1>;
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmilos.dtsi534 smem_mem: smem-region@81d00000 {
535 compatible = "qcom,smem";
668 qcom,smem = <443>, <429>;
680 #qcom,smem-state-cells = <1>;
692 qcom,smem = <94>, <432>;
704 #qcom,smem-state-cells = <1>;
716 qcom,smem = <435>, <428>;
728 #qcom,smem-state-cells = <1>;
739 #qcom,smem-state-cells = <1>;
751 qcom,smem = <617>, <616>;
[all …]
H A Dsdm660.dtsi17 qcom,smem = <94>, <432>;
25 #qcom,smem-state-cells = <1>;
336 qcom,smem-states = <&cdsp_smp2p_out 0>;
337 qcom,smem-state-names = "stop";
H A Dqcs404.dtsi298 smem {
299 compatible = "qcom,smem";
649 qcom,smem-states = <&cdsp_smp2p_out 0>;
650 qcom,smem-state-names = "stop";
953 qcom,smem-states = <&wcss_smp2p_out 0>;
954 qcom,smem-state-names = "stop";
1461 qcom,smem-states = <&adsp_smp2p_out 0>;
1462 qcom,smem-state-names = "stop";
1547 qcom,smem = <443>, <429>;
1555 #qcom,smem-state-cells = <1>;
[all …]
H A Dmsm8917.dtsi294 smem@86300000 {
295 compatible = "qcom,smem";
351 qcom,smem = <443>, <429>;
363 #qcom,smem-state-cells = <1>;
376 qcom,smem = <435>, <428>;
388 #qcom,smem-state-cells = <1>;
401 qcom,smem = <451>, <431>;
413 #qcom,smem-state-cells = <1>;
435 #qcom,smem-state-cells = <1>;
1524 qcom,smem-states = <&wcnss_smp2p_out 0>;
[all …]
H A Dmsm8953.dtsi296 smem_mem: smem@86300000 {
297 compatible = "qcom,smem";
355 qcom,smem = <443>, <429>;
366 #qcom,smem-state-cells = <1>;
379 qcom,smem = <435>, <428>;
391 #qcom,smem-state-cells = <1>;
404 qcom,smem = <451>, <431>;
416 #qcom,smem-state-cells = <1>;
438 #qcom,smem-state-cells = <1>;
1464 qcom,smem-states = <&smp2p_modem_out 0>;
[all …]
H A Dmsm8937.dtsi201 smem@86300000 {
202 compatible = "qcom,smem";
386 qcom,smem = <443>, <429>;
398 #qcom,smem-state-cells = <1>;
411 qcom,smem = <435>, <428>;
423 #qcom,smem-state-cells = <1>;
436 qcom,smem = <451>, <431>;
448 #qcom,smem-state-cells = <1>;
470 #qcom,smem-state-cells = <1>;
1718 qcom,smem-states = <&wcnss_smp2p_out 0>;
[all …]
H A Dmsm8976.dtsi328 smem@86300000 {
329 compatible = "qcom,smem";
375 qcom,smem = <443>, <429>;
380 #qcom,smem-state-cells = <1>;
398 qcom,smem = <435>, <428>;
403 #qcom,smem-state-cells = <1>;
421 qcom,smem = <451>, <431>;
426 #qcom,smem-state-cells = <1>;
447 #qcom,smem-state-cells = <1>;
1565 qcom,smem-states = <&wcnss_smp2p_out 0>;
[all …]
H A Dsm6375.dtsi552 smem_mem: smem@80900000 {
553 compatible = "qcom,smem";
717 qcom,smem = <443>, <429>;
729 #qcom,smem-state-cells = <1>;
741 qcom,smem = <94>, <432>;
753 #qcom,smem-state-cells = <1>;
765 qcom,smem = <435>, <428>;
777 #qcom,smem-state-cells = <1>;
788 #qcom,smem-state-cells = <1>;
1550 qcom,smem-states = <&smp2p_modem_out 0>;
[all …]
H A Dmsm8994.dtsi246 smem_mem: smem@6a00000 {
290 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>;
H A Dmsm8916.dtsi41 smem@86300000 {
42 compatible = "qcom,smem";
360 qcom,smem = <435>, <428>;
372 #qcom,smem-state-cells = <1>;
385 qcom,smem = <451>, <431>;
397 #qcom,smem-state-cells = <1>;
419 #qcom,smem-state-cells = <1>;
1958 qcom,smem-states = <&hexagon_smp2p_out 0>;
1959 qcom,smem-state-names = "stop";
1983 qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
[all …]
H A Dmsm8939.dtsi321 smem@86300000 {
322 compatible = "qcom,smem";
401 qcom,smem = <435>, <428>;
413 #qcom,smem-state-cells = <1>;
426 qcom,smem = <451>, <431>;
445 #qcom,smem-state-cells = <1>;
460 #qcom,smem-state-cells = <1>;
1748 qcom,smem-states = <&hexagon_smp2p_out 0>;
1749 qcom,smem-state-names = "stop";
1762 qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
[all …]
H A Dqcs8550.dtsi75 smem_mem: smem-region@81d00000 {
76 compatible = "qcom,smem";
H A Dsm8350.dtsi443 smem@80900000 {
444 compatible = "qcom,smem";
557 qcom,smem = <443>, <429>;
569 #qcom,smem-state-cells = <1>;
581 qcom,smem = <94>, <432>;
593 #qcom,smem-state-cells = <1>;
605 qcom,smem = <435>, <428>;
617 #qcom,smem-state-cells = <1>;
628 #qcom,smem-state-cells = <1>;
640 qcom,smem = <481>, <430>;
[all …]
H A Dsm6350.dtsi693 smem {
694 compatible = "qcom,smem";
701 qcom,smem = <443>, <429>;
713 #qcom,smem-state-cells = <1>;
725 qcom,smem = <94>, <432>;
737 #qcom,smem-state-cells = <1>;
749 qcom,smem = <435>, <428>;
762 #qcom,smem-state-cells = <1>;
773 #qcom,smem-state-cells = <1>;
1305 qcom,smem-states = <&ipa_smp2p_out 0>,
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/
H A DMakefile37 iwlwifi-$(CONFIG_IWLMVM) += fw/paging.o fw/smem.o fw/init.o
38 iwlwifi-$(CONFIG_IWLMLD) += fw/smem.o fw/init.o
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-address.h160 } smem; member
242 } smem; member

123