Home
last modified time | relevance | path

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

1234

/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";
H A Dqcom,wcnss.yaml71 qcom,smem-states:
75 Should reference the tx-enable and tx-rings-empty SMEM states.
77 qcom,smem-state-names:
82 Names of SMEM states.
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";
H A Dqcom,smsm.yaml86 '#qcom,smem-state-cells':
97 - '#qcom,smem-state-cells'
126 # The following example shows the SMEM setup for controlling properties of
141 #qcom,smem-state-cells = <1>;
/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");
/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.c1443 typedef void (*non_anon_test_fn)(char *mem, const char *smem, size_t size);
1445 static void test_cow(char *mem, const char *smem, size_t size) in test_cow() argument
1450 memcpy(old, smem, size); in test_cow()
1456 ksft_test_result(!memcmp(smem, old, size), in test_cow()
1461 static void test_ro_pin(char *mem, const char *smem, size_t size) in test_ro_pin() argument
1466 static void test_ro_fast_pin(char *mem, const char *smem, size_t size) in test_ro_fast_pin() argument
1473 char *mem, *smem, tmp; in run_with_zeropage() local
1484 smem = mmap(NULL, pagesize, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); in run_with_zeropage()
1485 if (smem == MAP_FAILED) { in run_with_zeropage()
1491 tmp = *mem + *smem; in run_with_zeropage()
[all …]
/linux/drivers/net/ipa/
H A Dipa_mem.c13 #include <linux/soc/qcom/smem.h>
26 /* SMEM host id representing the modem. */
510 * ipa_smem_init() - Initialize SMEM memory used by the IPA
512 * @item: Item ID of SMEM memory
513 * @size: Size (bytes) of SMEM memory region
515 * SMEM is a managed block of shared DRAM, from which numbered "items"
518 * The modem accesses SMEM memory directly, but the IPA accesses it
538 return 0; /* SMEM memory not used */ in ipa_smem_init()
540 /* SMEM is memory shared between the AP and another system entity in ipa_smem_init()
541 * (in this case, the modem). An allocation from SMEM is persistent in ipa_smem_init()
[all …]
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
/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,pas-common.yaml55 qcom,smem-states:
61 qcom,smem-state-names:
85 - qcom,smem-states
86 - qcom,smem-state-names
H A 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";
H A 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";
H A 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";
H A 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";
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,sdx55-pas.yaml99 qcom,smem-states = <&modem_smp2p_out 0>;
100 qcom,smem-state-names = "stop";
/linux/drivers/soc/qcom/
H A Dsmp2p.c20 #include <linux/soc/qcom/smem.h>
31 * Each processor is responsible for creating the outgoing SMEM items and each
33 * processor. By using two separate SMEM items that are single-reader and
92 * @state: smem state handle
119 * @in: pointer to the inbound smem item
120 * @out: pointer to the outbound smem item
121 * @smem_items: ids of the two smem items
300 /* Acquire smem item, if not already found */ in qcom_smp2p_intr()
444 /* Allocate an entry from the smem item */ in qcom_smp2p_outbound_entry()
554 key = "qcom,smem"; in qcom_smp2p_probe()
/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/arch/arm/boot/dts/qcom/
H A Dqcom-msm8974.dtsi182 smem_region: smem@fa00000 {
206 smem {
207 compatible = "qcom,smem";
217 qcom,smem = <443>, <429>;
229 #qcom,smem-state-cells = <1>;
242 qcom,smem = <435>, <428>;
254 #qcom,smem-state-cells = <1>;
267 qcom,smem = <451>, <431>;
280 #qcom,smem-state-cells = <1>;
302 #qcom,smem-state-cells = <1>;
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A 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>;
419 #qcom,smem-state-cells = <1>;
1247 qcom,smem-states = <&smp2p_modem_out 0>;
[all …]

1234