/linux/Documentation/devicetree/bindings/arm/bcm/ |
H A 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/Documentation/devicetree/bindings/firmware/xilinx/ |
H A D | xlnx,zynqmp-firmware.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/xilinx/xlnx,zynqmp-firmware.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx firmware driver 10 - Nava kishore Manne <nava.kishore.manne@amd.com> 12 description: The zynqmp-firmware node describes the interface to platform 13 firmware. ZynqMP has an interface to communicate with secure firmware. 14 Firmware driver provides an interface to firmware APIs. Interface APIs 23 - description: For implementations complying for Zynq Ultrascale+ MPSoC. [all …]
|
/linux/drivers/reset/ |
H A 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 …]
|
/linux/drivers/firmware/efi/ |
H A D | capsule.c | 1 // SPDX-License-Identifier: GPL-2.0 25 static int efi_reset_type = -1; 34 * efi_capsule_pending - has a capsule been passed to the firmware? 35 * @reset_type: store the type of EFI reset if capsule is pending 38 * firmware we need to perform a specific type of reset. If a capsule is 39 * pending return the reset type in @reset_type. 47 * A non-racy use is from platform reboot code because we use 48 * system_state to ensure no capsules can be sent to the firmware once 74 * efi_capsule_supported - does the firmware support the capsule? 78 * @reset: the reset type required for this capsule [all …]
|
/linux/Documentation/ABI/stable/ |
H A 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/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/media/platform/samsung/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/drivers/scsi/snic/ |
H A D | snic_stats.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 29 atomic64_t fw_tmo; /* Abort Firmware Timeouts */ 35 atomic64_t dev_resets; /* Device Reset Counter */ 36 atomic64_t dev_reset_fail; /* Device Reset Failures */ 37 atomic64_t dev_reset_aborts; /* Device Reset Aborts */ 38 atomic64_t dev_reset_tmo; /* Device Reset Timeout */ 39 atomic64_t dev_reset_terms; /* Device Reset terminate */ 40 atomic64_t hba_resets; /* hba/firmware resets */ 41 atomic64_t hba_reset_cmpl; /* hba/firmware reset completions */ 42 atomic64_t hba_reset_fail; /* hba/firmware failures */ [all …]
|
H A D | snic_fwint.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 SNIC_REQ_HBA_RESET, /* SNIC Reset */ 31 SNIC_RSP_HBA_RESET_CMPL, /* SNIC Reset Completion */ 44 * Header status codes from firmware 81 * snic_io_hdr : host <--> firmware 83 * for any other message that will be queued to firmware should 103 hdr->type = typ; in snic_io_hdr_enc() 104 hdr->status = status; in snic_io_hdr_enc() 105 hdr->protocol = 0; in snic_io_hdr_enc() 106 hdr->hid = cpu_to_le32(hid); in snic_io_hdr_enc() [all …]
|
/linux/drivers/hid/intel-ish-hid/ |
H A 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/Documentation/networking/devlink/ |
H A 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 …]
|
H A 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 …]
|
H A 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 27 * ``devlink-params`` in configuration mode ``driverinit`` [all …]
|
/linux/Documentation/sound/codecs/ |
H A D | cs35l56.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 14 The high-level summary of this document is: 17 working, DO NOT ATTEMPT TO USE FIRMWARE AND SETTINGS FROM ANOTHER LAPTOP, 30 --------------------------------- 44 Firmware chapter 47 The amplifier is controlled and managed by firmware running on the internal 48 DSP. Firmware files are essential to enable the full capabilities of the 51 Firmware is distributed in the linux-firmware repository: 52 https://gitlab.com/kernel-firmware/linux-firmware.git 65 the firmware is *mandatory* to enable receiving the audio from the CS42L43. [all …]
|
/linux/drivers/usb/misc/ |
H A 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 …]
|
H A 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/drivers/gpu/drm/tegra/ |
H A D | nvdec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2015-2022, NVIDIA Corporation. 8 #include <linux/dma-mapping.h> 16 #include <linux/reset.h> 29 const char *firmware; member 45 struct reset_control *reset; member 50 /* RISC-V specific data */ 63 writel(value, nvdec->regs + offset); in nvdec_writel() 71 if (nvdec->config->supports_sid && tegra_dev_iommu_get_stream_id(nvdec->dev, &stream_id)) { in nvdec_boot_falcon() 81 err = falcon_boot(&nvdec->falcon); in nvdec_boot_falcon() [all …]
|
/linux/Documentation/devicetree/bindings/gpu/host1x/ |
H A D | nvidia,tegra234-nvdec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra234-nvdec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Thierry Reding <treding@gmail.com> 16 - Mikko Perttunen <mperttunen@nvidia.com> 20 pattern: "^nvdec@[0-9a-f]*$" 24 - nvidia,tegra234-nvdec 32 clock-names: 34 - const: nvdec [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | firmware.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright(c) 2015 - 2017 Intel Corporation. 6 #include <linux/firmware.h> 15 * Make it easy to toggle firmware file name and if it gets loaded by 39 /* Firmware file names get set in hfi1_firmware_init() based on the above */ 51 * Firmware security header. 89 u8 firmware[]; member 99 u8 firmware[]; member 103 #define AUGMENT_SIZE (sizeof(struct augmented_firmware_file) - \ 108 const struct firmware *fw; [all …]
|
/linux/drivers/mfd/ |
H A D | cs42l43.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2022-2023 Cirrus Logic, Inc. and 15 #include <linux/firmware.h> 20 #include <linux/mfd/cs42l43-regs.h> 441 #define CS42L43_IRQ_OFFSET(reg) ((CS42L43_##reg##_INT) - CS42L43_DECIM_INT) 510 "vdd-a", "vdd-io", "vdd-cp", 513 static const char * const cs42l43_parent_supplies[] = { "vdd-amp" }; 516 { .name = "cs42l43-pinctrl", }, 517 { .name = "cs42l43-spi", }, 519 .name = "cs42l43-codec", [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm2711-rpi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "bcm2835-rpi.dtsi" 4 #include <dt-bindings/reset/raspberrypi,firmware-reset.h> 20 i2c0mux: i2c-mux0 { 21 compatible = "i2c-mux-pinctrl"; 22 #address-cells = <1>; 23 #size-cells = <0>; 25 i2c-parent = <&i2c0>; 27 pinctrl-names = "i2c0", "i2c0-vc"; 28 pinctrl-0 = <&i2c0_gpio0>; [all …]
|
/linux/drivers/watchdog/ |
H A D | ziirave_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/firmware.h> 60 /* Firmware commands */ 92 "Watchdog reset pulse duration in milliseconds"); 108 rev->major = ret; in ziirave_wdt_revision() 114 rev->minor = ret; in ziirave_wdt_revision() 121 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_wdt_set_state() 138 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_wdt_ping() 147 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_wdt_set_timeout() 152 wdd->timeout = timeout; in ziirave_wdt_set_timeout() [all …]
|
/linux/drivers/net/ethernet/sfc/falcon/ |
H A 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/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 4 * Copyright (c) 2008-2012 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 37 #include <linux/firmware.h> 64 {"T580-Dbg 10G", "Chelsio T580-Dbg 10G [FCoE]"}, 65 {"T520-CR 10G", "Chelsio T520-CR 10G [FCoE]"}, 66 {"T522-CR 10G/1G", "Chelsio T522-CR 10G/1G [FCoE]"}, 67 {"T540-CR 10G", "Chelsio T540-CR 10G [FCoE]"}, 68 {"T520-BCH 10G", "Chelsio T520-BCH 10G [FCoE]"}, 69 {"T540-BCH 10G", "Chelsio T540-BCH 10G [FCoE]"}, [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/netronome/ |
H A D | nfp.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 14 - `Overview`_ 15 - `Acquiring Firmware`_ 16 - `Devlink Info`_ 17 - `Configure Device`_ 18 - `Statistics`_ 25 are also incorporated in the companies' family of Agilio SmartNICs. The SR-IOV 28 Acquiring Firmware 31 The NFP3800, NFP4000 and NFP6000 devices require application specific firmware 32 to function. Application firmware can be located either on the host file system [all …]
|
/linux/Documentation/devicetree/bindings/tpm/ |
H A D | tpm-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/tpm/tpm-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lukas Wunner <lukas@wunner.de> 14 pattern: '^tpm(@[0-9a-f]+)?$' 23 linux,sml-base: 25 base address of reserved memory allocated for firmware event log 28 linux,sml-size: 30 size of reserved memory allocated for firmware event log [all …]
|