/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 …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 This provides partitions parser for devices based on BCM47xx 19 tristate "Broadcom's U-Boot partition parser" 22 Broadcom uses a custom way of storing U-Boot environment variables. 23 They are placed inside U-Boot partition itself at unspecified offset. 44 <mtddef> := <mtd-id>:<partdef>[,<partdef>] 46 <mtd-id> := unique id used in mapping driver/device 47 <size> := standard linux memsize OR "-" to denote all 57 1 flash resource (mtd-id "sa1100"), with 1 single writable partition: 58 mtdparts=sa1100:- [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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-usrobotics-usr8200.dts | 1 // SPDX-License-Identifier: ISC 4 * VPN and NAS. Based on know-how from Peter Denison. 6 * This machine is based on IXP422, the USR internal codename 10 /dts-v1/; 12 #include "intel-ixp42x.dtsi" 13 #include <dt-bindings/input/input.h> 18 #address-cells = <1>; 19 #size-cells = <1>; 28 stdout-path = "uart1:115200n8"; 38 compatible = "gpio-leds"; [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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/Documentation/driver-api/ |
H A D | libata.rst | 12 transports for ATA and ATAPI devices, and SCSI<->ATA translation for ATA 16 internals, and a couple sample ATA low-level drivers. 22 is defined for every low-level libata 23 hardware driver, and it controls how the low-level driver interfaces 26 FIS-based drivers will hook into the system with ``->qc_prep()`` and 27 ``->qc_issue()`` high-level hooks. Hardware which behaves in a manner 33 ---------------------------------------------------------- 35 Post-IDENTIFY device configuration 44 Typically used to apply device-specific fixups prior to issue of SET 45 FEATURES - XFER MODE, and prior to operation. [all …]
|
/linux/drivers/nvme/target/ |
H A D | admin-cmd.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 17 u32 len = le16_to_cpu(cmd->get_log_page.numdu); in nvmet_get_log_page_len() 20 len += le16_to_cpu(cmd->get_log_page.numdl); in nvmet_get_log_page_len() 21 /* NUMD is a 0's based value */ in nvmet_get_log_page_len() 32 return sizeof(req->sq->ctrl->hostid); in nvmet_feat_data_len() 40 return le64_to_cpu(cmd->get_log_page.lpo); in nvmet_get_log_page_offset() 45 nvmet_req_complete(req, nvmet_zero_sgl(req, 0, req->transfer_len)); in nvmet_execute_get_log_page_noop() 50 struct nvmet_ctrl *ctrl = req->sq->ctrl; in nvmet_execute_get_log_page_error() 56 spin_lock_irqsave(&ctrl->error_lock, flags); in nvmet_execute_get_log_page_error() [all …]
|