| /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/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/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() 29 if (dev->dma_range_map) { in acpi_arch_dma_setup() [all …]
|
| /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/drivers/pci/controller/ |
| H A D | pci-host-generic.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Simple, generic PCI host controller driver targeting firmware-initialised 14 #include <linux/pci-ecam.h> 17 #include "pci-host-common.h" 30 struct pci_config_window *cfg = bus->sysdata; in pci_dw_valid_device() 38 if (bus->number == cfg->busr.start && PCI_SLOT(devfn) > 0) in pci_dw_valid_device() 62 { .compatible = "pci-host-cam-generic", 65 { .compatible = "pci-host-ecam-generic", 68 { .compatible = "marvell,armada8k-pcie-ecam", 71 { .compatible = "socionext,synquacer-pcie-ecam", [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/of/ |
| H A D | kexec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 * bootargs, kaslr-seed, rng-seed, useable-memory-range and elfcorehdr. 32 * fdt_find_and_del_mem_rsv - delete memory reservation with given address and size 50 return -EINVAL; in fdt_find_and_del_mem_rsv() 57 return -EINVAL; in fdt_find_and_del_mem_rsv() 64 return -ENOENT; in fdt_find_and_del_mem_rsv() 68 * get_addr_size_cells - Get address and size of root node 81 return -EINVAL; in get_addr_size_cells() 92 * do_get_kexec_buffer - Get address and size of device tree property 111 return -ENOENT; in do_get_kexec_buffer() [all …]
|
| 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 *of_node = dev->of_node; in of_dma_set_restricted_buffer() 46 * If dev->of_node doesn't exist or doesn't contain memory-region, try in of_dma_set_restricted_buffer() 49 if (!of_property_present(of_node, "memory-region")) in of_dma_set_restricted_buffer() 52 of_for_each_phandle(&it, rc, of_node, "memory-region", NULL, 0) { in of_dma_set_restricted_buffer() [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/drivers/net/ethernet/sfc/ |
| H A D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 63 /* Checksum generation is a per-queue option in hardware, so each 86 #define EFX_RX_USR_BUF_SIZE (2048 - 256) 89 * of every buffer. Otherwise, we just need to ensure 4-byte 98 /* Non-standard XDP_PACKET_HEADROOM and tailroom to satisfy XDP_REDIRECT and 111 * struct efx_buffer - A general-purpose DMA buffer 126 * struct efx_tx_buffer - buffer state for a TX descriptor 131 * @option: When @flags & %EFX_TX_BUF_OPTION, an EF10-specific option [all …]
|
| /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/net/ethernet/sfc/siena/ |
| H A D | net_driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2005-2006 Fen Systems Ltd. 5 * Copyright 2005-2013 Solarflare Communications Inc. 61 /* Checksum generation is a per-queue option in hardware, so each 68 #define EFX_TXQ_TYPE_HIGHPRI 4 /* High-priority (for TC) */ 70 /* HIGHPRI is Siena-only, and INNER_CSUM is EF10, so no need for both */ 86 #define EFX_RX_USR_BUF_SIZE (2048 - 256) 89 * of every buffer. Otherwise, we just need to ensure 4-byte 98 /* Non-standard XDP_PACKET_HEADROOM and tailroom to satisfy XDP_REDIRECT and 111 * struct efx_buffer - A general-purpose DMA buffer [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/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/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() 65 const struct pvr_fw_layout_entry *layout_entries = pvr_dev->fw_dev.layout_entries; in pvr_fw_find_private_data() 66 u32 num_layout_entries = pvr_dev->fw_dev.header->layout_entry_num; in pvr_fw_find_private_data() 81 * pvr_fw_validate() - Parse firmware header and check compatibility 86 * * -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/net/wireless/ath/ath11k/ |
| H A D | pci.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2019-2020 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 49 return mhi_device_get_sync(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_wake_up() 56 mhi_device_put(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_release() 61 if (!ab->hw_params.static_window_map) in ath11k_pci_get_window_start() 77 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() 81 lockdep_assert_held(&ab_pci->window_lock); in ath11k_pci_select_window() 83 if (window != ab_pci->register_window) { in ath11k_pci_select_window() 85 ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | wm0010.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm0010.c -- WM0010 DSP Driver 18 #include <linux/firmware.h> 139 "Firmware" in wm0010_state_to_str() 147 /* Called with wm0010->lock held */ 155 spin_lock_irqsave(&wm0010->irq_lock, flags); in wm0010_halt() 156 state = wm0010->state; in wm0010_halt() 157 spin_unlock_irqrestore(&wm0010->irq_lock, flags); in wm0010_halt() 168 gpiod_set_value_cansleep(wm0010->reset, 1); in wm0010_halt() 170 regulator_disable(wm0010->dbvdd); in wm0010_halt() [all …]
|
| /linux/rust/kernel/ |
| H A D | lib.rs | 1 // SPDX-License-Identifier: GPL-2.0 16 // Please see https://github.com/Rust-for-Linux/linux/issues/2 for details on 59 // Allow proc-macros to refer to `::kernel` inside the `kernel` crate (this crate). 94 pub mod firmware; module 163 fn init(module: &'static ThisModule) -> error::Result<Self>; in init() 166 /// A module that is pinned and initialised in-place. 171 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error>; in init() 175 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error> { in init() 209 pub const unsafe fn from_ptr(ptr: *mut bindings::module) -> ThisModule { in from_ptr() 216 pub const fn as_ptr(&self) -> *mut bindings::module { in as_ptr() [all …]
|