| /OK3568_Linux_fs/u-boot/env/ |
| H A D | sata.c | 16 #include <sata.h> 35 static inline int write_env(struct blk_desc *sata, unsigned long size, in write_env() argument 40 blk_start = ALIGN(offset, sata->blksz) / sata->blksz; in write_env() 41 blk_cnt = ALIGN(size, sata->blksz) / sata->blksz; in write_env() 43 n = blk_dwrite(sata, blk_start, blk_cnt, buffer); in write_env() 51 struct blk_desc *sata = NULL; in env_sata_save() local 59 sata = sata_get_dev(env_sata); in env_sata_save() 60 if (sata == NULL) { in env_sata_save() 61 printf("Unknown SATA(%d) device for environment!\n", in env_sata_save() 70 printf("Writing to SATA(%d)...", env_sata); in env_sata_save() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/ata/ |
| H A D | fsl_sata.c | 17 #include <sata.h> 87 fsl_sata_t *sata; in init_sata() local 90 printf("the sata index %d is out of ranges\n\r", dev); in init_sata() 96 printf("SATA%d [dev = %d] is not enabled\n", dev+1, dev); in init_sata() 100 printf("SATA%d [dev = %d] is not enabled\n", dev+1, dev); in init_sata() 105 /* Allocate SATA device driver struct */ in init_sata() 106 sata = (fsl_sata_t *)malloc(sizeof(fsl_sata_t)); in init_sata() 107 if (!sata) { in init_sata() 108 printf("alloc the sata device struct failed\n\r"); in init_sata() 112 memset((void *)sata, 0, sizeof(fsl_sata_t)); in init_sata() [all …]
|
| H A D | sata_sil.c | 15 #include <sata.h> 17 #include <sata.h> 119 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_read_fis() local 120 void *port = sata->port; in sil_read_fis() 134 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_exec_cmd() local 135 void *port = sata->port; in sil_exec_cmd() 136 u64 paddr = virt_to_bus(sata->devno, pcmd); in sil_exec_cmd() 170 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_cmd_set_feature() local 183 udma_cap = (u8)(sata->udma & 0xff); in sil_cmd_set_feature() 199 readl(sata->port + PORT_SERROR)); in sil_cmd_set_feature() [all …]
|
| H A D | Kconfig | 2 bool "Support SATA controllers with driver model" 6 types can use this, such as AHCI/SATA. It does not provide any standard 10 config SATA config 11 bool "Support SATA controllers" 13 This enables support for SATA (Serial Advanced Technology 17 SATA replaces PATA (originally just ATA), which stands for Parallel AT 29 bool "Enable SCSI interface to SATA devices" 32 Enable this to allow interfacing SATA devices via the SCSI layer. 34 menu "SATA/SCSI device support" 43 bool "Ceva Sata controller" [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/broadcom/stingray/ |
| H A D | stingray-sata.dtsi | 33 sata { 48 sata0_port0: sata-port@0 { 51 phy-names = "sata-phy"; 56 compatible = "brcm,iproc-sr-sata-phy"; 63 sata0_phy0: sata-phy@0 { 78 sata1_port0: sata-port@0 { 81 phy-names = "sata-phy"; 86 compatible = "brcm,iproc-sr-sata-phy"; 93 sata1_phy0: sata-phy@0 { 108 sata2_port0: sata-port@0 { [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | Kconfig | 3 # SATA/PATA driver configuration 85 bool "SATA Zero Power Optical Disc Drive (ZPODD) support" 88 This option adds support for SATA Zero Power Optical Disc 98 bool "SATA Port Multiplier support" 102 This option adds support for SATA Port Multipliers 103 (the SATA version of an ethernet hub, or SAS expander). 110 tristate "AHCI SATA support" 119 int "Default SATA Link Power Management policy for mobile chipsets" 124 Select the Default SATA Link Power Management (LPM) policy to use 138 tristate "Platform AHCI SATA support" [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.sata | 1 1. SATA usage in U-Boot 5 * Read/write raw blocks from/to SATA hard disk 8 1.0 How to read the SATA hard disk's information? 10 => sata info 12 SATA device 0: Model: ST3320620AS Firm: 3.AAD Ser#: 4QF01ZTN 17 1.1 How to raw write the kernel, file system, dtb to a SATA hard disk? 24 => sata write 40000 0 2000 28 => sata write 40000 2000 8000 32 => sata write 40000 a000 1000 34 1.2 How to raw read the kernel, file system, dtb from a SATA hard disk? [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/ata/ |
| H A D | nvidia,tegra124-ahci.txt | 1 Tegra SoC SATA AHCI controller 9 - AHCI register set (SATA BAR5) 10 - SATA register set 11 - interrupts : Defines the interrupt used by SATA 15 - sata 16 - sata-oob 20 - sata 21 - sata-oob 22 - sata-cold 27 - sata-phy : XUSB PADCTL SATA PHY [all …]
|
| H A D | renesas,rcar-sata.yaml | 4 $id: "http://devicetree.org/schemas/ata/renesas,rcar-sata.yaml#" 17 - renesas,sata-r8a7779 # R-Car H1 20 - renesas,sata-r8a7742 # RZ/G1H 21 - renesas,sata-r8a7790-es1 # R-Car H2 ES1 22 - renesas,sata-r8a7790 # R-Car H2 other than ES1 23 - renesas,sata-r8a7791 # R-Car M2-W 24 - renesas,sata-r8a7793 # R-Car M2-N 25 - const: renesas,rcar-gen2-sata # generic R-Car Gen2 28 - renesas,sata-r8a774b1 # RZ/G2N 29 - renesas,sata-r8a7795 # R-Car H3 [all …]
|
| H A D | exynos-sata.txt | 1 * Samsung AHCI SATA Controller 3 SATA nodes are defined to describe on-chip Serial ATA controllers. 4 Each SATA controller should have its own node. 7 - compatible : compatible list, contains "samsung,exynos5-sata" 8 - interrupts : <interrupt mapping for SATA IRQ> 10 - samsung,sata-freq : <frequency in MHz> 13 - phy-names : Must be "sata-phy" 17 - clock-names : Shall be "sata" for the external SATA bus clock, 21 sata@122f0000 { 23 samsung,sata-freq = <66>; [all …]
|
| H A D | sata-common.yaml | 4 $id: http://devicetree.org/schemas/ata/sata-common.yaml# 7 title: Common Properties for Serial AT attachment (SATA) controllers 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 26 "sata" 35 "^sata-port@[0-9a-e]$": 37 DT nodes for ports connected on the SATA host. The SATA port 38 nodes will be named "sata-port". [all …]
|
| H A D | cortina,gemini-sata-bridge.txt | 1 * Cortina Systems Gemini SATA Bridge 3 The Gemini SATA bridge in a SoC-internal PATA to SATA bridge that 5 them in different configurations to two SATA ports. 9 "cortina,gemini-sata-bridge" 11 - resets: phandles to the reset lines for both SATA bridges 17 the ATA controller and SATA bridges. Values 0..3: 37 - cortina,gemini-enable-sata-bridge: enables the PATA to SATA bridge 43 sata: sata@46000000 { 44 compatible = "cortina,gemini-sata-bridge"; 54 cortina,gemini-enable-sata-bridge;
|
| H A D | ahci-platform.txt | 1 * AHCI SATA Controller 3 SATA nodes are defined to describe on-chip Serial ATA controllers. 4 Each SATA controller should have its own node. 21 - interrupts : <interrupt mapping for SATA IRQ> 32 - target-supply : regulator for SATA target power 34 - phys : reference to the SATA PHY node 35 - phy-names : must be "sata-phy" 49 - phys : reference to the SATA PHY node 50 - target-supply : regulator for SATA target power 53 sata@ffe08000 { [all …]
|
| H A D | fsl-sata.txt | 1 * Freescale 8xxx/3.0 Gb/s SATA nodes 3 SATA nodes are defined to describe on-chip Serial ATA controllers. 4 Each SATA port should have its own node. 8 "fsl,CHIP-sata", where CHIP is the processor 10 "fsl,pq-sata" 11 - interrupts : <interrupt mapping for SATA IRQ> 22 sata@18000 { 23 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
|
| H A D | apm-xgene.txt | 1 * APM X-Gene 6.0 Gb/s SATA host controller nodes 3 SATA host controller nodes are defined to describe on-chip Serial ATA 4 controllers. Each SATA controller (pair of ports) have its own node. 19 - interrupts : Interrupt-specifier for SATA host controller IRQ. 24 * "sata-phy" for the SATA 6.0Gbps PHY 51 sata2: sata@1a400000 { 62 phy-names = "sata-phy"; 65 sata3: sata@1a800000 { 76 phy-names = "sata-phy";
|
| H A D | imx-sata.yaml | 4 $id: http://devicetree.org/schemas/ata/imx-sata.yaml# 7 title: Freescale i.MX AHCI SATA Controller 13 The Freescale i.MX SATA controller mostly conforms to the AHCI interface 31 - description: sata clock 32 - description: sata reference clock 37 - const: sata 59 description: if present, disable spread-spectrum clocking on the SATA link. 75 sata@2200000 { 82 clock-names = "sata", "sata_ref", "ahb";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | brcm-sata-phy.txt | 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" 11 "brcm,iproc-sr-sata-phy" 12 "brcm,bcm63138-sata-phy" 18 "brcm,iproc-ns2-sata-phy" and "brcm,iproc-sr-sata-phy". 29 This property is not applicable for "brcm,iproc-ns2-sata-phy", 30 "brcm,iproc-nsp-sata-phy" and "brcm,iproc-sr-sata-phy". [all …]
|
| H A D | phy-miphy365x.txt | 5 for SATA and PCIe. 29 - sata: For SATA devices 33 - st,sata-gen : Generation of locally attached SATA IP. Expected values 37 - st,sata-tx-pol-inv : Bool property to invert the polarity SATA Tx (Txn/Txp) 50 reg-names = "sata", "pcie"; 52 st,sata-gen = <3>; 57 reg-names = "sata", "pcie", "syscfg"; 73 sata0: sata@fe380000 {
|
| H A D | qcom-ipq806x-sata-phy.txt | 1 Qualcomm IPQ806x SATA PHY Controller 4 SATA PHY nodes are defined to describe on-chip SATA Physical layer controllers. 5 Each SATA PHY controller should have its own node. 8 - compatible: compatible list, contains "qcom,ipq806x-sata-phy" 9 - reg: offset and length of the SATA PHY register set; 15 sata_phy: sata-phy@1b400000 { 16 compatible = "qcom,ipq806x-sata-phy";
|
| H A D | qcom-apq8064-sata-phy.txt | 1 Qualcomm APQ8064 SATA PHY Controller 4 SATA PHY nodes are defined to describe on-chip SATA Physical layer controllers. 5 Each SATA PHY controller should have its own node. 8 - compatible: compatible list, contains "qcom,apq8064-sata-phy". 9 - reg: offset and length of the SATA PHY register set; 16 sata_phy: sata-phy@1b400000 { 17 compatible = "qcom,apq8064-sata-phy";
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | sata.c | 18 #include <sata.h> 34 printf("Cannot find SATA device %d (err=%d)\n", devnum, rc); in sata_remove() 40 printf("Cannot remove SATA device '%s' (err=%d)\n", dev->name, in sata_remove() 62 printf("Cannot probe SATA device %d (err=%d)\n", devnum, rc); in sata_probe() 67 printf("Cannot scan SATA device %d (err=%d)\n", devnum, rc); in sata_probe() 108 /* If the user has not yet run `sata init`, do it now */ in do_sata() 120 sata, 5, 1, do_sata, 121 "SATA sub system", 122 "init - init SATA sub system\n" 123 "sata stop [dev] - disable SATA sub system or device\n" [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/ata/ |
| H A D | intel-sata.txt | 1 Intel Pantherpoint SATA Device Binding 5 SATA device is as follows: 9 - intel,sata-mode : string, one of: 13 - intel,sata-port-map : Which SATA ports are enabled, bit 0=enable first port, 15 - intel,sata-port0-gen3-tx : Value for the IOBP_SP0G3IR register 16 - intel,sata-port1-gen3-tx : Value for the IOBP_SP1G3IR register 21 sata { 23 intel,sata-mode = "ahci"; 24 intel,sata-port-map = <1>; 25 intel,sata-port0-gen3-tx = <0x00880a7f>;
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/hddtemp/hddtemp/ |
| H A D | hddtemp.db | 118 "HDS722525VLSA80" 194 C "Hitachi Deskstar 7K250 250GB, 7200RPM, 8MB, SATA" 119 "HDS722516VLSA80" 194 C "Hitachi Deskstar 7K250 160GB 8Mo cache SATA" 120 "HDS722580VLSA80" 194 C "Hitachi Deskstar 7K250 80GB SATA" 126 "HDT722516DLA380 V43O" 194 C "Hitachi T7K250 SATA" 128 "HDT725050VLA360" 194 C "Hitachi Deskstar T7K500 500GB, 7200RPM, 16MB, SATA II" 134 "HTS541010G9SA00" 194 C "Hitachi Travelstar 100GB SATA" 199 "Maxtor 6V320F0" 194 C "Maxtor Diamond Max 10 SATA II 320 GB" 206 "Maxtor 6B080M0" 194 C "Maxtor DiamondMax 10 80GB 8MB SATA" 207 "Maxtor 6B120M0" 194 C "Maxtor DiamondMax 10 120GB 8MB SATA" 208 "Maxtor 6B160M0" 194 C "Maxtor DiamondMax 10 160GB 8MB SATA" [all …]
|
| /OK3568_Linux_fs/kernel/drivers/phy/st/ |
| H A D | phy-spear1340-miphy.c | 32 /* PCIE - SATA configuration registers */ 75 SATA, enumerator 80 /* phy mode: 0 for SATA 1 for PCIe */ 96 /* Switch on sata power domain */ in spear1340_miphy_sata_init() 100 /* Wait for SATA power domain on */ in spear1340_miphy_sata_init() 103 /* Disable PCIE SATA Controller reset */ in spear1340_miphy_sata_init() 106 /* Wait for SATA reset de-assert completion */ in spear1340_miphy_sata_init() 119 /* Enable PCIE SATA Controller reset */ in spear1340_miphy_sata_exit() 123 /* Wait for SATA power domain off */ in spear1340_miphy_sata_exit() 125 /* Switch off sata power domain */ in spear1340_miphy_sata_exit() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | mvebu-gated-clock.txt | 20 15 sata0 SATA Host 0 25 30 sata1 SATA Host 0 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 70 15 sata0 SATA 0 79 30 sata1 SATA 1 90 15 sata0 SATA 0 109 15 sata0 SATA Host 0 [all …]
|