| /linux/drivers/rpmsg/ |
| H A D | qcom_glink_smem.c | 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 217 kfree(smem); in qcom_glink_smem_release() [all …]
|
| /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...] |
| /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/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/Documentation/devicetree/bindings/remoteproc/ |
| 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:
|
| /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";
|
| H A D | qcom-msm8226-microsoft-common.dtsi | 75 * This smem memory region is directly copied from 84 smem_region: smem@fa00000 {
|
| H A D | msm8226-motorola-falcon.dts | 98 smem_region: smem@fa00000 { 103 /* Actually <0x0fa00000 0x500000>, but first 100000 is smem */
|
| H A D | qcom-msm8926-htc-memul.dts | 106 smem_region: smem@fa00000 {
|
| H A D | qcom-msm8926-motorola-peregrine.dts | 80 smem_region: smem@fa00000 {
|
| H A D | qcom-msm8226-samsung-ms013g.dts | 125 smem_region: smem@fa00000 {
|
| H A D | qcom-msm8226-samsung-matisse-common.dtsi | 184 smem_region: smem@fa00000 {
|
| H A D | qcom-apq8026-samsung-milletwifi.dts | 218 smem_region: smem@fa00000 {
|
| /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/mips/include/asm/octeon/ |
| H A D | cvmx-address.h | 160 } smem; member 242 } smem; member
|
| /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...] |
| H A D | agatti.dtsi | 316 smem_mem: smem@46000000 { 317 compatible = "qcom,smem"; 388 qcom,smem = <443>, <429>; 399 #qcom,smem-state-cells = <1>; 411 qcom,smem = <435>, <428>; 422 #qcom,smem-state-cells = <1>; 439 #qcom,smem-state-cells = <1>; 1689 qcom,smem-states = <&ipa_smp2p_out 0>, 1691 qcom,smem-state-names = "ipa-clock-enabled-valid", 2229 qcom,smem [all...] |
| H A D | monaco.dtsi | 763 smem_mem: smem@90900000 { 764 compatible = "qcom,smem"; 844 qcom,smem = <443>, <429>; 856 #qcom,smem-state-cells = <1>; 868 qcom,smem = <94>, <432>; 880 #qcom,smem-state-cells = <1>; 892 qcom,smem = <617>, <616>; 904 #qcom,smem-state-cells = <1>; 2797 qcom,smem-states = <&smp2p_adsp_out 0>; 2798 qcom,smem [all...] |
| H A D | hamoa.dtsi | 713 smem_mem: smem@ffe00000 { 714 compatible = "qcom,smem"; 759 qcom,smem = <443>, <429>; 765 #qcom,smem-state-cells = <1>; 785 qcom,smem = <94>, <432>; 791 #qcom,smem-state-cells = <1>; 4355 qcom,smem-states = <&smp2p_adsp_out 0>; 4356 qcom,smem-state-names = "stop"; 8813 qcom,smem-states = <&smp2p_cdsp_out 0>; 8814 qcom,smem [all...] |
| H A D | eliza.dtsi | 446 smem_mem: smem@81d00000 { 447 compatible = "qcom,smem"; 607 qcom,smem = <443>, <429>; 619 #qcom,smem-state-cells = <1>; 2003 qcom,smem-states = <&smp2p_adsp_out 0>; 2004 qcom,smem-state-names = "stop";
|
| H A D | glymur.dtsi | 660 smem_mem: smem@ffe00000 { 661 compatible = "qcom,smem"; 677 qcom,smem = <443>, <429>; 683 #qcom,smem-state-cells = <1>; 702 qcom,smem = <94>, <432>; 708 #qcom,smem-state-cells = <1>; 728 qcom,smem = <617>, <616>; 734 #qcom,smem-state-cells = <1>; 3827 qcom,smem-states = <&smp2p_adsp_out 0>; 3828 qcom,smem [all...] |
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_dmabuf.c | 326 struct intel_memory_region *smem = i915->mm.regions[INTEL_REGION_SMEM]; in igt_dmabuf_import_same_driver_smem() local 328 return igt_dmabuf_import_same_driver(i915, &smem, 1); in igt_dmabuf_import_same_driver_smem()
|
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_config.c | 171 void __iomem *smem = prueth->shram.va; in icssg_miig_queues_init() local 218 memcpy_toio(smem + pdaddr, pd, pd_size); in icssg_miig_queues_init()
|