Home
last modified time | relevance | path

Searched +full:fw +full:- +full:cfg (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/linux/drivers/net/wireless/intel/iwlwifi/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 obj-$(CONFIG_IWLWIFI) += iwlwifi.o
4 iwlwifi-objs += iwl-io.o
5 iwlwifi-objs += iwl-drv.o
6 iwlwifi-objs += iwl-debug.o
7 iwlwifi-objs += iwl-nvm-utils.o
8 iwlwifi-objs += iwl-utils.o
9 iwlwifi-objs += iwl-phy-db.o iwl-nvm-parse.o
12 iwlwifi-objs += pcie/ctxt-info.o pcie/ctxt-info-v2.o pcie/drv.o pcie/utils.o
13 iwlwifi-objs += pcie/gen1_2/rx.o pcie/gen1_2/tx.o pcie/gen1_2/trans.o
[all …]
/linux/Documentation/devicetree/bindings/firmware/
H A Dqemu,fw-cfg-mmio.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/firmware/qemu,fw-cfg-mmio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
16 - A write-only, 16-bit wide selector (or control) register,
17 - a read-write, 64-bit wide data register.
23 The authoritative guest-side hardware interface documentation to the fw_cfg
29 const: qemu,fw-cfg-mmio
39 dma-coherent: true
[all …]
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-fw-com.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013--2024 Intel Corporation
7 #include <linux/dma-mapping.h>
14 #include "ipu6-bus.h"
15 #include "ipu6-dma.h"
16 #include "ipu6-fw-com.h"
19 * FWCOM layer is a shared resource between FW and driver. It consist
24 * see the same buffer. Indexes are located in ISP DMEM so that FW code
32 /* Shared structure between driver and FW - do not modify */
109 /* pass pkg_dir address to SPC in non-secure mode */
[all …]
H A Dipu6-fw-isys.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013--2024 Intel Corporation
13 #include "ipu6-bus.h"
14 #include "ipu6-fw-com.h"
15 #include "ipu6-isys.h"
16 #include "ipu6-platform-isys-csi2-reg.h"
17 #include "ipu6-platform-regs.h"
31 struct device *dev = &isys->adev->auxdev.dev; in handle_proxy_response()
35 resp = ipu6_recv_get_token(isys->fwcom, IPU6_BASE_PROXY_RECV_QUEUES); in handle_proxy_response()
40 resp->request_id, resp->error_info.error, in handle_proxy_response()
[all …]
/linux/sound/soc/codecs/
H A Dwm8958-dsp2.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8958-dsp2.c -- WM8958 DSP2 support
42 const struct firmware *fw, bool check) in wm8958_dsp2_fw() argument
53 if (wm8994->cur_fw == fw) in wm8958_dsp2_fw()
56 if (fw->size < 32) { in wm8958_dsp2_fw()
57 dev_err(component->dev, "%s: firmware too short (%zd bytes)\n", in wm8958_dsp2_fw()
58 name, fw->size); in wm8958_dsp2_fw()
62 if (memcmp(fw->data, "WMFW", 4) != 0) { in wm8958_dsp2_fw()
63 data32 = get_unaligned_be32(fw->data); in wm8958_dsp2_fw()
64 dev_err(component->dev, "%s: firmware has bad file magic %08x\n", in wm8958_dsp2_fw()
[all …]
/linux/drivers/misc/mei/
H A Dhw-me.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2012-2022, Intel Corporation. All rights reserved.
18 * mei_cfg - mei device configuration
20 * @fw_status: FW status
24 * @fw_ver_supported: is fw version retrievable from FW
37 #define MEI_PCI_DEVICE(dev, cfg) \ argument
40 .driver_data = (kernel_ulong_t)(cfg),
45 * struct mei_me_hw - me hw specific data
47 * @cfg: per device generation config and ops
53 * @read_fws: read FW status register handler
[all …]
/linux/drivers/media/pci/cx18/
H A Dcx18-dvb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include "cx18-version.h"
10 #include "cx18-dvb.h"
11 #include "cx18-io.h"
12 #include "cx18-queue.h"
13 #include "cx18-streams.h"
14 #include "cx18-cards.h"
15 #include "cx18-gpio.h"
29 #define FWFILE "dvb-cx18-mpc718-mt352.fw"
123 const struct firmware **fw) in yuan_mpc718_mt352_reqfw() argument
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dmld.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2024-2025 Intel Corporation
11 #include "iwl-trans.h"
12 #include "iwl-op-mode.h"
13 #include "fw/runtime.h"
14 #include "fw/notif-wait.h"
15 #include "fw/api/commands.h"
16 #include "fw/api/scan.h"
17 #include "fw/api/mac-cfg.h"
18 #include "fw/api/mac.h"
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Dam57-pruss.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/
9 pruss1_tm: target-module@4b226000 {
10 compatible = "ti,sysc-pruss", "ti,sysc";
13 reg-names = "rev", "sysc";
14 ti,sysc-mask = <(SYSC_PRUSS_STANDBY_INIT |
16 ti,sysc-midle = <SYSC_IDLE_FORCE>,
19 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
24 clock-names = "fck";
25 #address-cells = <1>;
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dfw-api.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018, 2020 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
10 #include "fw/api/tdls.h"
11 #include "fw/api/mac-cfg.h"
12 #include "fw/api/offload.h"
13 #include "fw/api/context.h"
14 #include "fw/api/time-event.h"
15 #include "fw/api/datapath.h"
[all …]
H A Dmld-mac.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2022 - 2025 Intel Corporation
12 if (vif->type == NL80211_IFTYPE_AP) { in iwl_mvm_mld_set_he_support()
14 cmd->wifi_gen_v2.he_ap_support = cpu_to_le16(1); in iwl_mvm_mld_set_he_support()
16 cmd->wifi_gen.he_ap_support = 1; in iwl_mvm_mld_set_he_support()
19 cmd->wifi_gen_v2.he_support = cpu_to_le16(1); in iwl_mvm_mld_set_he_support()
21 cmd->wifi_gen.he_support = 1; in iwl_mvm_mld_set_he_support()
33 int cmd_ver = iwl_fw_lookup_cmd_ver(mvm->fw, in iwl_mvm_mld_mac_ctxt_cmd_common()
40 cmd->id_and_color = cpu_to_le32(mvmvif->id); in iwl_mvm_mld_mac_ctxt_cmd_common()
41 cmd->action = cpu_to_le32(action); in iwl_mvm_mld_mac_ctxt_cmd_common()
[all …]
/linux/lib/
H A Dtest_firmware.c1 // SPDX-License-Identifier: GPL-2.0-only
33 #define TEST_FIRMWARE_NAME "test-firmware.bin"
47 const struct firmware *fw; member
56 * struct test_config - represents configuration for the test for different triggers
82 * found so we can only assume -ENOENT on async calls if the firmware is
90 * -EINVAL: invalid parameters or request
91 * -ENOENT: files not found
95 * -ENOMEM: memory pressure on system
96 * -ENODEV: out of number of devices to test
97 * -EINVAL: an unexpected error has occurred
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dusb_mcu.c1 // SPDX-License-Identifier: ISC
23 mt76u_vendor_request(&dev->mt76, MT_VEND_DEV_MODE, in mt76x2u_mcu_load_ivb()
30 struct mt76_usb *usb = &dev->mt76.usb; in mt76x2u_mcu_enable_patch()
37 memcpy(usb->data, data, sizeof(data)); in mt76x2u_mcu_enable_patch()
38 mt76u_vendor_request(&dev->mt76, MT_VEND_DEV_MODE, in mt76x2u_mcu_enable_patch()
40 0x12, 0, usb->data, sizeof(data)); in mt76x2u_mcu_enable_patch()
45 struct mt76_usb *usb = &dev->mt76.usb; in mt76x2u_mcu_reset_wmt()
51 memcpy(usb->data, data, sizeof(data)); in mt76x2u_mcu_reset_wmt()
52 mt76u_vendor_request(&dev->mt76, MT_VEND_DEV_MODE, in mt76x2u_mcu_reset_wmt()
54 0x12, 0, usb->data, sizeof(data)); in mt76x2u_mcu_reset_wmt()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dsw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2014 Realtek Corporation.*/
12 #include "fw.h"
29 * 0 - Disable ASPM, in rtl92ee_init_aspm_vars()
30 * 1 - Enable ASPM without Clock Req, in rtl92ee_init_aspm_vars()
31 * 2 - Enable ASPM with Clock Req, in rtl92ee_init_aspm_vars()
32 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92ee_init_aspm_vars()
33 * 4 - Always Enable ASPM without Clock Req. in rtl92ee_init_aspm_vars()
36 rtlpci->const_pci_aspm = 3; in rtl92ee_init_aspm_vars()
38 /*Setting for PCI-E device */ in rtl92ee_init_aspm_vars()
[all …]
/linux/drivers/media/tuners/
H A Dxc2028.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (c) 2007-2008 Mauro Carvalho Chehab <mchehab@kernel.org>
13 #define XC2028_DEFAULT_FIRMWARE "xc3028-v27.fw"
14 #define XC3028L_DEFAULT_FIRMWARE "xc3028L-v36.fw"
29 XC2028_AUTO = 0, /* By default, auto-detects */
62 struct xc2028_config *cfg);
65 struct xc2028_config *cfg) in xc2028_attach() argument
67 printk(KERN_INFO "%s: not probed - driver disabled by Kconfig\n", in xc2028_attach()
/linux/drivers/net/hamradio/
H A Dyam.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * yam.c -- YAM radio modem driver.
61 /* --------------------------------------------------------------------- */
67 /* --------------------------------------------------------------------- */
94 #define DEFAULT_PERS 64 /* 0->255 */
147 /* --------------------------------------------------------------------- */
219 /* YAM Modem <-> UART Port mapping */
326 return -1; in fpga_write()
341 const struct firmware *fw; in add_mcs() local
348 fw = NULL; in add_mcs()
[all …]
/linux/drivers/net/wireless/ti/wl18xx/
H A Dacx.c1 // SPDX-License-Identifier: GPL-2.0-only
22 wl1271_debug(DEBUG_ACX, "acx cfg bitmap %d blk %d spare %d field %d", in wl18xx_acx_host_if_cfg_bitmap()
28 ret = -ENOMEM; in wl18xx_acx_host_if_cfg_bitmap()
32 bitmap_conf->host_cfg_bitmap = cpu_to_le32(host_cfg_bitmap); in wl18xx_acx_host_if_cfg_bitmap()
33 bitmap_conf->host_sdio_block_size = cpu_to_le32(sdio_blk_size); in wl18xx_acx_host_if_cfg_bitmap()
34 bitmap_conf->extra_mem_blocks = cpu_to_le32(extra_mem_blks); in wl18xx_acx_host_if_cfg_bitmap()
35 bitmap_conf->length_field_size = cpu_to_le32(len_field_size); in wl18xx_acx_host_if_cfg_bitmap()
59 ret = -ENOMEM; in wl18xx_acx_set_checksum_state()
63 acx->checksum_state = CHECKSUM_OFFLOAD_ENABLED; in wl18xx_acx_set_checksum_state()
85 ret = -ENOMEM; in wl18xx_acx_clear_statistics()
[all …]
/linux/sound/soc/
H A Dsoc-topology.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-topology.c -- ALSA SoC Topology
29 #include <sound/soc-dapm.h>
30 #include <sound/soc-topology.h>
55 const struct firmware *fw; member
57 /* runtime FW parsing */
75 /* optional fw loading callbacks to component drivers */
83 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count()
85 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count()
86 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dsw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2010 Realtek Corporation.*/
12 #include "fw.h"
28 * 0 - Disable ASPM, in rtl8821ae_init_aspm_vars()
29 * 1 - Enable ASPM without Clock Req, in rtl8821ae_init_aspm_vars()
30 * 2 - Enable ASPM with Clock Req, in rtl8821ae_init_aspm_vars()
31 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8821ae_init_aspm_vars()
32 * 4 - Always Enable ASPM without Clock Req. in rtl8821ae_init_aspm_vars()
35 rtlpci->const_pci_aspm = 3; in rtl8821ae_init_aspm_vars()
37 /*Setting for PCI-E device */ in rtl8821ae_init_aspm_vars()
[all …]
/linux/drivers/accel/ivpu/
H A Divpu_fw.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020-2025 Intel Corporation
27 #define FW_RUNTIME_MAX_ADDR (FW_GLOBAL_MEM_END - FW_SHARED_MEM_SIZE)
35 /* Check if FW API is compatible with the driver */
73 int ret = -ENOENT; in ivpu_fw_request()
77 ret = request_firmware(&vdev->fw->file, ivpu_firmware, vdev->drm.dev); in ivpu_fw_request()
79 vdev->fw->name = ivpu_firmware; in ivpu_fw_request()
87 ret = firmware_request_nowarn(&vdev->fw->file, fw_names[i].name, vdev->drm.dev); in ivpu_fw_request()
89 vdev->fw->name = fw_names[i].name; in ivpu_fw_request()
103 u16 major = (u16)(fw_hdr->api_version[index] >> 16); in ivpu_fw_check_api()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmac80211_if.c3 * Copyright (c) 2013 Hauke Mehrtens <hauke@hauke-m.de>
41 #define N_TX_QUEUES 4 /* #tx queues on mac80211<->driver interface */
93 MODULE_FIRMWARE("brcm/bcm43xx-0.fw");
94 MODULE_FIRMWARE("brcm/bcm43xx_hdr-0.fw");
139 /* UNII-1 */
144 /* UNII-2 */
192 /* UNII-3 */
245 .n_bitrates = ARRAY_SIZE(legacy_ratetable) -
266 for (i = 0; i < rs->count; i++) { in brcms_set_basic_rate()
267 if (rate != (rs->rates[i] & 0x7f)) in brcms_set_basic_rate()
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dsw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
11 #include "fw.h"
31 * 0 - Disable ASPM, in rtl8723e_init_aspm_vars()
32 * 1 - Enable ASPM without Clock Req, in rtl8723e_init_aspm_vars()
33 * 2 - Enable ASPM with Clock Req, in rtl8723e_init_aspm_vars()
34 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8723e_init_aspm_vars()
35 * 4 - Always Enable ASPM without Clock Req. in rtl8723e_init_aspm_vars()
38 rtlpci->const_pci_aspm = 3; in rtl8723e_init_aspm_vars()
40 /*Setting for PCI-E device */ in rtl8723e_init_aspm_vars()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c1 // SPDX-License-Identifier: GPL-2.0
13 * ixgbe_should_retry_aci_send_cmd_execute - decide if ACI command should
37 * ixgbe_aci_send_cmd_execute - execute sending FW Admin Command to FW Admin
48 * * - 0 - success.
49 * * - -EIO - CSR mechanism is not enabled.
50 * * - -EBUSY - CSR mechanism is busy.
51 * * - -EINVAL - buf_size is too big or
53 * * - -ETIME - Admin Command X command timeout.
54 * * - -EIO - Admin Command X invalid state of HICR register or
67 hw->aci.last_status = LIBIE_AQ_RC_OK; in ixgbe_aci_send_cmd_execute()
[all …]
/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dtopaz_pcie.c1 // SPDX-License-Identifier: GPL-2.0+
105 void __iomem *reg = ts->base.sysctl_bar + TOPAZ_PCIE_CFG0_OFFSET; in qtnf_deassert_intx()
106 u32 cfg; in qtnf_deassert_intx() local
108 cfg = readl(reg); in qtnf_deassert_intx()
109 cfg &= ~TOPAZ_ASSERT_INTX; in qtnf_deassert_intx()
110 qtnf_non_posted_write(cfg, reg); in qtnf_deassert_intx()
115 void __iomem *reg = ts->base.sysctl_bar + TOPAZ_PCIE_CFG0_OFFSET; in qtnf_topaz_intx_asserted()
116 u32 cfg = readl(reg); in qtnf_topaz_intx_asserted() local
118 return !!(cfg & TOPAZ_ASSERT_INTX); in qtnf_topaz_intx_asserted()
124 TOPAZ_LH_IPC4_INT(ts->base.sysctl_bar)); in qtnf_topaz_reset_ep()
[all …]
/linux/drivers/input/touchscreen/
H A Dgoodix.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * 2010 - 2012 Goodix Technology.
64 const u8 *cfg, int len);
66 const u8 *cfg, int len);
133 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
140 DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"),
153 .ident = "Cube I15-TC",
156 DMI_MATCH(DMI_PRODUCT_NAME, "I15-TC")
164 * goodix_i2c_read - read data from a register of the i2c slave device.
178 msgs[0].addr = client->addr; in goodix_i2c_read()
[all …]

12345678910>>...12