Home
last modified time | relevance | path

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

12

/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.c1498 typedef void (*non_anon_test_fn)(char *mem, const char *smem, size_t size);
1500 static void test_cow(char *mem, const char *smem, size_t size) in test_cow() argument
1505 memcpy(old, smem, size); in test_cow()
1511 if (!memcmp(smem, old, size)) { in test_cow()
1520 static void test_ro_pin(char *mem, const char *smem, size_t size) in test_ro_pin() argument
1525 static void test_ro_fast_pin(char *mem, const char *smem, size_t size) in test_ro_fast_pin() argument
1532 char *mem, *smem; in run_with_zeropage() local
1544 smem = mmap(NULL, pagesize, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); in run_with_zeropage()
1545 if (smem == MAP_FAILED) { in run_with_zeropage()
1553 FORCE_READ(*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-msm8974.dtsi183 smem_region: smem@fa00000 {
207 smem {
208 compatible = "qcom,smem";
218 qcom,smem = <443>, <429>;
230 #qcom,smem-state-cells = <1>;
243 qcom,smem = <435>, <428>;
255 #qcom,smem-state-cells = <1>;
268 qcom,smem = <451>, <431>;
281 #qcom,smem-state-cells = <1>;
303 #qcom,smem-state-cells = <1>;
[all …]
H A Dqcom-msm8226-microsoft-common.dtsi75 * This smem memory region is directly copied from
84 smem_region: smem@fa00000 {
H A Dmsm8226-motorola-falcon.dts98 smem_region: smem@fa00000 {
103 /* Actually <0x0fa00000 0x500000>, but first 100000 is smem */
/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
/linux/arch/arm64/boot/dts/qcom/
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 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 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>;
1717 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 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>;
1302 qcom,smem-states = <&ipa_smp2p_out 0>,
[all …]
H A Dsdx75.dtsi328 smem_mem: smem@87e20000 {
423 qcom,smem = <435>, <428>;
435 #qcom,smem-state-cells = <1>;
446 #qcom,smem-state-cells = <1>;
456 smem: smem { label
457 compatible = "qcom,smem";
958 qcom,smem-states = <&smp2p_modem_out 0>;
959 qcom,smem-state-names = "stop";
H A Dsdm630.dtsi462 smem_region: smem-mem@86000000 {
520 smem: smem { label
521 compatible = "qcom,smem";
528 qcom,smem = <443>, <429>;
536 #qcom,smem-state-cells = <1>;
548 qcom,smem = <435>, <428>;
556 #qcom,smem-state-cells = <1>;
1053 qcom,smem-states = <&modem_smp2p_out 0>;
1054 qcom,smem-state-names = "stop";
2286 qcom,smem-states = <&adsp_smp2p_out 0>;
[all …]
H A Dmsm8996.dtsi538 smem_mem: smem-mem@86000000 {
597 smem {
598 compatible = "qcom,smem";
605 qcom,smem = <443>, <429>;
616 #qcom,smem-state-cells = <1>;
629 qcom,smem = <435>, <428>;
640 #qcom,smem-state-cells = <1>;
653 qcom,smem = <481>, <430>;
664 #qcom,smem-state-cells = <1>;
2521 qcom,smem-states = <&slpi_smp2p_out 0>;
[all …]
H A Dsc8180x.dtsi632 smem_mem: smem@86000000 {
633 compatible = "qcom,smem";
672 qcom,smem = <94>, <432>;
683 #qcom,smem-state-cells = <1>;
696 qcom,smem = <443>, <429>;
707 #qcom,smem-state-cells = <1>;
720 qcom,smem = <435>, <428>;
731 #qcom,smem-state-cells = <1>;
743 #qcom,smem-state-cells = <1>;
761 qcom,smem = <481>, <430>;
[all …]
H A Dsm8750.dtsi348 smem_mem: smem@81d00000 {
349 compatible = "qcom,smem";
539 qcom,smem = <443>, <429>;
545 #qcom,smem-state-cells = <1>;
565 qcom,smem = <94>, <432>;
571 #qcom,smem-state-cells = <1>;
591 qcom,smem = <435>, <428>;
597 #qcom,smem-state-cells = <1>;
608 #qcom,smem-state-cells = <1>;
617 /* TODO: smem mailbox in and out */
[all …]
H A Dsm6115.dtsi459 compatible = "qcom,smem";
539 qcom,smem = <443>, <429>;
550 #qcom,smem-state-cells = <1>;
563 qcom,smem = <94>, <432>;
574 #qcom,smem-state-cells = <1>;
587 qcom,smem = <435>, <428>;
598 #qcom,smem-state-cells = <1>;
2076 qcom,smem-states = <&modem_smp2p_out 0>;
2077 qcom,smem-state-names = "stop";
2721 qcom,smem-states = <&adsp_smp2p_out 0>;
[all …]
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_dmabuf.c326 struct intel_memory_region *smem = i915->mm.regions[INTEL_REGION_SMEM]; in igt_dmabuf_import_same_driver_smem() local
328 return igt_dmabuf_import_same_driver(i915, &smem, 1); in igt_dmabuf_import_same_driver_smem()

12