| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
| D | ia_css_control.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 33 * @param[in] fw Firmware package containing the firmware for all 35 * if fw is NULL the firmware must be loaded before 41 * @return Returns -EINVAL in case of any 45 * internal data structures. This also interprets the firmware package. All 46 * contents of this firmware package are copied into local data structures, so 55 /* @brief Un-initialize the CSS API. 59 * Exception: if you explicitly loaded firmware through ia_css_load_firmware 61 * for the firmware. 63 * with the exception of ia_css_init which will re-initialize the CSS code, [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
| D | ia_css_control.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 33 * @param[in] fw Firmware package containing the firmware for all 35 * if fw is NULL the firmware must be loaded before 41 * @return Returns -EINVAL in case of any 45 * internal data structures. This also interprets the firmware package. All 46 * contents of this firmware package are copied into local data structures, so 55 /* @brief Un-initialize the CSS API. 59 * Exception: if you explicitly loaded firmware through ia_css_load_firmware 61 * for the firmware. 63 * with the exception of ia_css_init which will re-initialize the CSS code, [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/typec/ucsi/ |
| D | displayport.c | 1 // SPDX-License-Identifier: GPL-2.0 26 bool initialized; member 45 * -EOPNOTSUPP. 51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter() 56 mutex_lock(&dp->con->lock); in ucsi_displayport_enter() 58 if (!dp->override && dp->initialized) { in ucsi_displayport_enter() 61 dev_warn(&p->dev, in ucsi_displayport_enter() 62 "firmware doesn't support alternate mode overriding\n"); in ucsi_displayport_enter() 63 ret = -EOPNOTSUPP; in ucsi_displayport_enter() 67 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(dp->con->num); in ucsi_displayport_enter() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/typec/ucsi/ |
| D | displayport.c | 1 // SPDX-License-Identifier: GPL-2.0 26 bool initialized; member 45 * -EOPNOTSUPP. 51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter() 57 if (!ucsi_con_mutex_lock(dp->con)) in ucsi_displayport_enter() 58 return -ENOTCONN; in ucsi_displayport_enter() 60 if (!dp->override && dp->initialized) { in ucsi_displayport_enter() 63 dev_warn(&p->dev, in ucsi_displayport_enter() 64 "firmware doesn't support alternate mode overriding\n"); in ucsi_displayport_enter() 65 ret = -EOPNOTSUPP; in ucsi_displayport_enter() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | common.h | 1 // SPDX-License-Identifier: ISC 16 * The mp_global is instantiated once in a global struct and gets initialized 19 * of the drvr struct and should be initialized on every brcmf_attach. 23 * struct brcmf_mp_global_t - Global module paramaters. 25 * @firmware_path: Alternative firmware path. 34 * struct brcmf_mp_device - Device module paramaters. 39 * @roamoff: Firmware roaming off? 41 * @trivial_ccode_map: Assume firmware uses ISO3166 country codes with rev 0
|
| /kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/ |
| D | netdev.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries. 9 #include <linux/firmware.h> 21 #define WILC1000_FW_PREFIX "atmel/wilc1000_wifi_firmware-" 29 struct wilc *wilc = vif->wilc; in isr_uh_routine() 31 if (wilc->close) { in isr_uh_routine() 42 struct wilc *wilc = vif->wilc; in isr_bh_routine() 44 if (wilc->close) { in isr_bh_routine() 57 struct wilc *wl = vif->wilc; in init_irq() 60 ret = request_threaded_irq(wl->dev_irq_num, isr_uh_routine, in init_irq() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/ |
| D | dvb-usb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* dvb-usb.h is part of the DVB USB library. 4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de) 5 * see dvb-usb-init.c for copyright information. 7 * the headerfile, all dvb-usb-drivers have to include. 9 * TODO: clean-up the structures for unused fields and update the comments 16 #include <linux/firmware.h> 18 #include <media/rc-core.h> 25 #include "dvb-pll.h" 27 #include <media/dvb-usb-ids.h> [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | common.h | 1 // SPDX-License-Identifier: ISC 16 * The mp_global is instantiated once in a global struct and gets initialized 19 * of the drvr struct and should be initialized on every brcmf_attach. 23 * struct brcmf_mp_global_t - Global module paramaters. 25 * @firmware_path: Alternative firmware path. 34 * struct brcmf_mp_device - Device module paramaters. 39 * @roamoff: Firmware roaming off?
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
| D | or51211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for OR51211 (pcHDTV HD-2000) - VSB 14 * This driver needs external firmware. Please use the command 16 * download/extract it, and then copy it to /usr/lib/hotplug/firmware 17 * or /lib/firmware (depending on configuration of firmware hotplug). 19 #define OR51211_DEFAULT_FIRMWARE "dvb-fe-or51211.fw" 24 #include <linux/firmware.h> 51 u8 initialized:1; member 68 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_writebytes() 70 return -EREMOTEIO; in i2c_writebytes() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| D | or51211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for OR51211 (pcHDTV HD-2000) - VSB 14 * This driver needs external firmware. Please use the command 16 * download/extract it, and then copy it to /usr/lib/hotplug/firmware 17 * or /lib/firmware (depending on configuration of firmware hotplug). 19 #define OR51211_DEFAULT_FIRMWARE "dvb-fe-or51211.fw" 24 #include <linux/firmware.h> 51 u8 initialized:1; member 68 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_writebytes() 70 return -EREMOTEIO; in i2c_writebytes() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tiny/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/ 41 - stdvga (DRM_BOCHS, qemu -vga std, default in qemu 2.2+) 42 - qxl (DRM_QXL, qemu -vga qxl, works best with spice) 43 - virtio (DRM_VIRTIO_GPU), qemu -vga virtio) 55 tristate "Open Firmware display driver" 61 DRM driver for Open Firmware framebuffers. 63 This driver assumes that the display hardware has been initialized 64 by the Open Firmware before the kernel boots. Scanout buffer, size, 78 firmware file. For more information see [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/ |
| D | netdev.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries. 9 #include <linux/firmware.h> 22 #define WILC1000_FW_PREFIX "atmel/wilc1000_wifi_firmware-" 30 if (wilc->close) { in isr_uh_routine() 41 if (wilc->close) { in isr_bh_routine() 54 struct wilc *wl = vif->wilc; in init_irq() 57 ret = request_threaded_irq(wl->dev_irq_num, isr_uh_routine, in init_irq() 60 dev->name, wl); in init_irq() 65 netdev_dbg(dev, "IRQ request succeeded IRQ-NUM= %d\n", wl->dev_irq_num); in init_irq() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/ |
| D | fwio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Firmware loading. 5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc. 6 * Copyright (c) 2010, ST-Ericsson 8 #include <linux/firmware.h> 67 [ERR_AES_CTRL_KEY] = "AES control key not initialized", 68 [ERR_ECC_PUB_KEY] = "ECC public key not initialized", 69 [ERR_MAC_KEY] = "MAC key not initialized", 78 * NOTE: it may also be possible to use 'pages' from struct firmware and avoid bounce buffer 88 return -ENOMEM; in wfx_sram_write_dma_safe() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/wfx/ |
| D | fwio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Firmware loading. 5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc. 6 * Copyright (c) 2010, ST-Ericsson 8 #include <linux/firmware.h> 67 [ERR_AES_CTRL_KEY] = "AES control key not initialized", 68 [ERR_ECC_PUB_KEY] = "ECC public key not initialized", 69 [ERR_MAC_KEY] = "MAC key not initialized", 80 * NOTE: it may also be possible to use 'pages' from struct firmware and avoid 92 return -ENOMEM; in sram_write_dma_safe() [all …]
|
| /kernel/linux/linux-6.6/Documentation/arch/arm/ |
| D | firmware.rst | 2 Interface for registering and calling firmware-specific operations for ARM 7 Some boards are running with secure firmware running in TrustZone secure 8 world, which changes the way some things have to be initialized. This makes 9 a need to provide an interface for such platforms to specify available firmware 12 Firmware operations can be specified by filling in a struct firmware_ops 18 The ops pointer must be non-NULL. More information about struct firmware_ops 19 and its members can be found in arch/arm/include/asm/firmware.h header. 22 set anything if platform does not require firmware operations. 24 To call a firmware operation, a helper macro is provided:: 27 ((firmware_ops->op) ? firmware_ops->op(__VA_ARGS__) : (-ENOSYS)) [all …]
|
| /kernel/linux/linux-5.10/Documentation/arm/ |
| D | firmware.rst | 2 Interface for registering and calling firmware-specific operations for ARM 7 Some boards are running with secure firmware running in TrustZone secure 8 world, which changes the way some things have to be initialized. This makes 9 a need to provide an interface for such platforms to specify available firmware 12 Firmware operations can be specified by filling in a struct firmware_ops 18 The ops pointer must be non-NULL. More information about struct firmware_ops 19 and its members can be found in arch/arm/include/asm/firmware.h header. 22 set anything if platform does not require firmware operations. 24 To call a firmware operation, a helper macro is provided:: 27 ((firmware_ops->op) ? firmware_ops->op(__VA_ARGS__) : (-ENOSYS)) [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/ |
| D | host-generic-pci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/host-generic-pci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Will Deacon <will@kernel.org> 13 Firmware-initialised PCI host controllers and PCI emulations, such as the 14 virtio-pci implementations found in kvmtool and other para-virtualised 21 Configuration Space is assumed to be memory-mapped (as opposed to being 26 For CAM, this 24-bit offset is: 41 - description: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/ |
| D | host-generic-pci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/host-generic-pci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Will Deacon <will@kernel.org> 13 Firmware-initialised PCI host controllers and PCI emulations, such as the 14 virtio-pci implementations found in kvmtool and other para-virtualised 21 Configuration Space is assumed to be memory-mapped (as opposed to being 26 For CAM, this 24-bit offset is: 41 - description: [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-class-firmware | 1 What: /sys/class/firmware/.../data 5 Description: The data sysfs file is used for firmware-fallback and for 6 firmware uploads. Cat a firmware image to this sysfs file 7 after you echo 1 to the loading sysfs file. When the firmware 9 sequence will signal the completion of the firmware write and 10 signal the lower-level driver that the firmware data is 13 What: /sys/class/firmware/.../cancel 17 Description: Write-only. For firmware uploads, write a "1" to this file to 18 request that the transfer of firmware data to the lower-level 21 progress) or (ENODEV) if there is no firmware update in progress. [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/mei/ |
| D | mei.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 resource (Co-processor) residing inside certain Intel chipsets. The Intel ME 18 each client has its own protocol. The protocol is message-based with a 34 The driver is transparent to data that are passed between firmware feature 50 .. code-block:: C 83 ------------------------- 84 Connect to firmware Feature/Client. 86 .. code-block:: none 96 struct mei_connect_client_data - contain the following 99 in_client_uuid - GUID of the FW Feature that needs [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/mei/ |
| D | mei.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 resource (Co-processor) residing inside certain Intel chipsets. The Intel ME 18 each client has its own protocol. The protocol is message-based with a 34 The driver is transparent to data that are passed between firmware feature 50 .. code-block:: C 83 ------------------------- 84 Connect to firmware Feature/Client. 86 .. code-block:: none 96 struct mei_connect_client_data - contain the following 99 in_client_uuid - GUID of the FW Feature that needs [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/fsl/qe/ |
| D | qe.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2006-2010 Freescale Semiconductor, Inc. All rights reserved. 49 static phys_addr_t qebase = -1; 71 if (qebase != -1) in get_qe_base() 112 qe_iowrite32be((u32)(cmd | QE_CR_FLG), &qe_immr->cp.cecr); in qe_issue_cmd() 115 /* Here device is the SNUM, not sub-block */ in qe_issue_cmd() 129 qe_iowrite32be(cmd_input, &qe_immr->cp.cecdr); in qe_issue_cmd() 131 &qe_immr->cp.cecr); in qe_issue_cmd() 135 ret = readx_poll_timeout_atomic(qe_ioread32be, &qe_immr->cp.cecr, val, in qe_issue_cmd() 137 /* On timeout, ret is -ETIMEDOUT, otherwise it will be 0. */ in qe_issue_cmd() [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/fsl/qe/ |
| D | qe.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2006-2010 Freescale Semiconductor, Inc. All rights reserved. 50 static phys_addr_t qebase = -1; 72 if (qebase != -1) in get_qe_base() 113 iowrite32be((u32)(cmd | QE_CR_FLG), &qe_immr->cp.cecr); in qe_issue_cmd() 116 /* Here device is the SNUM, not sub-block */ in qe_issue_cmd() 130 iowrite32be(cmd_input, &qe_immr->cp.cecdr); in qe_issue_cmd() 132 &qe_immr->cp.cecr); in qe_issue_cmd() 136 ret = readx_poll_timeout_atomic(ioread32be, &qe_immr->cp.cecr, val, in qe_issue_cmd() 138 /* On timeout, ret is -ETIMEDOUT, otherwise it will be 0. */ in qe_issue_cmd() [all …]
|
| /kernel/linux/linux-5.10/Documentation/virt/kvm/arm/ |
| D | psci.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 and power-off to the guest. 16 observe two different "firmware" revisions. This could cause issues if 21 In order to remedy this situation, KVM exposes a set of "firmware 22 pseudo-registers" that can be manipulated using the GET/SET_ONE_REG 30 - Only valid if the vcpu has the KVM_ARM_VCPU_PSCI_0_2 feature set 31 (and thus has already been initialized) 32 - Returns the current PSCI version on GET_ONE_REG (defaulting to the 34 - Allows any PSCI version implemented by KVM and compatible with 36 - Affects the whole VM (even if the register view is per-vcpu) [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ipa/ |
| D | ipa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2020 Linaro Ltd. 31 * enum ipa_flag - IPA state flags 41 * struct ipa - IPA information 55 * @mem_addr: DMA address of IPA-local memory space 56 * @mem_virt: Virtual address of IPA-local memory space 60 * @mem: Array of IPA-local memory region descriptors 65 * @zero_addr: DMA address of preallocated zero-filled memory 66 * @zero_virt: Virtual address of preallocated zero-filled memory [all …]
|