Home
last modified time | relevance | path

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

123

/linux/drivers/soc/qcom/
H A Dsmem.c16 #include <linux/soc/qcom/smem.h>
38 * (@smem_ptable), that is found 4kB from the end of the main smem region. The
55 * region with partition type (SMEM_GLOBAL_HOST) and the max smem item count is
65 * The version member of the smem header contains an array of versions for the
104 * struct smem_global_entry - entry to reference smem items on the heap
120 * struct smem_header - header found in beginning of primary smem region
123 * @initialized: boolean to indicate that smem is initialized
124 * @free_offset: index of the first unallocated byte in smem
200 * struct smem_partition - describes smem partition
218 * @item: identifying number of the smem item
[all …]
H A Dsmem_state.c95 "qcom,smem-state-names", in qcom_smem_state_get()
98 dev_err(dev, "missing qcom,smem-state-names\n"); in qcom_smem_state_get()
104 "qcom,smem-states", in qcom_smem_state_get()
105 "#qcom,smem-state-cells", in qcom_smem_state_get()
109 dev_err(dev, "failed to parse qcom,smem-states property\n"); in qcom_smem_state_get()
114 dev_err(dev, "invalid #qcom,smem-state-cells\n"); in qcom_smem_state_get()
/linux/drivers/rpmsg/
H A Dqcom_glink_smem.c19 #include <linux/soc/qcom/smem.h>
58 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
[all …]
H A DKconfig58 tristate "Qualcomm SMEM Glink driver"
63 Say y here to enable support for the GLINK SMEM communication driver,
65 over SMEM.
/linux/Documentation/devicetree/bindings/soc/qcom/
H A 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";
/linux/Documentation/devicetree/bindings/mtd/partitions/
H A Dqcom,smem-part.yaml4 $id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml#
7 title: Qualcomm SMEM NAND flash partition parser
14 Memory (SMEM) based partition table scheme. The maximum partitions supported
22 const: qcom,smem-part
37 compatible = "qcom,smem-part";
45 compatible = "qcom,smem-part";
/linux/drivers/mtd/parsers/
H A 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");
H A DKconfig204 tristate "Qualcomm SMEM flash partition parser"
207 This provides support for parsing partitions from Shared Memory (SMEM)
/linux/Documentation/devicetree/bindings/net/
H A 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";
/linux/tools/testing/selftests/mm/
H A Dcow.c1510 typedef void (*non_anon_test_fn)(char *mem, const char *smem, size_t size); in test_cow()
1512 static void test_cow(char *mem, const char *smem, size_t size) in test_cow()
1517 memcpy(old, smem, size); in test_cow()
1523 if (!memcmp(smem, old, size)) { in test_ro_pin()
1532 static void test_ro_pin(char *mem, const char *smem, size_t size) in run_with_zeropage() local
1537 static void test_ro_fast_pin(char *mem, const char *smem, size_t size) in run_with_zeropage()
1544 char *mem, *smem; in run_with_zeropage()
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_huge_zeropage() local
1500 test_cow(char * mem,const char * smem,size_t size) test_cow() argument
1520 test_ro_pin(char * mem,const char * smem,size_t size) test_ro_pin() argument
1525 test_ro_fast_pin(char * mem,const char * smem,size_t size) test_ro_fast_pin() argument
1632 char *mem, *smem; run_with_memfd() local
1680 char *mem, *smem; run_with_tmpfile() local
1738 char *mem, *smem; run_with_memfd_hugetlb() local
[all...]
/linux/Documentation/devicetree/bindings/remoteproc/
H A 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";
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:
H A Dqcom,qcs404-pas.yaml84 qcom,smem-states = <&adsp_smp2p_out 0>;
85 qcom,smem-state-names = "stop";
H A Dqcom,sm6375-pas.yaml130 qcom,smem-states = <&smp2p_adsp_out 0>;
131 qcom,smem-state-names = "stop";
H A Dqcom,sm6350-pas.yaml153 qcom,smem-states = <&smp2p_adsp_out 0>;
154 qcom,smem-state-names = "stop";
H A Dqcom,sc7180-pas.yaml177 qcom,smem-states = <&modem_smp2p_out 0>;
178 qcom,smem-state-names = "stop";
H A Dqcom,sm8150-pas.yaml184 qcom,smem-states = <&adsp_smp2p_out 0>;
185 qcom,smem-state-names = "stop";
/linux/include/linux/soc/qcom/
H A Dsocinfo.h9 * SMEM item id, used to acquire handles to respective
10 * SMEM region.
25 /* Socinfo SMEM item structure */
/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/drivers/net/ipa/
H A Dipa_smp2p.c47 * @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
H A Dipa.h52 * @smem_iova: I/O virtual address of IPA region in SMEM
53 * @smem_size: Size of SMEM region
/linux/arch/arm/boot/dts/qcom/
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";
/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/arm/mach-qcom/
H A DKconfig19 bool "Reserve SMEM at the beginning of RAM"
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_migrate.c144 pr_err("Object failed migration to smem\n"); in lmem_pages_migrate_one()
245 * Migrate to and from smem without explicitly syncing. in __igt_lmem_pages_migrate()
246 * Finalize with data in smem for fast readout. in __igt_lmem_pages_migrate()

123