Home
last modified time | relevance | path

Searched +full:sata +full:- +full:port (Results 1 – 25 of 544) sorted by relevance

12345678910>>...22

/OK3568_Linux_fs/u-boot/drivers/ata/
H A Dsata_sil.c5 * SPDX-License-Identifier: GPL-2.0+
15 #include <sata.h>
17 #include <sata.h>
36 printf("fis_type: %02x\n", s->fis_type); in sil_sata_dump_fis()
37 printf("pm_port_i: %02x\n", s->pm_port_i); in sil_sata_dump_fis()
38 printf("status: %02x\n", s->status); in sil_sata_dump_fis()
39 printf("error: %02x\n", s->error); in sil_sata_dump_fis()
40 printf("lba_low: %02x\n", s->lba_low); in sil_sata_dump_fis()
41 printf("lba_mid: %02x\n", s->lba_mid); in sil_sata_dump_fis()
42 printf("lba_high: %02x\n", s->lba_high); in sil_sata_dump_fis()
[all …]
H A Dmvsata_ide.c4 * Written-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
6 * SPDX-License-Identifier: GPL-2.0+
20 /* SATA port registers */
43 * - to compile at all, we need CONFIG_SYS_ATA_BASE_ADDR.
44 * - for ide_preinit to make sense, we need at least one of
46 * - for ide_preinit to be called, we need CONFIG_IDE_PREINIT.
86 * If/when standard negative codes are implemented in U-Boot, then these
92 #define MVSATA_STATUS_TIMEOUT -1
95 * Registers for SATA MBUS memory windows
102 * Initialize SATA memory windows for Armada XP
[all …]
H A Dahci.c1 // SPDX-License-Identifier: GPL-2.0+
9 * This driver provides a SCSI interface to SATA.
30 #include <dm/device-internal.h>
33 static int ata_io_flush(struct ahci_uc_priv *uc_priv, u8 port);
59 __weak void __iomem *ahci_port_base(void __iomem *base, u32 port) in ahci_port_base() argument
61 return base + 0x100 + (port * 0x80); in ahci_port_base()
76 * SATA controller DMAs to physical RAM. Ensure data from the
90 * Ensure data for SATA controller is flushed out of dcache and
95 ahci_dcache_flush_range((unsigned long)pp->cmd_slot, in ahci_dcache_flush_sata_cmd()
109 return (i < timeout_msec) ? 0 : -1; in waiting_for_cmd_completed()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ata/
H A Dsata-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/ata/sata-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common Properties for Serial AT attachment (SATA) controllers
10 - Linus Walleij <linus.walleij@linaro.org>
14 AT attachment (SATA) storage devices. It doesn't constitute a device tree
18 The SATA controller-specific device tree bindings are responsible for
23 pattern: "^sata(@.*)?$"
25 Specifies the host controller node. SATA host controller nodes are named
[all …]
H A Dahci-platform.txt1 * AHCI SATA Controller
3 SATA nodes are defined to describe on-chip Serial ATA controllers.
4 Each SATA controller should have its own node.
6 It is possible, but not required, to represent each port as a sub-node.
7 It allows to enable each port independently when dealing with multiple
11 - compatible : compatible string, one of:
12 - "brcm,iproc-ahci"
13 - "hisilicon,hisi-ahci"
14 - "cavium,octeon-7130-ahci"
15 - "ibm,476gtr-ahci"
[all …]
H A Dsata_highbank.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Calxeda AHCI SATA Controller
10 The Calxeda SATA controller mostly conforms to the AHCI interface
15 - Andre Przywara <andre.przywara@arm.com>
19 const: calxeda,hb-ahci
27 dma-coherent: true
29 calxeda,pre-clocks:
35 calxeda,post-clocks:
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/broadcom/stingray/
H A Dstingray-sata.dtsi4 * Copyright(c) 2016-2017 Broadcom. All rights reserved.
33 sata {
34 compatible = "simple-bus";
35 #address-cells = <1>;
36 #size-cells = <1>;
40 compatible = "brcm,iproc-ahci", "generic-ahci";
42 reg-names = "ahci";
44 #address-cells = <1>;
45 #size-cells = <0>;
48 sata0_port0: sata-port@0 {
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Dphy-miphy365x.txt5 for SATA and PCIe.
8 - compatible : Should be "st,miphy365x-phy"
9 - st,syscfg : Phandle / integer array property. Phandle of sysconfig group
11 an entry for each port sub-node, specifying the control
14 Required nodes : A sub-node is required for each channel the controller
16 'reg' and 'reg-names' properties are used inside these
20 Required properties (port (child) node):
21 - #phy-cells : Should be 1 (See second example)
22 Cell after port phandle is device type from:
23 - PHY_TYPE_SATA
[all …]
H A Dnvidia,tegra124-xusb-padctl.txt11 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or
12 super-speed USB. Other lanes are for various types of low-speed, full-speed
13 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller
14 contains a software-configurable mux that sits between the I/O controller
17 In addition to per-lane configuration, USB 3.0 ports may require additional
18 settings on a per-board basis.
20 Pads will be represented as children of the top-level XUSB pad controller
23 PHY bindings, as described by the phy-bindings.txt file in this directory.
27 "port" is typically used to denote the physical USB receptacle. The device
28 tree binding in this document uses the term "port" to refer to the logical
[all …]
H A Dphy-miphy28lp.txt5 for SATA, PCIe or USB3.
8 - compatible : Should be "st,miphy28lp-phy".
9 - st,syscfg : Should be a phandle of the system configuration register group
10 which contain the SATA, PCIe or USB3 mode setting bits.
12 Required nodes : A sub-node is required for each channel the controller
14 'reg' and 'reg-names' properties are used inside these
18 Required properties (port (child) node):
19 - #phy-cells : Should be 1 (See second example)
20 Cell after port phandle is device type from:
21 - PHY_TYPE_SATA
[all …]
H A Dbrcm-sata-phy.txt4 - compatible: should be one or more of
5 "brcm,bcm7216-sata-phy"
6 "brcm,bcm7425-sata-phy"
7 "brcm,bcm7445-sata-phy"
8 "brcm,iproc-ns2-sata-phy"
9 "brcm,iproc-nsp-sata-phy"
10 "brcm,phy-sata3"
11 "brcm,iproc-sr-sata-phy"
12 "brcm,bcm63138-sata-phy"
13 - address-cells: should be 1
[all …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/ata/
H A Dintel-sata.txt1 Intel Pantherpoint SATA Device Binding
5 SATA device is as follows:
8 - compatible = "intel,pantherpoint-ahci"
9 - intel,sata-mode : string, one of:
12 "plain-ide" : Use plain IDE mode
13 - intel,sata-port-map : Which SATA ports are enabled, bit 0=enable first port,
14 bit 1=enable second port, etc.
15 - intel,sata-port0-gen3-tx : Value for the IOBP_SP0G3IR register
16 - intel,sata-port1-gen3-tx : Value for the IOBP_SP1G3IR register
19 -------
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/tegra/
H A Dxusb-tegra210.c1 // SPDX-License-Identifier: GPL-2.0-only
25 ((x) ? (11 + ((x) - 1) * 6) : 0)
259 /* must be called under padctl->lock */
262 struct tegra_xusb_pcie_pad *pcie = to_pcie_pad(padctl->pcie); in tegra210_pex_uphy_enable()
267 if (pcie->enable > 0) { in tegra210_pex_uphy_enable()
268 pcie->enable++; in tegra210_pex_uphy_enable()
272 err = clk_prepare_enable(pcie->pll); in tegra210_pex_uphy_enable()
276 err = reset_control_deassert(pcie->rst); in tegra210_pex_uphy_enable()
355 err = -ETIMEDOUT; in tegra210_pex_uphy_enable()
374 err = -ETIMEDOUT; in tegra210_pex_uphy_enable()
[all …]
H A Dxusb-tegra124.c1 // SPDX-License-Identifier: GPL-2.0-only
229 mutex_lock(&padctl->lock); in tegra124_xusb_padctl_enable()
231 if (padctl->enable++ > 0) in tegra124_xusb_padctl_enable()
251 mutex_unlock(&padctl->lock); in tegra124_xusb_padctl_enable()
259 mutex_lock(&padctl->lock); in tegra124_xusb_padctl_disable()
261 if (WARN_ON(padctl->enable == 0)) in tegra124_xusb_padctl_disable()
264 if (--padctl->enable > 0) in tegra124_xusb_padctl_disable()
284 mutex_unlock(&padctl->lock); in tegra124_xusb_padctl_disable()
291 struct tegra_xusb_usb3_port *port; in tegra124_usb3_save_context() local
295 port = tegra_xusb_find_usb3_port(padctl, index); in tegra124_usb3_save_context()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/mvsas/
H A Dmv_defs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Copyright 2009-2011 Marvell. <yuxiangl@marvell.com>
28 /* driver compile-time configuration */
30 MVS_TX_RING_SZ = 1024, /* TX ring size (12-bit) */
31 MVS_RX_RING_SZ = 1024, /* RX ring size (12-bit) */
32 /* software requires power-of-2
40 MVS_ATA_CMD_SZ = 96, /* SATA command table buffer size */
43 MVS_SOC_CAN_QUEUE = MVS_SOC_SLOTS - 2,
76 INT_SAS_SATA = (1U << 0), /* SAS/SATA event */
78 /* MVS_GBL_PORT_TYPE */ /* shl for ports 1-3 */
[all …]
/OK3568_Linux_fs/u-boot/include/
H A Dahci.h6 * SPDX-License-Identifier: GPL-2.0+
40 #define HOST_RESET (1 << 0) /* reset controller; self-clear */
44 /* Registers for each SATA port */
51 #define PORT_CMD 0x18 /* port command */
55 #define PORT_SCR 0x28 /* SATA phy register block */
56 #define PORT_SCR_STAT 0x28 /* SATA phy register: SStatus */
57 #define PORT_SCR_CTL 0x2c /* SATA phy register: SControl */
58 #define PORT_SCR_ERR 0x30 /* SATA phy register: SError */
59 #define PORT_SCR_ACT 0x34 /* SATA phy register: SActive */
71 #define PORT_IRQ_IF_NONFATAL (1 << 26) /* interface non-fatal error */
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/broadcom/
H A Dphy-brcm-sata.c1 // SPDX-License-Identifier: GPL-2.0-or-later
27 /* The older SATA PHY registers duplicated per port registers within the map,
28 * rather than having a separate map per port.
189 static inline void __iomem *brcm_sata_ctrl_base(struct brcm_sata_port *port) in brcm_sata_ctrl_base() argument
191 struct brcm_sata_phy *priv = port->phy_priv; in brcm_sata_ctrl_base()
194 switch (priv->version) { in brcm_sata_ctrl_base()
199 dev_err(priv->dev, "invalid phy version\n"); in brcm_sata_ctrl_base()
203 return priv->ctrl_base + (port->portnum * size); in brcm_sata_ctrl_base()
206 static void brcm_sata_phy_wr(struct brcm_sata_port *port, u32 bank, in brcm_sata_phy_wr() argument
209 struct brcm_sata_phy *priv = port->phy_priv; in brcm_sata_phy_wr()
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/aic94xx/
H A Daic94xx_dev.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Aic94xx SAS/SATA DDB management
16 #define FIND_FREE_DDB(_ha) find_first_zero_bit((_ha)->hw_prof.ddb_bitmap, \
17 (_ha)->hw_prof.max_ddbs)
18 #define SET_DDB(_ddb, _ha) set_bit(_ddb, (_ha)->hw_prof.ddb_bitmap)
19 #define CLEAR_DDB(_ddb, _ha) clear_bit(_ddb, (_ha)->hw_prof.ddb_bitmap)
26 if (ddb >= asd_ha->hw_prof.max_ddbs) { in asd_get_ddb()
27 ddb = -ENOMEM; in asd_get_ddb()
67 struct asd_ha_struct *asd_ha = dev->port->ha->lldd_ha; in asd_set_ddb_type()
68 int ddb = (int) (unsigned long) dev->lldd_dev; in asd_set_ddb_type()
[all …]
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dlibata-sata.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * SATA specific part of ATA helper library
5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved.
6 * Copyright 2003-2004 Jeff Garzik
17 #include "libata-transport.h"
28 * sata_scr_valid - test whether SCRs are accessible
41 struct ata_port *ap = link->ap; in sata_scr_valid()
43 return (ap->flags & ATA_FLAG_SATA) && ap->ops->scr_read; in sata_scr_valid()
48 * sata_scr_read - read SCR register of the specified port
54 * guaranteed to succeed if @link is ap->link, the cable type of
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/
H A Dsata.c4 * From coreboot src/soc/intel/broadwell/sata.c
6 * SPDX-License-Identifier: GPL-2.0
27 * SATA DEVSLP Mux
28 * 0 = port 0 DEVSLP on DEVSLP0/GPIO33
29 * 1 = port 3 DEVSLP on DEVSLP0/GPIO33
47 int port; in broadwell_sata_init() local
49 debug("SATA: Initializing controller in AHCI mode.\n"); in broadwell_sata_init()
55 /* for AHCI, Port Enable is managed in memory mapped space */ in broadwell_sata_init()
58 reg16 |= 0x8000 | plat->port_map; in broadwell_sata_init()
74 /* SATA Initialization register */ in broadwell_sata_init()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/
H A Dmvebu-gated-clock.txt12 -----------------------------------
20 15 sata0 SATA Host 0
25 30 sata1 SATA Host 0
29 -----------------------------------
37 14 sata0_link SATA 0 Link
38 15 sata0_core SATA 0 Core
43 20 sata1_link SATA 1 Link
44 21 sata1_core SATA 1 Core
49 28 crypto0_enc Cryptographic Unit Port 0 Encryption
50 29 crypto0_core Cryptographic Unit Port 0 Core
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/isci/
H A Dprobe_roms.h7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
102 * by phys in the supplied port.
103 * - A value of 1 indicates generation 1 (i.e. 1.5 Gb/s).
104 * - A value of 2 indicates generation 2 (i.e. 3.0 Gb/s).
105 * - A value of 3 indicates generation 3 (i.e. 6.0 Gb/s).
197 /* Allowed PORT configuration modes APC Automatic PORT configuration mode is
199 * for any PORT. i.e. There are no phys assigned to any of the ports at start.
200 * MPC Manual PORT configuration mode is defined by the OEM configuration
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/samsung/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 tristate "Exynos SoC series Display Port PHY driver"
12 Support for Display Port PHY found on Samsung Exynos SoCs.
15 tristate "S5P/Exynos SoC series MIPI CSI-2/DSI PHY driver"
21 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
77 are available - device and host.
93 tristate "Exynos5250 Sata SerDes/PHY driver"
102 Enable this to support SATA SerDes/Phy found on Samsung's
103 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
104 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/libsas/
H A Dsas_ata.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Support for SATA devices on Serial Attached SCSI (SAS) controllers
32 if (ts->resp == SAS_TASK_UNDELIVERED) in sas_to_ata_err()
35 /* ts->resp == SAS_TASK_COMPLETE */ in sas_to_ata_err()
37 switch (ts->stat) { in sas_to_ata_err()
65 __func__, ts->stat); in sas_to_ata_err()
83 struct ata_queued_cmd *qc = task->uldd_task; in sas_ata_task_done()
84 struct domain_device *dev = task->dev; in sas_ata_task_done()
85 struct task_status_struct *stat = &task->task_status; in sas_ata_task_done()
86 struct ata_task_resp *resp = (struct ata_task_resp *)stat->buf; in sas_ata_task_done()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dgemini.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/clock/cortina,gemini-clock.h>
8 #include <dt-bindings/reset/cortina,gemini-reset.h>
9 #include <dt-bindings/gpio/gpio.h>
13 #address-cells = <1>;
14 #size-cells = <1>;
16 compatible = "simple-bus";
17 interrupt-parent = <&intcon>;
20 compatible = "cortina,gemini-flash", "cfi-flash";
[all …]

12345678910>>...22