| /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 101 * struct smem_global_entry - entry to reference smem items on the heap 117 * struct smem_header - header found in beginning of primary smem region 120 * @initialized: boolean to indicate that smem is initialized 121 * @free_offset: index of the first unallocated byte in smem 197 * struct smem_partition - describes smem partition 215 * @item: identifying number of the smem ite 403 qcom_smem_alloc_private(struct qcom_smem * smem,struct smem_partition * part,unsigned item,size_t size) qcom_smem_alloc_private() argument 465 qcom_smem_alloc_global(struct qcom_smem * smem,unsigned item,size_t size) qcom_smem_alloc_global() argument 549 qcom_smem_get_global(struct qcom_smem * smem,unsigned item,size_t * size) qcom_smem_get_global() argument 588 qcom_smem_get_private(struct qcom_smem * smem,struct smem_partition * part,unsigned item,size_t * size) qcom_smem_get_private() argument 867 qcom_smem_get_sbl_version(struct qcom_smem * smem) qcom_smem_get_sbl_version() argument 878 qcom_smem_get_ptable(struct qcom_smem * smem) qcom_smem_get_ptable() argument 896 qcom_smem_get_item_count(struct qcom_smem * smem) qcom_smem_get_item_count() argument 918 qcom_smem_partition_header(struct qcom_smem * smem,struct smem_ptable_entry * entry,u16 host0,u16 host1) qcom_smem_partition_header() argument 963 qcom_smem_set_global_partition(struct qcom_smem * smem) qcom_smem_set_global_partition() argument 1016 qcom_smem_enumerate_partitions(struct qcom_smem * smem,u16 local_host) qcom_smem_enumerate_partitions() argument 1069 qcom_smem_map_toc(struct qcom_smem * smem,struct smem_region * region) qcom_smem_map_toc() argument 1085 qcom_smem_map_global(struct qcom_smem * smem,u32 size) qcom_smem_map_global() argument 1100 qcom_smem_resolve_mem(struct qcom_smem * smem,const char * name,struct smem_region * region) qcom_smem_resolve_mem() argument 1129 struct qcom_smem *smem; qcom_smem_probe() local [all...] |
| H A 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()
|
| /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";
|
| /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");
|
| H A D | Kconfig | 204 tristate "Qualcomm SMEM flash partition parser" 207 This provides support for parsing partitions from Shared Memory (SMEM)
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | qcom,bam-dmux.yaml | 40 qcom,smem-states: 59 qcom,smem-state-names: 79 - qcom,smem-states 80 - qcom,smem-state-names 98 qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>; 99 qcom,smem-state-names = "pc", "pc-ack";
|
| /linux/tools/testing/selftests/mm/ |
| H A D | cow.c | 1510 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 D | qcom,sc7280-adsp-pil.yaml | 89 qcom,smem-states: 101 qcom,smem-state-names: 140 - qcom,smem-states 141 - qcom,smem-state-names 186 qcom,smem-states = <&adsp_smp2p_out 0>; 187 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";
|
| H A D | qcom,sm6375-pas.yaml | 130 qcom,smem-states = <&smp2p_adsp_out 0>; 131 qcom,smem-state-names = "stop";
|
| H A D | qcom,sm6350-pas.yaml | 153 qcom,smem-states = <&smp2p_adsp_out 0>; 154 qcom,smem-state-names = "stop";
|
| H A D | qcom,sc7180-pas.yaml | 177 qcom,smem-states = <&modem_smp2p_out 0>; 178 qcom,smem-state-names = "stop";
|
| H A D | qcom,sm8150-pas.yaml | 184 qcom,smem-states = <&adsp_smp2p_out 0>; 185 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
|
| H A D | ipa.h | 52 * @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 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/drivers/net/wireless/intel/iwlwifi/ |
| H A D | Makefile | 37 iwlwifi-$(CONFIG_IWLMVM) += fw/paging.o fw/smem.o fw/init.o 38 iwlwifi-$(CONFIG_IWLMLD) += fw/smem.o fw/init.o
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | milos.dtsi | 536 smem_mem: smem-region@81d00000 { 537 compatible = "qcom,smem"; 670 qcom,smem = <443>, <429>; 682 #qcom,smem-state-cells = <1>; 694 qcom,smem = <94>, <432>; 706 #qcom,smem-state-cells = <1>; 718 qcom,smem = <435>, <428>; 730 #qcom,smem-state-cells = <1>; 741 #qcom,smem-state-cells = <1>; 753 qcom,smem [all...] |
| /linux/arch/arm/mach-qcom/ |
| H A D | Kconfig | 19 bool "Reserve SMEM at the beginning of RAM"
|