Home
last modified time | relevance | path

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

123

/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 Daspeed,ast2600-fsi-master.yaml4 $id: http://devicetree.org/schemas/fsi/aspeed,ast2600-fsi-master.yaml#
7 title: Aspeed FSI master
13 The AST2600 and later contain two identical FSI masters. They share a
19 - aspeed,ast2600-fsi-master
20 - aspeed,ast2700-fsi-master
30 fsi-routing-gpios:
33 Output GPIO pin for setting the FSI mux (internal or cabled)
35 fsi-mux-gpios:
38 Input GPIO pin for detecting the desired FSI mux state
48 - aspeed,ast2600-fsi-master
[all …]
H A Dibm,p9-fsi-controller.yaml4 $id: http://devicetree.org/schemas/fsi/ibm,p9-fsi-controller.yaml#
7 title: IBM FSI-attached FSI Hub Controller
13 The FSI Hub Controller is an FSI controller, providing a number of FSI links,
14 located on a CFAM. Therefore this node will always be a child of an FSI CFAM
20 - ibm,p9-fsi-controller
24 - description: FSI slave address
27 - $ref: fsi-controller.yaml#
33 fsi@3400 {
34 compatible = "ibm,p9-fsi-controller";
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
30 - $ref: fsi-controller.yaml#
41 compatible = "ibm,i2cr-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. This FSI2SPI engine provides
24 - description: FSI slave address
35 $ref: /schemas/spi/ibm,spi-fsi.yaml
52 compatible = "ibm,spi-fsi";
H A Dibm,p9-sbefifo.yaml4 $id: http://devicetree.org/schemas/fsi/ibm,p9-sbefifo.yaml#
7 title: IBM FSI-attached SBEFIFO engine
13 The SBEFIFO is an FSI CFAM engine that provides an interface to the
15 of an FSI CFAM node.
25 - description: FSI slave address
39 fsi-slave-engine@2400 {
H A Dfsi-controller.yaml4 $id: http://devicetree.org/schemas/fsi/fsi-controller.yaml#
7 title: FSI Controller Common Properties
13 FSI (FRU (Field Replaceable Unit) Service Interface) is a two wire bus. The
14 FSI bus is connected to a CFAM (Common FRU Access Macro) which contains
36 The FSI controller cannot scan the bus during initialization.
/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
H A Dfsi-master-hub.c3 * FSI hub master driver
9 #include <linux/fsi.h>
14 #include "fsi-master.h"
21 * FSI hub master support
24 * primary FSI master can access. For each link a primary master supports,
28 * The hub is controlled by a set of control registers exposed as a regular fsi
29 * device (the hub->upstream device), and provides access to the downstream FSI
33 * bus entirely through the fsi device address range, and so have a smaller
290 .name = "fsi-master-hub",
295 MODULE_DESCRIPTION("FSI hub master driver");
H A Dfsi-master-i2cr.c5 #include <linux/fsi.h>
10 #include "fsi-master-i2cr.h"
198 * The I2CR doesn't have CFAM or FSI slave address space - only the in i2cr_read()
199 * engines. In order for this to work with the FSI core, we need to in i2cr_read()
216 * FSI core expects up to 4 bytes BE back, while I2CR replied with LE in i2cr_read()
235 /* I2CR writes to CFAM or FSI slave address are a successful no-op. */ in i2cr_write()
240 * FSI core passes up to 4 bytes BE, while the I2CR expects LE bytes on in i2cr_write()
297 { .compatible = "ibm,i2cr-fsi-master" },
306 .name = "fsi-master-i2cr",
314 MODULE_DESCRIPTION("IBM I2C Responder virtual FSI master driver");
H A Dfsi-master.h3 * FSI master definitions. These comprise the core <--> master interface,
59 #define FSI_MRESP_RST_ALL_MASTER 0x20000000 /* Reset all FSI masters */
60 #define FSI_MRESP_RST_ALL_LINK 0x10000000 /* Reset all FSI port contr. */
61 #define FSI_MRESP_RST_MCR 0x08000000 /* Reset FSI master reg. */
62 #define FSI_MRESP_RST_PYE 0x04000000 /* Reset FSI parity error */
112 /* fsi-master definition and flags */
/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()
223 struct pts_fs_info *fsi = fc->s_fs_info; in devpts_parse_param() local
224 struct pts_mount_opts *opts = &fsi->mount_opts; in devpts_parse_param()
265 struct pts_fs_info *fsi = DEVPTS_SB(sb); in mknod_ptmx() local
266 struct pts_mount_opts *opts = &fsi->mount_opts; in mknod_ptmx()
293 fsi->ptmx_inode = inode; in mknod_ptmx()
[all …]
/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 …]
H A Dsysfs-driver-fsi-master-gpio1 What: /sys/bus/platform/devices/[..]/fsi-master-gpio/external_mode
6 Controls access arbitration for GPIO-based FSI master. A
8 driver performs FSI bus transactions, 1 sets external mode,
9 where the FSI bus is driven externally (for example, by
/linux/drivers/i2c/busses/
H A Di2c-fsi.c3 * FSI-attached I2C controller 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 …]
/linux/arch/arm/boot/dts/aspeed/
H A Dibm-power11-quad.dtsi83 compatible = "ibm,i2c-fsi";
93 fsi@20 {
94 compatible = "ibm,i2cr-fsi-master";
123 fsi@20 {
124 compatible = "ibm,i2cr-fsi-master";
153 fsi@20 {
154 compatible = "ibm,i2cr-fsi-master";
183 fsi@20 {
184 compatible = "ibm,i2cr-fsi-master";
213 fsi@20 {
[all …]
H A Dibm-power11-dual.dtsi87 compatible = "ibm,i2c-fsi";
97 fsi@20 {
98 compatible = "ibm,i2cr-fsi-master";
127 fsi@20 {
128 compatible = "ibm,i2cr-fsi-master";
157 fsi@20 {
158 compatible = "ibm,i2cr-fsi-master";
187 fsi@20 {
188 compatible = "ibm,i2cr-fsi-master";
217 fsi@20 {
[all …]
/linux/security/selinux/
H A Dselinuxfs.c85 struct selinux_fs_info *fsi; in selinux_fs_info_create() local
87 fsi = kzalloc_obj(*fsi); 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()
97 static void selinux_fs_info_free(struct selinux_fs_info *fsi) in selinux_fs_info_free()
101 if (fsi) { in selinux_fs_info_free()
102 for (i = 0; i < fsi in selinux_fs_info_free()
99 struct selinux_fs_info *fsi = sb->s_fs_info; selinux_fs_info_free() local
463 sel_make_policy_nodes(struct selinux_fs_info * fsi,struct selinux_policy * newpolicy) sel_make_policy_nodes() argument
544 struct selinux_fs_info *fsi; sel_write_load() local
1102 struct selinux_fs_info *fsi = file_inode(filep)->i_sb->s_fs_info; sel_read_bool() local
1135 struct selinux_fs_info *fsi = file_inode(filep)->i_sb->s_fs_info; sel_write_bool() local
1192 struct selinux_fs_info *fsi = file_inode(filep)->i_sb->s_fs_info; sel_commit_bools_write() local
1473 struct selinux_fs_info *fsi = sb->s_fs_info; sel_make_avc_files() local
1504 struct selinux_fs_info *fsi = sb->s_fs_info; sel_make_ss_files() local
1678 struct selinux_fs_info *fsi = sb->s_fs_info; sel_make_class_dir_entries() local
1827 struct selinux_fs_info *fsi; sel_fill_super() local
[all...]
/linux/Documentation/devicetree/bindings/i2c/
H A Dibm,i2c-fsi.yaml4 $id: http://devicetree.org/schemas/i2c/ibm,i2c-fsi.yaml#
7 title: IBM FSI-attached I2C controller
13 This I2C controller is an FSI CFAM engine, providing access to a number of
14 I2C busses. Therefore this node will always be a child of an FSI CFAM node.
19 - ibm,i2c-fsi
23 - description: FSI slave address
55 compatible = "ibm,i2c-fsi";
/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",
H A Dfsi_master_ast_cf.h21 TP_printk("fsi-acf%d command %08x",
41 TP_printk("fsi-acf%d cmd: %016llx/%d/%d",
64 TP_printk("fsi-acf%d rsp: tag=%04x crc=%04x data=%08x %c\n",
81 TP_printk("fsi-acf%d CRC error in response retry %d",
97 TP_printk("fsi-acf%d: device reported busy %d times",
113 TP_printk("fsi-acf%d: Sending ABS_ADR %06x",
129 TP_printk("fsi-acf%d: Sending REL_ADR %03x",
143 TP_printk("fsi-acf%d: Sending SAME_ADR",
H A Dfsi.h4 #define TRACE_SYSTEM fsi
29 TP_printk("fsi%d:%02d:%02d %08x[%zu]",
59 TP_printk("fsi%d:%02d:%02d %08x[%zu] <= {%*ph}",
96 TP_printk("fsi%d:%02d:%02d %08x[%zu] %s {%*ph} ret %d",
119 TP_printk("fsi%d:%d",
138 TP_printk("fsi%d (%d links) %s", __entry->master_idx, __entry->n_links,
153 TP_printk("fsi%d (%d links)", __entry->master_idx, __entry->n_links)
177 TP_printk("fsi%d: idx:%d link:%d/%d cid:%d cfam:%08x %08x",
203 TP_printk("fsi%d: cfam:%08x link:%d/%d",
232 TP_printk("fsi%d: slv%d: t:%02x u:%02x v:%02x %08x@%08x",
/linux/Documentation/devicetree/bindings/spi/
H A Dibm,spi-fsi.yaml4 $id: http://devicetree.org/schemas/spi/ibm,spi-fsi.yaml#
7 title: IBM FSI-attached SPI Controller
13 A SPI controller found on IBM Power processors, accessed over FSI from a
20 - ibm,spi-fsi
36 fsi {
41 compatible = "ibm,spi-fsi";
/linux/fs/tracefs/
H A Dinode.c312 struct tracefs_fs_info *fsi = sb->s_fs_info; in tracefs_apply_options() local
324 if (!remount || fsi->opts & BIT(Opt_mode)) { in tracefs_apply_options()
326 tmp_mode |= fsi->mode; in tracefs_apply_options()
330 if (!remount || fsi->opts & BIT(Opt_uid)) in tracefs_apply_options()
331 inode->i_uid = fsi->uid; in tracefs_apply_options()
333 if (!remount || fsi->opts & BIT(Opt_gid)) in tracefs_apply_options()
334 inode->i_gid = fsi->gid; in tracefs_apply_options()
336 if (remount && (fsi->opts & BIT(Opt_uid) || fsi->opts & BIT(Opt_gid))) { in tracefs_apply_options()
338 update_uid = fsi->opts & BIT(Opt_uid); in tracefs_apply_options()
339 update_gid = fsi->opts & BIT(Opt_gid); in tracefs_apply_options()
[all …]

123