/linux-5.10/Documentation/devicetree/bindings/arm/bcm/ |
D | raspberrypi,bcm2835-firmware.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Raspberry Pi VideoCore firmware driver 10 - Eric Anholt <eric@anholt.net> 11 - Stefan Wahren <wahrenst@gmx.net> 17 const: raspberrypi,bcm2835-firmware 20 - compatible 25 - const: raspberrypi,bcm2835-firmware [all …]
|
/linux-5.10/Documentation/ABI/stable/ |
D | sysfs-driver-firmware-zynqmp | 1 What: /sys/devices/platform/firmware\:zynqmp-firmware/ggs* 11 The register is reset during system or power-on 17 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 18 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 22 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 23 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 27 What: /sys/devices/platform/firmware\:zynqmp-firmware/pggs* 38 This register is only reset by the power-on reset 39 and maintains its value through a system reset. 42 Register is reset only by a POR reset. [all …]
|
/linux-5.10/drivers/reset/ |
D | reset-raspberrypi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Raspberry Pi 4 firmware reset driver 12 #include <linux/reset-controller.h> 13 #include <soc/bcm2835/raspberrypi-firmware.h> 14 #include <dt-bindings/reset/raspberrypi,firmware-reset.h> 36 * PCIe chip that implements xHCI. After a PCI reset, VL805's in rpi_reset_reset() 37 * firmware may either be loaded directly from an EEPROM or, if in rpi_reset_reset() 38 * not present, by the SoC's co-processor, VideoCore. rpi's in rpi_reset_reset() 39 * VideoCore OS contains both the non public firmware load in rpi_reset_reset() 40 * logic and the VL805 firmware blob. This triggers the in rpi_reset_reset() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 bool "Reset Controller Support" 9 Generic Reset Controller support. 11 This framework is designed to abstract reset handling of devices 12 via GPIOs or SoC-internal reset controller modules. 19 tristate "Altera Arria10 System Resource Reset" 22 This option enables support for the external reset functions for 26 bool "AR71xx Reset Driver" if COMPILE_TEST 29 This enables the ATH79 reset controller driver that supports the 30 AR71xx SoC reset controller. [all …]
|
/linux-5.10/drivers/firmware/efi/ |
D | capsule.c | 1 // SPDX-License-Identifier: GPL-2.0 24 static int efi_reset_type = -1; 33 * efi_capsule_pending - has a capsule been passed to the firmware? 34 * @reset_type: store the type of EFI reset if capsule is pending 37 * firmware we need to perform a specific type of reset. If a capsule is 38 * pending return the reset type in @reset_type. 46 * A non-racy use is from platform reboot code because we use 47 * system_state to ensure no capsules can be sent to the firmware once 73 * efi_capsule_supported - does the firmware support the capsule? 77 * @reset: the reset type required for this capsule [all …]
|
/linux-5.10/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c 11 #include <linux/firmware.h> 22 /* Allocate memory for firmware */ 25 struct s5p_mfc_priv_buf *fw_buf = &dev->fw_buf; in s5p_mfc_alloc_firmware() 28 fw_buf->size = dev->variant->buf_size->fw; in s5p_mfc_alloc_firmware() 30 if (fw_buf->virt) { in s5p_mfc_alloc_firmware() 31 mfc_err("Attempting to allocate firmware when it seems that it is already loaded\n"); in s5p_mfc_alloc_firmware() 32 return -ENOMEM; in s5p_mfc_alloc_firmware() 35 err = s5p_mfc_alloc_priv_buf(dev, BANK_L_CTX, &dev->fw_buf); in s5p_mfc_alloc_firmware() [all …]
|
/linux-5.10/drivers/scsi/snic/ |
D | snic_stats.h | 43 atomic64_t fw_tmo; /* Abort Firmware Timeouts */ 49 atomic64_t dev_resets; /* Device Reset Counter */ 50 atomic64_t dev_reset_fail; /* Device Reset Failures */ 51 atomic64_t dev_reset_aborts; /* Device Reset Aborts */ 52 atomic64_t dev_reset_tmo; /* Device Reset Timeout */ 53 atomic64_t dev_reset_terms; /* Device Reset terminate */ 54 atomic64_t hba_resets; /* hba/firmware resets */ 55 atomic64_t hba_reset_cmpl; /* hba/firmware reset completions */ 56 atomic64_t hba_reset_fail; /* hba/firmware failures */ 58 atomic64_t snic_reset_compl; /* snic reset completions */ [all …]
|
D | snic_fwint.h | 34 SNIC_REQ_HBA_RESET, /* SNIC Reset */ 45 SNIC_RSP_HBA_RESET_CMPL, /* SNIC Reset Completion */ 58 * Header status codes from firmware 95 * snic_io_hdr : host <--> firmware 97 * for any other message that will be queued to firmware should 117 hdr->type = typ; in snic_io_hdr_enc() 118 hdr->status = status; in snic_io_hdr_enc() 119 hdr->protocol = 0; in snic_io_hdr_enc() 120 hdr->hid = cpu_to_le32(hid); in snic_io_hdr_enc() 121 hdr->cmnd_id = cpu_to_le32(id); in snic_io_hdr_enc() [all …]
|
/linux-5.10/Documentation/networking/devlink/ |
D | devlink-flash.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 9 The ``devlink-flash`` API allows updating device firmware. It replaces the 10 older ``ethtool-flash`` mechanism, and doesn't require taking any 13 $ devlink dev flash pci/0000:05:00.0 file flash-boot.bin 15 Note that the file name is a path relative to the firmware loading path 16 (usually ``/lib/firmware/``). Drivers may send status updates to inform 22 The ``devlink-flash`` command allows optionally specifying a mask indicating 26 .. list-table:: List of overwrite mask bits 29 * - Name 30 - Description [all …]
|
D | devlink-params.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 level device functionality. Since devlink can operate at the device-wide 22 .. list-table:: Possible configuration modes 25 * - Name 26 - Description 27 * - ``runtime`` 28 - set while the driver is running, and takes effect immediately. No 29 reset is required. 30 * - ``driverinit`` 31 - applied while the driver initializes. Requires the user to restart [all …]
|
D | devlink-reload.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ``devlink-reload`` provides mechanism to reinit driver entities, applying 8 ``devlink-params`` and ``devlink-resources`` new values. It also provides 9 mechanism to activate firmware. 17 .. list-table:: Possible reload actions 20 * - Name 21 - Description 22 * - ``driver-reinit`` 23 - Devlink driver entities re-initialization, including applying 25 load such as ``devlink-params`` in configuration mode [all …]
|
/linux-5.10/drivers/usb/misc/ |
D | emi26.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Emagic EMI 2|6 usb audio interface firmware loader. 15 #include <linux/firmware.h> 18 #define EMI26_VENDOR_ID 0x086a /* Emagic Soft-und Hardware GmBH */ 19 #define EMI26_PRODUCT_ID 0x0100 /* EMI 2|6 without firmware */ 20 #define EMI26B_PRODUCT_ID 0x0102 /* EMI 2|6 without firmware */ 23 #define ANCHOR_LOAD_EXTERNAL 0xA3 /* This command is not implemented in the core. Requires firmware… 24 #define ANCHOR_LOAD_FPGA 0xA5 /* This command is not implemented in the core. Requires firmware. Em… 26 #define CPUCS_REG 0x7F92 /* EZ-USB Control and Status Register. Bit 0 controls 8051 reset */ 46 dev_err(&dev->dev, "kmalloc(%d) failed.\n", length); in emi26_writememory() [all …]
|
D | emi62.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Emagic EMI 2|6 usb audio interface firmware loader. 13 #include <linux/firmware.h> 16 /* include firmware (variables)*/ 28 #define EMI62_VENDOR_ID 0x086a /* Emagic Soft-und Hardware GmBH */ 29 #define EMI62_PRODUCT_ID 0x0110 /* EMI 6|2m without firmware */ 32 #define ANCHOR_LOAD_EXTERNAL 0xA3 /* This command is not implemented in the core. Requires firmware… 33 #define ANCHOR_LOAD_FPGA 0xA5 /* This command is not implemented in the core. Requires firmware. Em… 35 #define CPUCS_REG 0x7F92 /* EZ-USB Control and Status Register. Bit 0 controls 8051 reset */ 55 dev_err(&dev->dev, "kmalloc(%d) failed.\n", length); in emi62_writememory() [all …]
|
/linux-5.10/Documentation/networking/device_drivers/ethernet/netronome/ |
D | nfp.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 12 - `Overview`_ 13 - `Acquiring Firmware`_ 20 incorporated in the company's family of Agilio SmartNICs. The SR-IOV 24 Acquiring Firmware 27 The NFP4000 and NFP6000 devices require application specific firmware 28 to function. Application firmware can be located either on the host file system 29 or in the device flash (if supported by management firmware). 31 Firmware files on the host filesystem contain card type (`AMDA-*` string), media 32 config etc. They should be placed in `/lib/firmware/netronome` directory to [all …]
|
/linux-5.10/drivers/net/wimax/i2400m/ |
D | i2400m.h | 3 * Declarations for bus-generic internal APIs 6 * Copyright (C) 2007-2008 Intel Corporation. All rights reserved. 35 * Intel Corporation <linux-wimax@intel.com> 36 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> 38 * - Initial implementation 45 * - bus specific driver 46 * - bus generic driver (this part) 49 * device is connected to (USB, PCI, tam-tam...non-authoritative 50 * nor binding list) which is basically the device-model management 54 * For details on each bus-specific driver, see it's include file, [all …]
|
/linux-5.10/Documentation/devicetree/bindings/reset/ |
D | xlnx,zynqmp-reset.txt | 1 -------------------------------------------------------------------------- 2 = Zynq UltraScale+ MPSoC and Versal reset driver binding = 3 -------------------------------------------------------------------------- 9 Please also refer to reset.txt in this directory for common reset 13 - compatible: "xlnx,zynqmp-reset" for Zynq UltraScale+ MPSoC platform 14 "xlnx,versal-reset" for Versal platform 15 - #reset-cells: Specifies the number of cells needed to encode reset 18 ------- 20 ------- 22 firmware { [all …]
|
/linux-5.10/drivers/hid/intel-ish-hid/ |
D | ishtp-fw-loader.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ISH-TP client driver for ISH firmware loading 8 #include <linux/firmware.h> 11 #include <linux/intel-ish-client-if.h> 15 /* Number of times we attempt to load the firmware before giving up */ 23 * ISH Shim firmware loader reserves 4 Kb buffer in SRAM. The buffer is 25 * firmware loader. Reason for the odd size of 3968 bytes? Each IPC 33 * enum ish_loader_commands - ISH loader host commands. 34 * LOADER_CMD_XFER_QUERY Query the Shim firmware loader for 36 * LOADER_CMD_XFER_FRAGMENT Transfer one firmware image fragment at a [all …]
|
/linux-5.10/drivers/net/wireless/intersil/prism54/ |
D | islpci_dev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 40 /* Temporary dummy MAC address to use until firmware is loaded. 46 * ndev->set_mac_address. Jean II */ 53 void __iomem *device_base = priv->device_base; in isl_upload_firmware() 55 /* clear the RAMBoot and the Reset bit */ in isl_upload_firmware() 63 /* set the Reset bit without reading the register ! */ in isl_upload_firmware() 69 /* clear the Reset bit */ in isl_upload_firmware() 78 const struct firmware *fw_entry = NULL; in isl_upload_firmware() 82 rc = request_firmware(&fw_entry, priv->firmware, PRISM_FW_PDEV); in isl_upload_firmware() 86 "prism54", priv->firmware); in isl_upload_firmware() [all …]
|
/linux-5.10/arch/arm/boot/dts/ |
D | bcm2711-rpi-4-b.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "bcm2835-rpi.dtsi" 5 #include "bcm283x-rpi-usb-peripheral.dtsi" 7 #include <dt-bindings/reset/raspberrypi,firmware-reset.h> 10 compatible = "raspberrypi,4-model-b", "brcm,bcm2711"; 15 stdout-path = "serial1:115200n8"; 38 default-state = "keep"; 39 linux,default-trigger = "default-on"; 43 wifi_pwrseq: wifi-pwrseq { [all …]
|
/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
D | qt202x_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2006-2012 Solarflare Communications Inc. 27 /* Quake-specific MDIO registers */ 78 /* Wait for firmware heartbeat to start */ in qt2025c_wait_heartbeat() 85 ((1 << PCS_FW_HEARTB_WIDTH) - 1)); in qt2025c_wait_heartbeat() 92 * PHY's on-board EEPROM so it cannot load firmware */ in qt2025c_wait_heartbeat() 93 netif_err(efx, hw, efx->net_dev, in qt2025c_wait_heartbeat() 97 return -ETIMEDOUT; in qt2025c_wait_heartbeat() 110 /* Wait for firmware status to look good */ in qt2025c_wait_fw_status_good() 116 ((1 << PCS_UC_STATUS_WIDTH) - 1) << PCS_UC_STATUS_LBN) >= in qt2025c_wait_fw_status_good() [all …]
|
/linux-5.10/drivers/watchdog/ |
D | ziirave_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/firmware.h> 61 /* Firmware commands */ 96 "Watchdog reset pulse duration in milliseconds"); 112 rev->major = ret; in ziirave_wdt_revision() 118 rev->minor = ret; in ziirave_wdt_revision() 125 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_wdt_set_state() 142 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_wdt_ping() 151 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_wdt_set_timeout() 156 wdd->timeout = timeout; in ziirave_wdt_set_timeout() [all …]
|
/linux-5.10/drivers/bluetooth/ |
D | btintel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include <linux/firmware.h> 41 if (skb->len != sizeof(*bda)) { in btintel_check_bdaddr() 44 return -EIO; in btintel_check_bdaddr() 47 bda = (struct hci_rp_read_bd_addr *)skb->data; in btintel_check_bdaddr() 54 if (!bacmp(&bda->bdaddr, BDADDR_INTEL)) { in btintel_check_bdaddr() 56 &bda->bdaddr); in btintel_check_bdaddr() 57 set_bit(HCI_QUIRK_INVALID_BDADDR, &hdev->quirks); in btintel_check_bdaddr() 83 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg() argument 90 * 0x01: Disable manufacturing mode and reset with patches deactivated. in btintel_exit_mfg() [all …]
|
/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | firmware.c | 2 * Copyright(c) 2015 - 2017 Intel Corporation. 24 * - Redistributions of source code must retain the above copyright 26 * - Redistributions in binary form must reproduce the above copyright 30 * - Neither the name of Intel Corporation nor the names of its 48 #include <linux/firmware.h> 58 * Make it easy to toggle firmware file name and if it gets loaded by 82 /* Firmware file names get set in hfi1_firmware_init() based on the above */ 94 * Firmware security header. 132 u8 firmware[]; member 142 u8 firmware[]; member [all …]
|
/linux-5.10/drivers/staging/rtl8192u/ |
D | r819xU_firmware.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Procedure: Init boot code/firmware code/data session 5 * Description: This routine will initialize firmware. If any error occurs during the initialization 12 * NDIS_STATUS_FAILURE - the following initialization process should be terminated 13 * NDIS_STATUS_SUCCESS - if firmware initialization process success 20 #include <linux/firmware.h> 25 rt_firmware *pfirmware = priv->pFirmware; in firmware_init_param() 27 pfirmware->cmdpacket_frag_threshold = GET_COMMAND_PACKET_FRAG_THRESHOLD(MAX_TRANSMIT_BUFFER_SIZE); in firmware_init_param() 43 rt_firmware *pfirmware = priv->pFirmware; in fw_download_code() 52 frag_threshold = pfirmware->cmdpacket_frag_threshold; in fw_download_code() [all …]
|
/linux-5.10/drivers/platform/chrome/ |
D | cros_ec_ishtp.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // ISHTP client driver for talking to the Chrome OS EC firmware running 8 // (ISH-TP). 15 #include <linux/intel-ish-client-if.h> 22 * The AP->ISH messages and corresponding ISH->AP responses are 25 * The MKBP ISH->AP events are serialized. We need one additional RX 33 CROS_EC_COMMAND = 1, /* AP->ISH message */ 34 CROS_MKBP_EVENT = 2, /* ISH->AP events */ 38 * ISH firmware timeout for 1 message send failure is 1Hz, and the 39 * firmware will retry 2 times, so 3Hz is used for timeout. [all …]
|