Home
last modified time | relevance | path

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

12345678910>>...19

/openbmc/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-eeprom-read.o iwl-eeprom-parse.o
8 iwlwifi-objs += iwl-phy-db.o iwl-nvm-parse.o
9 iwlwifi-objs += pcie/drv.o pcie/rx.o pcie/tx.o pcie/trans.o
10 iwlwifi-objs += pcie/ctxt-info.o pcie/ctxt-info-gen3.o
11 iwlwifi-objs += pcie/trans-gen2.o pcie/tx-gen2.o
[all …]
H A Diwl-nvm-parse.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2005-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
14 #include "iwl-drv.h"
15 #include "iwl-modparams.h"
16 #include "iwl-nvm-parse.h"
17 #include "iwl-prph.h"
18 #include "iwl-io.h"
19 #include "iwl-csr.h"
[all …]
H A Diwl-drv.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2005-2014, 2018-2021 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
8 #include <linux/dma-mapping.h>
13 #include "iwl-drv.h"
14 #include "iwl-csr.h"
15 #include "iwl-debug.h"
16 #include "iwl-trans.h"
17 #include "iwl-op-mode.h"
[all …]
H A Diwl-nvm-parse.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2005-2015, 2018-2022 Intel Corporation
4 * Copyright (C) 2016-2017 Intel Deutschland GmbH
10 #include "iwl-eeprom-parse.h"
11 #include "mei/iwl-mei.h"
14 * enum iwl_nvm_sbands_flags - modification flags for the channel profiles
25 * iwl_parse_nvm_data - parse NVM data and return values
33 iwl_parse_nvm_data(struct iwl_trans *trans, const struct iwl_cfg *cfg,
34 const struct iwl_fw *fw,
41 * iwl_parse_mcc_info - parse MCC (mobile country code) info coming from FW
[all …]
H A Diwl-trans.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2005-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
15 #include "iwl-debug.h"
16 #include "iwl-config.h"
17 #include "fw/img.h"
18 #include "iwl-op-mode.h"
20 #include "fw/api/cmdhdr.h"
21 #include "fw/api/txq.h"
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dscan.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
12 #include "fw/api/scan.h"
13 #include "iwl-io.h"
82 /* For CDB this is low band scan type, for non-CDB - type. */
111 struct iwl_scan_req_umac *cmd = mvm->scan_cmd; in iwl_mvm_get_scan_req_umac_data()
114 return (void *)&cmd->v8.data; in iwl_mvm_get_scan_req_umac_data()
117 return (void *)&cmd->v7.data; in iwl_mvm_get_scan_req_umac_data()
[all …]
H A Dnvm.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2019, 2021 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
9 #include "iwl-trans.h"
10 #include "iwl-csr.h"
12 #include "iwl-eeprom-parse.h"
13 #include "iwl-eeprom-read.h"
14 #include "iwl-nvm-parse.h"
15 #include "iwl-prph.h"
[all …]
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 …]
/openbmc/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 …]
/openbmc/linux/drivers/leds/
H A Dleds-lp55xx-common.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Derived from leds-lp5521.c, leds-lp5523.c
18 #include <linux/platform_data/leds-lp55xx.h>
21 #include <dt-bindings/leds/leds-lp55xx.h>
23 #include "leds-lp55xx-common.h"
45 struct lp55xx_device_config *cfg = chip->cfg; in lp55xx_reset_device() local
46 u8 addr = cfg->reset.addr; in lp55xx_reset_device()
47 u8 val = cfg->reset.val; in lp55xx_reset_device()
55 struct lp55xx_device_config *cfg = chip->cfg; in lp55xx_detect_device() local
56 u8 addr = cfg->enable.addr; in lp55xx_detect_device()
[all …]
/openbmc/linux/drivers/iommu/arm/arm-smmu/
H A Darm-smmu.h1 /* SPDX-License-Identifier: GPL-2.0-only */
18 #include <linux/io-64-nonatomic-hi-lo.h>
19 #include <linux/io-pgtable.h>
357 struct arm_smmu_cfg *cfg; member
372 struct arm_smmu_cfg cfg; member
384 static inline u32 arm_smmu_lpae_tcr(const struct io_pgtable_cfg *cfg) in arm_smmu_lpae_tcr() argument
386 u32 tcr = FIELD_PREP(ARM_SMMU_TCR_TG0, cfg->arm_lpae_s1_cfg.tcr.tg) | in arm_smmu_lpae_tcr()
387 FIELD_PREP(ARM_SMMU_TCR_SH0, cfg->arm_lpae_s1_cfg.tcr.sh) | in arm_smmu_lpae_tcr()
388 FIELD_PREP(ARM_SMMU_TCR_ORGN0, cfg->arm_lpae_s1_cfg.tcr.orgn) | in arm_smmu_lpae_tcr()
389 FIELD_PREP(ARM_SMMU_TCR_IRGN0, cfg->arm_lpae_s1_cfg.tcr.irgn) | in arm_smmu_lpae_tcr()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dps.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
18 if (rtlhal->interface == INTF_PCI) in rtl_ps_enable_nic()
19 rtlpriv->intf_ops->reset_trx_ring(hw); in rtl_ps_enable_nic()
26 if (rtlpriv->cfg->ops->hw_init(hw)) in rtl_ps_enable_nic()
28 rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_RETRY_LIMIT, in rtl_ps_enable_nic()
29 &rtlmac->retry_long); in rtl_ps_enable_nic()
32 rtlpriv->cfg->ops->switch_channel(hw); in rtl_ps_enable_nic()
33 rtlpriv->cfg->ops->set_channel_access(hw); in rtl_ps_enable_nic()
34 rtlpriv->cfg->ops->set_bw_mode(hw, in rtl_ps_enable_nic()
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/media/tuners/
H A Dxc5000.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 #include "tuner-i2c.h"
88 /* Set the output amplitude - SIF for analog, DTVP/DTVN for digital */
118 char[0 ]=len0_MSB -> len = len_MSB * 256 + len_LSB
119 char[1 ]=len0_LSB -> length of first write transaction
120 char[2 ]=data0 -> first byte to be sent
124 char[M ]=dataN -> last byte to be sent
125 char[M+1]=len1_MSB -> len = len_MSB * 256 + len_LSB
126 char[M+2]=len1_LSB -> length of second write transaction
177 {"M/N-NTSC/PAL-BTSC", 0x0400, 0x8020},
[all …]
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()
/openbmc/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 …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dctxt-info.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
4 * Copyright (C) 2018-2022 Intel Corporation
6 #include "iwl-trans.h"
7 #include "iwl-fh.h"
8 #include "iwl-context-info.h"
10 #include "iwl-prph.h"
23 result = dma_alloc_coherent(trans->dev, size, phys, GFP_KERNEL); in _iwl_pcie_ctxt_info_dma_alloc_coherent()
35 dma_free_coherent(trans->dev, size, old, oldphys); in _iwl_pcie_ctxt_info_dma_alloc_coherent()
52 dram->block = iwl_pcie_ctxt_info_dma_alloc_coherent(trans, len, in iwl_pcie_ctxt_info_alloc_dma()
53 &dram->physical); in iwl_pcie_ctxt_info_alloc_dma()
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Datmel_mxt_ts.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2011-2014 Atmel Corporation
30 #include <media/v4l2-device.h>
31 #include <media/v4l2-ioctl.h>
32 #include <media/videobuf2-v4l2.h>
33 #include <media/videobuf2-vmalloc.h>
34 #include <dt-bindings/input/atmel-maxtouch.h>
37 #define MXT_FW_NAME "maxtouch.fw"
38 #define MXT_CFG_NAME "maxtouch.cfg"
340 /* for fw update in bootloader */
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddbg.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2005-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
8 #include "iwl-drv.h"
12 #include "iwl-io.h"
13 #include "iwl-prph.h"
14 #include "iwl-csr.h"
15 #include "iwl-fh.h"
17 * struct iwl_fw_dump_ptrs - set of pointers needed for the fw-error-dump
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c1 // SPDX-License-Identifier: GPL-2.0
88 * ice_dump_phy_type - helper function to dump phy_type
115 * ice_set_mac_type - Sets MAC type
123 if (hw->vendor_id != PCI_VENDOR_ID_INTEL) in ice_set_mac_type()
124 return -ENODEV; in ice_set_mac_type()
126 switch (hw->device_id) { in ice_set_mac_type()
133 hw->mac_type = ICE_MAC_E810; in ice_set_mac_type()
154 hw->mac_type = ICE_MAC_GENERIC; in ice_set_mac_type()
157 hw->mac_type = ICE_MAC_UNKNOWN; in ice_set_mac_type()
161 ice_debug(hw, ICE_DBG_INIT, "mac_type: %d\n", hw->mac_type); in ice_set_mac_type()
[all …]
/openbmc/linux/lib/
H A Dtest_firmware.c1 // SPDX-License-Identifier: GPL-2.0-only
32 #define TEST_FIRMWARE_NAME "test-firmware.bin"
46 const struct firmware *fw; member
55 * struct test_config - represents configuration for the test for different triggers
81 * found so we can only assume -ENOENT on async calls if the firmware is
89 * -EINVAL: invalid parameters or request
90 * -ENOENT: files not found
94 * -ENOMEM: memory pressure on system
95 * -ENODEV: out of number of devices to test
96 * -EINVAL: an unexpected error has occurred
[all …]
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_fw.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020-2023 Intel Corporation
27 #define FW_RUNTIME_MAX_ADDR (FW_GLOBAL_MEM_END - FW_SHARED_MEM_SIZE)
46 /* TODO: Remove mtl_vpu.bin from names after transition to generation based FW names */
64 int ret = -ENOENT; in ivpu_fw_request()
68 ret = request_firmware(&vdev->fw->file, ivpu_firmware, vdev->drm.dev); in ivpu_fw_request()
70 vdev->fw->name = ivpu_firmware; in ivpu_fw_request()
78 ret = firmware_request_nowarn(&vdev->fw->file, fw_names[i].name, vdev->drm.dev); in ivpu_fw_request()
80 vdev->fw->name = fw_names[i].name; in ivpu_fw_request()
94 u16 major = (u16)(fw_hdr->api_version[index] >> 16); in ivpu_fw_check_api()
[all …]

12345678910>>...19