/openbmc/linux/drivers/mtd/parsers/ |
H A D | redboot.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Parse RedBoot-style Flash Image System (FIS) tables and 7 * Copyright © 2001-2010 David Woodhouse <dwmw2@infradead.org> 26 unsigned char _pad[256 - (16 + 7 * sizeof(u32))]; 60 ret = of_property_read_u32(npart, "fis-index-block", &dirblock); in parse_redboot_of() 95 offset = master->size + directory * master->erasesize; in parse_redboot_partitions() 99 pr_notice("Failed to find a non-bad block to check for RedBoot partition table\n"); in parse_redboot_partitions() 100 return -EIO; in parse_redboot_partitions() 102 offset -= master->erasesize; in parse_redboot_partitions() 105 offset = (unsigned long) directory * master->erasesize; in parse_redboot_partitions() [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | ahci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * ahci.h - Common AHCI SATA definitions and declarations 6 * Please ALWAYS copy linux-ide@vger.kernel.org 9 * Copyright 2004-2005 Red Hat, Inc. 12 * as Documentation/driver-api/libata.rst 64 RX_FIS_PIO_SETUP = 0x20, /* offset of PIO Setup FIS data */ 65 RX_FIS_D2H_REG = 0x40, /* offset of D2H Register FIS data */ 66 RX_FIS_SDB = 0x58, /* offset of SDB FIS data */ 67 RX_FIS_UNK = 0x60, /* offset of Unknown FIS data */ 80 HOST_RESET = BIT(0), /* reset controller; self-clear */ [all …]
|
H A D | libata-sata.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 19 #include "libata-transport.h" 30 * sata_scr_valid - test whether SCRs are accessible 43 struct ata_port *ap = link->ap; in sata_scr_valid() 45 return (ap->flags & ATA_FLAG_SATA) && ap->ops->scr_read; in sata_scr_valid() 50 * sata_scr_read - read SCR register of the specified port 56 * guaranteed to succeed if @link is ap->link, the cable type of 57 * the port is SATA and the port implements ->scr_read. [all …]
|
H A D | sata_sil24.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sata_sil24.c - Driver for Silicon Image 3124/3132 SATA-2 controllers 7 * Based on preview driver from Silicon Image. 17 #include <linux/dma-mapping.h> 33 u8 fis[6 * 4]; member 57 SIL24_MAX_SGT = (PAGE_SIZE - SIL24_PRB_SZ) 113 PORT_CTRL_STAT = 0x1000, /* write: ctrl-set, read: stat */ 114 PORT_CTRL_CLR = 0x1004, /* write: ctrl-clear */ 116 PORT_IRQ_ENABLE_SET = 0x1010, /* write: enable-set */ 117 PORT_IRQ_ENABLE_CLR = 0x1014, /* write: enable-clear */ [all …]
|
H A D | sata_mv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sata_mv.c - Marvell SATA support 5 * Copyright 2008-2009: Marvell Corporation, all rights reserved. 12 * Please ALWAYS copy linux-ide@vger.kernel.org on emails. 18 * --> Develop a low-power-consumption strategy, and implement it. 20 * --> Add sysfs attributes for per-chip / per-HC IRQ coalescing thresholds. 22 * --> [Experiment, Marvell value added] Is it possible to use target 23 * mode to cross-connect two Linux boxes with Marvell cards? If so, 31 * 80x1-B2 errata PCI#11: 34 * should be careful to insert those cards only onto PCI-X bus #0, [all …]
|
/openbmc/linux/Documentation/arch/arm/sa1100/ |
H A D | assabet.rst | 2 The Intel Assabet (SA-1110 evaluation) board 13 ------------------- 25 ----------------------- 39 John Dorsey has produced add-on patches to add support for Assabet and 44 RedBoot is a bootloader developed by Red Hat based on the eCos RTOS 55 - ftp://ftp.netwinder.org/users/n/nico/ 56 - ftp://ftp.arm.linux.org.uk/pub/linux/arm/people/nico/ 57 - ftp://ftp.handhelds.org/pub/linux/arm/sa-1100-patches/ 59 Look for redboot-assabet*.tgz. Some installation infos are provided in 60 redboot-assabet*.txt. [all …]
|
/openbmc/linux/drivers/block/mtip32xx/ |
H A D | mtip32xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * mtip32xx.h - Header file for the P320 SSD Block Driver 54 * is used to access the correct s_active/Command Issue register based 67 * NOTE: This is the driver maximum; check dd->slot_groups for actual value. 95 * Per-tag bitfield size in longs. 104 (U32_PER_LONG-1))/U32_PER_LONG) 181 mtip_workq_sdbfx(w->port, group, w->completed); \ 184 /* Register Frame Information Structure (FIS), host to device. */ 187 * FIS type. 188 * - 27h Register FIS, host to device. [all …]
|
/openbmc/linux/drivers/scsi/isci/ |
H A D | request.h | 7 * 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. 64 * isci_stp_request - extra request infrastructure to handle pio/atapi protocol 65 * @pio_len - number of bytes requested at PIO setup 66 * @status - pio setup ending status value to tell us if we need 67 * to wait for another fis or if the transfer is complete. Upon 68 * receipt of a d2h fis this will be the status field of that fis. 69 * @sgl - track pio transfer progress as we iterate through the sgl 103 * - TMF requests are completed in the thread that started them; [all …]
|
H A D | request.c | 7 * 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. 78 return &ireq->tc->sgl_pair_ab; in to_sgl_element_pair() 80 return &ireq->tc->sgl_pair_cd; in to_sgl_element_pair() 84 return &ireq->sg_table[idx - 2]; in to_sgl_element_pair() 93 offset = (void *) &ireq->tc->sgl_pair_ab - in to_sgl_element_pair_dma() 94 (void *) &ihost->task_context_table[0]; in to_sgl_element_pair_dma() 95 return ihost->tc_dma + offset; in to_sgl_element_pair_dma() 97 offset = (void *) &ireq->tc->sgl_pair_cd - in to_sgl_element_pair_dma() [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | ahci.c | 29 #include "pci-pc.h" 31 #include "qemu/host-utils.h" 97 RegH2DFIS fis; member 107 g_assert(ahci->parent); in ahci_alloc() 108 return qmalloc(ahci->parent, bytes); in ahci_alloc() 114 g_assert(ahci->parent); in ahci_free() 115 qfree(ahci->parent, addr); in ahci_free() 156 QPCIBus *pcibus = dev ? dev->bus : NULL; in free_ahci_device() 163 /* Free all memory in-use by the AHCI device. */ 169 if (ahci->port[port].fb) { in ahci_clean_mem() [all …]
|
/openbmc/linux/arch/arm/boot/dts/intel/ixp/ |
H A D | intel-ixp42x-ixdp425.dts | 1 // SPDX-License-Identifier: ISC 8 * This machine is based on a 533 MHz IXP425. 11 /dts-v1/; 13 #include "intel-ixp42x.dtsi" 14 #include "intel-ixp4xx-reference-design.dtsi" 15 #include <dt-bindings/input/input.h> 20 #address-cells = <1>; 21 #size-cells = <1>; 26 compatible = "intel,ixp4xx-flash", "cfi-flash"; 27 bank-width = <2>; [all …]
|
H A D | intel-ixp42x-netgear-wg302v1.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for Netgear WG302v2 based on IXP422BB 7 /dts-v1/; 9 #include "intel-ixp42x.dtsi" 10 #include <dt-bindings/input/input.h> 15 #address-cells = <1>; 16 #size-cells = <1>; 27 stdout-path = "uart1:9600n8"; 38 compatible = "intel,ixp4xx-flash", "cfi-flash"; 39 bank-width = <2>; [all …]
|
H A D | intel-ixp42x-gateway-7001.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for Gateway 7001 AP based on IXP422 7 /dts-v1/; 9 #include "intel-ixp42x.dtsi" 10 #include <dt-bindings/input/input.h> 15 #address-cells = <1>; 16 #size-cells = <1>; 26 stdout-path = "uart1:115200n8"; 37 compatible = "intel,ixp4xx-flash", "cfi-flash"; 38 bank-width = <2>; [all …]
|
H A D | intel-ixp42x-dlink-dsm-g600.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for D-Link DSM-G600 revision A based on IXP420 11 /dts-v1/; 13 #include "intel-ixp42x.dtsi" 14 #include <dt-bindings/input/input.h> 17 model = "D-Link DSM-G600 rev A"; 18 compatible = "dlink,dsm-g600-a", "intel,ixp42x"; 19 #address-cells = <1>; 20 #size-cells = <1>; 30 stdout-path = "uart0:115200n8"; [all …]
|
H A D | intel-ixp42x-goramo-multilink.dts | 1 // SPDX-License-Identifier: ISC 5 * - MultiLink Basic (a box) 6 * - MultiLink Max (19" rack mount) 8 * This machine is based on IXP425. 9 * This is one of the few devices supporting the IXP4xx High-Speed Serial 14 /dts-v1/; 16 #include "intel-ixp42x.dtsi" 17 #include <dt-bindings/input/input.h> 21 compatible = "goramo,multilink-router", "intel,ixp42x"; 22 #address-cells = <1>; [all …]
|
H A D | intel-ixp42x-freecom-fsg-3.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for the Freecom FSG-3 router. 4 * This machine is based on IXP425. 8 /dts-v1/; 10 #include "intel-ixp42x.dtsi" 11 #include <dt-bindings/input/input.h> 14 model = "Freecom FSG-3"; 15 compatible = "freecom,fsg-3", "intel,ixp42x"; 16 #address-cells = <1>; 17 #size-cells = <1>; [all …]
|
H A D | intel-ixp42x-arcom-vulcan.dts | 1 // SPDX-License-Identifier: ISC 4 * This board is a single board computer in the PC/104 form factor based on 8 /dts-v1/; 10 #include "intel-ixp42x.dtsi" 11 #include <dt-bindings/input/input.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 27 stdout-path = "uart0:115200n8"; 35 compatible = "w1-gpio"; 42 compatible = "intel,ixp4xx-flash", "cfi-flash"; [all …]
|
H A D | intel-ixp42x-gateworks-gw2348.dts | 1 // SPDX-License-Identifier: ISC 4 * This machine is based on IXP425. 7 /dts-v1/; 9 #include "intel-ixp42x.dtsi" 10 #include <dt-bindings/input/input.h> 15 #address-cells = <1>; 16 #size-cells = <1>; 25 stdout-path = "uart0:115200n8"; 33 compatible = "gpio-leds"; 34 led-user { [all …]
|
H A D | intel-ixp43x-gateworks-gw2358.dts | 1 // SPDX-License-Identifier: ISC 3 * Device Tree file for Gateworks IXP43x-based Cambria GW2358 6 /dts-v1/; 8 #include "intel-ixp43x.dtsi" 13 #address-cells = <1>; 14 #size-cells = <1>; 24 stdout-path = "uart0:115200n8"; 32 compatible = "gpio-leds"; 33 led-user { 36 default-state = "on"; [all …]
|
H A D | intel-ixp42x-linksys-wrv54g.dts | 1 // SPDX-License-Identifier: ISC 5 * Based on a board file by George T. Joseph and other patches. 6 * This machine is based on IXP425. 9 /dts-v1/; 11 #include "intel-ixp42x.dtsi" 12 #include <dt-bindings/input/input.h> 17 #address-cells = <1>; 18 #size-cells = <1>; 28 stdout-path = "uart1:115200n8"; 39 compatible = "gpio-leds"; [all …]
|
/openbmc/u-boot/drivers/ata/ |
H A D | ahci.c | 1 // SPDX-License-Identifier: GPL-2.0+ 26 #include <dm/device-internal.h> 64 port->cmd_addr = base; in ahci_setup_port() 65 port->scr_addr = base + PORT_SCR; in ahci_setup_port() 100 ahci_dcache_flush_range((unsigned long)pp->cmd_slot, in ahci_dcache_flush_sata_cmd() 114 return (i < timeout_msec) ? 0 : -1; in waiting_for_cmd_completed() 121 void __iomem *port_mmio = uc_priv->port[port].port_mmio; in ahci_link_up() 126 * rarely has it taken between 1-2 ms. Never seen it above 2 ms. in ahci_link_up() 163 i--; in ahci_reset() 168 return -1; in ahci_reset() [all …]
|
/openbmc/qemu/hw/ide/ |
H A D | ahci.c | 28 #include "hw/qdev-properties.h" 31 #include "qemu/error-report.h" 33 #include "qemu/main-loop.h" 35 #include "sysemu/block-backend.h" 38 #include "hw/ide/ahci-pci.h" 39 #include "hw/ide/ahci-sysbus.h" 40 #include "ahci-internal.h" 41 #include "ide-internal.h" 120 AHCIPortRegs *pr = &s->dev[port].port_regs; in ahci_port_read() 126 val = pr->lst_addr; in ahci_port_read() [all …]
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_host_smp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 if (phy_id >= sas_ha->num_phys) { in sas_host_smp_discover() 31 phy = sas_ha->sas_phy[phy_id]->phy; in sas_host_smp_discover() 33 resp_data[13] = phy->negotiated_linkrate; in sas_host_smp_discover() 34 memcpy(resp_data + 16, sas_ha->sas_addr, SAS_ADDR_SIZE); in sas_host_smp_discover() 35 memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr, in sas_host_smp_discover() 37 resp_data[40] = (phy->minimum_linkrate << 4) | in sas_host_smp_discover() 38 phy->minimum_linkrate_hw; in sas_host_smp_discover() 39 resp_data[41] = (phy->maximum_linkrate << 4) | in sas_host_smp_discover() 40 phy->maximum_linkrate_hw; in sas_host_smp_discover() [all …]
|
/openbmc/linux/arch/arm/boot/dts/gemini/ |
H A D | gemini-nas4220b.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree file for the Gemini-based Raidsonic NAS IB-4220-B 6 /dts-v1/; 9 #include <dt-bindings/input/input.h> 12 model = "Raidsonic NAS IB-4220-B"; 13 compatible = "raidsonic,ib-4220-b", "cortina,gemini"; 14 #address-cells = <1>; 15 #size-cells = <1>; 24 stdout-path = &uart0; 28 compatible = "gpio-keys"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/ata/ |
H A D | ahci-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/ahci-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hans de Goede <hdegoede@redhat.com> 11 - Damien Le Moal <dlemoal@kernel.org> 18 document doesn't constitute a DT-node binding by itself but merely 19 defines a set of common properties for the AHCI-compatible devices. 24 - $ref: sata-common.yaml# 32 reg-names: [all …]
|