/linux/drivers/soc/qcom/ |
H A 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 …]
|
H A 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/drivers/rpmsg/ |
H A 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 …]
|
H A 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/Documentation/devicetree/bindings/soc/qcom/ |
H A 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";
|
H A 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/Documentation/devicetree/bindings/mtd/partitions/ |
H A 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/drivers/mtd/parsers/ |
H A 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/Documentation/devicetree/bindings/net/ |
H A 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";
|
H A 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/tools/testing/selftests/mm/ |
H A D | cow.c | 1518 typedef void (*non_anon_test_fn)(char *mem, const char *smem, size_t size); 1520 static void test_cow(char *mem, const char *smem, size_t size) in test_cow() argument 1525 memcpy(old, smem, size); in test_cow() 1531 if (!memcmp(smem, old, size)) in test_cow() 1538 static void test_ro_pin(char *mem, const char *smem, size_t size) in test_ro_pin() argument 1543 static void test_ro_fast_pin(char *mem, const char *smem, size_t size) in test_ro_fast_pin() argument 1550 char *mem, *smem, tmp; in run_with_zeropage() local 1562 smem = mmap(NULL, pagesize, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); in run_with_zeropage() 1563 if (smem == MAP_FAILED) { in run_with_zeropage() 1570 tmp = *mem + *smem; in run_with_zeropage() [all …]
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A 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";
|
H A D | qcom,pas-common.yaml | 55 qcom,smem-states: 61 qcom,smem-state-names: 85 - qcom,smem-states 86 - qcom,smem-state-names
|
H A 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";
|
H A 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";
|
H A D | qcom,q6v5.txt | 76 - qcom,smem-states: 79 Definition: reference to the smem state for requesting the Hexagon to 82 - qcom,smem-state-names:
|
H A D | qcom,qcs404-pas.yaml | 84 qcom,smem-states = <&adsp_smp2p_out 0>; 85 qcom,smem-state-names = "stop";
|
/linux/include/linux/soc/qcom/ |
H A D | socinfo.h | 9 * SMEM item id, used to acquire handles to respective 10 * SMEM region. 25 /* Socinfo SMEM item structure */
|
/linux/drivers/video/fbdev/ |
H A D | pmagb-b-fb.c | 38 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 D | ipa_smp2p.c | 47 * @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/arch/arm/boot/dts/qcom/ |
H A D | qcom-sdx55.dtsi | 153 smem { 154 compatible = "qcom,smem"; 161 qcom,smem = <435>, <428>; 169 #qcom,smem-state-cells = <1>; 180 #qcom,smem-state-cells = <1>; 508 qcom,smem-states = <&ipa_smp2p_out 0>, 510 qcom,smem-state-names = "ipa-clock-enabled-valid", 559 qcom,smem-states = <&modem_smp2p_out 0>; 560 qcom,smem-state-names = "stop";
|
H A D | qcom-msm8226.dtsi | 212 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 D | qcom-msm8974.dtsi | 183 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 D | qcom-sdx65.dtsi | 139 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/arch/arm64/boot/dts/qcom/ |
H A D | msm8953.dtsi | 296 smem_mem: smem@86300000 { 297 compatible = "qcom,smem"; 355 qcom,smem = <443>, <429>; 366 #qcom,smem-state-cells = <1>; 379 qcom,smem = <435>, <428>; 391 #qcom,smem-state-cells = <1>; 404 qcom,smem = <451>, <431>; 416 #qcom,smem-state-cells = <1>; 438 #qcom,smem-state-cells = <1>; 1322 qcom,smem-states = <&smp2p_modem_out 0>; [all …]
|