/openbmc/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 …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | smem.c | 399 static int qcom_smem_alloc_private(struct qcom_smem *smem, in qcom_smem_alloc_private() argument 435 dev_err(smem->dev, "Out of memory\n"); in qcom_smem_alloc_private() 455 dev_err(smem->dev, "Found invalid canary in hosts %hu:%hu partition\n", in qcom_smem_alloc_private() 461 static int qcom_smem_alloc_global(struct qcom_smem *smem, in qcom_smem_alloc_global() argument 468 header = smem->regions[0].virt_base; in qcom_smem_alloc_global() 543 static void *qcom_smem_get_global(struct qcom_smem *smem, in qcom_smem_get_global() argument 555 header = smem->regions[0].virt_base; in qcom_smem_get_global() 562 for (i = 0; i < smem->num_regions; i++) { in qcom_smem_get_global() 563 region = &smem->regions[i]; in qcom_smem_get_global() 582 static void *qcom_smem_get_private(struct qcom_smem *smem, in qcom_smem_get_private() argument [all …]
|
/openbmc/u-boot/drivers/smem/ |
H A D | msm_smem.c | 337 static int qcom_smem_alloc_private(struct qcom_smem *smem, in qcom_smem_alloc_private() argument 352 dev_err(smem->dev, in qcom_smem_alloc_private() 367 dev_err(smem->dev, "Out of memory\n"); in qcom_smem_alloc_private() 388 static int qcom_smem_alloc_global(struct qcom_smem *smem, in qcom_smem_alloc_global() argument 395 header = smem->regions[0].virt_base; in qcom_smem_alloc_global() 460 static void *qcom_smem_get_global(struct qcom_smem *smem, in qcom_smem_get_global() argument 470 header = smem->regions[0].virt_base; in qcom_smem_get_global() 477 for (i = 0; i < smem->num_regions; i++) { in qcom_smem_get_global() 478 area = &smem->regions[i]; in qcom_smem_get_global() 490 static void *qcom_smem_get_private(struct qcom_smem *smem, in qcom_smem_get_private() argument [all …]
|
H A D | Makefile | 6 obj-$(CONFIG_SMEM) += smem-uclass.o
|
H A D | smem-uclass.c | 42 UCLASS_DRIVER(smem) = {
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-support/smem/smem/ |
H A D | 0001-smem-fix-support-for-source-option-python3.patch | 4 Subject: [PATCH] smem: fix support for --source option (python3) 11 File "./smem", line 727, in <module> 13 File "./smem", line 299, in showpids 15 File "./smem", line 519, in showtable 17 File "./smem", line 118, in totalmem 19 File "./smem", line 193, in memory 32 smem | 4 ++-- 35 diff --git a/smem b/smem 37 --- a/smem 38 +++ b/smem
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-support/smem/ |
H A D | smem_1.5.bb | 2 DESCRIPTION = "smem is a tool that can give numerous reports on memory usage on Linux \ 3 systems. Unlike existing tools, smem can report proportional set size (PSS), \ 6 HOMEPAGE = "http://www.selenic.com/smem/" 14 file://0001-smem-fix-support-for-source-option-python3.patch" 17 UPSTREAM_CHECK_URI = "https://selenic.com/repo/smem/tags" 29 install -m 0755 ${S}/smem ${D}${bindir}/ 30 sed -i -e '1s,#!.*python.*,#!${USRBINPATH}/env python3,' ${D}${bindir}/smem 32 install -m 0644 ${S}/smem.8 ${D}/${mandir}/man8/
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | cow.c | 1350 typedef void (*non_anon_test_fn)(char *mem, const char *smem, size_t size); 1352 static void test_cow(char *mem, const char *smem, size_t size) in test_cow() argument 1357 memcpy(old, smem, size); in test_cow() 1363 ksft_test_result(!memcmp(smem, old, size), in test_cow() 1368 static void test_ro_pin(char *mem, const char *smem, size_t size) in test_ro_pin() argument 1373 static void test_ro_fast_pin(char *mem, const char *smem, size_t size) in test_ro_fast_pin() argument 1380 char *mem, *smem, tmp; in run_with_zeropage() local 1391 smem = mmap(NULL, pagesize, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); in run_with_zeropage() 1398 tmp = *mem + *smem; in run_with_zeropage() 1401 fn(mem, smem, pagesize); in run_with_zeropage() [all …]
|
/openbmc/u-boot/arch/arm/mach-snapdragon/ |
H A D | dram.c | 57 struct udevice *smem; in msm_fixup_memory() local 62 ret = uclass_get_device_by_name(UCLASS_SMEM, "smem", &smem); in msm_fixup_memory() 68 ram_ptable = smem_get(smem, -1, SMEM_USABLE_RAM_PARTITION_TABLE, &size); in msm_fixup_memory()
|
/openbmc/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()
|
/openbmc/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:
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-msm8974.dtsi | 168 smem_region: smem@fa00000 { 192 smem { 193 compatible = "qcom,smem"; 203 qcom,smem = <443>, <429>; 215 #qcom,smem-state-cells = <1>; 228 qcom,smem = <435>, <428>; 240 #qcom,smem-state-cells = <1>; 253 qcom,smem = <451>, <431>; 266 #qcom,smem-state-cells = <1>; 290 #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>; 421 qcom,smem-states = <&ipa_smp2p_out 0>, 423 qcom,smem-state-names = "ipa-clock-enabled-valid", 449 qcom,smem-states = <&modem_smp2p_out 0>; 450 qcom,smem-state-names = "stop";
|
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 | 112 smem_region: smem@3000000 { 123 smem { 124 compatible = "qcom,smem"; 134 qcom,smem = <443>, <429>; 146 #qcom,smem-state-cells = <1>; 772 qcom,smem-states = <&adsp_smp2p_out 0>; 773 qcom,smem-state-names = "stop";
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8953.dtsi | 277 smem_mem: smem@86300000 { 278 compatible = "qcom,smem"; 336 qcom,smem = <443>, <429>; 347 #qcom,smem-state-cells = <1>; 360 qcom,smem = <435>, <428>; 372 #qcom,smem-state-cells = <1>; 385 qcom,smem = <451>, <431>; 397 #qcom,smem-state-cells = <1>; 420 #qcom,smem-state-cells = <1>; 1085 qcom,smem-states = <&smp2p_modem_out 0>; [all …]
|
H A D | qcs404.dtsi | 298 smem { 299 compatible = "qcom,smem"; 658 qcom,smem-states = <&cdsp_smp2p_out 0>; 659 qcom,smem-state-names = "stop"; 942 qcom,smem-states = <&wcss_smp2p_out 0>; 943 qcom,smem-state-names = "stop"; 1449 qcom,smem-states = <&adsp_smp2p_out 0>; 1450 qcom,smem-state-names = "stop"; 1525 qcom,smem = <443>, <429>; 1533 #qcom,smem-state-cells = <1>; [all …]
|
H A D | msm8976.dtsi | 321 smem@86300000 { 322 compatible = "qcom,smem"; 363 qcom,smem = <443>, <429>; 368 #qcom,smem-state-cells = <1>; 386 qcom,smem = <435>, <428>; 391 #qcom,smem-state-cells = <1>; 409 qcom,smem = <451>, <431>; 414 #qcom,smem-state-cells = <1>; 437 #qcom,smem-state-cells = <1>;
|
H A D | sm6375.dtsi | 552 smem_mem: smem@80900000 { 553 compatible = "qcom,smem"; 717 qcom,smem = <443>, <429>; 729 #qcom,smem-state-cells = <1>; 741 qcom,smem = <94>, <432>; 753 #qcom,smem-state-cells = <1>; 765 qcom,smem = <435>, <428>; 777 #qcom,smem-state-cells = <1>; 788 #qcom,smem-state-cells = <1>; 1499 qcom,smem-states = <&smp2p_modem_out 0>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | dragonboard820c.dts | 48 smem { 49 compatible = "qcom,smem";
|
H A D | dragonboard410c.dts | 45 smem { 46 compatible = "qcom,smem";
|
H A D | dragonboard820c-uboot.dtsi | 9 smem {
|
H A D | dragonboard410c-uboot.dtsi | 10 smem {
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-address.h | 160 } smem; member 242 } smem; member
|
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/ |
H A D | packagegroup-meta-oe.bbappend | 15 smem \
|