Searched refs:firmware (Results 1 - 25 of 1301) sorted by relevance

1234567891011>>

/linux-master/drivers/staging/media/atomisp/include/linux/
H A Dlibmsrlisthelper.h20 struct firmware;
23 const struct firmware **fw);
24 int apply_msr_data(struct i2c_client *client, const struct firmware *fw);
26 const struct firmware *fw);
/linux-master/include/linux/soc/qcom/
H A Dmdt_loader.h12 struct firmware;
17 ssize_t qcom_mdt_get_size(const struct firmware *fw);
18 int qcom_mdt_pas_init(struct device *dev, const struct firmware *fw,
21 int qcom_mdt_load(struct device *dev, const struct firmware *fw,
26 int qcom_mdt_load_no_init(struct device *dev, const struct firmware *fw,
30 void *qcom_mdt_read_metadata(const struct firmware *fw, size_t *data_len,
35 static inline ssize_t qcom_mdt_get_size(const struct firmware *fw)
40 static inline int qcom_mdt_pas_init(struct device *dev, const struct firmware *fw,
47 static inline int qcom_mdt_load(struct device *dev, const struct firmware *fw,
56 const struct firmware *f
[all...]
/linux-master/drivers/gpu/drm/tegra/
H A Dfalcon.c8 #include <linux/firmware.h>
52 * Use second DMA context (i.e. the one for firmware). Strictly
53 * speaking, at this point both DMA contexts point to the firmware
54 * stream ID, but this register's value will be reused by the firmware
67 const struct firmware *firmware)
69 u32 *virt = falcon->firmware.virt;
73 for (i = 0; i < firmware->size / sizeof(u32); i++)
74 virt[i] = le32_to_cpu(((__le32 *)firmware->data)[i]);
79 struct falcon_fw_bin_header_v1 *bin = (void *)falcon->firmware
66 falcon_copy_firmware_image(struct falcon *falcon, const struct firmware *firmware) argument
128 const struct firmware *firmware = falcon->firmware.firmware; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxfw/
H A Dmlxfw_mfa2.h7 #include <linux/firmware.h>
18 bool mlxfw_mfa2_check(const struct firmware *fw);
20 struct mlxfw_mfa2_file *mlxfw_mfa2_file_init(const struct firmware *fw);
H A Dmlxfw_mfa2_file.h7 #include <linux/firmware.h>
11 const struct firmware *fw;
/linux-master/sound/pci/asihpi/
H A Dhpidspcd.c5 Functions for reading DSP code using hotplug firmware loader
18 const struct firmware *firmware; member in struct:dsp_code_private
26 const struct firmware *firmware; local
35 err = request_firmware(&firmware, fw_name, &dev->dev);
37 if (err || !firmware) {
42 if (firmware->size < sizeof(header)) {
46 memcpy(&header, firmware->data, sizeof(header));
50 || (header.size != firmware
[all...]
/linux-master/arch/arm/common/
H A Dfirmware.c11 #include <asm/firmware.h>
/linux-master/include/linux/
H A Dfirmware.h13 struct firmware { struct
17 /* firmware loader private fields */
22 * enum fw_upload_err - firmware upload error codes
25 * @FW_UPLOAD_ERR_TIMEOUT: SW timed out on handshake with HW/firmware
28 * @FW_UPLOAD_ERR_INVALID_SIZE: invalid firmware image size
31 * @FW_UPLOAD_ERR_FW_INVALID: invalid firmware file
49 void *priv; /* firmware loader private fields */
53 * struct fw_upload_ops - device specific operations to support firmware upload
85 * Built-in firmware functionality is only available if FW_LOADER=y, but not
89 bool firmware_request_builtin(struct firmware *f
[all...]
/linux-master/include/misc/
H A Daltera.h24 extern int altera_init(struct altera_config *config, const struct firmware *fw);
28 const struct firmware *fw)
/linux-master/drivers/net/wireless/purelifi/plfxlc/
H A DMakefile3 plfxlc-objs += chip.o firmware.o usb.o mac.o
/linux-master/drivers/staging/media/atomisp/pci/
H A Datomisp_v4l2.h27 struct firmware;
31 const struct firmware *atomisp_load_firmware(struct atomisp_device *isp);
/linux-master/drivers/usb/misc/
H A Disight_firmware.c3 * Driver for loading USB isight firmware
9 * need firmware to be loaded beforehand. After firmware loading, the device
13 * The firmware is non-free and must be extracted by the user. Tools to do this
16 * The isight firmware loading was reverse engineered by Johannes Berg
22 #include <linux/firmware.h>
39 const struct firmware *firmware; local
47 if (request_firmware(&firmware, "isight.fw", &dev->dev) != 0) {
48 printk(KERN_ERR "Unable to load isight firmware\
[all...]
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dfirmware.c31 #include <linux/firmware.h>
75 void *firmware; local
81 firmware = vzalloc(size);
82 if (!firmware)
85 h = firmware;
94 p = firmware + h->cfg_space_offset;
96 memcpy(gvt->firmware.cfg_space, i915->vgpu.initial_cfg_space,
98 memcpy(p, gvt->firmware.cfg_space, info->cfg_space_size);
100 p = firmware + h->mmio_offset;
102 memcpy(gvt->firmware
202 struct intel_gvt_firmware *firmware = &gvt->firmware; local
[all...]
/linux-master/drivers/base/firmware_loader/
H A Dfallback.h5 #include <linux/firmware.h>
8 #include "firmware.h"
12 int firmware_fallback_sysfs(struct firmware *fw, const char *name,
22 static inline int firmware_fallback_sysfs(struct firmware *fw, const char *name,
/linux-master/drivers/media/common/
H A Dcypress_firmware.h6 * This file contains functions for downloading the firmware to Cypress FX 1
18 /* commonly used firmware download types and function */
27 int cypress_load_firmware(struct usb_device *, const struct firmware *, int);
/linux-master/drivers/net/wireless/marvell/libertas/
H A Dfirmware.c7 #include <linux/firmware.h>
16 const struct firmware *helper, const struct firmware *mainfw)
20 lbs_deb_fw("firmware load complete, code %d\n", ret);
32 void (*cb)(const struct firmware *fw, void *context))
45 static void main_firmware_cb(const struct firmware *firmware, void *context) argument
49 if (!firmware) {
50 /* Failed to find firmware: try next table entry */
56 lbs_fw_loaded(priv, 0, priv->helper_fw, firmware);
64 helper_firmware_cb(const struct firmware *firmware, void *context) argument
[all...]
/linux-master/drivers/usb/host/
H A Dxhci-pci.h22 const char *firmware; member in struct:xhci_driver_data
/linux-master/include/linux/firmware/imx/
H A Dsci.h13 #include <linux/firmware/imx/ipc.h>
15 #include <linux/firmware/imx/svc/misc.h>
16 #include <linux/firmware/imx/svc/pm.h>
17 #include <linux/firmware/imx/svc/rm.h>
/linux-master/drivers/media/dvb-frontends/
H A Dsp887x.h10 #include <linux/firmware.h>
17 /* request firmware for device */
18 int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name);
H A Dbcm3510.h13 #include <linux/firmware.h>
20 /* request firmware for device */
21 int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name);
/linux-master/drivers/staging/media/av7110/
H A Dsp8870.h14 #include <linux/firmware.h>
21 /* request firmware for device */
22 int (*request_firmware)(struct dvb_frontend* fe, const struct firmware **fw, char* name);
/linux-master/drivers/media/usb/as102/
H A Das102_fw.c11 #include <linux/firmware.h>
38 * Parse INTEL HEX firmware file to extract address and data.
48 pr_err("invalid firmware file\n");
93 const struct firmware *firmware) {
104 for (total_read_bytes = 0; total_read_bytes < firmware->size; ) {
109 (u8 *) (firmware->data + total_read_bytes),
120 if (total_read_bytes == firmware->size) {
158 const struct firmware *firmware local
91 as102_firmware_upload(struct as10x_bus_adapter_t *bus_adap, unsigned char *cmd, const struct firmware *firmware) argument
[all...]
/linux-master/drivers/pwm/
H A Dpwm-raspberrypi-poe.c20 #include <soc/bcm2835/raspberrypi-firmware.h>
21 #include <dt-bindings/pwm/raspberrypi,firmware-poe-pwm.h>
29 struct rpi_firmware *firmware; member in struct:raspberrypi_pwm
45 static int raspberrypi_pwm_set_property(struct rpi_firmware *firmware, argument
54 ret = rpi_firmware_property(firmware, RPI_FIRMWARE_SET_POE_HAT_VAL,
64 static int raspberrypi_pwm_get_property(struct rpi_firmware *firmware, argument
72 ret = rpi_firmware_property(firmware, RPI_FIRMWARE_GET_POE_HAT_VAL,
121 ret = raspberrypi_pwm_set_property(rpipwm->firmware, RPI_PWM_CUR_DUTY_REG,
143 struct rpi_firmware *firmware; local
150 dev_err(dev, "Missing firmware nod
[all...]
/linux-master/drivers/base/firmware_loader/builtin/
H A Dmain.c2 /* Builtin firmware support */
4 #include <linux/firmware.h>
5 #include "../firmware.h"
19 static bool fw_copy_to_prealloc_buf(struct firmware *fw,
31 * firmware_request_builtin() - load builtin firmware
32 * @fw: pointer to firmware struct
33 * @name: name of firmware file
38 * if the firmware was built-in and if so use it right away. This can be used
41 * This looks for the firmware in the built-in kernel. Only if the kernel was
42 * built-in with the firmware yo
[all...]
/linux-master/drivers/bluetooth/
H A Dbcm203x.c4 * Broadcom Blutonium firmware driver
19 #include <linux/firmware.h>
154 const struct firmware *firmware; local
175 if (request_firmware(&firmware, "BCM2033-MD.hex", &udev->dev) < 0) {
181 BT_DBG("minidrv data %p size %zu", firmware->data, firmware->size);
183 size = max_t(uint, firmware->size, 4096);
188 release_firmware(firmware);
193 memcpy(data->buffer, firmware
[all...]

Completed in 197 milliseconds

1234567891011>>