/linux-6.14.4/drivers/soc/qcom/ |
D | smem.c | 16 #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 …]
|
D | smem_state.c | 95 "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()
|
D | smp2p.c | 20 #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-6.14.4/drivers/rpmsg/ |
D | qcom_glink_smem.c | 19 #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 …]
|
D | Kconfig | 58 tristate "Qualcomm SMEM Glink driver" 63 Say y here to enable support for the GLINK SMEM communication driver, 65 over SMEM.
|
/linux-6.14.4/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,smem.yaml | 4 $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";
|
D | qcom,wcnss.yaml | 71 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";
|
D | qcom,smp2p.yaml | 56 qcom,smem: 60 Two identifiers of the inbound and outbound smem items used for this edge. 87 '#qcom,smem-state-cells': 101 - '#qcom,smem-state-cells' 110 - qcom,smem 129 qcom,smem = <431>, <451>; 137 #qcom,smem-state-cells = <1>;
|
D | qcom,smsm.yaml | 86 '#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-6.14.4/Documentation/devicetree/bindings/mtd/partitions/ |
D | qcom,smem-part.yaml | 4 $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-6.14.4/drivers/mtd/parsers/ |
D | qcomsmempart.c | 3 * 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-6.14.4/Documentation/devicetree/bindings/net/ |
D | qcom,bam-dmux.yaml | 40 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";
|
D | qcom,ipa.yaml | 122 qcom,smem-states: 129 qcom,smem-state-names: 176 - qcom,smem-states 221 qcom,smem = <94>, <432>; 227 #qcom,smem-state-cells = <1>; 275 qcom,smem-states = <&ipa_smp2p_out 0>, 277 qcom,smem-state-names = "ipa-clock-enabled-valid",
|
/linux-6.14.4/tools/testing/selftests/mm/ |
D | cow.c | 1443 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-6.14.4/drivers/net/ipa/ |
D | ipa_mem.c | 13 #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 …]
|
/linux-6.14.4/Documentation/devicetree/bindings/remoteproc/ |
D | qcom,qcs404-cdsp-pil.yaml | 90 qcom,smem-states: 96 qcom,smem-state-names: 113 - qcom,smem-states 114 - qcom,smem-state-names 162 qcom,smem-states = <&cdsp_smp2p_out 0>; 163 qcom,smem-state-names = "stop";
|
D | qcom,sdm845-adsp-pil.yaml | 90 qcom,smem-states: 96 qcom,smem-state-names: 113 - qcom,smem-states 114 - qcom,smem-state-names 161 qcom,smem-states = <&adsp_smp2p_out 0>; 162 qcom,smem-state-names = "stop";
|
D | qcom,sc7280-adsp-pil.yaml | 89 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";
|
D | qcom,pas-common.yaml | 55 qcom,smem-states: 61 qcom,smem-state-names: 85 - qcom,smem-states 86 - qcom,smem-state-names
|
D | qcom,sc7280-wpss-pil.yaml | 102 qcom,smem-states: 108 qcom,smem-state-names: 149 - qcom,smem-states 150 - qcom,smem-state-names 192 qcom,smem-states = <&wpss_smp2p_out 0>; 193 qcom,smem-state-names = "stop";
|
D | qcom,sc7180-mss-pil.yaml | 132 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";
|
D | qcom,wcnss-pil.yaml | 79 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";
|
D | qcom,sc7280-mss-pil.yaml | 146 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";
|
D | qcom,msm8916-mss-pil.yaml | 98 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";
|
D | qcom,msm8996-mss-pil.yaml | 99 qcom,smem-states: 105 qcom,smem-state-names: 204 - qcom,smem-states 205 - qcom,smem-state-names 383 qcom,smem-states = <&modem_smp2p_out 0>; 384 qcom,smem-state-names = "stop";
|