Home
last modified time | relevance | path

Searched +full:firmware +full:- +full:initialized (Results 1 – 25 of 859) sorted by relevance

12345678910>>...35

/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A Dia_css_control.h1 /* SPDX-License-Identifier: GPL-2.0 */
33 * @param[in] fw Firmware package containing the firmware for all
35 * if fw is NULL the firmware must be loaded before
41 * @return Returns -EINVAL in case of any
45 * internal data structures. This also interprets the firmware package. All
46 * contents of this firmware package are copied into local data structures, so
55 /* @brief Un-initialize the CSS API.
59 * Exception: if you explicitly loaded firmware through ia_css_load_firmware
61 * for the firmware.
63 * with the exception of ia_css_init which will re-initialize the CSS code,
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/typec/ucsi/
H A Ddisplayport.c1 // SPDX-License-Identifier: GPL-2.0
26 bool initialized; member
45 * -EOPNOTSUPP.
51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter()
57 mutex_lock(&dp->con->lock); in ucsi_displayport_enter()
59 if (!dp->override && dp->initialized) { in ucsi_displayport_enter()
62 dev_warn(&p->dev, in ucsi_displayport_enter()
63 "firmware doesn't support alternate mode overriding\n"); in ucsi_displayport_enter()
64 ret = -EOPNOTSUPP; in ucsi_displayport_enter()
68 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(dp->con->num); in ucsi_displayport_enter()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2012 - 2018 Microchip Technology Inc., and its subsidiaries.
9 #include <linux/firmware.h>
21 #define WILC1000_FW_PREFIX "atmel/wilc1000_wifi_firmware-"
29 struct wilc *wilc = vif->wilc; in isr_uh_routine()
31 if (wilc->close) { in isr_uh_routine()
42 struct wilc *wilc = vif->wilc; in isr_bh_routine()
44 if (wilc->close) { in isr_bh_routine()
57 struct wilc *wl = vif->wilc; in init_irq()
60 ret = request_threaded_irq(wl->dev_irq_num, isr_uh_routine, in init_irq()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Dor51211.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Support for OR51211 (pcHDTV HD-2000) - VSB
14 * This driver needs external firmware. Please use the command
16 * download/extract it, and then copy it to /usr/lib/hotplug/firmware
17 * or /lib/firmware (depending on configuration of firmware hotplug).
19 #define OR51211_DEFAULT_FIRMWARE "dvb-fe-or51211.fw"
24 #include <linux/firmware.h>
51 u8 initialized:1; member
68 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_writebytes()
70 return -EREMOTEIO; in i2c_writebytes()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/wfx/
H A Dfwio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Firmware loading.
5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
6 * Copyright (c) 2010, ST-Ericsson
8 #include <linux/firmware.h>
67 [ERR_AES_CTRL_KEY] = "AES control key not initialized",
68 [ERR_ECC_PUB_KEY] = "ECC public key not initialized",
69 [ERR_MAC_KEY] = "MAC key not initialized",
80 * NOTE: it may also be possible to use 'pages' from struct firmware and avoid
92 return -ENOMEM; in sram_write_dma_safe()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/device/backend/
H A Dmali_kbase_device_csf.c1 // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
4 * (C) COPYRIGHT 2019-2023 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
46 * kbase_device_firmware_hwcnt_term - Terminate CSF firmware and HWC
51 * When a kbase driver is removed, terminate CSF firmware and hardware counter
56 if (kbdev->csf.firmware_inited) { in kbase_device_firmware_hwcnt_term()
57 kbase_kinstr_prfcnt_term(kbdev->kinstr_prfcnt_ctx); in kbase_device_firmware_hwcnt_term()
58 kbase_vinstr_term(kbdev->vinstr_ctx); in kbase_device_firmware_hwcnt_term()
59 kbase_hwcnt_virtualizer_term(kbdev->hwcnt_gpu_virt); in kbase_device_firmware_hwcnt_term()
60 kbase_hwcnt_backend_csf_metadata_term(&kbdev->hwcnt_gpu_iface); in kbase_device_firmware_hwcnt_term()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcommon.h1 // SPDX-License-Identifier: ISC
16 * The mp_global is instantiated once in a global struct and gets initialized
19 * of the drvr struct and should be initialized on every brcmf_attach.
23 * struct brcmf_mp_global_t - Global module paramaters.
25 * @firmware_path: Alternative firmware path.
34 * struct brcmf_mp_device - Device module paramaters.
39 * @roamoff: Firmware roaming off?
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pci/
H A Dhost-generic-pci.yaml1 # 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_trace_buffer.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * (C) COPYRIGHT 2018-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
35 * kbase_csf_firmware_trace_buffers_init - Initialize trace buffers
40 * - One memory page of GPU-readable, CPU-writable memory is used for
42 * - One memory page of GPU-writable, CPU-readable memory is used for
44 * - A data buffer of GPU-writable, CPU-readable memory is allocated
47 * After that, firmware addresses are written with pointers to the
50 * in the firmware addresses directly.
54 * populated with data from the firmware image parsing.
[all …]
H A Dmali_kbase_csf_firmware_core_dump.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * (C) COPYRIGHT 2021-2022 ARM Limited. All rights reserved.
18 * http://www.gnu.org/licenses/gpl-2.0.html.
31 * kbase_csf_firmware_core_dump_entry_parse() - Parse a "core dump" entry from
45 * kbase_csf_firmware_core_dump_init() - Initialize firmware core dump support
48 * Must be zero-initialized.
50 * Creates the fw_core_dump debugfs file through which to request a firmware
60 * kernel driver reported an internal firmware error):
/OK3568_Linux_fs/kernel/drivers/soc/fsl/qe/
H A Dqe.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2006-2010 Freescale Semiconductor, Inc. All rights reserved.
49 static phys_addr_t qebase = -1;
71 if (qebase != -1) in get_qe_base()
112 qe_iowrite32be((u32)(cmd | QE_CR_FLG), &qe_immr->cp.cecr); in qe_issue_cmd()
115 /* Here device is the SNUM, not sub-block */ in qe_issue_cmd()
129 qe_iowrite32be(cmd_input, &qe_immr->cp.cecdr); in qe_issue_cmd()
131 &qe_immr->cp.cecr); in qe_issue_cmd()
135 ret = readx_poll_timeout_atomic(qe_ioread32be, &qe_immr->cp.cecr, val, in qe_issue_cmd()
137 /* On timeout, ret is -ETIMEDOUT, otherwise it will be 0. */ in qe_issue_cmd()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wimax/i2400m/
H A Di2400m.h3 * Declarations for bus-generic internal APIs
6 * Copyright (C) 2007-2008 Intel Corporation. All rights reserved.
35 * Intel Corporation <linux-wimax@intel.com>
36 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
38 * - Initial implementation
45 * - bus specific driver
46 * - bus generic driver (this part)
49 * device is connected to (USB, PCI, tam-tam...non-authoritative
50 * nor binding list) which is basically the device-model management
54 * For details on each bus-specific driver, see it's include file,
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/mei/
H A Dmei.rst1 .. 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
34 The driver is transparent to data that are passed between firmware feature
50 .. code-block:: C
83 -------------------------
84 Connect to firmware Feature/Client.
86 .. code-block:: none
96 struct mei_connect_client_data - contain the following
99 in_client_uuid - GUID of the FW Feature that needs
[all …]
/OK3568_Linux_fs/kernel/Documentation/arm/
H A Dfirmware.rst2 Interface for registering and calling firmware-specific operations for ARM
7 Some boards are running with secure firmware running in TrustZone secure
8 world, which changes the way some things have to be initialized. This makes
9 a need to provide an interface for such platforms to specify available firmware
12 Firmware operations can be specified by filling in a struct firmware_ops
18 The ops pointer must be non-NULL. More information about struct firmware_ops
19 and its members can be found in arch/arm/include/asm/firmware.h header.
22 set anything if platform does not require firmware operations.
24 To call a firmware operation, a helper macro is provided::
27 ((firmware_ops->op) ? firmware_ops->op(__VA_ARGS__) : (-ENOSYS))
[all …]
/OK3568_Linux_fs/kernel/drivers/scsi/qla4xxx/
H A Dql4_init.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2003-2013 QLogic Corporation
19 spin_lock_irqsave(&ha->hardware_lock, flags); in ql4xxx_set_mac_number()
20 value = readw(&ha->reg->ctrl_status); in ql4xxx_set_mac_number()
21 spin_unlock_irqrestore(&ha->hardware_lock, flags); in ql4xxx_set_mac_number()
25 ha->mac_index = 1; in ql4xxx_set_mac_number()
28 ha->mac_index = 3; in ql4xxx_set_mac_number()
32 "ispControlStatus = 0x%x\n", ha->host_no, in ql4xxx_set_mac_number()
36 DEBUG2(printk("scsi%ld: %s: mac_index %d.\n", ha->host_no, __func__, in ql4xxx_set_mac_number()
37 ha->mac_index)); in ql4xxx_set_mac_number()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ipa/
H A Dipa.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2020 Linaro Ltd.
31 * enum ipa_flag - IPA state flags
41 * struct ipa - IPA information
55 * @mem_addr: DMA address of IPA-local memory space
56 * @mem_virt: Virtual address of IPA-local memory space
60 * @mem: Array of IPA-local memory region descriptors
65 * @zero_addr: DMA address of preallocated zero-filled memory
66 * @zero_virt: Virtual address of preallocated zero-filled memory
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dmub/
H A Ddmub_srv.h36 * This interface is not thread-safe. Ensure that all access to the interface
77 /* enum dmub_status - return code for dmcub functions */
86 /* enum dmub_asic - dmub asic identifier */
97 /* enum dmub_window_id - dmub window identifier */
111 * struct dmub_region - dmub hw memory region
121 * struct dmub_window - dmub hw cache window
131 * struct dmub_fb - defines a dmub framebuffer memory region
143 * struct dmub_srv_region_params - params used for calculating dmub regions
147 * @fw_bss_data: raw firmware bss data section
158 * struct dmub_srv_region_info - output region info from the dmub service
[all …]
/OK3568_Linux_fs/kernel/Documentation/virt/kvm/arm/
H A Dpsci.rst1 .. SPDX-License-Identifier: GPL-2.0
9 and power-off to the guest.
16 observe two different "firmware" revisions. This could cause issues if
21 In order to remedy this situation, KVM exposes a set of "firmware
22 pseudo-registers" that can be manipulated using the GET/SET_ONE_REG
30 - Only valid if the vcpu has the KVM_ARM_VCPU_PSCI_0_2 feature set
31 (and thus has already been initialized)
32 - Returns the current PSCI version on GET_ONE_REG (defaulting to the
34 - Allows any PSCI version implemented by KVM and compatible with
36 - Affects the whole VM (even if the register view is per-vcpu)
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/
H A DKconfig4 bool "Enable multiple CPUs to enter into U-Boot"
9 Say Y here if there is not any trust firmware to set
10 CPUECTLR_EL1.SMPEN bit before U-Boot.
17 register may be controlled by EL3/EL2 firmware. To be more
18 precise, by default (if there is EL2/EL3 firmware running)
21 it can be safely enabled when EL2/EL3 initialized SMPEN bit
25 bool "Support spin-table enable method"
28 Say Y here to support "spin-table" enable method for booting Linux.
31 - Specify enable-method = "spin-table" in each CPU node in the
33 - Bring secondary CPUs into U-Boot proper in a board specific
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Drohm_bu21023.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/firmware.h>
37 * BU21023GUL/BU21023MUV/BU21024FV-M registers map
261 bool initialized; member
270 * rohm_i2c_burst_read - execute combined I2C message for ROHM BU21023/24
285 struct i2c_adapter *adap = client->adapter; in rohm_i2c_burst_read()
289 msg[0].addr = client->addr; in rohm_i2c_burst_read()
294 msg[1].addr = client->addr; in rohm_i2c_burst_read()
303 ret = -EIO; in rohm_i2c_burst_read()
315 struct i2c_client *client = ts->client; in rohm_ts_manual_calibration()
[all …]
/OK3568_Linux_fs/kernel/drivers/cpuidle/
H A Ddt_idle_states.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #define pr_fmt(fmt) "DT idle-states: " fmt
33 idle_state->enter = match_id->data; in init_state_node()
39 idle_state->enter_s2idle = match_id->data; in init_state_node()
41 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node()
42 &idle_state->exit_latency); in init_state_node()
46 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node()
49 pr_debug(" * %pOF missing entry-latency-us property\n", in init_state_node()
51 return -EINVAL; in init_state_node()
54 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node()
[all …]
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Dhci_nokia.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2015-2017 Sebastian Reichel <sre@kernel.org>
11 #include <linux/firmware.h>
144 bool initialized; member
165 struct device *dev = &btdev->serdev->dev; in wakeup_handler()
166 int wake_state = gpiod_get_value(btdev->wakeup_host); in wakeup_handler()
168 if (btdev->rx_enabled == wake_state) in wakeup_handler()
176 btdev->rx_enabled = wake_state; in wakeup_handler()
183 struct nokia_bt_dev *btdev = hu->priv; in nokia_reset()
184 struct device *dev = &btdev->serdev->dev; in nokia_reset()
[all …]
/OK3568_Linux_fs/kernel/drivers/nfc/fdp/
H A Dfdp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -------------------------------------------------------------------------
3 * Copyright (C) 2014-2016, Intel Corporation
5 * -------------------------------------------------------------------------
12 #include <linux/firmware.h>
45 const struct firmware *otp_patch;
46 const struct firmware *ram_patch;
92 r = nci_core_conn_create(info->ndev, FDP_PATCH_CONN_DEST, 1, in fdp_nci_create_conn()
127 delta = 24 * fc - nd * clock_freq; in fdp_nci_set_clock()
148 info->setup_patch_sent = 1; in fdp_nci_send_patch_cb()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/sof/intel/
H A Dhda-loader.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
18 #include <linux/firmware.h>
34 struct pci_dev *pci = to_pci_dev(sdev->dev); in cl_stream_prepare()
40 dev_err(sdev->dev, "error: no stream available\n"); in cl_stream_prepare()
41 return ERR_PTR(-ENODEV); in cl_stream_prepare()
43 hstream = &dsp_stream->hstream; in cl_stream_prepare()
44 hstream->substream = NULL; in cl_stream_prepare()
47 ret = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV_SG, &pci->dev, size, dmab); in cl_stream_prepare()
49 dev_err(sdev->dev, "error: memory alloc failed: %x\n", ret); in cl_stream_prepare()
53 hstream->period_bytes = 0;/* initialize period_bytes */ in cl_stream_prepare()
[all …]
/OK3568_Linux_fs/kernel/Documentation/powerpc/
H A Dfirmware-assisted-dump.rst2 Firmware-Assisted Dump
7 The goal of firmware-assisted dump is to enable the dump of
8 a crashed system, and to do so from a fully-reset system, and
12 - Firmware-Assisted Dump (FADump) infrastructure is intended to replace
14 - Fadump uses the same firmware interfaces and memory reservation model
16 - Unlike phyp dump, FADump exports the memory dump through /proc/vmcore
19 - Unlike phyp dump, userspace tool does not need to refer any sysfs
21 - Unlike phyp dump, FADump allows user to release all the memory reserved
23 - Once enabled through kernel boot parameter, FADump can be
28 Comparing with kdump or other strategies, firmware-assisted
[all …]

12345678910>>...35