Home
last modified time | relevance | path

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

1234

/Linux-v6.6/sound/soc/sh/
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 …]
/Linux-v6.6/Documentation/devicetree/bindings/fsi/
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 …]
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>;
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";
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";
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";
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
Dibm,p9-occ.txt1 Device-tree bindings for FSI-attached POWER9/POWER10 On-Chip Controller (OCC)
4 This is the binding for the P9 or P10 On-Chip Controller accessed over FSI from
5 a service processor. See fsi.txt for details on bindings for FSI slave and CFAM
6 nodes. The OCC is not an FSI slave device itself, rather it is accessed
/Linux-v6.6/drivers/fsi/
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 …]
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
Dfsi-master-i2cr.c5 #include <linux/fsi.h>
11 #include "fsi-master-i2cr.h"
199 * The I2CR doesn't have CFAM or FSI slave address space - only the in i2cr_read()
200 * engines. In order for this to work with the FSI core, we need to in i2cr_read()
217 * FSI core expects up to 4 bytes BE back, while I2CR replied with LE in i2cr_read()
236 /* I2CR writes to CFAM or FSI slave address are a successful no-op. */ in i2cr_write()
241 * FSI core passes up to 4 bytes BE, while the I2CR expects LE bytes on in i2cr_write()
298 { .compatible = "ibm,i2cr-fsi-master" },
307 .name = "fsi-master-i2cr",
315 MODULE_DESCRIPTION("IBM I2C Responder virtual FSI master driver");
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",
/Linux-v6.6/Documentation/ABI/testing/
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 …]
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-v6.6/drivers/i2c/busses/
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 …]
/Linux-v6.6/fs/devpts/
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 …]
/Linux-v6.6/security/selinux/
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 …]
/Linux-v6.6/Documentation/devicetree/bindings/sound/
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
/Linux-v6.6/include/trace/events/
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",
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",
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-v6.6/fs/ramfs/
Dinode.c178 struct ramfs_fs_info *fsi = root->d_sb->s_fs_info; in ramfs_show_options() local
180 if (fsi->mount_opts.mode != RAMFS_DEFAULT_MODE) in ramfs_show_options()
181 seq_printf(m, ",mode=%o", fsi->mount_opts.mode); in ramfs_show_options()
203 struct ramfs_fs_info *fsi = fc->s_fs_info; in ramfs_parse_param() local
224 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
233 struct ramfs_fs_info *fsi = sb->s_fs_info; in ramfs_fill_super() local
243 inode = ramfs_get_inode(sb, NULL, S_IFDIR | fsi->mount_opts.mode, 0); in ramfs_fill_super()
269 struct ramfs_fs_info *fsi; in ramfs_init_fs_context() local
271 fsi = kzalloc(sizeof(*fsi), GFP_KERNEL); in ramfs_init_fs_context()
272 if (!fsi) in ramfs_init_fs_context()
[all …]
/Linux-v6.6/drivers/spi/
Dspi-fsi.c6 #include <linux/fsi.h>
71 struct fsi_device *fsi; /* FSI2SPI CFAM engine device */ member
86 static int fsi_spi_check_mux(struct fsi_device *fsi, struct device *dev) in fsi_spi_check_mux() argument
92 rc = fsi_slave_read(fsi->slave, FSI_MBOX_ROOT_CTRL_8, &root_ctrl_8_be, in fsi_spi_check_mux()
112 rc = fsi_device_read(ctx->bridge->fsi, FSI2SPI_STATUS, &sts_be, in fsi_spi_check_status()
144 rc = fsi_device_write(bridge->fsi, FSI2SPI_CMD, &cmd_be, in fsi_spi_read_reg()
153 rc = fsi_device_read(bridge->fsi, FSI2SPI_DATA0, &data_be, in fsi_spi_read_reg()
160 rc = fsi_device_read(bridge->fsi, FSI2SPI_DATA1, &data_be, in fsi_spi_read_reg()
191 rc = fsi_device_write(bridge->fsi, FSI2SPI_DATA0, &data_be, in fsi_spi_write_reg()
197 rc = fsi_device_write(bridge->fsi, FSI2SPI_DATA1, &data_be, in fsi_spi_write_reg()
[all …]
/Linux-v6.6/arch/arm/boot/dts/aspeed/
Dibm-power10-quad.dtsi8 compatible = "ibm,i2cr-fsi-master";
36 compatible = "ibm,i2cr-fsi-master";
64 compatible = "ibm,i2cr-fsi-master";
92 compatible = "ibm,i2cr-fsi-master";
120 compatible = "ibm,i2cr-fsi-master";
148 compatible = "ibm,i2cr-fsi-master";
176 compatible = "ibm,i2cr-fsi-master";
204 compatible = "ibm,i2cr-fsi-master";
232 compatible = "ibm,i2cr-fsi-master";
260 compatible = "ibm,i2cr-fsi-master";
[all …]
Daspeed-bmc-opp-nicole.dts79 fsi: gpio-fsi { label
80 compatible = "aspeed,ast2500-cf-fsi-master", "fsi-master";
219 /*A0-A7*/ "","cfam-reset","","","","","fsi-mux","",
222 /*D0-D7*/ "fsi-enable","bmc_power_up","sys_pwrok_buf",
235 /*P0-P7*/ "","fsi-trans","pm_rtc_adc_en","","","","","",
246 /*AA0-AA7*/ "fsi-clock","led-attention","fsi-data","led-fault",

1234