/linux-6.14.4/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 mutex_lock(&dp->con->lock); in ucsi_displayport_enter() 59 if (!dp->override && dp->initialized) { in ucsi_displayport_enter() 62 dev_warn(&p->dev, in ucsi_displayport_enter() 63 "firmware doesn't support alternate mode overriding\n"); in ucsi_displayport_enter() 64 ret = -EOPNOTSUPP; in ucsi_displayport_enter() 68 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(dp->con->num); in ucsi_displayport_enter() [all …]
|
/linux-6.14.4/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
|
/linux-6.14.4/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-" 28 #define WILC3000_FW_PREFIX "atmel/wilc3000_wifi_firmware-" 36 if (wilc->close) { in isr_uh_routine() 47 if (wilc->close) { in isr_bh_routine() 60 struct wilc *wl = vif->wilc; in init_irq() 63 ret = request_threaded_irq(wl->dev_irq_num, isr_uh_routine, in init_irq() 66 dev->name, wl); in init_irq() [all …]
|
D | netdev.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries. 36 list_for_each_entry_srcu(v, &_w->vif_list, list, \ 37 srcu_read_lock_held(&_w->srcu)) 205 bool initialized; member 214 bool initialized; member 228 * - sending commands to the chip, using info from retrieved vif 229 * - registering a new monitoring net device 255 /* lock to protect issue of wid command to firmware */ 272 const struct firmware *firmware; member
|
/linux-6.14.4/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 ([email protected]) 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 …]
|
/linux-6.14.4/drivers/gpu/drm/i915/display/ |
D | intel_dmc.c | 26 #include <linux/firmware.h> 36 * DOC: DMC Firmware Support 40 * low-power state and comes back to normal. 43 …NTEL_DMC_FIRMWARE_URL "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git" 75 return display->dmc.dmc; in display_to_dmc() 80 const char *p = display->params.dmc_firmware_path; in dmc_firmware_param() 170 struct drm_i915_private *i915 = to_i915(display->drm); in dmc_firmware_default() 235 #define PIPE_TO_DMC_ID(pipe) (DMC_FW_PIPEA + ((pipe) - PIPE_A)) 290 /* Sub-stepping (0, 1, ..., *). * is a wildcard */ 326 /* Firmware program size (excluding header) in dwords */ [all …]
|
/linux-6.14.4/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 …]
|
D | si2168.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Silicon Labs Si2168 DVB-T/T2/C demodulator driver 16 memcpy(cmd->args, buf, wlen); in cmd_init() 17 cmd->wlen = wlen; in cmd_init() 18 cmd->rlen = rlen; in cmd_init() 21 /* execute firmware command */ 28 mutex_lock(&dev->i2c_mutex); in si2168_cmd_execute() 30 if (cmd->wlen) { in si2168_cmd_execute() 31 /* write cmd and args for firmware */ in si2168_cmd_execute() 32 ret = i2c_master_send(client, cmd->args, cmd->wlen); in si2168_cmd_execute() [all …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/drivers/gpu/drm/imagination/ |
D | pvr_device.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 21 #include <linux/dma-mapping.h> 23 #include <linux/firmware.h> 33 /* Major number for the supported version of the firmware. */ 37 * pvr_device_reg_init() - Initialize kernel access to a PowerVR device's 41 * Sets struct pvr_device->regs. 55 struct platform_device *plat_dev = to_platform_device(drm_dev->dev); in pvr_device_reg_init() 59 pvr_dev->regs_resource = NULL; in pvr_device_reg_init() 60 pvr_dev->regs = NULL; in pvr_device_reg_init() 64 return dev_err_probe(drm_dev->dev, PTR_ERR(regs), in pvr_device_reg_init() [all …]
|
/linux-6.14.4/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 <[email protected]> 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 …]
|
/linux-6.14.4/drivers/gpu/drm/tiny/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 39 https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/ 42 - stdvga (DRM_BOCHS, qemu -vga std, default in qemu 2.2+) 43 - qxl (DRM_QXL, qemu -vga qxl, works best with spice) 44 - virtio (DRM_VIRTIO_GPU), qemu -vga virtio) 57 tristate "Open Firmware display driver" 64 DRM driver for Open Firmware framebuffers. 66 This driver assumes that the display hardware has been initialized 67 by the Open Firmware before the kernel boots. Scanout buffer, size, 82 firmware file. For more information see [all …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/Documentation/iio/ |
D | bno055.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 became locked (the IMU firmware controls them). 30 The user can save this blob in a firmware file (i.e. in /lib/firmware) that 31 the driver looks for at probe time. If found, then the IMU is initialized 44 bno055-caldata-0e7c26a33541515120204a35342b04ff.dat 45 bno055-caldata.dat 47 In non-fusion mode the IIO 'offset' attributes provide access to the 50 needed (the IMU firmware internally applies those corrections) and they
|
/linux-6.14.4/Documentation/gpu/ |
D | msm-preemption.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 When preemption is enabled 4 rings are initialized, corresponding to different 29 ----------------- 63 ------------------ 73 ttbr0 register. The SQE firmware isn't actually able to save this record. 80 opaque to the kernel except for the first few words that must be initialized 87 The intended purpose of this record is unknown. The SQE firmware actually
|
/linux-6.14.4/rust/kernel/ |
D | firmware.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! Firmware abstraction 5 //! C header: [`include/linux/firmware.h`](srctree/include/linux/firmware.h) 15 unsafe extern "C" fn(*mut *const bindings::firmware, *const u8, *mut bindings::device) -> i32, 19 fn request() -> Self { in request() 23 fn request_nowarn() -> Self { in request_nowarn() 28 /// Abstraction around a C `struct firmware`. 30 /// This is a simple abstraction around the C firmware API. Just like with the C API, firmware can 31 /// be requested. Once requested the abstraction provides direct access to the firmware buffer as 32 /// `&[u8]`. The firmware is released once [`Firmware`] is dropped. [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_psp.c | 26 #include <linux/firmware.h> 58 struct amdgpu_device *adev = psp->adev; in psp_ring_init() 60 ring = &psp->km_ring; in psp_ring_init() 62 ring->ring_type = ring_type; in psp_ring_init() 65 ring->ring_size = 0x1000; in psp_ring_init() 66 ret = amdgpu_bo_create_kernel(adev, ring->ring_size, PAGE_SIZE, in psp_ring_init() 69 &adev->firmware.rbuf, in psp_ring_init() 70 &ring->ring_mem_mc_addr, in psp_ring_init() 71 (void **)&ring->ring_mem); in psp_ring_init() 73 ring->ring_size = 0; in psp_ring_init() [all …]
|
/linux-6.14.4/drivers/scsi/qla4xxx/ |
D | ql4_init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2003-2013 QLogic Corporation 19 spin_lock_irqsave(&ha->hardware_lock, flags); in ql4xxx_set_mac_number() 20 value = readw(&ha->reg->ctrl_status); in ql4xxx_set_mac_number() 21 spin_unlock_irqrestore(&ha->hardware_lock, flags); in ql4xxx_set_mac_number() 25 ha->mac_index = 1; in ql4xxx_set_mac_number() 28 ha->mac_index = 3; in ql4xxx_set_mac_number() 32 "ispControlStatus = 0x%x\n", ha->host_no, in ql4xxx_set_mac_number() 36 DEBUG2(printk("scsi%ld: %s: mac_index %d.\n", ha->host_no, __func__, in ql4xxx_set_mac_number() 37 ha->mac_index)); in ql4xxx_set_mac_number() [all …]
|
/linux-6.14.4/drivers/cpuidle/ |
D | dt_idle_states.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #define pr_fmt(fmt) "DT idle-states: " fmt 32 idle_state->enter = match_id->data; in init_state_node() 38 idle_state->enter_s2idle = match_id->data; in init_state_node() 40 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node() 41 &idle_state->exit_latency); in init_state_node() 45 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node() 48 pr_debug(" * %pOF missing entry-latency-us property\n", in init_state_node() 50 return -EINVAL; in init_state_node() 53 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node() [all …]
|
/linux-6.14.4/drivers/crypto/ccp/ |
D | sev-dev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <linux/firmware.h> 30 #include <linux/amd-iommu.h> 37 #include "psp-dev.h" 38 #include "sev-dev.h" 44 /* Minimum firmware version required for the SEV-SNP support */ 49 * Maximum number of firmware-writable buffers that might be specified 54 /* Leave room in the descriptor array for an end-of-list indicator. */ 74 …sp_init_on_probe, " if true, the PSP will be initialized on module init. Else the PSP will be ini… 89 * When SEV-SNP is enabled the TMR needs to be 2MB aligned and 2MB sized. [all …]
|
/linux-6.14.4/drivers/firmware/arm_scmi/ |
D | protocols.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 42 * struct scmi_msg_resp_prot_version - Response for a message 44 * @minor_version: Minor version of the ABI that firmware supports 45 * @major_version: Major version of the ABI that firmware supports 59 * struct scmi_msg - Message(Tx/Rx) structure 70 * struct scmi_msg_hdr - Message(Tx/Rx) header 92 * struct scmi_xfer - Structure representing a message flow 97 * @rx: Receive message, the buffer should be pre-allocated to store 98 * message. If request-ACK protocol is used, we can reuse the same 111 * though the timed-out transaction will anyway cause the command [all …]
|
/linux-6.14.4/Documentation/gpu/amdgpu/display/ |
D | dc-debug.rst | 18 --------------------------- 52 dmesg | grep -i 'display core' 56 [ 4.655828] [drm] Display Core v3.2.285 initialized on DCN 3.2 63 version of the display code. Remember from page :ref:`Display Core <amdgpu-display-core>`, 78 dmesg | grep -i 'ATOM BIOS' 82 [ 4.274534] amdgpu: ATOM BIOS: 113-D7020100-102 87 -------------------------- 127 ------------------ 133 bash -c "echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level" 145 ----------------- [all …]
|