Home
last modified time | relevance | path

Searched full:smi (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dmediatek,smi-common.yaml5 $id: http://devicetree.org/schemas/memory-controllers/mediatek,smi-common.yaml#
8 title: SMI (Smart Multimedia Interface) Common
16 MediaTek SMI have two generations of HW architecture, here is the list
21 There's slight differences between the two SMI, for generation 2, the
23 for generation 1, the register is at smi ao base(smi always on register
24 base). Besides that, the smi async clock should be prepared and enabled for
25 SMI generation 1 to transform the smi clock into emi clock domain, but that is
26 not needed for SMI generation 2.
32 - mediatek,mt2701-smi-common
33 - mediatek,mt2712-smi-common
[all …]
H A Dmediatek,smi-larb.yaml5 $id: http://devicetree.org/schemas/memory-controllers/mediatek,smi-larb.yaml#
8 title: SMI (Smart Multimedia Interface) Local Arbiter
20 - mediatek,mt2701-smi-larb
21 - mediatek,mt2712-smi-larb
22 - mediatek,mt6779-smi-larb
23 - mediatek,mt6795-smi-larb
24 - mediatek,mt8167-smi-larb
25 - mediatek,mt8173-smi-larb
26 - mediatek,mt8183-smi-larb
27 - mediatek,mt8186-smi-larb
[all …]
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_powernv.c38 struct ipmi_smi_powernv *smi = send_info; in ipmi_powernv_start_processing() local
40 smi->intf = intf; in ipmi_powernv_start_processing()
44 static void send_error_reply(struct ipmi_smi_powernv *smi, in send_error_reply() argument
51 ipmi_smi_msg_received(smi->intf, msg); in send_error_reply()
56 struct ipmi_smi_powernv *smi = send_info; in ipmi_powernv_send() local
74 spin_lock_irqsave(&smi->msg_lock, flags); in ipmi_powernv_send()
76 if (smi->cur_msg) { in ipmi_powernv_send()
82 opal_msg = smi->opal_msg; in ipmi_powernv_send()
93 smi->interface_id, opal_msg, size); in ipmi_powernv_send()
94 rc = opal_ipmi_send(smi->interface_id, opal_msg, size); in ipmi_powernv_send()
[all …]
H A Dipmi_si_sm.h28 /* Results of SMI events. */
44 /* Handlers for the SMI state machine. */
56 unsigned int (*init_data)(struct si_sm_data *smi,
65 int (*start_transaction)(struct si_sm_data *smi,
73 int (*get_result)(struct si_sm_data *smi,
84 enum si_sm_result (*event)(struct si_sm_data *smi, long time);
87 * Attempt to detect an SMI. Returns 0 on success or nonzero
90 int (*detect)(struct si_sm_data *smi);
93 void (*cleanup)(struct si_sm_data *smi);
95 /* Return the size of the SMI structure in bytes. */
/openbmc/linux/drivers/platform/x86/
H A Dserial-multi-instantiate.c43 struct smi { struct
84 static void smi_devs_unregister(struct smi *smi) in smi_devs_unregister() argument
86 while (smi->i2c_num--) in smi_devs_unregister()
87 i2c_unregister_device(smi->i2c_devs[smi->i2c_num]); in smi_devs_unregister()
89 while (smi->spi_num--) in smi_devs_unregister()
90 spi_unregister_device(smi->spi_devs[smi->spi_num]); in smi_devs_unregister()
96 * @smi: Internal struct for Serial multi instantiate driver
101 static int smi_spi_probe(struct platform_device *pdev, struct smi *smi, in smi_spi_probe() argument
119 smi->spi_devs = devm_kcalloc(dev, count, sizeof(*smi->spi_devs), GFP_KERNEL); in smi_spi_probe()
120 if (!smi->spi_devs) in smi_spi_probe()
[all …]
/openbmc/linux/drivers/watchdog/
H A DiTCO_vendor_support.c47 "0 (none), 1=SuperMicro Pent3, 911=Broken SMI BIOS");
62 * BIOS setup -> Power -> TCO Logic SMI Enable -> Within5Minutes
63 * This setting enables SMI to clear the watchdog expired flag.
64 * If BIOS or CPU fail which may cause SMI hang, then system will
66 * application has to take over the control from SMI.
81 /* Bit 13: TCO_EN -> 0 = Disables TCO logic generating an SMI# */ in supermicro_old_pre_start()
83 val32 &= 0xffffdfff; /* Turn off SMI clearing watchdog */ in supermicro_old_pre_start()
91 /* Bit 13: TCO_EN -> 1 = Enables the TCO logic to generate SMI# */ in supermicro_old_pre_stop()
93 val32 |= 0x00002000; /* Turn on SMI clearing watchdog */ in supermicro_old_pre_stop()
103 * the SMI handler clear's the TIMEOUT bit in the TC01_STS register
[all …]
/openbmc/linux/drivers/memory/
H A Dmtk-smi.c19 #include <soc/mediatek/smi.h>
23 /* SMI COMMON */
39 /* SMI LARB */
104 MTK_SMI_GEN2, /* gen2 smi common */
105 MTK_SMI_GEN2_SUB_COMM, /* gen2 smi sub common */
108 /* larbs: Require apb/smi clocks while gals is optional. */
109 static const char * const mtk_smi_larb_clks[] = {"apb", "smi", "gals"};
114 * common: Require these four clocks in has_gals case. Otherwise, only apb/smi are required.
115 * sub common: Require apb/smi/gals0 clocks in has_gals case. Otherwise, only apb/smi are required.
117 static const char * const mtk_smi_common_clks[] = {"apb", "smi", "gals0", "gals1"};
[all …]
/openbmc/linux/Documentation/driver-api/
H A Ddcdbas.rst28 management information via a system management interrupt (SMI). The SMI data
30 buffer is required for the SMI. The driver maintains the memory required for
31 the SMI and provides a way for the application to generate the SMI.
41 a SMI using this driver:
45 3) Write "1" to smi_request to generate a calling interface SMI or
46 "2" to generate a raw SMI.
57 a driver perform a SMI after the OS has finished shutting down.
71 2) Write type of SMI that driver needs to perform to host_control_smi_type.
74 (Driver will perform host control SMI when it is notified that the OS
78 Host Control SMI Type
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_cmd_parser.c207 #define SMI STD_MI_OPCODE_SHIFT macro
220 CMD( MI_NOOP, SMI, F, 1, S ),
221 CMD( MI_USER_INTERRUPT, SMI, F, 1, R ),
222 CMD( MI_WAIT_FOR_EVENT, SMI, F, 1, R ),
223 CMD( MI_ARB_CHECK, SMI, F, 1, S ),
224 CMD( MI_REPORT_HEAD, SMI, F, 1, S ),
225 CMD( MI_SUSPEND_FLUSH, SMI, F, 1, S ),
226 CMD( MI_SEMAPHORE_MBOX, SMI, !F, 0xFF, R ),
227 CMD( MI_STORE_DWORD_INDEX, SMI, !F, 0xFF, R ),
228 CMD( MI_LOAD_REGISTER_IMM(1), SMI, !F, 0xFF, W,
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Dspear_smi.txt1 * SPEAr SMI
4 - compatible : "st,spear600-smi"
9 - clock-rate : Functional clock rate of SMI in Hz
12 - st,smi-fast-mode : Flash supports read in fast mode
16 smi: flash@fc000000 {
17 compatible = "st,spear600-smi";
26 st,smi-fast-mode;
/openbmc/linux/arch/arm/boot/dts/mediatek/
H A Dmt7623n.dtsi60 compatible = "mediatek,mt7623-smi-larb",
61 "mediatek,mt2701-smi-larb";
63 mediatek,smi = <&smi_common>;
67 clock-names = "apb", "smi";
72 compatible = "mediatek,mt7623-smi-larb",
73 "mediatek,mt2701-smi-larb";
75 mediatek,smi = <&smi_common>;
79 clock-names = "apb", "smi";
84 compatible = "mediatek,mt7623-smi-larb",
85 "mediatek,mt2701-smi-larb";
[all …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8167.dtsi133 smi_common: smi@14017000 {
134 compatible = "mediatek,mt8167-smi-common";
138 clock-names = "apb", "smi";
143 compatible = "mediatek,mt8167-smi-larb";
145 mediatek,smi = <&smi_common>;
148 clock-names = "apb", "smi";
153 compatible = "mediatek,mt8167-smi-larb";
155 mediatek,smi = <&smi_common>;
158 clock-names = "apb", "smi";
163 compatible = "mediatek,mt8167-smi-larb";
[all …]
H A Dmt8195.dtsi1975 smi_sub_common_vpp0_vpp1_2x1: smi@14010000 {
1976 compatible = "mediatek,mt8195-smi-sub-common";
1981 clock-names = "apb", "smi", "gals0";
1982 mediatek,smi = <&smi_common_vpp>;
1986 smi_sub_common_vdec_vpp0_2x1: smi@14011000 {
1987 compatible = "mediatek,mt8195-smi-sub-common";
1992 clock-names = "apb", "smi", "gals0";
1993 mediatek,smi = <&smi_common_vpp>;
1997 smi_common_vpp: smi@14012000 {
1998 compatible = "mediatek,mt8195-smi-common-vpp";
[all …]
H A Dmt8186.dtsi987 "subsys-smi-infra",
988 "subsys-smi-common",
989 "subsys-smi-gals",
990 "subsys-smi-iommu";
1060 "subsys-ipe-smi",
1743 smi_common: smi@14002000 {
1744 compatible = "mediatek,mt8186-smi-common";
1748 clock-names = "apb", "smi", "gals0", "gals1";
1752 larb0: smi@14003000 {
1753 compatible = "mediatek,mt8186-smi-larb";
[all …]
H A Dmt2712e.dtsi1001 compatible = "mediatek,mt2712-smi-larb";
1003 mediatek,smi = <&smi_common0>;
1008 clock-names = "apb", "smi";
1011 smi_common0: smi@14022000 {
1012 compatible = "mediatek,mt2712-smi-common";
1017 clock-names = "apb", "smi";
1021 compatible = "mediatek,mt2712-smi-larb";
1023 mediatek,smi = <&smi_common1>;
1028 clock-names = "apb", "smi";
1032 compatible = "mediatek,mt2712-smi-larb";
[all …]
H A Dmt8192.dtsi1421 smi_common: smi@14002000 {
1422 compatible = "mediatek,mt8192-smi-common";
1428 clock-names = "apb", "smi", "gals0", "gals1";
1433 compatible = "mediatek,mt8192-smi-larb";
1436 mediatek,smi = <&smi_common>;
1438 clock-names = "apb", "smi";
1443 compatible = "mediatek,mt8192-smi-larb";
1446 mediatek,smi = <&smi_common>;
1448 clock-names = "apb", "smi";
1619 compatible = "mediatek,mt8192-smi-larb";
[all …]
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dsmi.c3 * Marvell 88E6xxx System Management Interface (SMI) support
11 #include "smi.h"
13 /* The switch ADDR[4:1] configuration pins define the chip SMI device address
14 * (ADDR[0] is always zero, thus only even SMI addresses can be strapped).
17 * is the only device connected to the SMI master. In this mode it responds to
18 * all 32 possible SMI addresses, and thus maps directly the internal devices.
21 * multiple devices to share the SMI interface. In this mode it responds to only
22 * 2 registers, used to indirectly access the internal SMI devices.
25 * configuration, and the device responds to 16 of the 32 SMI
26 * addresses, allowing two to coexist on the same SMI interface.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iommu/
H A Dmediatek,iommu.yaml33 SMI Common(Smart Multimedia Interface Common)
42 SMI larb0 SMI larb1 ... SoCs have several SMI local arbiter(larb).
52 As above, The Multimedia HW will go through SMI and M4U while it
53 access EMI. SMI is a bridge between m4u and the Multimedia HW. It contain
54 smi local arbiter and smi common. It will control whether the Multimedia
56 directly with EMI. And also SMI help control the power domain and clocks for
65 smi-common and m4u, and additional GALS module between smi-larb and
66 smi-common. GALS can been seen as a "asynchronous fifo" which could help
121 Refer to bindings/memory-controllers/mediatek,smi-larb.yaml. It must sort
/openbmc/openbmc-test-automation/lib/snmp/
H A Dredfish_snmp_utils.robot220 # SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.49871.1.0.0.1
221 …# SNMPv2-SMI::enterprises.49871.1.0.1.1 = Gauge32: 369 SNMPv2-SMI::enterprises.49871.1.0.1.2 =…
222 # UInt64: 1397718405502468474 SNMPv2-SMI::enterprises.49871.1.0.1.3 = INTEGER: 3
223 # SNMPv2-SMI::enterprises.49871.1.0.1.4 = STRING: "xxx.xx.xx Failure"
244 …Should Be Equal ${snmp_trap}[1] SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.49871.1…
245 Should Match Regexp ${snmp_trap}[2] SNMPv2-SMI::enterprises.49871.1.0.1.1 = Gauge32: \[0-9]*
246 …Should Match Regexp ${snmp_trap}[3] SNMPv2-SMI::enterprises.49871.1.0.1.2 = Opaque: UInt64: \[0-…
247 Should Match Regexp ${snmp_trap}[4] SNMPv2-SMI::enterprises.49871.1.0.1.3 = INTEGER: \[0-9]
248 …Should Be Equal ${snmp_trap}[5] SNMPv2-SMI::enterprises.49871.1.0.1.4 = STRING: "${expected_erro…
291 # SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.49871.1.0.0.1
[all …]
/openbmc/linux/drivers/mtd/devices/
H A Dspear_smi.c2 * SMI (Serial Memory Controller) device driver for Serial NOR Flash on
5 * interface has been replaced by SMI.
40 /* SMI clock rate */
50 /* registers of smi */
51 #define SMI_CR1 0x0 /* SMI control register 1 */
52 #define SMI_CR2 0x4 /* SMI control register 2 */
53 #define SMI_SR 0x8 /* SMI status register */
54 #define SMI_TR 0xC /* SMI transmit register */
55 #define SMI_RR 0x10 /* SMI receive register */
157 * struct spear_smi - Structure for SMI Device
[all …]
/openbmc/u-boot/drivers/mtd/
H A Dst_smi.c129 * flash_get_size - Detect the SMI flash by reading the ID.
133 * Detect the SMI flash by reading the ID. Initializes the flash_info structure
166 * smi_read_sr - Read status register of SMI
179 /* Program SMI in HW Mode */ in smi_read_sr()
222 printf("SMI controller is still in wait, timeout=%d\n", timeout); in smi_wait_till_ready()
243 /* Program SMI in H/W Mode */ in smi_write_enable()
269 * smi_init - SMI initialization routine
271 * SMI initialization routine. Sets SMI control register1.
275 /* Setting the fast mode values. SMI working at 166/4 = 41.5 MHz */ in smi_init()
324 /* Put SMI in SW mode */ in smi_sector_erase()
[all …]
/openbmc/linux/drivers/platform/x86/dell/
H A Ddcdbas.c89 * smi_data_buf_free: free SMI data buffer
100 * smi_data_buf_realloc: grow SMI data buffer if needed
154 /* make sure SMI data buffer is at least buf_size */ in smi_data_buf_size_store()
263 /* generate SMI */ in raise_smi()
264 /* inb to force posted write through and make SMI happen now */ in raise_smi()
279 * dcdbas_smi_request: generate SMI request
293 /* SMI requires CPU 0 */ in dcdbas_smi_request()
306 * 0: zero SMI data buffer
307 * 1: generate calling interface SMI
308 * 2: generate raw SMI
[all …]
/openbmc/u-boot/doc/device-tree-bindings/misc/
H A Dintel-lpc.txt9 - intel,alt-gp-smi-enable : Enable SMI sources. This cell is written to the
18 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
56 * 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is
62 /* Enable EC SMI source */
63 intel,alt-gp-smi-enable = <0x0100>;
/openbmc/openbmc-test-automation/redfish/events/
H A Dtest_bmc_snmp_config.robot207 …Should Be Equal ${SNMP_TRAP}[1] SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.49871.1…
208 Should Match Regexp ${SNMP_TRAP}[2] SNMPv2-SMI::enterprises.49871.1.0.1.1 = Gauge32: \[0-9]*
209 …Should Match Regexp ${SNMP_TRAP}[3] SNMPv2-SMI::enterprises.49871.1.0.1.2 = Opaque: UInt64: \[0-…
210 Should Match Regexp ${SNMP_TRAP}[4] SNMPv2-SMI::enterprises.49871.1.0.1.3 = INTEGER: \[0-9]
211 …Should Be Equal ${SNMP_TRAP}[5] SNMPv2-SMI::enterprises.49871.1.0.1.4 = STRING: "${expected_erro…
233 # SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.49871.1.0.0.1
234 # SNMPv2-SMI::enterprises.49871.1.0.1.1 = Gauge32: 54
235 # SNMPv2-SMI::enterprises.49871.1.0.1.2 = Opaque: UInt64: 4622921648578756984
236 # SNMPv2-SMI::enterprises.49871.1.0.1.3 = INTEGER: 3
237 # SNMPv2-SMI::enterprises.49871.1.0.1.4 = STRING:
/openbmc/linux/drivers/mmc/host/
H A Dcavium.c301 struct sg_mapping_iter *smi = &host->smi; in do_read() local
310 if (smi->consumed >= smi->length) { in do_read()
311 if (!sg_miter_next(smi)) in do_read()
313 smi->consumed = 0; in do_read()
321 while (smi->consumed < smi->length && shift >= 0) { in do_read()
322 ((u8 *)smi->addr)[smi->consumed] = (dat >> shift) & 0xff; in do_read()
324 smi->consumed++; in do_read()
329 sg_miter_stop(smi); in do_read()
709 sg_miter_start(&host->smi, mrq->data->sg, mrq->data->sg_len, in do_read_request()
716 struct sg_mapping_iter *smi = &host->smi; in do_write_request() local
[all …]

12345678910>>...16