Home
last modified time | relevance | path

Searched full:smc (Results 1 – 25 of 222) sorted by relevance

123456789

/openbmc/qemu/tests/qtest/
H A Daspeed_smc-test.c30 #include "aspeed-smc-utils.h"
56 qtest_add_data_func("/ast2400/smc/read_jedec", in test_palmetto_bmc()
58 qtest_add_data_func("/ast2400/smc/erase_sector", in test_palmetto_bmc()
60 qtest_add_data_func("/ast2400/smc/erase_all", in test_palmetto_bmc()
62 qtest_add_data_func("/ast2400/smc/write_page", in test_palmetto_bmc()
64 qtest_add_data_func("/ast2400/smc/read_page_mem", in test_palmetto_bmc()
66 qtest_add_data_func("/ast2400/smc/write_page_mem", in test_palmetto_bmc()
68 qtest_add_data_func("/ast2400/smc/read_status_reg", in test_palmetto_bmc()
70 qtest_add_data_func("/ast2400/smc/status_reg_write_protection", in test_palmetto_bmc()
72 qtest_add_data_func("/ast2400/smc/write_block_protect", in test_palmetto_bmc()
[all …]
H A Dast2700-smc-test.c13 #include "aspeed-smc-utils.h"
40 qtest_add_data_func("/ast2700/smc/read_jedec", in test_ast2700_evb()
42 qtest_add_data_func("/ast2700/smc/erase_sector", in test_ast2700_evb()
44 qtest_add_data_func("/ast2700/smc/erase_all", in test_ast2700_evb()
46 qtest_add_data_func("/ast2700/smc/write_page", in test_ast2700_evb()
48 qtest_add_data_func("/ast2700/smc/read_page_mem", in test_ast2700_evb()
50 qtest_add_data_func("/ast2700/smc/write_page_mem", in test_ast2700_evb()
52 qtest_add_data_func("/ast2700/smc/read_status_reg", in test_ast2700_evb()
54 qtest_add_data_func("/ast2700/smc/write_page_qpi", in test_ast2700_evb()
/openbmc/qemu/tests/tcg/s390x/
H A Dprecise-smc-user.c11 extern __uint128_t __attribute__((__aligned__(1))) smc;
16 char *aligned_smc = (char *)((uintptr_t)&smc & ~0xFFFULL); in main()
17 char *smc_end = (char *)&smc + sizeof(smc); in main()
29 "smc: .org . + 6\n" /* pad patched code to 16 bytes */ in main()
30 "0: vstl %[patch],%[idx],%[smc]\n" /* start writing before TB */ in main()
32 : [smc] "=R" (smc) in main()
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dsmc-deassert-log@.service2 Description=%i SMC Deassert
6 ExecStartPre=/bin/systemctl stop smc-assert-log@%i.timer
7 ExecStart=/usr/libexec/phosphor-gpio-monitor/smc-event-logger "deassert" "%i"
8 SyslogIdentifier=%i-smc-deassert
10 Conflicts=smc-assert-log@%i.timer
H A Dsmc-assert-log@.service2 Description=%i SMC Assert
6 ExecStart=/usr/libexec/phosphor-gpio-monitor/smc-event-logger "assert" "%i"
7 SyslogIdentifier=%i-smc-assert
/openbmc/u-boot/board/atmel/at91sam9261ek/
H A Dat91sam9261ek.c36 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in at91sam9261ek_nand_hw_init() local
46 /* Configure SMC CS3 for NAND/SmartMedia */ in at91sam9261ek_nand_hw_init()
50 &smc->cs[3].setup); in at91sam9261ek_nand_hw_init()
53 &smc->cs[3].pulse); in at91sam9261ek_nand_hw_init()
55 &smc->cs[3].cycle); in at91sam9261ek_nand_hw_init()
59 &smc->cs[3].setup); in at91sam9261ek_nand_hw_init()
62 &smc->cs[3].pulse); in at91sam9261ek_nand_hw_init()
64 &smc->cs[3].cycle); in at91sam9261ek_nand_hw_init()
74 &smc->cs[3].mode); in at91sam9261ek_nand_hw_init()
92 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in at91sam9261ek_dm9000_hw_init() local
[all …]
/openbmc/u-boot/include/linux/
H A Darm-smccc.h9 * This file provides common defines for ARM SMC Calling Convention as
59 * struct arm_smccc_res - Result from SMC/HVC call
73 * @a6: Qualcomm quirk entry for returning post-smc call contents of a6
83 * __arm_smccc_smc() - make SMC calls
88 * This function is used to make SMC calls following SMC Calling Convention.
90 * to the SMC instruction. The return values are updated with the content
91 * from register 0 to 3 on return from the SMC instruction. An optional
105 * This function is used to make HVC calls following SMC Calling
/openbmc/u-boot/board/atmel/sama5d3xek/
H A Dsama5d3xek.c32 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in sama5d3xek_nand_hw_init() local
36 /* Configure SMC CS3 for NAND/SmartMedia */ in sama5d3xek_nand_hw_init()
39 &smc->cs[3].setup); in sama5d3xek_nand_hw_init()
42 &smc->cs[3].pulse); in sama5d3xek_nand_hw_init()
44 &smc->cs[3].cycle); in sama5d3xek_nand_hw_init()
48 AT91_SMC_TIMINGS_NFSEL(1), &smc->cs[3].timings); in sama5d3xek_nand_hw_init()
57 &smc->cs[3].mode); in sama5d3xek_nand_hw_init()
64 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in sama5d3xek_nor_hw_init() local
68 /* Configure SMC CS0 for NOR flash */ in sama5d3xek_nor_hw_init()
71 &smc->cs[0].setup); in sama5d3xek_nor_hw_init()
[all …]
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dlowlevel_init.S60 smc 0 @ SMC #0 to enter monitor mode
73 smc 0 @ SMC #0 to enter monitor mode
85 smc 0 @ SMC #0 to enter monitor mode
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/
H A DSMC.events.yaml10 description: The name or identifier of the SMC.
16 A Satellite Management Controller (SMC) has been detected in
29 description: The name or identifier of the SMC.
32 The Satellite Management Controller (SMC) status is restored.
/openbmc/u-boot/arch/arm/mach-at91/include/mach/
H A Dsama5d3_smc.h5 * Static Memory Controllers (SMC) - System peripherals registers.
20 u32 setup; /* 0x600 SMC Setup Register */
21 u32 pulse; /* 0x604 SMC Pulse Register */
22 u32 cycle; /* 0x608 SMC Cycle Register */
23 u32 timings; /* 0x60C SMC Cycle Register */
24 u32 mode; /* 0x610 SMC Mode Register */
H A Dsama5d2_smc.h5 * Static Memory Controllers (SMC) - System peripherals registers.
20 u32 setup; /* 0x600 SMC Setup Register */
21 u32 pulse; /* 0x604 SMC Pulse Register */
22 u32 cycle; /* 0x608 SMC Cycle Register */
23 u32 timings; /* 0x60C SMC Cycle Register */
24 u32 mode; /* 0x610 SMC Mode Register */
H A Dat91sam9_smc.h8 * Static Memory Controllers (SMC) - System peripherals registers.
29 u32 setup; /* 0x00 SMC Setup Register */
30 u32 pulse; /* 0x04 SMC Pulse Register */
31 u32 cycle; /* 0x08 SMC Cycle Register */
32 u32 mode; /* 0x0C SMC Mode Register */
/openbmc/u-boot/board/atmel/at91sam9260ek/
H A Dat91sam9260ek.c27 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in at91sam9260ek_nand_hw_init() local
36 /* Configure SMC CS3 for NAND/SmartMedia */ in at91sam9260ek_nand_hw_init()
39 &smc->cs[3].setup); in at91sam9260ek_nand_hw_init()
42 &smc->cs[3].pulse); in at91sam9260ek_nand_hw_init()
44 &smc->cs[3].cycle); in at91sam9260ek_nand_hw_init()
53 &smc->cs[3].mode); in at91sam9260ek_nand_hw_init()
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dventura-phosphor-multi-gpio-monitor.json493 "FALLING": ["smc-assert-log@wAALC_RPU_READY.service"],
494 "RISING": ["smc-deassert-log@wAALC_RPU_READY.service"],
495 "INIT_LOW": ["smc-assert-log@wAALC_RPU_READY.service"],
496 "INIT_HIGH": ["smc-deassert-log@wAALC_RPU_READY.service"]
505 "FALLING": ["smc-assert-log@RPU_READY_PLD_R.service"],
506 "RISING": ["smc-deassert-log@RPU_READY_PLD_R.service"]
515 "FALLING": ["smc-assert-log@RPU_READY_SPARE_PLD_R.service"],
516 "RISING": ["smc-deassert-log@RPU_READY_SPARE_PLD_R.service"]
525 "FALLING": ["smc-assert-log@RPU_2_READY_PLD_R.service"],
526 "RISING": ["smc-deassert-log@RPU_2_READY_PLD_R.service"]
[all …]
H A Dsmc-assert-log@.service2 Description=%i SMC Assert
6 ExecStart=/usr/libexec/phosphor-gpio-monitor/smc-event-logger "assert" "%i"
7 SyslogIdentifier=%i-smc-assert
H A Dsmc-deassert-log@.service2 Description=%i SMC Deassert
6 ExecStart=/usr/libexec/phosphor-gpio-monitor/smc-event-logger "deassert" "%i"
7 SyslogIdentifier=%i-smc-deassert
/openbmc/u-boot/board/ronetix/pm9261/
H A Dpm9261.c40 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in pm9261_nand_hw_init() local
47 /* Configure SMC CS3 for NAND/SmartMedia */ in pm9261_nand_hw_init()
50 &smc->cs[3].setup); in pm9261_nand_hw_init()
54 &smc->cs[3].pulse); in pm9261_nand_hw_init()
57 &smc->cs[3].cycle); in pm9261_nand_hw_init()
67 &smc->cs[3].mode); in pm9261_nand_hw_init()
87 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in pm9261_dm9000_hw_init() local
89 /* Configure SMC CS2 for DM9000 */ in pm9261_dm9000_hw_init()
92 &smc->cs[2].setup); in pm9261_dm9000_hw_init()
96 &smc->cs[2].pulse); in pm9261_dm9000_hw_init()
[all …]
/openbmc/u-boot/board/atmel/sama5d2_ptc_ek/
H A Dsama5d2_ptc_ek.c30 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in board_nand_hw_init() local
34 /* Configure SMC CS3 for NAND */ in board_nand_hw_init()
37 &smc->cs[3].setup); in board_nand_hw_init()
40 &smc->cs[3].pulse); in board_nand_hw_init()
42 &smc->cs[3].cycle); in board_nand_hw_init()
46 AT91_SMC_TIMINGS_NFSEL(1), &smc->cs[3].timings); in board_nand_hw_init()
51 &smc->cs[3].mode); in board_nand_hw_init()
/openbmc/u-boot/board/atmel/at91sam9n12ek/
H A Dat91sam9n12ek.c34 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in at91sam9n12ek_nand_hw_init() local
48 /* Configure SMC CS3 for NAND/SmartMedia */ in at91sam9n12ek_nand_hw_init()
51 &smc->cs[3].setup); in at91sam9n12ek_nand_hw_init()
54 &smc->cs[3].pulse); in at91sam9n12ek_nand_hw_init()
56 &smc->cs[3].cycle); in at91sam9n12ek_nand_hw_init()
65 &smc->cs[3].mode); in at91sam9n12ek_nand_hw_init()
137 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in at91sam9n12ek_ks8851_hw_init() local
141 &smc->cs[2].setup); in at91sam9n12ek_ks8851_hw_init()
144 &smc->cs[2].pulse); in at91sam9n12ek_ks8851_hw_init()
146 &smc->cs[2].cycle); in at91sam9n12ek_ks8851_hw_init()
[all …]
/openbmc/u-boot/board/calao/usb_a9263/
H A Dusb_a9263.c27 at91_smc_t *smc = (at91_smc_t *)ATMEL_BASE_SMC0; in usb_a9263_nand_hw_init() local
34 /* Configure SMC CS3 for NAND/SmartMedia */ in usb_a9263_nand_hw_init()
37 &smc->cs[3].setup); in usb_a9263_nand_hw_init()
41 &smc->cs[3].pulse); in usb_a9263_nand_hw_init()
44 &smc->cs[3].cycle); in usb_a9263_nand_hw_init()
49 AT91_SMC_MODE_TDF_CYCLE(2), &smc->cs[3].mode); in usb_a9263_nand_hw_init()
/openbmc/u-boot/board/atmel/sama5d3_xplained/
H A Dsama5d3_xplained.c26 struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC; in sama5d3_xplained_nand_hw_init() local
30 /* Configure SMC CS3 for NAND/SmartMedia */ in sama5d3_xplained_nand_hw_init()
33 &smc->cs[3].setup); in sama5d3_xplained_nand_hw_init()
36 &smc->cs[3].pulse); in sama5d3_xplained_nand_hw_init()
38 &smc->cs[3].cycle); in sama5d3_xplained_nand_hw_init()
42 AT91_SMC_TIMINGS_NFSEL(1), &smc->cs[3].timings); in sama5d3_xplained_nand_hw_init()
51 &smc->cs[3].mode); in sama5d3_xplained_nand_hw_init()
/openbmc/openbmc/meta-ampere/meta-jade/recipes-ampere/platform/ampere-utils/
H A Dampere_flash_bios.sh23 # Check the ASpeed SMC driver bound before
24 HOST_SPI=/sys/bus/platform/drivers/spi-aspeed-smc/1e630000.spi
26 echo "Unbind the ASpeed SMC driver"
27 echo 1e630000.spi > /sys/bus/platform/drivers/spi-aspeed-smc/unbind
32 echo "--- Bind the ASpeed SMC driver"
33 echo 1e630000.spi > /sys/bus/platform/drivers/spi-aspeed-smc/bind
/openbmc/u-boot/drivers/tee/optee/
H A Doptee_smc.h26 * Function specified by SMC Calling convention.
47 * Function specified by SMC Calling convention
61 * Function specified by SMC Calling convention
118 * a0 SMC Function ID, OPTEE_SMC*CALL_WITH_ARG
165 * a0 SMC Function ID, OPTEE_SMC_GET_SHM_CONFIG
197 * a0 SMC Function ID, OPTEE_SMC_EXCHANGE_CAPABILITIES
246 * a0 SMC Function ID, OPTEE_SMC_DISABLE_SHM_CACHE
284 * a0 SMC Function ID, OPTEE_SMC_ENABLE_SHM_CACHE
304 * a0 SMC Function ID, OPTEE_SMC_CALL_RETURN_FROM_RPC
347 * a0 SMC Function ID, OPTEE_SMC_CALL_RETURN_FROM_RPC.
[all …]
/openbmc/u-boot/doc/device-tree-bindings/firmware/
H A Dlinaro,optee-tz.txt17 "smc" : SMC #0, with the register assignments specified
29 method = "smc";

123456789