Home
last modified time | relevance | path

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

12345678910>>...23

/openbmc/u-boot/env/
H A Dsata.c32 static inline int write_env(struct blk_desc *sata, unsigned long size, in write_env() argument
37 blk_start = ALIGN(offset, sata->blksz) / sata->blksz; in write_env()
38 blk_cnt = ALIGN(size, sata->blksz) / sata->blksz; in write_env()
40 n = blk_dwrite(sata, blk_start, blk_cnt, buffer); in write_env()
48 struct blk_desc *sata = NULL; in env_sata_save() local
56 sata = sata_get_dev(env_sata); in env_sata_save()
57 if (sata == NULL) { in env_sata_save()
68 if (write_env(sata, CONFIG_ENV_SIZE, CONFIG_ENV_OFFSET, (u_char *)env_new)) { in env_sata_save()
78 static inline int read_env(struct blk_desc *sata, unsigned long size, in read_env() argument
83 blk_start = ALIGN(offset, sata->blksz) / sata->blksz; in read_env()
[all …]
/openbmc/u-boot/drivers/ata/
H A Dfsl_sata.c86 fsl_sata_t *sata; in init_sata() local
105 sata = (fsl_sata_t *)malloc(sizeof(fsl_sata_t)); in init_sata()
106 if (!sata) { in init_sata()
111 memset((void *)sata, 0, sizeof(fsl_sata_t)); in init_sata()
114 sata_dev_desc[dev].priv = (void *)sata; in init_sata()
116 snprintf(sata->name, 12, "SATA%d", dev); in init_sata()
120 sata->reg_base = reg; in init_sata()
125 sata->cmd_hdr_tbl_offset = (void *)malloc(length + align); in init_sata()
126 if (!sata->cmd_hdr_tbl_offset) { in init_sata()
131 cmd_hdr = (cmd_hdr_tbl_t *)(((u32)sata->cmd_hdr_tbl_offset + align) in init_sata()
[all …]
H A Dsata_sil.c118 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_read_fis() local
119 void *port = sata->port; in sil_read_fis()
133 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_exec_cmd() local
134 void *port = sata->port; in sil_exec_cmd()
135 u64 paddr = virt_to_bus(sata->devno, pcmd); in sil_exec_cmd()
169 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_cmd_set_feature() local
182 udma_cap = (u8)(sata->udma & 0xff); in sil_cmd_set_feature()
198 readl(sata->port + PORT_SERROR)); in sil_cmd_set_feature()
208 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_cmd_identify_device() local
219 pcmd->sge.addr = cpu_to_le64(virt_to_bus(sata->devno, id)); in sil_cmd_identify_device()
[all …]
/openbmc/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 …]
/openbmc/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>;
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/hddtemp/hddtemp/
H A D0001-sata.c-Declare-ata_get_powermode-prototype.patch4 Subject: [PATCH] sata.c: Declare ata_get_powermode prototype
8 sata.c:127:10: error: call to undeclared function 'ata_get_powermode'; ISO C99 and later do not sup…
14 src/sata.c | 3 ++-
17 diff --git a/src/sata.c b/src/sata.c
19 --- a/src/sata.c
20 +++ b/src/sata.c
/openbmc/linux/Documentation/devicetree/bindings/ata/
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 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 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";
/openbmc/linux/Documentation/devicetree/bindings/phy/
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-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";
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 Dqcom-ipq806x-sata-phy.txt8 - compatible: compatible list, contains "qcom,ipq806x-sata-phy"
15 sata_phy: sata-phy@1b400000 {
16 compatible = "qcom,ipq806x-sata-phy";
H A Dhix5hd2-phy.txt5 - compatible: should be "hisilicon,hix5hd2-sata-phy"
13 register of controlling sata power supply.
17 compatible = "hisilicon,hix5hd2-sata-phy";
/openbmc/linux/arch/arm/boot/dts/marvell/
H A Darmada-370-dlink-dns327l.dts39 sata@a0000 {
89 led-sata-r-amber {
90 label = "dns327l:amber:sata-r";
95 led-sata-l-amber {
96 label = "dns327l:amber:sata-l";
165 sata_l_white_pin: sata-l-white-pin {
170 sata_r_white_pin: sata-r-white-pin {
175 sata_r_amber_pin: sata-r-amber-pin {
180 sata_l_amber_pin: sata-l-amber-pin {
195 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 Dkirkwood-is2.dts17 sata@80000 {
28 blue-sata {
29 label = "ns2:blue:sata";
H A Dkirkwood-ns2.dts17 sata@80000 {
28 blue-sata {
29 label = "ns2:blue:sata";
/openbmc/linux/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()
/openbmc/u-boot/arch/arm/dts/
H A Dkirkwood-ns2lite.dts16 sata@80000 {
27 blue-sata {
28 label = "ns2:blue:sata";
H A Dkirkwood-ns2.dts17 sata@80000 {
28 blue-sata {
29 label = "ns2:blue:sata";
H A Dkirkwood-is2.dts17 sata@80000 {
28 blue-sata {
29 label = "ns2:blue:sata";
/openbmc/linux/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";
/openbmc/linux/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 {
/openbmc/u-boot/doc/device-tree-bindings/misc/
H A Dfs_loader.txt8 this property is required for mmc, usb and sata. This is unsigned
16 Example of storage device and partition search set for mmc, usb, sata and
20 sata and ubi as shown in below:
35 Example for sata:

12345678910>>...23