Home
last modified time | relevance | path

Searched full:fsi (Results 1 – 25 of 220) sorted by relevance

123456789

/openbmc/linux/sound/soc/sh/
H A Dfsi.c3 // Fifo-attached Serial Interface (FSI) support for SH7724
47 /* core register (depend on FSI version) */
152 * FSI driver use below type name for variable
177 * FSI FIFO image
189 * FSI clock
207 int fifo_sample_capa; /* sample capacity of FSI FIFO */
235 /* see [FSI clock] */
241 struct fsi_priv *fsi);
269 int (*init)(struct fsi_priv *fsi, struct fsi_stream *io);
270 int (*quit)(struct fsi_priv *fsi, struct fsi_stream *io);
[all …]
/openbmc/linux/Documentation/devicetree/bindings/fsi/
H A Dfsi.txt1 FSI bus & engine generic device tree bindings
4 The FSI bus is probe-able, so the OS is able to enumerate FSI slaves, and
6 nodes to probed engines. This allows for fsi engines to expose non-probeable
7 busses, which are then exposed by the device tree. For example, an FSI engine
11 FSI masters may require their own DT nodes (to describe the master HW itself);
13 the fsi-master-* binding specifications.
16 represent the FSI slaves and their slave engines. As a basic outline:
18 fsi-master {
19 /* top-level of FSI bus topology, bound to an FSI master driver and
20 * exposes an FSI bus */
[all …]
H A Dfsi-master-aspeed.txt1 Device-tree bindings for AST2600 FSI master
4 The AST2600 contains two identical FSI masters. They share a clock and have a
8 - compatible: "aspeed,ast2600-fsi-master"
18 - fsi-routing-gpios: GPIO for setting the FSI mux (internal or cabled)
19 - fsi-mux-gpios: GPIO for detecting the desired FSI mux state
24 fsi-master {
25 compatible = "aspeed,ast2600-fsi-master", "fsi-master";
32 fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>;
33 fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>;
H A Dibm,i2cr-fsi-master.yaml4 $id: http://devicetree.org/schemas/fsi/ibm,i2cr-fsi-master.yaml#
7 title: IBM I2C Responder virtual FSI master
13 The I2C Responder (I2CR) is a an I2C device that's connected to an FSI CFAM
14 (see fsi.txt). The I2CR translates I2C bus operations to FSI CFAM reads and
15 writes or SCOM operations, thereby acting as an FSI master.
20 - ibm,i2cr-fsi-master
38 compatible = "ibm,i2cr-fsi-master";
H A Dfsi-master-ast-cf.txt1 Device-tree bindings for ColdFire offloaded gpio-based FSI master driver
6 "aspeed,ast2400-cf-fsi-master" for an AST2400 based system
8 "aspeed,ast2500-cf-fsi-master" for an AST2500 based system
10 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock
11 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal
15 functions (eg, external FSI masters)
24 fsi-master {
25 compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
H A Dfsi-master-gpio.txt1 Device-tree bindings for gpio-based FSI master driver
5 - compatible = "fsi-master-gpio";
6 - clock-gpios = <gpio-descriptor>; : GPIO for FSI clock
7 - data-gpios = <gpio-descriptor>; : GPIO for FSI data signal
13 functions (eg, external FSI masters)
21 fsi-master {
22 compatible = "fsi-master-gpio", "fsi-master";
H A Dibm,fsi2spi.yaml4 $id: http://devicetree.org/schemas/fsi/ibm,fsi2spi.yaml#
7 title: IBM FSI-attached SPI controllers
13 This binding describes an FSI CFAM engine called the FSI2SPI. Therefore this
14 node will always be a child of an FSI CFAM node; see fsi.txt for details on
15 FSI slave and CFAM nodes. This FSI2SPI engine provides access to a number of
25 - description: FSI slave address
/openbmc/linux/drivers/fsi/
H A DKconfig3 # FSI subsystem
6 menuconfig FSI config
7 tristate "FSI support"
11 FSI - the FRU Support Interface - is a simple bus for low-level
14 if FSI
17 bool "Create '/dev/fsi' directory for char devices"
20 This option causes char devices created for FSI devices to be
21 located under a common /dev/fsi/ directory. Set to N unless your
29 symlinks in /dev/fsi/by-path when this option is enabled.
32 tristate "GPIO-based FSI master"
[all …]
H A DMakefile3 obj-$(CONFIG_FSI) += fsi-core.o
4 obj-$(CONFIG_FSI_MASTER_HUB) += fsi-master-hub.o
5 obj-$(CONFIG_FSI_MASTER_ASPEED) += fsi-master-aspeed.o
6 obj-$(CONFIG_FSI_MASTER_GPIO) += fsi-master-gpio.o
7 obj-$(CONFIG_FSI_MASTER_I2CR) += fsi-master-i2cr.o
8 obj-$(CONFIG_FSI_MASTER_AST_CF) += fsi-master-ast-cf.o
9 obj-$(CONFIG_FSI_SCOM) += fsi-scom.o
10 obj-$(CONFIG_FSI_SBEFIFO) += fsi-sbefifo.o
11 obj-$(CONFIG_FSI_OCC) += fsi-occ.o
/openbmc/phosphor-logging/test/openpower-pels/
H A Ddevice_callouts_test.cpp34 // "FSI":
35 // "<fsi link>":
38 // "FSI-I2C":
39 // "<fsi link>":
44 // "FSI-SPI":
45 // "<fsi link>":
120 "FSI":
146 "FSI-I2C":
187 "FSI-SPI":
329 // FSI in TEST_F()
[all …]
/openbmc/qemu/docs/specs/
H A Dfsi.rst2 IBM's Flexible Service Interface (FSI)
5 The QEMU FSI emulation implements hardware interfaces between ASPEED SOC, FSI
8 FSI is a point-to-point two wire interface which is capable of supporting
9 distances of up to 4 meters. FSI interfaces have been used successfully for
13 FSI allows a service processor access to the internal buses of a host POWER
14 processor to perform configuration or debugging. FSI has long existed in POWER
19 for the implementation are: (see the `FSI specification`_ for more details)
27 2. The FSI slave: The slave is the terminal point of the FSI bus for FSI
32 3. The FSI master: A controller in the platform service processor (e.g. BMC)
34 FSI is a bit-based protocol supporting synchronous and DMA-driven accesses
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-fsi1 What: /sys/bus/platform/devices/../fsi-master/fsi0/rescan
4 Contact: linux-fsi@lists.ozlabs.org
6 Initiates a FSI master scan for all connected slave devices
9 What: /sys/bus/platform/devices/../fsi-master/fsi0/break
12 Contact: linux-fsi@lists.ozlabs.org
14 Sends an FSI BREAK command on a master's communication
19 What: /sys/bus/platform/devices/../fsi-master/fsi0/slave@00:00/term
22 Contact: linux-fsi@lists.ozlabs.org
24 Sends an FSI terminate command from the master to its
32 What: /sys/bus/platform/devices/../fsi-master/fsi0/slave@00:00/raw
[all …]
/openbmc/u-boot/cmd/
H A Dfsi.c7 struct fsi_master_aspeed *fsi; variable
12 aspeed_fsi_break(fsi, 0); in do_break()
18 aspeed_fsi_status(fsi); in do_status()
34 rc = aspeed_fsi_read(fsi, 0, addr, &val, 4); in do_getcfam()
57 rc = aspeed_fsi_write(fsi, 0, addr, &val, 4); in do_putcfam()
68 rc = aspeed_fsi_divisor(fsi, 0); in do_divisor()
73 rc = aspeed_fsi_divisor(fsi, val); in do_divisor()
86 const char *devices[] = {"fsi@1e79b000", "fsi@1e79b100"}; in do_probe()
106 printf("fsi device %s not found\n", devices[id]); in do_probe()
117 fsi = do_probe(argc, argv); in do_fsi()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-fsi.c3 * FSI-attached I2C master algorithm
18 #include <linux/fsi.h>
149 struct fsi_device *fsi; member
163 static int fsi_i2c_read_reg(struct fsi_device *fsi, unsigned int reg, in fsi_i2c_read_reg() argument
169 rc = fsi_device_read(fsi, reg, &data_be, sizeof(data_be)); in fsi_i2c_read_reg()
178 static int fsi_i2c_write_reg(struct fsi_device *fsi, unsigned int reg, in fsi_i2c_write_reg() argument
183 return fsi_device_write(fsi, reg, &data_be, sizeof(data_be)); in fsi_i2c_write_reg()
193 rc = fsi_i2c_write_reg(i2c->fsi, I2C_FSI_INT_MASK, &interrupt); in fsi_i2c_dev_init()
198 rc = fsi_i2c_write_reg(i2c->fsi, I2C_FSI_MODE, &mode); in fsi_i2c_dev_init()
202 rc = fsi_i2c_read_reg(i2c->fsi, I2C_FSI_ESTAT, &extended_status); in fsi_i2c_dev_init()
[all …]
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Dibm-power11-quad.dtsi143 compatible = "ibm,i2c-fsi";
153 fsi@20 {
154 compatible = "ibm,i2cr-fsi-master";
183 fsi@20 {
184 compatible = "ibm,i2cr-fsi-master";
213 fsi@20 {
214 compatible = "ibm,i2cr-fsi-master";
243 fsi@20 {
244 compatible = "ibm,i2cr-fsi-master";
273 fsi@20 {
[all …]
/openbmc/linux/fs/devpts/
H A Dinode.c150 struct vfsmount *devpts_mntget(struct file *filp, struct pts_fs_info *fsi) in devpts_mntget() argument
167 (DEVPTS_SB(path.mnt->mnt_sb) != fsi)) in devpts_mntget()
171 if (DEVPTS_SB(path.mnt->mnt_sb) == fsi) in devpts_mntget()
213 void devpts_release(struct pts_fs_info *fsi) in devpts_release() argument
215 deactivate_super(fsi->sb); in devpts_release()
311 struct pts_fs_info *fsi = DEVPTS_SB(sb); in mknod_ptmx() local
312 struct pts_mount_opts *opts = &fsi->mount_opts; in mknod_ptmx()
319 if (fsi->ptmx_dentry) { in mknod_ptmx()
350 fsi->ptmx_dentry = dentry; in mknod_ptmx()
357 static void update_ptmx_mode(struct pts_fs_info *fsi) in update_ptmx_mode() argument
[all …]
/openbmc/openpower-proc-control/procedures/openfsi/
H A Dscan.cpp18 #include <org/open_power/Proc/FSI/error.hpp>
31 namespace fsi_error = sdbusplus::org::open_power::Proc::FSI::Error;
33 constexpr auto masterScanPath = "/sys/class/fsi-master/fsi0/rescan";
34 constexpr auto hubScanPath = "/sys/class/fsi-master/fsi1/rescan";
35 constexpr auto masterCalloutPath = "/sys/class/fsi-master/fsi0/slave@00:00/raw";
39 * the device driver to do an FSI scan.
63 * Performs an FSI master scan followed by an FSI hub scan.
70 // Note: Currently the FSI device driver will always return success on both in scan()
83 log<level::ERR>("Failed to run the FSI master scan"); in scan()
85 using metadata = org::open_power::Proc::FSI::MasterDetectionFailure; in scan()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Ddevice_callouts.hpp23 * * FSI
24 * * FSI-I2C
25 * * FSI-SPI
43 * "FSI":
44 * "<fsi link>":
50 * "FSI-I2C":
51 * "<fsi link>":
59 * "FSI-SPI":
60 * "<fsi link>":
129 fsi, enumerator
[all …]
H A Ddevice_callouts.cpp149 std::string msg = "Could not get FSI links from " + devPath; in getFSISearchKeys()
162 // This combines the FSI and i2C search keys in getFSII2CSearchKeys()
194 // Combine the FSI and SPI search keys. in getFSISPISearchKeys()
323 * @brief Looks up the callouts in the JSON for this FSI path.
337 const auto& callouts = calloutJSON.at("FSI").at(links).at("Callouts"); in calloutFSI()
340 calloutJSON.at("FSI").at(links).at("Dest").get<std::string>(); in calloutFSI()
342 std::string msg = "FSI: links: " + links + " dest: " + dest; in calloutFSI()
348 std::string msg = "Problem looking up FSI callouts on " + links + ": " + in calloutFSI()
355 * @brief Looks up the callouts in the JSON for this FSI-I2C path.
374 auto& callouts = calloutJSON.at("FSI-I2C") in calloutFSII2C()
[all …]
/openbmc/openbmc-test-automation/openpower/
H A Dtest_bmc_devicetree.robot71 Check BMC FSI Name Property Is Set
72 [Documentation] Verify if the BMC FSI name property is populated.
77 gpio-fsi/name
80 Check BMC FSI Compatible Property Is Set
81 [Documentation] Verify if the BMC FSI compatible property is populated.
86 gpio-fsi/compatible
89 Check BMC GPIO FSI Name Property Is Set
90 [Documentation] Verify if the BMC GPIO-FSI name property is populated.
95 gpio-fsi/name
98 Check BMC GPIO FSI Compatible Property Is Set
[all …]
/openbmc/linux/security/selinux/
H A Dselinuxfs.c85 struct selinux_fs_info *fsi; in selinux_fs_info_create() local
87 fsi = kzalloc(sizeof(*fsi), GFP_KERNEL); in selinux_fs_info_create()
88 if (!fsi) in selinux_fs_info_create()
91 fsi->last_ino = SEL_INO_NEXT - 1; in selinux_fs_info_create()
92 fsi->sb = sb; in selinux_fs_info_create()
93 sb->s_fs_info = fsi; in selinux_fs_info_create()
99 struct selinux_fs_info *fsi = sb->s_fs_info; in selinux_fs_info_free() local
102 if (fsi) { in selinux_fs_info_free()
103 for (i = 0; i < fsi->bool_num; i++) in selinux_fs_info_free()
104 kfree(fsi->bool_pending_names[i]); in selinux_fs_info_free()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Drenesas,fsi.yaml4 $id: http://devicetree.org/schemas/sound/renesas,fsi.yaml#
7 title: Renesas FIFO-buffered Serial Interface (FSI)
50 "^fsi(a|b),spdif-connection$":
52 description: FSI is connected by S/PDIF
54 "^fsi(a|b),stream-mode-support$":
56 description: FSI supports 16bit stream mode
58 "^fsi(a|b),use-internal-clock$":
60 description: FSI uses internal clock when master mode
/openbmc/phosphor-mrw-tools/
H A Dgen_path_callouts.pl6 # supports I2C, FSI, SPI, FSI-I2C, and FSI-SPI devices. The output is a JSON
8 # type. I2c uses a bus and address, FSI uses a link, and SPI uses a bus
9 # number. If FSI is combined with I2C or SPI, then the link plus the I2C/SPI
10 # keys is used. Multi-hop FSI links are indicated by a dash in between the
14 # "FSI":
116 # FSICallout object for FSI callouts
122 my $self = $class->SUPER::new("FSI", $_[1], $_[2], $_[3]);
152 # FSII2CCallout object for FSI-I2C callouts
162 my $self = $class->SUPER::new("FSI-I2C", $_[1], $_[2], $_[3]);
187 #FSISPICallout object for FSI-SPI callouts
[all …]
/openbmc/linux/include/trace/events/
H A Dfsi_master_gpio.h24 TP_printk("fsi-gpio%d => %0*llx[%d]",
45 TP_printk("fsi-gpio%d <= %0*llx[%d]",
64 TP_printk("fsi-gpio%d clock %d zeros",
78 TP_printk("fsi-gpio%d ----break---",
92 TP_printk("fsi-gpio%d ----CRC command retry---",
106 TP_printk("fsi-gpio%d ----CRC response---",
122 TP_printk("fsi-gpio%d: device reported busy %d times",
137 TP_printk("fsi-gpio%d: Sending ABS_ADR %06x",
152 TP_printk("fsi-gpio%d: Sending REL_ADR %03x",
165 TP_printk("fsi-gpio%d: Sending SAME_ADR",
/openbmc/openbmc/meta-openpower/recipes-phosphor/fsi/
H A Dop-fsi.bb1 SUMMARY = "FSI Services"
2 DESCRIPTION = "Install FSI related services"
17 TMPL_SCAN = "fsi-scan@.service"
18 INSTFMT_SCAN = "fsi-scan@{0}.service"
22 SYSTEMD_SERVICE:${PN} += "${TMPL_SCAN} fsi-enable.service fsi-disable.service"

123456789