/linux/drivers/staging/media/av7110/ |
H A D | sp8870.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * This driver needs external firmware. Please use the command 11 * download/extract it, and then copy it to /usr/lib/hotplug/firmware 12 * or /lib/firmware (depending on configuration of firmware hotplug). 20 #define SP8870_DEFAULT_FIRMWARE "dvb-fe-sp8870.fw" 25 #include <linux/firmware.h> 41 u8 initialised:1; member 51 /* firmware size for sp8870 */ 54 /* starting point for firmware in file 'Sc_main.mc' */ 61 .addr = state->config->demod_address, in sp8870_writereg() [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | sp887x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * This driver needs external firmware. Please use the command 9 * download/extract it, and then copy it to /usr/lib/hotplug/firmware 10 * or /lib/firmware (depending on configuration of firmware hotplug). 12 #define SP887X_DEFAULT_FIRMWARE "dvb-fe-sp887x.fw" 17 #include <linux/firmware.h> 31 u8 initialised:1; member 42 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = len }; in i2c_writebytes() 45 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_writebytes() 47 __func__, state->config->demod_address, err); in i2c_writebytes() [all …]
|
H A D | nxt200x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for NXT2002 and NXT2004 - VSB/QAM 6 * Copyright (C) 2006-2014 Michael Krufky <mkrufky@linuxtv.org> 8 * and nxt2004 by Jean-Francois Thibert <jeanfrancois@sagetv.com> 15 * B2C2/BBTI Technisat Air2PC - ATSC (NXT2002) 19 * This driver needs external firmware. Please use the command 22 * download/extract the appropriate firmware, and then copy it to 23 * /usr/lib/hotplug/firmware/ or /lib/firmware/ 24 * (depending on configuration of firmware hotplug). 31 #define NXT2002_DEFAULT_FIRMWARE "dvb-fe-nxt2002.fw" [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | calxeda-ddr-ctrlr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/calxeda-ddr-ctrlr.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Calxeda DDR memory controller is initialised and programmed by the 11 firmware, but an OS might want to read its registers for error reporting 15 - Andre Przywara <andre.przywara@arm.com> 20 - calxeda,hb-ddr-ctrl 21 - calxeda,ecx-2000-ddr-ctrl 30 - compatible [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | calxeda-xgmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/calxeda-xgmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 internal machine "network fabric", which is set up, initialised and 12 managed by the firmware. So there are no PHY properties in this 17 - Andre Przywara <andre.przywara@arm.com> 21 const: calxeda,hb-xgmac 34 dma-coherent: true 37 - compatible [all …]
|
/linux/drivers/acpi/arm64/ |
H A D | dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <linux/dma-direct.h> 14 * If @dev is expected to be DMA-capable then the bus code that created in acpi_arch_dma_setup() 15 * it should have initialised its dma_mask pointer by this point. For in acpi_arch_dma_setup() 19 if (!dev->dma_mask) { in acpi_arch_dma_setup() 21 dev->dma_mask = &dev->coherent_dma_mask; in acpi_arch_dma_setup() 24 if (dev->coherent_dma_mask) in acpi_arch_dma_setup() 25 end = dev->coherent_dma_mask; in acpi_arch_dma_setup() 27 end = (1ULL << 32) - 1; in acpi_arch_dma_setup() 32 dev->dma_range_map = map; in acpi_arch_dma_setup() [all …]
|
/linux/security/integrity/platform_certs/ |
H A D | platform_keyring.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Platform keyring for firmware/platform keys 18 * add_to_platform_keyring - Add to platform keyring without validation. 56 * Must be initialised before we try and load the keys into the keyring.
|
/linux/Documentation/devicetree/bindings/pci/ |
H A 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 …]
|
/linux/arch/arm/mach-sti/ |
H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-sti/platsmp.c 8 * Cloned from linux/arch/arm/mach-vexpress/platsmp.c 35 * Secondary CPU is initialised and started by a U-BOOTROM firmware. in sti_boot_secondary() 56 np = of_find_compatible_node(NULL, NULL, "arm,cortex-a9-scu"); in sti_smp_prepare_cpus() 74 if (of_property_read_u32(np, "cpu-release-addr", in sti_smp_prepare_cpus() 76 pr_err("CPU %d: missing or invalid cpu-release-addr " in sti_smp_prepare_cpus() 82 * cpu-release-addr is usually configured in SBC DMEM but can in sti_smp_prepare_cpus()
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | testmode.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc. 9 #include <linux/firmware.h> 38 "testmode event wmi cmd_id %d skb %pK skb->len %d\n", in ath10k_tm_event_wmi() 39 cmd_id, skb, skb->len); in ath10k_tm_event_wmi() 41 ath10k_dbg_dump(ar, ATH10K_DBG_TESTMODE, NULL, "", skb->data, skb->len); in ath10k_tm_event_wmi() 43 spin_lock_bh(&ar->data_lock); in ath10k_tm_event_wmi() 45 if (!ar->testmode.utf_monitor) { in ath10k_tm_event_wmi() 50 /* Only testmode.c should be handling events from utf firmware, in ath10k_tm_event_wmi() 52 * are not initialised. in ath10k_tm_event_wmi() [all …]
|
/linux/arch/arm/kernel/ |
H A D | hyp-stub.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 #include <linux/irqchip/arm-gic-v3.h> 12 .arch armv7-a 19 * This is not in .bss, because we set it sufficiently early that the boot-time 57 * The zImage loader only runs on one CPU, so we don't bother with mult-CPU 69 * These must be called with the MMU and D-cache off. 108 * Eventually, CPU-specific code might be needed -- assume not for now 132 @ Make sure NS-SVC is initialised appropriately 177 @ SRE bit could be forced to 0 by firmware.
|
/linux/sound/pci/mixart/ |
H A D | mixart_hwdep.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * DSP firmware management 12 #include <linux/firmware.h> 25 * mixart_wait_nice_for_register_value - wait for a value on a peudo register, 55 return -EBUSY; in mixart_wait_nice_for_register_value() 90 static int mixart_load_elf(struct mixart_mgr *mgr, const struct firmware *dsp ) in mixart_load_elf() 96 elf_header = (struct snd_mixart_elf32_ehdr *)dsp->data; in mixart_load_elf() 98 if ( elf32_magic_number[i] != elf_header->e_ident[i] ) in mixart_load_elf() 99 return -EINVAL; in mixart_load_elf() 101 if( elf_header->e_phoff != 0 ) { in mixart_load_elf() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | sta.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2021, 2023 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 11 * enum iwl_sta_flags - flags for the ADD_STA host command 21 * @STA_FLG_MAX_AGG_SIZE_MSK: maximal size for A-MPDU (mask) 22 * @STA_FLG_MAX_AGG_SIZE_SHIFT: maximal size for A-MPDU (bit shift) 23 * @STA_FLG_MAX_AGG_SIZE_8K: maximal size for A-MPDU (8k supported) 24 * @STA_FLG_MAX_AGG_SIZE_16K: maximal size for A-MPDU (16k supported) 25 * @STA_FLG_MAX_AGG_SIZE_32K: maximal size for A-MPDU (32k supported) [all …]
|
/linux/drivers/crypto/chelsio/ |
H A D | chcr_core.c | 4 * Copyright (C) 2011-2016 Chelsio Communications. All rights reserved. 56 if (atomic_read(&dev->inflight)) { in detach_work_fn() 57 dev->wqretry--; in detach_work_fn() 58 if (dev->wqretry) { in detach_work_fn() 60 atomic_read(&dev->inflight)); in detach_work_fn() 62 schedule_delayed_work(&dev->detach_work, WQ_DETACH_TM); in detach_work_fn() 65 atomic_read(&dev->inflight)); in detach_work_fn() 66 complete(&dev->detach_comp); in detach_work_fn() 69 complete(&dev->detach_comp); in detach_work_fn() 79 * device in round-robin fashion for crypto operations in assign_chcr_device() [all …]
|
/linux/rust/kernel/ |
H A D | lib.rs | 1 // SPDX-License-Identifier: GPL-2.0 33 // Allow proc-macros to refer to `::kernel` inside the `kernel` crate (this crate). 51 pub mod firmware; module 107 fn init(module: &'static ThisModule) -> error::Result<Self>; in init() 110 /// A module that is pinned and initialised in-place. 115 fn init(module: &'static ThisModule) -> impl init::PinInit<Self, error::Error>; in init() 119 fn init(module: &'static ThisModule) -> impl init::PinInit<Self, error::Error> { in init() 153 pub const unsafe fn from_ptr(ptr: *mut bindings::module) -> ThisModule { in from_ptr() 160 pub const fn as_ptr(&self) -> *mut bindings::module { in as_ptr() 167 fn panic(info: &core::panic::PanicInfo<'_>) -> ! { in panic() [all …]
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright © 2014-2019 Intel Corporation 10 #include <linux/iosys-map.h> 28 * struct intel_guc - Top level structure of GuC. 30 * It handles firmware loading and manages client pool. intel_guc owns an 34 /** @fw: the GuC firmware */ 36 /** @log: sub-structure containing GuC log related data and objects */ 40 /** @slpc: sub-structure containing SLPC related data and objects */ 42 /** @capture: the error-state-capture module's data and objects */ 94 /** @interrupts: pointers to GuC interrupt-managing functions. */ [all …]
|
/linux/drivers/scsi/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 # Rewritten to use lists instead of if-statements. 18 CFLAGS_aha152x.o = -DAHA152X_STAT -DAUTOCONF 20 obj-$(CONFIG_PCMCIA) += pcmcia/ 22 obj-$(CONFIG_SCSI) += scsi_mod.o 23 obj-$(CONFIG_SCSI_COMMON) += scsi_common.o 25 obj-$(CONFIG_RAID_ATTRS) += raid_class.o 27 obj-$(CONFIG_SCSI_PROTO_TEST) += scsi_proto_test.o 29 # --- NOTE ORDERING HERE --- 30 # For kernel non-modular link, transport attributes need to [all …]
|
/linux/drivers/of/ |
H A D | device.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/dma-direct.h> /* for bus_dma_region */ 9 #include <linux/dma-map-ops.h> 19 * of_match_device - Tell if a struct device matches an of_device_id list 29 if (!matches || !dev->of_node || dev->of_node_reused) in of_match_device() 31 return of_match_node(matches, dev->of_node); in of_match_device() 38 struct device_node *node, *of_node = dev->of_node; in of_dma_set_restricted_buffer() 44 count = of_property_count_elems_of_size(of_node, "memory-region", in of_dma_set_restricted_buffer() 47 * If dev->of_node doesn't exist or doesn't contain memory-region, try in of_dma_set_restricted_buffer() 53 of_node, "memory-region", sizeof(u32)); in of_dma_set_restricted_buffer() [all …]
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_rogue_fwif.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 42 /* String used in pvrdebug -h output */ 112 /* Firmware HWR states */ 140 /* Firmware per-DM HWR states */ 155 /* DM was identified as over-running and causing HWR */ 157 /* DM was innocently affected by another DM over-running which caused HWR */ 164 /* Firmware's connection state */ 166 /* Firmware is offline */ 168 /* Firmware is initialised */ 170 /* Firmware connection is fully established */ [all …]
|
H A D | pvr_fw.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 21 #include <linux/firmware.h> 30 /* Config heap occupies top 192k of the firmware heap. */ 34 /* Main firmware allocations should come from the remainder of the heap. */ 51 const struct pvr_fw_layout_entry *layout_entries = pvr_dev->fw_dev.layout_entries; in pvr_fw_find_layout_entry() 52 u32 num_layout_entries = pvr_dev->fw_dev.header->layout_entry_num; in pvr_fw_find_layout_entry() 66 const struct pvr_fw_layout_entry *layout_entries = pvr_dev->fw_dev.layout_entries; in pvr_fw_find_private_data() 67 u32 num_layout_entries = pvr_dev->fw_dev.header->layout_entry_num; in pvr_fw_find_private_data() 83 * pvr_fw_validate() - Parse firmware header and check compatibility 88 * * -EINVAL if firmware is incompatible. [all …]
|
/linux/arch/arm64/kernel/ |
H A D | proton-pack.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability 20 #include <linux/arm-smccc.h> 28 #include <asm/debug-monitors.h> 72 * - Mitigated in hardware and advertised by ID_AA64PFR0_EL1.CSV2. 73 * - Mitigated in hardware and listed in our "safe list". 74 * - Mitigated in software by firmware. 75 * - Mitigated in software by a CPU-specific dance in the kernel and a 76 * firmware call at EL2. 77 * - Vulnerable. [all …]
|
/linux/drivers/platform/x86/intel/ |
H A D | ishtp_eclite.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Intel ECLite opregion driver for talking to ECLite firmware running on 13 #include <linux/intel-ish-client-if.h> 40 #define cl_data_to_dev(opr_dev) ishtp_device((opr_dev)->cl_device) 95 /* eclite ishtp client UUID: 6a19cc4b-d760-4de3-b14d-f25ebd0fbcd9 */ 103 /* ACPI DSM UUID: 91d936a7-1f01-49c6-a6b4-72f00ad8d8a5 */ 109 * ecl_ish_cl_read() - Read data from eclite FW 122 if (!opr_dev->ish_link_ready) in ecl_ish_cl_read() 123 return -EIO; in ecl_ish_cl_read() 125 if ((opr_dev->opr_context.cmd_area.offset + in ecl_ish_cl_read() [all …]
|
/linux/drivers/net/can/usb/ |
H A D | ucan.c | 1 // SPDX-License-Identifier: GPL-2.0 48 * ------------------------ 79 /* start the can transceiver - val defines the operation mode */ 83 /* send can transceiver into low-power sleep mode */ 85 /* wake up can transceiver from low-power sleep mode */ 89 /* get piece of info from the can transceiver - subcmd defines what 93 /* clear or disable hardware filter - subcmd defines which of the two */ 97 /* recover from bus-off state */ 137 __le16 mode; /* OR-ing any of UCAN_MODE_* */ 205 * msg.len - sizeof (msg.len) [all …]
|
/linux/arch/arm64/mm/ |
H A D | init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1995-2005 Russell King 24 #include <linux/dma-direct.h> 25 #include <linux/dma-map-ops.h> 40 #include <asm/kernel-pgtable.h> 50 #include <asm/xen/swiotlb-xen.h> 58 s64 memstart_addr __ro_after_init = -1; 63 * and ZONE_DMA32. By default ZONE_DMA covers the 32-bit addressable memory 64 * unless restricted on specific platforms (e.g. 30-bit on Raspberry Pi 4). 65 * In such case, ZONE_DMA32 covers the rest of the 32-bit addressable memory, [all …]
|
/linux/Documentation/scsi/ |
H A D | ChangeLog.megaraid_sas | 1 Release Date : Thu. Jun 19, 2014 17:00:00 PST 2014 - 2 (emaild-id:megaraidlinux@lsi.com) 7 Current Version : 06.803.02.00-rc1 8 Old Version : 06.803.01.00-rc1 14 ------------------------------------------------------------------------------- 15 Release Date : Mon. Mar 10, 2014 17:00:00 PST 2014 - 16 (emaild-id:megaraidlinux@lsi.com) 20 Current Version : 06.803.01.00-rc1 21 Old Version : 06.700.06.00-rc1 25 4. Add Dell PowerEdge VRTX SR-IOV VF device support. [all …]
|