| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-6.6/drivers/firmware/efi/ |
| 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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
| D | ice_fw_update.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2018-2019, Intel Corporation. */ 20 /* Track the firmware response of the required reset to complete the 23 * 0 - ICE_AQC_NVM_POR_FLAG - A full power on is required 24 * 1 - ICE_AQC_NVM_PERST_FLAG - A cold PCIe reset is required 25 * 2 - ICE_AQC_NVM_EMPR_FLAG - An EMP reset is required 29 /* Track if EMP reset is available */ 34 * ice_send_package_data - Send record package data to firmware 40 * this device to the firmware. 51 struct netlink_ext_ack *extack = priv->extack; in ice_send_package_data() [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/snic/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
| 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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/broadcom/ |
| 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> 21 &firmware { 23 compatible = "raspberrypi,firmware-clocks"; 24 #clock-cells = <1>; 28 compatible = "raspberrypi,firmware-gpio"; 29 gpio-controller; 30 #gpio-cells = <2>; 34 reset: reset { label [all …]
|
| /kernel/linux/linux-6.6/drivers/bluetooth/ |
| D | btintel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include <linux/firmware.h> 66 if (skb->len != sizeof(*bda)) { in btintel_check_bdaddr() 69 return -EIO; in btintel_check_bdaddr() 72 bda = (struct hci_rp_read_bd_addr *)skb->data; in btintel_check_bdaddr() 79 if (!bacmp(&bda->bdaddr, BDADDR_INTEL)) { in btintel_check_bdaddr() 81 &bda->bdaddr); in btintel_check_bdaddr() 82 set_bit(HCI_QUIRK_INVALID_BDADDR, &hdev->quirks); in btintel_check_bdaddr() 108 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg() argument 115 * 0x01: Disable manufacturing mode and reset with patches deactivated. in btintel_exit_mfg() [all …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/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 …]
|