| /drivers/gpu/drm/tegra/ |
| A D | falcon.c | 80 const struct firmware *firmware) in falcon_copy_firmware_image() argument 82 u32 *virt = falcon->firmware.virt; in falcon_copy_firmware_image() 130 err = request_firmware(&falcon->firmware.firmware, name, falcon->dev); in falcon_read_firmware() 134 falcon->firmware.size = falcon->firmware.firmware->size; in falcon_read_firmware() 141 const struct firmware *firmware = falcon->firmware.firmware; in falcon_load_firmware() local 154 release_firmware(firmware); in falcon_load_firmware() 155 falcon->firmware.firmware = NULL; in falcon_load_firmware() 162 falcon->firmware.virt = NULL; in falcon_init() 169 if (falcon->firmware.firmware) in falcon_exit() 170 release_firmware(falcon->firmware.firmware); in falcon_exit() [all …]
|
| A D | vic.c | 24 const char *firmware; member 92 hdr = vic->falcon.firmware.virt; in vic_boot() 97 hdr = vic->falcon.firmware.virt + in vic_boot() 194 vic->falcon.firmware.virt, in vic_exit() 198 vic->falcon.firmware.virt, in vic_exit() 199 vic->falcon.firmware.iova); in vic_exit() 223 if (vic->falcon.firmware.virt) { in vic_load_firmware() 232 size = vic->falcon.firmware.size; in vic_load_firmware() 248 vic->falcon.firmware.virt = virt; in vic_load_firmware() 249 vic->falcon.firmware.iova = iova; in vic_load_firmware() [all …]
|
| A D | nvdec.c | 29 const char *firmware; member 228 nvdec->falcon.firmware.virt, in nvdec_exit() 229 nvdec->falcon.firmware.iova); in nvdec_exit() 232 nvdec->falcon.firmware.virt, in nvdec_exit() 233 nvdec->falcon.firmware.iova); in nvdec_exit() 253 if (nvdec->falcon.firmware.virt) in nvdec_load_falcon_firmware() 260 size = nvdec->falcon.firmware.size; in nvdec_load_falcon_firmware() 272 nvdec->falcon.firmware.virt = virt; in nvdec_load_falcon_firmware() 273 nvdec->falcon.firmware.iova = iova; in nvdec_load_falcon_firmware() 293 nvdec->falcon.firmware.phys = phys; in nvdec_load_falcon_firmware() [all …]
|
| /drivers/base/firmware_loader/ |
| A D | Kconfig | 14 o /lib/firmware/updates/UTS_RELEASE 15 o /lib/firmware/updates 16 o /lib/firmware/UTS_RELEASE 17 o /lib/firmware 21 need firmware. 59 kernel firmware files. Built-in firmware searches are preceded 71 /lib/firmware by default. 89 default "/lib/firmware" 102 firmware failed using the different /lib/firmware/ paths, or the 120 to listen for uvents to load firmware for the kernel. The firmware [all …]
|
| A D | main.c | 746 struct firmware *firmware; in _request_firmware_prepare() local 750 *firmware_p = firmware = kzalloc(sizeof(*firmware), GFP_KERNEL); in _request_firmware_prepare() 751 if (!firmware) { in _request_firmware_prepare() 769 firmware->priv = fw_priv; in _request_firmware_prepare() 774 fw_set_page_data(fw_priv, firmware); in _request_firmware_prepare() 831 struct firmware *fw = NULL; in _request_firmware() 977 int firmware_request_nowarn(const struct firmware **firmware, const char *name, in firmware_request_nowarn() argument 1026 int firmware_request_platform(const struct firmware **firmware, in firmware_request_platform() argument 1155 const struct firmware *fw; in request_firmware_work_func() 1291 const struct firmware *fw; in cache_firmware() [all …]
|
| /drivers/gpu/drm/i915/gvt/ |
| A D | firmware.c | 62 void *firmware; in expose_firmware_sysfs() local 68 firmware = vzalloc(size); in expose_firmware_sysfs() 69 if (!firmware) in expose_firmware_sysfs() 72 h = firmware; in expose_firmware_sysfs() 102 vfree(firmware); in expose_firmware_sysfs() 127 vfree(gvt->firmware.mmio); in intel_gvt_free_firmware() 189 struct intel_gvt_firmware *firmware = &gvt->firmware; in intel_gvt_load_firmware() local 191 const struct firmware *fw; in intel_gvt_load_firmware() 206 firmware->cfg_space = mem; in intel_gvt_load_firmware() 211 kfree(firmware->cfg_space); in intel_gvt_load_firmware() [all …]
|
| /drivers/bluetooth/ |
| A D | ath3k.c | 203 const struct firmware *firmware) in ath3k_load_firmware() argument 208 int count = firmware->size; in ath3k_load_firmware() 272 const struct firmware *firmware) in ath3k_load_fwfile() argument 279 count = firmware->size; in ath3k_load_fwfile() 356 const struct firmware *firmware; in ath3k_load_patch() local 388 firmware->size - 8); in ath3k_load_patch() 400 release_firmware(firmware); in ath3k_load_patch() 409 const struct firmware *firmware; in ath3k_load_syscfg() local 450 release_firmware(firmware); in ath3k_load_syscfg() 458 const struct firmware *firmware; in ath3k_probe() local [all …]
|
| A D | bcm203x.c | 154 const struct firmware *firmware; in bcm203x_probe() local 181 BT_DBG("minidrv data %p size %zu", firmware->data, firmware->size); in bcm203x_probe() 183 size = max_t(uint, firmware->size, 4096); in bcm203x_probe() 188 release_firmware(firmware); in bcm203x_probe() 193 memcpy(data->buffer, firmware->data, firmware->size); in bcm203x_probe() 198 release_firmware(firmware); in bcm203x_probe() 207 BT_DBG("firmware data %p size %zu", firmware->data, firmware->size); in bcm203x_probe() 209 data->fw_data = kmemdup(firmware->data, firmware->size, GFP_KERNEL); in bcm203x_probe() 212 release_firmware(firmware); in bcm203x_probe() 218 data->fw_size = firmware->size; in bcm203x_probe() [all …]
|
| /drivers/media/usb/as102/ |
| A D | as102_fw.c | 93 const struct firmware *firmware) { in as102_firmware_upload() argument 109 (u8 *) (firmware->data + total_read_bytes), in as102_firmware_upload() 120 if (total_read_bytes == firmware->size) { in as102_firmware_upload() 158 const struct firmware *firmware = NULL; in as102_fw_upload() local 180 errno = request_firmware(&firmware, fw1, &dev->dev); in as102_fw_upload() 188 errno = as102_firmware_upload(bus_adap, cmd_buf, firmware); in as102_fw_upload() 197 release_firmware(firmware); in as102_fw_upload() 198 firmware = NULL; in as102_fw_upload() 204 errno = request_firmware(&firmware, fw2, &dev->dev); in as102_fw_upload() 212 errno = as102_firmware_upload(bus_adap, cmd_buf, firmware); in as102_fw_upload() [all …]
|
| /drivers/net/wireless/marvell/libertas/ |
| A D | firmware.c | 16 const struct firmware *helper, const struct firmware *mainfw) in lbs_fw_loaded() 45 static void main_firmware_cb(const struct firmware *firmware, void *context) in main_firmware_cb() argument 49 if (!firmware) { in main_firmware_cb() 56 lbs_fw_loaded(priv, 0, priv->helper_fw, firmware); in main_firmware_cb() 61 release_firmware (firmware); in main_firmware_cb() 64 static void helper_firmware_cb(const struct firmware *firmware, void *context) in helper_firmware_cb() argument 68 if (!firmware) { in helper_firmware_cb() 76 priv->helper_fw = firmware; in helper_firmware_cb() 80 lbs_fw_loaded(priv, 0, firmware, NULL); in helper_firmware_cb() 174 const struct firmware **helper, in lbs_get_firmware() [all …]
|
| /drivers/soc/fsl/qe/ |
| A D | qe.c | 456 if (!firmware) { in qe_upload_firmware() 461 hdr = &firmware->header; in qe_upload_firmware() 478 if ((firmware->count < 1) || (firmware->count > MAX_QE_RISC)) { in qe_upload_firmware() 484 calc_size = struct_size(firmware, microcode, firmware->count); in qe_upload_firmware() 486 for (i = 0; i < firmware->count; i++) in qe_upload_firmware() 511 if (!firmware->split) in qe_upload_firmware() 514 if (firmware->soc.model) in qe_upload_firmware() 517 firmware->id, be16_to_cpu(firmware->soc.model), in qe_upload_firmware() 518 firmware->soc.major, firmware->soc.minor); in qe_upload_firmware() 521 firmware->id); in qe_upload_firmware() [all …]
|
| /drivers/pwm/ |
| A D | pwm-raspberrypi-poe.c | 29 struct rpi_firmware *firmware; member 45 static int raspberrypi_pwm_set_property(struct rpi_firmware *firmware, in raspberrypi_pwm_set_property() argument 54 ret = rpi_firmware_property(firmware, RPI_FIRMWARE_SET_POE_HAT_VAL, in raspberrypi_pwm_set_property() 64 static int raspberrypi_pwm_get_property(struct rpi_firmware *firmware, in raspberrypi_pwm_get_property() argument 72 ret = rpi_firmware_property(firmware, RPI_FIRMWARE_GET_POE_HAT_VAL, in raspberrypi_pwm_get_property() 121 ret = raspberrypi_pwm_set_property(rpipwm->firmware, RPI_PWM_CUR_DUTY_REG, in raspberrypi_pwm_apply() 143 struct rpi_firmware *firmware; in raspberrypi_pwm_probe() local 154 firmware = devm_rpi_firmware_get(&pdev->dev, firmware_node); in raspberrypi_pwm_probe() 156 if (!firmware) in raspberrypi_pwm_probe() 166 rpipwm->firmware = firmware; in raspberrypi_pwm_probe() [all …]
|
| /drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| A D | fw.c | 317 struct rt_firmware *firmware = NULL; in rtl92s_download_fw() local 330 firmware->fwstatus = FW_STATUS_INIT; in rtl92s_download_fw() 336 pfwheader = firmware->pfwheader; in rtl92s_download_fw() 348 sizeof(firmware->fw_imem))) { in rtl92s_download_fw() 354 memcpy(firmware->fw_imem, puc_mappedfile, in rtl92s_download_fw() 364 puc_mappedfile += firmware->fw_imem_len; in rtl92s_download_fw() 377 puc_mappedfile = firmware->fw_imem; in rtl92s_download_fw() 378 ul_filelength = firmware->fw_imem_len; in rtl92s_download_fw() 381 puc_mappedfile = firmware->fw_emem; in rtl92s_download_fw() 382 ul_filelength = firmware->fw_emem_len; in rtl92s_download_fw() [all …]
|
| /drivers/usb/misc/ |
| A D | isight_firmware.c | 39 const struct firmware *firmware; in isight_firmware_load() local 47 if (request_firmware(&firmware, "isight.fw", &dev->dev) != 0) { in isight_firmware_load() 53 ptr = firmware->data; in isight_firmware_load() 65 while (ptr+4 <= firmware->data+firmware->size) { in isight_firmware_load() 79 if (ptr+llen > firmware->data+firmware->size) { in isight_firmware_load() 111 release_firmware(firmware); in isight_firmware_load()
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_rlc.c | 337 adev->firmware.fw_size += in amdgpu_gfx_rlc_init_microcode_v2_0() 371 adev->firmware.fw_size += in amdgpu_gfx_rlc_init_microcode_v2_1() 379 adev->firmware.fw_size += in amdgpu_gfx_rlc_init_microcode_v2_1() 387 adev->firmware.fw_size += in amdgpu_gfx_rlc_init_microcode_v2_1() 409 adev->firmware.fw_size += in amdgpu_gfx_rlc_init_microcode_v2_2() 417 adev->firmware.fw_size += in amdgpu_gfx_rlc_init_microcode_v2_2() 444 adev->firmware.fw_size += in amdgpu_gfx_rlc_init_microcode_v2_3() 452 adev->firmware.fw_size += in amdgpu_gfx_rlc_init_microcode_v2_3() 480 adev->firmware.fw_size += in amdgpu_gfx_rlc_init_microcode_v2_4() 488 adev->firmware.fw_size += in amdgpu_gfx_rlc_init_microcode_v2_4() [all …]
|
| /drivers/remoteproc/ |
| A D | remoteproc_internal.h | 114 int rproc_elf_sanity_check(struct rproc *rproc, const struct firmware *fw); 115 u64 rproc_elf_get_boot_addr(struct rproc *rproc, const struct firmware *fw); 116 int rproc_elf_load_segments(struct rproc *rproc, const struct firmware *fw); 117 int rproc_elf_load_rsc_table(struct rproc *rproc, const struct firmware *fw); 119 const struct firmware *fw); 150 int rproc_fw_sanity_check(struct rproc *rproc, const struct firmware *fw) in rproc_fw_sanity_check() 159 u64 rproc_get_boot_addr(struct rproc *rproc, const struct firmware *fw) in rproc_get_boot_addr() 168 int rproc_load_segments(struct rproc *rproc, const struct firmware *fw) in rproc_load_segments() 176 static inline int rproc_parse_fw(struct rproc *rproc, const struct firmware *fw) in rproc_parse_fw() 197 const struct firmware *fw) in rproc_find_loaded_rsc_table()
|
| /drivers/clk/bcm/ |
| A D | clk-raspberrypi.c | 47 struct rpi_firmware *firmware; member 179 ret = rpi_firmware_property(firmware, tag, &msg, sizeof(msg)); in raspberrypi_clock_property() 195 ret = raspberrypi_clock_property(rpi->firmware, data, in raspberrypi_fw_is_prepared() 212 ret = raspberrypi_clock_property(rpi->firmware, data, in raspberrypi_fw_get_rate() 228 ret = raspberrypi_clock_property(rpi->firmware, data, in raspberrypi_fw_set_rate() 296 ret = raspberrypi_clock_property(rpi->firmware, data, in raspberrypi_clk_register() 305 ret = raspberrypi_clock_property(rpi->firmware, data, in raspberrypi_clk_register() 406 struct rpi_firmware *firmware; in raspberrypi_clk_probe() local 425 firmware = devm_rpi_firmware_get(&pdev->dev, firmware_node); in raspberrypi_clk_probe() 427 if (!firmware) in raspberrypi_clk_probe() [all …]
|
| /drivers/gpu/nova-core/ |
| A D | firmware.rs | 9 use kernel::firmware; 25 booter_load: firmware::Firmware, 26 booter_unload: firmware::Firmware, 27 bootloader: firmware::Firmware, 28 gsp: firmware::Firmware, 39 .and_then(|path| firmware::Firmware::request(&path, dev)) in new() 153 pub(crate) struct ModInfoBuilder<const N: usize>(firmware::ModInfoBuilder<N>); 179 ) -> firmware::ModInfoBuilder<N> { in create() 180 let mut this = Self(firmware::ModInfoBuilder::new(module_name)); in create()
|
| /drivers/firmware/google/ |
| A D | Kconfig | 6 These firmware drivers are used by Google servers, 7 Chromebooks and other devices using coreboot firmware. 29 boot firmware variables, flash layout, firmware event log, 42 firmware modules access to the coreboot table. The coreboot table 44 device tree node /firmware/coreboot. 56 This option enables the kernel to search for a firmware log in 58 userland in the file /sys/firmware/log. 73 This option enables the kernel to search for a firmware log in 75 in the file /sys/firmware/log. 82 under /sys/firmware/vpd.
|
| /drivers/scsi/esas2r/ |
| A D | esas2r_ioctl.c | 132 firmware. in do_fm_api() 172 a->firmware.header_buff, in do_fm_api() 1530 if (a->firmware.data) { in free_fw_buffers() 1533 a->firmware.data, in free_fw_buffers() 1536 a->firmware.data = NULL; in free_fw_buffers() 1551 if (!a->firmware.data) { in allocate_fw_buffers() 1593 memcpy(a->firmware.data, in esas2r_read_fw() 1620 if (!a->firmware.data) { in esas2r_read_fw() 1645 a->firmware.state); in esas2r_read_fw() 1763 if (!a->firmware.data) { in esas2r_write_fw() [all …]
|
| /drivers/firmware/ |
| A D | Kconfig | 9 source "drivers/firmware/arm_scmi/Kconfig" 64 Add the firmware-provided (unmodified) memory map to /sys/firmware/memmap. 215 tristate "Always-On firmware protocol" 289 source "drivers/firmware/cirrus/Kconfig" 291 source "drivers/firmware/efi/Kconfig" 292 source "drivers/firmware/imx/Kconfig" 293 source "drivers/firmware/meson/Kconfig" 295 source "drivers/firmware/psci/Kconfig" 296 source "drivers/firmware/qcom/Kconfig" 298 source "drivers/firmware/smccc/Kconfig" [all …]
|
| /drivers/staging/media/atomisp/pci/runtime/pipeline/src/ |
| A D | pipeline.c | 293 && (!stage_desc->firmware) in ia_css_pipeline_create_and_add_stage() 372 if ((s->firmware) && (s->firmware->handle == fw_handle)) { in ia_css_pipeline_get_stage_from_fw() 393 *fw_handle = s->firmware->handle; in ia_css_pipeline_get_fw_from_stage() 415 if (s->firmware && s->mode == mode && in ia_css_pipeline_get_output_stage() 416 s->firmware->info.isp.sp.enable.output) in ia_css_pipeline_get_output_stage() 565 const struct ia_css_fw_info *firmware; in pipeline_stage_create() local 576 firmware = stage_desc->firmware; in pipeline_stage_create() 588 if (firmware) { in pipeline_stage_create() 601 stage->firmware = firmware; in pipeline_stage_create() 626 (firmware && firmware->info.isp.sp.enable.vf_veceven) in pipeline_stage_create() [all …]
|
| /drivers/soc/qcom/ |
| A D | mdt_loader.c | 21 static bool mdt_header_valid(const struct firmware *fw) in mdt_header_valid() 71 const struct firmware *seg_fw; in mdt_load_split_segment() 107 ssize_t qcom_mdt_get_size(const struct firmware *fw) in qcom_mdt_get_size() 158 void *qcom_mdt_read_metadata(const struct firmware *fw, size_t *data_len, in qcom_mdt_read_metadata() 239 int qcom_mdt_pas_init(struct device *dev, const struct firmware *fw, in qcom_mdt_pas_init() 450 int qcom_mdt_load(struct device *dev, const struct firmware *fw, in qcom_mdt_load() 451 const char *firmware, int pas_id, void *mem_region, in qcom_mdt_load() argument 457 ret = qcom_mdt_pas_init(dev, fw, firmware, pas_id, mem_phys, NULL); in qcom_mdt_load() 461 return __qcom_mdt_load(dev, fw, firmware, pas_id, mem_region, mem_phys, in qcom_mdt_load() 479 int qcom_mdt_load_no_init(struct device *dev, const struct firmware *fw, in qcom_mdt_load_no_init() [all …]
|
| /drivers/soc/xilinx/ |
| A D | Kconfig | 12 This driver uses firmware driver as an interface for power 13 management request to firmware. It registers isr to handle 14 power management callbacks from firmware. It registers mailbox client 15 to handle power management callbacks from firmware. 25 This driver uses firmware driver as an interface for event/power 26 management request to firmware.
|
| /drivers/staging/media/av7110/ |
| A D | Kconfig | 28 This driver needs an external firmware. Please use the script 30 download/extract it, and then copy it to /usr/lib/hotplug/firmware 31 or /lib/firmware (depending on configuration of firmware hotplug). 45 The AV7110 firmware provides some code to generate an OnScreenDisplay 67 This driver needs external firmware. Please use the command 69 download/extract it, and then copy it to /usr/lib/hotplug/firmware 70 or /lib/firmware (depending on configuration of firmware hotplug).
|