| /linux/sound/soc/sof/intel/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 This adds support for Sound Open Firmware for Intel(R) platforms. 15 This option is not user-selectable but automagically handled by 23 This option is not user-selectable but automagically handled by 35 This option is not user-selectable but automagically handled by 49 This adds support for Sound Open Firmware for Intel(R) platforms 54 Existing firmware/topology binaries and UCM configurations 69 This adds support for Sound Open Firmware for Intel(R) platforms 73 Existing firmware/topology binaries and UCM configurations typically 77 DMA and suspend-resume, this is not a recommended option for [all …]
|
| /linux/tools/testing/selftests/firmware/ |
| H A D | fw_namespace.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Test triggering of loading of firmware from different mount 3 * namespaces. Expect firmware to be always loaded from the mount 31 umount("/lib/firmware"); in die() 39 fd = open(sys_path, O_WRONLY); in trigger_fw() 41 die("open failed: %s\n", in trigger_fw() 53 fd = open(fw_path, O_WRONLY | O_CREAT, 0600); in setup_fw() 55 die("open failed: %s\n", in setup_fw() 57 if (write(fd, fw, sizeof(fw) -1) != sizeof(fw) -1) in setup_fw() 68 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns() [all …]
|
| /linux/drivers/hid/i2c-hid/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 17 This driver supports ACPI-based systems. 22 will be called i2c-hid-acpi. It will also build/depend on the 23 module i2c-hid. 26 tristate "HID over I2C transport layer Open Firmware driver" 28 # (board-file) instantiated "hid-over-i2c" type i2c-clients. 34 This driver supports Open Firmware (Device Tree)-based systems as 35 well as binding to manually (board-file) instantiated i2c-hid-clients. 40 will be called i2c-hid-of. It will also build/depend on the 41 module i2c-hid. [all …]
|
| /linux/scripts/ |
| H A D | get_dvb_firmware | 2 # SPDX-License-Identifier: GPL-2.0-or-later 3 # DVB firmware extractor 31 Firmware(s) $outfile extracted successfully. 32 Now copy it(them) to either /usr/lib/hotplug/firmware or /lib/firmware 33 (depending on configuration of firmware hotplug). 46 # --------------------------------------------------------------- 47 # Firmware-specific extraction subroutines 53 my $outfile = "dvb-fe-sp8870.fw"; 71 my $outfile = "dvb-fe-sp887x.fw"; 90 my $outfile = "dvb-fe-tda10045.fw"; [all …]
|
| /linux/sound/soc/sof/mediatek/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 8 This adds support for Sound Open Firmware for Mediatek platforms. 22 This option is not user-selectable but automagically handled by 30 This adds support for Sound Open Firmware for Mediatek platforms 40 This adds support for Sound Open Firmware for Mediatek platforms
|
| /linux/Documentation/arch/arm/keystone/ |
| H A D | knav-qmss.rst | 11 multi-core Navigator. QMSS consist of queue managers, packed-data structure 15 management of the packet queues. Packets are queued/de-queued by writing or 24 knav qmss driver provides a set of APIs to drivers to open/close qmss queues, 29 Documentation/devicetree/bindings/soc/ti/keystone-navigator-qmss.txt 31 Accumulator QMSS queues using PDSP firmware 33 The QMSS PDSP firmware support accumulator channel that can monitor a single 37 1 or 32 queues per channel. More description on the firmware is available in 40 git://git.ti.com/keystone-rtos/qmss-lld.git 42 k2_qmss_pdsp_acc48_k2_le_1_0_0_9.bin firmware supports upto 48 accumulator 43 channels. This firmware is available under ti-keystone folder of [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | debug.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 15 #include <linux/firmware.h> 21 #include "wmi-ops.h" 37 dev_info(ar->dev, "%pV", &vaf); in ath10k_info() 45 const struct firmware *firmware; in ath10k_debug_print_hwfw_info() local 52 ar->hw_params.name, in ath10k_debug_print_hwfw_info() 53 ar->target_version, in ath10k_debug_print_hwfw_info() 54 ar->bus_param.chip_id, in ath10k_debug_print_hwfw_info() [all …]
|
| /linux/sound/soc/sof/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "Sound Open Firmware (SOF) platforms" 5 This adds support for Sound Open Firmware (SOF). SOF is free and 6 generic open source audio DSP firmware for multiple devices. 21 For backwards-compatibility with previous configurations the selection will 22 be used as default for platform-specific drivers. 32 For backwards-compatibility with previous configurations the selection will 33 be used as default for platform-specific drivers. 62 This option is not user-selectable but automagically handled by 69 This option is not user-selectable but automagically handled by [all …]
|
| H A D | fw-file-profile.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 9 #include <linux/firmware.h> 12 #include "sof-priv.h" 19 const struct firmware *fw; in sof_test_firmware_file() 24 fw_filename = kasprintf(GFP_KERNEL, "%s/%s", profile->fw_path, in sof_test_firmware_file() 25 profile->fw_name); in sof_test_firmware_file() 27 return -ENOMEM; in sof_test_firmware_file() 31 dev_dbg(dev, "Failed to open firmware file: %s\n", fw_filename); in sof_test_firmware_file() 36 /* firmware file exists, check the magic number */ in sof_test_firmware_file() 37 magic = (const u32 *)fw->data; in sof_test_firmware_file() [all …]
|
| /linux/drivers/staging/greybus/Documentation/firmware/ |
| H A D | firmware.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Sample code to test firmware-management protocol 19 #define FW_DEV_DEFAULT "/dev/gb-fw-mgmt-0" 37 …printf("\nUsage: ./firmware <gb-fw-mgmt-X (default: gb-fw-mgmt-0)> <interface: 0, backend: 1 (defa… in usage() 44 /* Get Interface Firmware Version */ in update_intf_firmware() 45 printf("Get Interface Firmware Version\n"); in update_intf_firmware() 49 printf("Failed to get interface firmware version: %s (%d)\n", in update_intf_firmware() 51 return -1; in update_intf_firmware() 54 printf("Interface Firmware tag (%s), major (%d), minor (%d)\n", in update_intf_firmware() 58 /* Try Interface Firmware load over Unipro */ in update_intf_firmware() [all …]
|
| /linux/Documentation/usb/ |
| H A D | gadget_printer.rst | 14 This driver may be used if you are writing printer firmware using Linux as 24 This driver is structured for printer firmware that runs in user mode. The 25 user mode printer firmware will read and write data from the kernel mode 28 user space firmware can read or write this status byte using a device file 29 /dev/g_printer . Both blocking and non-blocking read/write calls are supported. 62 to put your firmware version here. 97 gcc prn_example.c -o prn_example 103 # prn_example -read_data 108 # cat data_file | prn_example -write_data 113 # prn_example -get_status [all …]
|
| /linux/arch/powerpc/include/uapi/asm/ |
| H A D | nvram.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 16 #define NVRAM_SIG_OF 0x50 /* open firmware config */ 17 #define NVRAM_SIG_FW 0x51 /* general firmware */ 33 pmac_nvram_OF, /* Open Firmware partition */
|
| /linux/drivers/bluetooth/ |
| H A D | hci_ag6xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <linux/firmware.h> 41 return -ENOMEM; in ag6xx_open() 43 skb_queue_head_init(&ag6xx->txq); in ag6xx_open() 45 hu->priv = ag6xx; in ag6xx_open() 51 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_close() 55 skb_queue_purge(&ag6xx->txq); in ag6xx_close() 56 kfree_skb(ag6xx->rx_skb); in ag6xx_close() 59 hu->priv = NULL; in ag6xx_close() 65 struct ag6xx_data *ag6xx = hu->priv; in ag6xx_flush() [all …]
|
| /linux/arch/powerpc/boot/ |
| H A D | oflib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 /* The following structure is used to communicate with open firmware. 89 rets[i-1] = be32_to_cpu(args.args[nargs+i]); in of_call_prom_ret() 109 static int need_map = -1; 119 if (oprom == (phandle) -1) in check_of_version() 123 version[sizeof(version)-1] = 0; in check_of_version() 125 if (!string_match(version, "Open Firmware, 1.") in check_of_version() 129 if (chosen == (phandle) -1) { in check_of_version() 131 if (chosen == (phandle) -1) { in check_of_version() 140 memory = of_call_prom("open", 1, 1, "/memory"); in check_of_version() [all …]
|
| /linux/sound/soc/sof/amd/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 12 This adds support for Sound Open Firmware for AMD platforms. 29 This option is not user-selectable but automatically handled by 65 This option is not user-selectable but automatically handled by 79 This adds support for SoundWire with Sound Open Firmware
|
| /linux/drivers/base/ |
| H A D | firmware.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * firmware.c - firmware subsystem hoohaw. 5 * Copyright (c) 2002-3 Patrick Mochel 6 * Copyright (c) 2002-3 Open Source Development Labs 7 * Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.de> 22 firmware_kobj = kobject_create_and_add("firmware", NULL); in firmware_init() 24 return -ENOMEM; in firmware_init()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | debugfs.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved. 71 dbr_debug = ar->debug.dbr_debug[id]; in ath11k_debugfs_add_dbring_entry() 75 if (!dbr_debug->dbr_debug_enabled) in ath11k_debugfs_add_dbring_entry() 78 dbr_data = &dbr_debug->dbr_dbg_data; in ath11k_debugfs_add_dbring_entry() 80 spin_lock_bh(&dbr_data->lock); in ath11k_debugfs_add_dbring_entry() 82 if (dbr_data->entries) { in ath11k_debugfs_add_dbring_entry() 83 entry = &dbr_data->entries[dbr_data->dbr_debug_idx]; in ath11k_debugfs_add_dbring_entry() 84 entry->hp = srng->u.src_ring.hp; in ath11k_debugfs_add_dbring_entry() [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * 64-bit pSeries and RS/6000 setup code. 50 #include <asm/pci-bridge.h> 60 #include <asm/papr-sysparm.h> 61 #include <asm/ppc-pci.h> 65 #include <asm/firmware.h> 70 #include <asm/isa-bridge.h> 72 #include <asm/asm-const.h> 96 early_param("no-steal-acc", parse_no_stealacc); 99 int CMO_PrPSP = -1; [all …]
|
| /linux/rust/kernel/ |
| H A D | of.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! Device Tree / Open Firmware abstractions. 14 /// An open firmware device id. 29 fn index(&self) -> usize { in index() 36 pub const fn new(compatible: &'static CStr) -> Self { in new() 39 // SAFETY: FFI type is valid to be zero-initialize in new() [all...] |
| /linux/drivers/net/wireless/atmel/ |
| H A D | at76c50x-usb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 * Although the code was completely re-written, 14 * release an Open Source driver (unfortunately the firmware was 157 /* Length of Atmel-specific Rx header before 802.11 frame */ 172 /* Length of Atmel-specific Tx header before 802.11 frame */ 254 u8 desired_bsstype; /* ad-hoc or infrastructure */ 336 __le32 board_type; /* firmware compatibility code */ 337 u8 build; /* firmware build number */ 338 u8 patch; /* firmware patch level */ 339 u8 minor; /* firmware minor version */ [all …]
|
| /linux/Documentation/tee/ |
| H A D | op-tee.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 OP-TEE (Open Portable Trusted Execution Environment) 7 The OP-TEE driver handles OP-TEE [1] based TEEs. Currently it is only the ARM 8 TrustZone based OP-TEE solution that is supported. 10 Lowest level of communication with OP-TEE builds on ARM SMC Calling 11 Convention (SMCCC) [2], which is the foundation for OP-TEE's SMC interface 12 [3] used internally by the driver. Stacked on top of that is OP-TEE Message 15 OP-TEE SMC interface provides the basic functions required by SMCCC and some 16 additional functions specific for OP-TEE. The most interesting functions are: 18 - OPTEE_SMC_FUNCID_CALLS_UID (part of SMCCC) returns the version information [all …]
|
| /linux/tools/testing/selftests/powerpc/papr_vpd/ |
| H A D | papr_vpd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <asm/papr-vpd.h> 14 #define DEVPATH "/dev/papr-vpd" 18 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_open_close() 31 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_get_handle_all() 70 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_get_handle_byte_at_a_time() 111 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_unterm_loc_code() 121 * Place a non-null byte in every element of loc_code; the in dev_papr_vpd_unterm_loc_code() 128 FAIL_IF(fd != -1); in dev_papr_vpd_unterm_loc_code() 137 const int devfd = open(DEVPATH, O_RDONLY); in dev_papr_vpd_null_handle() [all …]
|
| /linux/include/sound/ |
| H A D | soc-acpi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013-15, Intel Corporation 23 /* codec name is used in DAIs is i2c-<HID>:00 with HID being 8 chars */ 62 * @acpi_ipc_irq_index: used for BYT-CR detection 65 * @dmic_num: number of SoC- or chipset-attached PDM digital microphones 96 * snd_soc_acpi_endpoint - endpoint descriptor 99 * @group_position: zero-based order (only when @aggregated is 1) 100 * @group_id: platform-unique group identifier (only when @aggregrated is 1) 110 * snd_soc_acpi_adr_device - descriptor for _ADR-enumerated device 124 * snd_soc_acpi_link_adr - ACPI-based list of _ADR enumerated devices [all …]
|
| /linux/Documentation/firmware-guide/acpi/ |
| H A D | acpi-lid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 Platforms containing lids convey lid state (open/close) to OSPMs 67 firmware cannot make sure "opened"/"closed" events are paired, the ACPI 78 firmware implementation. 87 B. button.lid_init_state=open: 90 are paired fully relies on the firmware implementation. 111 firmware, the old userspace programs should still work. Otherwise, the
|
| /linux/Documentation/driver-api/mei/ |
| H A 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 28 /dev/meiX is open. The binding to a specific feature is performed by calling 34 The driver is transparent to data that are passed between firmware feature 50 .. code-block:: C 53 fd = open(MEI_DEVICE); 83 ------------------------- 84 Connect to firmware Feature/Client. 86 .. code-block:: none [all …]
|