/linux-6.8/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 | 99 "qcom,smem-state-names", in qcom_smem_state_get() 102 dev_err(dev, "missing qcom,smem-state-names\n"); in qcom_smem_state_get() 108 "qcom,smem-states", in qcom_smem_state_get() 109 "#qcom,smem-state-cells", in qcom_smem_state_get() 113 dev_err(dev, "failed to parse qcom,smem-states property\n"); in qcom_smem_state_get() 118 dev_err(dev, "invalid #qcom,smem-state-cells\n"); in qcom_smem_state_get()
|
/linux-6.8/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.8/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 | 55 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 | 77 '#qcom,smem-state-cells': 88 - '#qcom,smem-state-cells' 114 # The following example shows the SMEM setup for controlling properties of 129 #qcom,smem-state-cells = <1>;
|
/linux-6.8/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.8/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.8/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.8/drivers/net/ipa/ |
D | ipa_mem.c | 13 #include <linux/soc/qcom/smem.h> 26 /* SMEM host id representing the modem. */ 512 * ipa_smem_init() - Initialize SMEM memory used by the IPA 514 * @item: Item ID of SMEM memory 515 * @size: Size (bytes) of SMEM memory region 517 * SMEM is a managed block of shared DRAM, from which numbered "items" 520 * The modem accesses SMEM memory directly, but the IPA accesses it 540 return 0; /* SMEM memory not used */ in ipa_smem_init() 542 /* SMEM is memory shared between the AP and another system entity in ipa_smem_init() 543 * (in this case, the modem). An allocation from SMEM is persistent in ipa_smem_init() [all …]
|
/linux-6.8/Documentation/devicetree/bindings/remoteproc/ |
D | qcom,sdm845-adsp-pil.yaml | 86 qcom,smem-states: 92 qcom,smem-state-names: 109 - qcom,smem-states 110 - qcom,smem-state-names 157 qcom,smem-states = <&adsp_smp2p_out 0>; 158 qcom,smem-state-names = "stop";
|
D | qcom,qcs404-cdsp-pil.yaml | 86 qcom,smem-states: 92 qcom,smem-state-names: 109 - qcom,smem-states 110 - qcom,smem-state-names 158 qcom,smem-states = <&cdsp_smp2p_out 0>; 159 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 | 98 qcom,smem-states: 104 qcom,smem-state-names: 145 - qcom,smem-states 146 - qcom,smem-state-names 188 qcom,smem-states = <&wpss_smp2p_out 0>; 189 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,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,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,msm8996-mss-pil.yaml | 99 qcom,smem-states: 105 qcom,smem-state-names: 204 - qcom,smem-states 205 - qcom,smem-state-names 384 qcom,smem-states = <&modem_smp2p_out 0>; 385 qcom,smem-state-names = "stop";
|
/linux-6.8/tools/testing/selftests/mm/ |
D | cow.c | 1407 typedef void (*non_anon_test_fn)(char *mem, const char *smem, size_t size); 1409 static void test_cow(char *mem, const char *smem, size_t size) in test_cow() argument 1414 memcpy(old, smem, size); in test_cow() 1420 ksft_test_result(!memcmp(smem, old, size), in test_cow() 1425 static void test_ro_pin(char *mem, const char *smem, size_t size) in test_ro_pin() argument 1430 static void test_ro_fast_pin(char *mem, const char *smem, size_t size) in test_ro_fast_pin() argument 1437 char *mem, *smem, tmp; in run_with_zeropage() local 1448 smem = mmap(NULL, pagesize, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); in run_with_zeropage() 1455 tmp = *mem + *smem; in run_with_zeropage() 1458 fn(mem, smem, pagesize); in run_with_zeropage() [all …]
|
/linux-6.8/include/linux/soc/qcom/ |
D | socinfo.h | 7 * SMEM item id, used to acquire handles to respective 8 * SMEM region. 15 /* Socinfo SMEM item structure */
|