Home
last modified time | relevance | path

Searched full:ufs (Results 1 – 25 of 136) sorted by relevance

123456

/Linux-v5.15/drivers/scsi/ufs/
Dufs-exynos.c3 * UFS Host Controller driver for Exynos specific extensions
23 #include "ufs-exynos.h"
99 * UFS Protector registers
111 static void exynos_ufs_auto_ctrl_hcc(struct exynos_ufs *ufs, bool en);
112 static void exynos_ufs_ctrl_clkstop(struct exynos_ufs *ufs, bool en);
114 static inline void exynos_ufs_enable_auto_ctrl_hcc(struct exynos_ufs *ufs) in exynos_ufs_enable_auto_ctrl_hcc() argument
116 exynos_ufs_auto_ctrl_hcc(ufs, true); in exynos_ufs_enable_auto_ctrl_hcc()
119 static inline void exynos_ufs_disable_auto_ctrl_hcc(struct exynos_ufs *ufs) in exynos_ufs_disable_auto_ctrl_hcc() argument
121 exynos_ufs_auto_ctrl_hcc(ufs, false); in exynos_ufs_disable_auto_ctrl_hcc()
125 struct exynos_ufs *ufs, u32 *val) in exynos_ufs_disable_auto_ctrl_hcc_save() argument
[all …]
DKconfig2 # Kernel configuration file for the UFS Host Controller
4 # This code is based on drivers/scsi/ufs/Kconfig
42 This selects the support for UFS devices in Linux, say Y and make
43 sure that you know the name of your UFS host adapter (the card
44 inside your computer that "speaks" the UFS protocol, also
45 called UFS Host Controller), because you will be asked for it.
49 <file:Documentation/scsi/ufs.rst>.
51 (the one containing the directory /) is located on a UFS device.
54 tristate "PCI bus based UFS Controller support"
57 This selects the PCI UFS Host Controller Interface. Select this if
[all …]
Dufs_quirks.h22 * ufs_dev_fix - ufs device quirk info
23 * @card: ufs card details
42 * Some vendor's UFS device sends back to back NACs for the DL data frames
44 * such UFS devices send back to back NAC without waiting for new
53 * raised by UFS controller.
60 * If DL NAC error is seen multiple times with some vendor's UFS devices then
67 * Few Toshiba UFS device models advertise RX_MIN_ACTIVATETIME_CAPABILITY as
69 * from UFS device.
76 * It seems some UFS devices may keep drawing more than sleep current
77 * (atleast for 500us) from UFS rails (especially from VCCQ rail).
[all …]
Dufs-exynos.h3 * UFS Host Controller driver for Exynos specific extensions
85 #define UNIPRO_PCLK_PERIOD(ufs) (NSEC_PER_SEC / ufs->pclk_rate) argument
150 int (*drv_init)(struct device *dev, struct exynos_ufs *ufs);
151 int (*pre_link)(struct exynos_ufs *ufs);
152 int (*post_link)(struct exynos_ufs *ufs);
153 int (*pre_pwr_change)(struct exynos_ufs *ufs,
155 int (*post_pwr_change)(struct exynos_ufs *ufs,
204 #define for_each_ufs_rx_lane(ufs, i) \ argument
205 for (i = (ufs)->rx_sel_idx; \
206 i < (ufs)->rx_sel_idx + (ufs)->avail_ln_rx; i++)
[all …]
DMakefile7 ufshcd-core-y += ufshcd.o ufs-sysfs.o
8 ufshcd-core-$(CONFIG_DEBUG_FS) += ufs-debugfs.o
12 ufshcd-core-$(CONFIG_SCSI_UFS_FAULT_INJECTION) += ufs-fault-injection.o
18 ufs_qcom-y += ufs-qcom.o
19 ufs_qcom-$(CONFIG_SCSI_UFS_CRYPTO) += ufs-qcom-ice.o
20 obj-$(CONFIG_SCSI_UFS_EXYNOS) += ufs-exynos.o
23 obj-$(CONFIG_SCSI_UFS_HISI) += ufs-hisi.o
24 obj-$(CONFIG_SCSI_UFS_MEDIATEK) += ufs-mediatek.o
25 obj-$(CONFIG_SCSI_UFS_TI_J721E) += ti-j721e-ufs.o
Dufs-qcom.h32 /* QCOM UFS host controller vendor specific registers */
51 * QCOM UFS host controller vendor specific registers
57 /* QCOM UFS host controller vendor specific debug registers */
115 /* QCOM UFS debug print bit mask */
148 * Make sure assertion of ufs phy reset is written to in ufs_qcom_assert_reset()
160 * Make sure de-assertion of ufs phy reset is written to in ufs_qcom_deassert_reset()
191 * configuration even after UFS controller core power collapse.
248 /* ufs-qcom-ice.c */
/Linux-v5.15/Documentation/scsi/
Dufs.rst11 2. UFS Architecture Overview
13 2.2 UFS Transport Protocol(UTP) layer
14 2.3 UFS Interconnect(UIC) Layer
16 3.1 UFS controller initialization
18 3.3 UFS error handling
25 Universal Flash Storage(UFS) is a storage specification for flash devices.
29 is defined by JEDEC Solid State Technology Association. UFS is based
30 on MIPI M-PHY physical layer standard. UFS uses MIPI M-PHY as the
33 The main goals of UFS is to provide:
37 For UFS version 1.0 and 1.1 the target performance is as follows:
[all …]
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-driver-ufs6 UFS host controller. A value of '0' means auto-hibernate is not
8 idle time before the UFS host controller will autonomously put
12 maximum value of 102300000. Refer to the UFS Host Controller
18 Description: This file shows the device type. This is one of the UFS
20 the descriptor could be found at UFS specifications 2.1.
27 Description: This file shows the device class. This is one of the UFS
29 the descriptor could be found at UFS specifications 2.1.
36 Description: This file shows the UFS storage subclass. This is one of
37 the UFS device descriptor parameters. The full information
38 about the descriptor could be found at UFS specifications 2.1.
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/ufs/
Dufshcd-pltfrm.txt1 * Universal Flash Storage (UFS) Host Controller
3 UFSHC nodes are defined to describe on-chip UFS host controllers.
4 Each UFS controller instance should have its own node.
7 - compatible : must contain "jedec,ufs-1.1" or "jedec,ufs-2.0"
12 "qcom,msm8994-ufshc", "qcom,ufshc", "jedec,ufs-2.0"
13 "qcom,msm8996-ufshc", "qcom,ufshc", "jedec,ufs-2.0"
14 "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0"
15 "qcom,sdm845-ufshc", "qcom,ufshc", "jedec,ufs-2.0"
16 "qcom,sm8150-ufshc", "qcom,ufshc", "jedec,ufs-2.0"
17 "qcom,sm8250-ufshc", "qcom,ufshc", "jedec,ufs-2.0"
[all …]
Dufs-hisi.txt1 * Hisilicon Universal Flash Storage (UFS) Host Controller
3 UFS nodes are defined to describe on-chip UFS hardware macro.
4 Each UFS Host Controller should have its own node.
8 "hisilicon,hi3660-ufs", "jedec,ufs-1.1" for hisi ufs
10 "hisilicon,hi3670-ufs", "jedec,ufs-2.1" for hisi ufs
12 - reg : should contain UFS register address space & UFS SYS CTRL register address,
23 - reset-names : reset node register, the "rst" corresponds to reset the whole UFS IP.
27 ufs: ufs@ff3b0000 {
28 compatible = "hisilicon,hi3660-ufs", "jedec,ufs-1.1";
30 /* 1: UFS SYS CTRL */
Dufs-mediatek.txt1 * Mediatek Universal Flash Storage (UFS) Host Controller
3 UFS nodes are defined to describe on-chip UFS hardware macro.
4 Each UFS Host Controller should have its own node.
6 To bind UFS PHY with UFS host controller, the controller node should
7 contain a phandle reference to UFS M-PHY node.
9 Required properties for UFS nodes:
11 "mediatek,mt8183-ufshci" for MediaTek UFS host controller
13 "mediatek,mt8192-ufshci" for MediaTek UFS host controller
15 - reg : Address and length of the UFS register set.
19 order as the clocks property. "ufs" is mandatory.
[all …]
Dufs-qcom.txt1 * Qualcomm Technologies Inc Universal Flash Storage (UFS) PHY
3 UFSPHY nodes are defined to describe on-chip UFS PHY hardware macro.
4 Each UFS PHY node should have its own node.
6 To bind UFS PHY with UFS host controller, the controller node should
7 contain a phandle reference to UFS PHY node.
11 "qcom,ufs-phy-qmp-20nm" for 20nm ufs phy,
12 "qcom,ufs-phy-qmp-14nm" for legacy 14nm ufs phy,
13 "qcom,msm8996-ufs-phy-qmp-14nm" for 14nm ufs phy
30 - vddp-ref-clk-supply : phandle to UFS device ref_clk pad power supply
32 - resets : specifies the PHY reset in the UFS controller
[all …]
Dsamsung,exynos-ufs.yaml4 $id: http://devicetree.org/schemas/ufs/samsung,exynos-ufs.yaml#
7 title: Samsung SoC series UFS host controller Device Tree Bindings
13 Each Samsung UFS host controller instance should have its own node.
16 [1] Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
22 - samsung,exynos7-ufs
29 - description: UFS protector register
40 - description: ufs link core clock
55 const: ufs-phy
73 ufs: ufs@15570000 {
74 compatible = "samsung,exynos7-ufs";
[all …]
Dti,j721e-ufs.yaml4 $id: http://devicetree.org/schemas/ufs/ti,j721e-ufs.yaml#
7 title: TI J721e UFS Host Controller Glue Driver
15 - const: ti,j721e-ufs
19 description: address of TI UFS glue registers
49 "^ufs@[0-9a-f]+$":
52 Cadence UFS controller node must be the child node. Refer
53 Documentation/devicetree/bindings/ufs/cdns,ufshc.txt for binding
67 ufs-wrapper@4e80000 {
68 compatible = "ti,j721e-ufs";
79 ufs@4000 {
[all …]
Dcdns,ufshc.txt1 * Cadence Universal Flash Storage (UFS) Controller
3 UFS nodes are defined to describe on-chip UFS host controllers.
4 Each UFS controller instance should have its own node.
10 "cdns,ufshc-m31-16nm" - CDNS UFS HC + M31 16nm PHY
12 "jedec,ufs-2.0"
14 - reg : Address and length of the UFS register set.
25 ufs@fd030000 {
26 compatible = "cdns,ufshc", "jedec,ufs-2.0";
Dtc-dwc-g210-pltfrm.txt1 * Universal Flash Storage (UFS) DesignWare Host Controller
3 DWC_UFS nodes are defined to describe on-chip UFS host controllers and MPHY.
4 Each UFS controller instance should have its own node.
13 "jedec,ufs-1.1"
14 "jedec,ufs-2.0"
17 - interrupts : <interrupt mapping for UFS host controller IRQ>
20 dwc-ufs@d0000000 {
23 "jedec,ufs-2.0";
/Linux-v5.15/fs/ufs/
DKconfig3 tristate "UFS file system support (read only)"
7 OpenBSD and NeXTstep) use a file system called UFS. Some System V
11 experimental "UFS file system write support", below. Please read the
12 file <file:Documentation/admin-guide/ufs.rst> for more information.
26 To compile the UFS file system support as a module, choose M here: the
27 module will be called ufs.
32 bool "UFS file system write support (DANGEROUS)"
35 Say Y here if you want to try writing to UFS partitions. This is
36 experimental, so you should back up your UFS partitions beforehand.
39 bool "UFS debugging"
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/phy/
Dmediatek,ufs-phy.yaml5 $id: http://devicetree.org/schemas/phy/mediatek,ufs-phy.yaml#
8 title: MediaTek Universal Flash Storage (UFS) M-PHY binding
15 UFS M-PHY nodes are defined to describe on-chip UFS M-PHY hardware macro.
16 Each UFS M-PHY node should have its own node.
17 To bind UFS M-PHY with UFS host controller, the controller node should
18 contain a phandle reference to UFS M-PHY node.
22 pattern: "^ufs-phy@[0-9a-f]+$"
60 ufsphy: ufs-phy@11fa0000 {
Dsamsung,ufs-phy.yaml4 $id: http://devicetree.org/schemas/phy/samsung,ufs-phy.yaml#
7 title: Samsung SoC series UFS PHY Device Tree Bindings
18 - samsung,exynos7-ufs-phy
19 - samsung,exynosautov9-ufs-phy
45 control pmu registers bits for ufs m-phy
62 ufs_phy: ufs-phy@15571800 {
63 compatible = "samsung,exynos7-ufs-phy";
Dqcom,qmp-phy.yaml15 controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
25 - qcom,msm8996-qmp-ufs-phy
28 - qcom,msm8998-qmp-ufs-phy
32 - qcom,sc8180x-qmp-ufs-phy
36 - qcom,sdm845-qmp-ufs-phy
39 - qcom,sm6115-qmp-ufs-phy
40 - qcom,sm8150-qmp-ufs-phy
43 - qcom,sm8250-qmp-ufs-phy
49 - qcom,sm8350-qmp-ufs-phy
241 - qcom,msm8996-qmp-ufs-phy
[all …]
/Linux-v5.15/Documentation/admin-guide/
Dufs.rst2 Using UFS
5 mount -t ufs -o ufstype=type_of_ufs device dir
8 UFS Options
12 UFS is a file system widely used in different operating systems.
15 type of ufs automatically. That's why user must specify type of
16 ufs manually by mount option ufstype. Possible values are:
19 old format of ufs
67 Any ufs bug report you can send to daniel.pirkl@email.cz or
/Linux-v5.15/drivers/phy/samsung/
DMakefile5 obj-$(CONFIG_PHY_SAMSUNG_UFS) += phy-exynos-ufs.o
6 phy-exynos-ufs-y += phy-samsung-ufs.o
7 phy-exynos-ufs-y += phy-exynos7-ufs.o
8 phy-exynos-ufs-y += phy-exynosautov9-ufs.o
Dphy-samsung-ufs.c3 * UFS PHY driver for Samsung SoC
22 #include "phy-samsung-ufs.h"
197 dev_dbg(phy->dev, "UFS MPHY ref_clk_rate = %ld\n", clk_get_rate(phy->ref_clk)); in samsung_ufs_phy_clks_init()
213 dev_err(ss_phy->dev, "failed to set ufs phy symbol clocks\n"); in samsung_ufs_phy_init()
218 dev_err(ss_phy->dev, "failed to set ufs phy clocks\n"); in samsung_ufs_phy_init()
222 dev_err(ss_phy->dev, "ufs phy calibration failed\n"); in samsung_ufs_phy_init()
323 dev_err(dev, "failed to create PHY for ufs-phy\n"); in samsung_ufs_phy_probe()
348 .compatible = "samsung,exynos7-ufs-phy",
351 .compatible = "samsung,exynosautov9-ufs-phy",
361 .name = "samsung-ufs-phy",
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/clock/
Dqcom,gcc-sm8350.yaml30 - description: UFS card Rx symbol 0 clock source (Optional clock)
31 - description: UFS card Rx symbol 1 clock source (Optional clock)
32 - description: UFS card Tx symbol 0 clock source (Optional clock)
33 - description: UFS phy Rx symbol 0 clock source (Optional clock)
34 - description: UFS phy Rx symbol 1 clock source (Optional clock)
35 - description: UFS phy Tx symbol 0 clock source (Optional clock)
/Linux-v5.15/drivers/clk/qcom/
DKconfig282 i2c, USB, UFS, SD/eMMC, PCIe, etc.
290 i2c, USB, UFS, SD/eMMC, PCIe, etc.
307 i2c, USB, UFS, SD/eMMC, PCIe, etc.
368 I2C, USB, UFS, SDCC, etc.
377 I2C, USB, UFS, SDCC, PCIe etc.
386 I2C, USB, UFS, SDCC, etc.
451 i2C, USB, UFS, SDDC, PCIe, etc.
491 i2C, USB, UFS, SDDC, PCIe, etc.
533 SPI, I2C, USB, SD/UFS, PCIe etc.
556 i2C, USB, UFS, SDDC, PCIe, etc.
[all …]

123456