Home
last modified time | relevance | path

Searched refs:sata (Results 1 – 25 of 1169) sorted by relevance

12345678910>>...47

/OK3568_Linux_fs/u-boot/env/
H A Dsata.c35 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()
71 if (write_env(sata, CONFIG_ENV_SIZE, CONFIG_ENV_OFFSET, &env_new)) { in env_sata_save()
81 static inline int read_env(struct blk_desc *sata, unsigned long size, in read_env() argument
86 blk_start = ALIGN(offset, sata->blksz) / sata->blksz; in read_env()
[all …]
/OK3568_Linux_fs/u-boot/drivers/ata/
H A Dfsl_sata.c87 fsl_sata_t *sata; in init_sata() local
106 sata = (fsl_sata_t *)malloc(sizeof(fsl_sata_t)); in init_sata()
107 if (!sata) { in init_sata()
112 memset((void *)sata, 0, sizeof(fsl_sata_t)); in init_sata()
115 sata_dev_desc[dev].priv = (void *)sata; in init_sata()
117 snprintf(sata->name, 12, "SATA%d", dev); in init_sata()
121 sata->reg_base = reg; in init_sata()
126 sata->cmd_hdr_tbl_offset = (void *)malloc(length + align); in init_sata()
127 if (!sata->cmd_hdr_tbl_offset) { in init_sata()
132 cmd_hdr = (cmd_hdr_tbl_t *)(((u32)sata->cmd_hdr_tbl_offset + align) in init_sata()
[all …]
H A Dsata_sil.c119 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()
209 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_cmd_identify_device() local
220 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, id)); in sil_cmd_identify_device()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/broadcom/stingray/
H A Dstingray-sata.dtsi33 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/Documentation/devicetree/bindings/phy/
H A Dbrcm-sata-phy.txt5 "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 Dberlin-sata-phy.txt6 "marvell,berlin2-sata-phy"
7 "marvell,berlin2q-sata-phy"
22 compatible = "marvell,berlin2q-sata-phy";
29 sata-phy@0 {
33 sata-phy@1 {
H A Dphy-miphy365x.txt29 - 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 Dphy-mvebu.txt10 - compatible : Should be "marvell,mvebu-sata-phy"
12 - clock-names : Should be "sata"
15 sata-phy@84000 {
16 compatible = "marvell,mvebu-sata-phy";
19 clock-names = "sata";
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.sata10 => sata info
24 => sata write 40000 0 2000
28 => sata write 40000 2000 8000
32 => sata write 40000 a000 1000
37 => sata read 200000 0 2000
40 => sata read 1000000 2000 8000
43 => sata read 2000000 a000 1000
53 => ext2ls sata 0:1 /
62 => ext2load sata 0:1 200000 /uImage.837x
64 => ext2load sata 0:1 1000000 /ramdisk.837x
[all …]
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/ata/
H A Dintel-sata.txt9 - 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/kernel/Documentation/devicetree/bindings/ata/
H A Dexynos-sata.txt7 - compatible : compatible list, contains "samsung,exynos5-sata"
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>;
27 clock-names = "sata", "sclk_sata";
29 phy-names = "sata-phy";
H A Dmarvell.txt4 - compatibility : "marvell,orion-sata" or "marvell,armada-370-sata"
10 - phys : List of phandles to sata phys
15 sata@80000 {
16 compatible = "marvell,orion-sata";
H A Dnvidia,tegra124-ahci.txt15 - sata
16 - sata-oob
20 - sata
21 - sata-oob
22 - sata-cold
27 - sata-phy : XUSB PADCTL SATA PHY
44 - sata-phy
H A Dfsl-sata.txt8 "fsl,CHIP-sata", where CHIP is the processor
10 "fsl,pq-sata"
22 sata@18000 {
23 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
H A Dcortina,gemini-sata-bridge.txt9 "cortina,gemini-sata-bridge"
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 Dapm-xgene.txt24 * "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 Dahci-platform.txt35 - phy-names : must be "sata-phy"
53 sata@ffe08000 {
60 sata@f7e90000 {
68 sata0: sata-port@0 {
74 sata1: sata-port@1 {
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Darmada-370-dlink-dns327l.dts39 sata@a0000 {
89 sata-r-amber-pin {
90 label = "dns327l:amber:sata-r";
95 sata-l-amber-pin {
96 label = "dns327l:amber:sata-l";
174 sata_l_white_pin: sata-l-white-pin {
179 sata_r_white_pin: sata-r-white-pin {
184 sata_r_amber_pin: sata-r-amber-pin {
189 sata_l_amber_pin: sata-l-amber-pin {
204 sata_r_pwr_pin: sata-r-pwr-pin {
[all …]
H A Dkirkwood-ns2lite.dts16 sata@80000 {
27 blue-sata {
28 label = "ns2:blue:sata";
H A Dgemini.dtsi133 sata_default_pins: pinctrl-sata {
135 function = "sata";
140 sata_and_ide_pins: pinctrl-sata-ide {
142 function = "sata";
204 sata: sata@46000000 { label
205 compatible = "cortina,gemini-sata-bridge";
367 sata = <&sata>;
380 sata = <&sata>;
/OK3568_Linux_fs/kernel/drivers/phy/tegra/
H A Dxusb-tegra210.c491 struct tegra_xusb_sata_pad *sata = to_sata_pad(padctl->sata); in tegra210_sata_uphy_enable() local
496 if (sata->enable > 0) { in tegra210_sata_uphy_enable()
497 sata->enable++; in tegra210_sata_uphy_enable()
501 err = clk_prepare_enable(sata->pll); in tegra210_sata_uphy_enable()
505 err = reset_control_deassert(sata->rst); in tegra210_sata_uphy_enable()
700 sata->enable++; in tegra210_sata_uphy_enable()
705 reset_control_assert(sata->rst); in tegra210_sata_uphy_enable()
707 clk_disable_unprepare(sata->pll); in tegra210_sata_uphy_enable()
713 struct tegra_xusb_sata_pad *sata = to_sata_pad(padctl->sata); in tegra210_sata_uphy_disable() local
717 if (WARN_ON(sata->enable == 0)) in tegra210_sata_uphy_disable()
[all …]
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-ns2.c50 unsigned char sata; /* True when SATA mode active. */ member
111 else if (led->sata) in ns2_led_set()
141 if (led->sata == enable) in ns2_led_sata_store()
144 led->sata = enable; in ns2_led_sata_store()
164 return sprintf(buf, "%d\n", led->sata); in ns2_led_sata_show()
167 static DEVICE_ATTR(sata, 0644, ns2_led_sata_show, ns2_led_sata_store);
226 led->sata = (mode == NS_V2_LED_SATA) ? 1 : 0; in ns2_led_register()
/OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/
H A Dmpc8379_rdb.dts347 sata@18000 {
348 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
355 sata@19000 {
356 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
363 sata@1a000 {
364 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
371 sata@1b000 {
372 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
H A Dmpc8379_mds.dts340 sata@18000 {
341 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
348 sata@19000 {
349 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
356 sata@1a000 {
357 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
364 sata@1b000 {
365 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mips/cavium/
H A Dsata-uctl.txt17 - compatible: "cavium,octeon-7130-sata-uctl"
29 compatible = "cavium,octeon-7130-sata-uctl";
36 sata: sata@16c0000000000 {

12345678910>>...47