Home
last modified time | relevance | path

Searched defs:fw (Results 1 – 25 of 633) sorted by relevance

12345678910>>...26

/linux-6.12.1/drivers/firmware/
Draspberrypi.c41 struct rpi_firmware *fw = container_of(cl, struct rpi_firmware, cl); in response_callback() local
50 rpi_firmware_transaction(struct rpi_firmware *fw, u32 chan, u32 data) in rpi_firmware_transaction()
88 int rpi_firmware_property_list(struct rpi_firmware *fw, in rpi_firmware_property_list()
151 int rpi_firmware_property(struct rpi_firmware *fw, in rpi_firmware_property()
184 rpi_firmware_print_firmware_revision(struct rpi_firmware *fw) in rpi_firmware_print_firmware_revision()
201 rpi_register_hwmon_driver(struct device *dev, struct rpi_firmware *fw) in rpi_register_hwmon_driver()
234 unsigned int rpi_firmware_clk_get_max_rate(struct rpi_firmware *fw, unsigned int id) in rpi_firmware_clk_get_max_rate()
256 struct rpi_firmware *fw = container_of(kref, struct rpi_firmware, in rpi_firmware_delete() local
263 void rpi_firmware_put(struct rpi_firmware *fw) in rpi_firmware_put()
271 struct rpi_firmware *fw = data; in devm_rpi_firmware_put() local
[all …]
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/
Dprestera_pci.c80 #define PRESTERA_LDR_REG_BASE(fw) ((fw)->ldr_regs) argument
81 #define PRESTERA_LDR_REG_ADDR(fw, reg) (PRESTERA_LDR_REG_BASE(fw) + (reg)) argument
182 #define PRESTERA_FW_REG_BASE(fw) ((fw)->dev.ctl_regs) argument
183 #define PRESTERA_FW_REG_ADDR(fw, reg) PRESTERA_FW_REG_BASE((fw)) + (reg) argument
232 static void prestera_fw_write(struct prestera_fw *fw, u32 reg, u32 val) in prestera_fw_write()
237 static u32 prestera_fw_read(struct prestera_fw *fw, u32 reg) in prestera_fw_read()
242 static u32 prestera_fw_evtq_len(struct prestera_fw *fw, u8 qid) in prestera_fw_evtq_len()
247 static u32 prestera_fw_evtq_avail(struct prestera_fw *fw, u8 qid) in prestera_fw_evtq_avail()
255 static void prestera_fw_evtq_rd_set(struct prestera_fw *fw, in prestera_fw_evtq_rd_set()
263 static u8 __iomem *prestera_fw_evtq_buf(struct prestera_fw *fw, u8 qid) in prestera_fw_evtq_buf()
[all …]
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/common/
Dmtk_vcodec_fw.c29 void mtk_vcodec_fw_release(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_release()
35 int mtk_vcodec_fw_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_load_firmware()
41 unsigned int mtk_vcodec_fw_get_vdec_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_vdec_capa()
47 unsigned int mtk_vcodec_fw_get_venc_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_venc_capa()
53 void *mtk_vcodec_fw_map_dm_addr(struct mtk_vcodec_fw *fw, u32 mem_addr) in mtk_vcodec_fw_map_dm_addr()
59 int mtk_vcodec_fw_ipi_register(struct mtk_vcodec_fw *fw, int id, in mtk_vcodec_fw_ipi_register()
67 int mtk_vcodec_fw_ipi_send(struct mtk_vcodec_fw *fw, int id, void *buf, in mtk_vcodec_fw_ipi_send()
74 int mtk_vcodec_fw_get_type(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_type()
Dmtk_vcodec_fw_scp.c7 static int mtk_vcodec_scp_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_load_firmware()
12 static unsigned int mtk_vcodec_scp_get_vdec_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_get_vdec_capa()
17 static unsigned int mtk_vcodec_scp_get_venc_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_get_venc_capa()
22 static void *mtk_vcodec_vpu_scp_dm_addr(struct mtk_vcodec_fw *fw, in mtk_vcodec_vpu_scp_dm_addr()
28 static int mtk_vcodec_scp_set_ipi_register(struct mtk_vcodec_fw *fw, int id, in mtk_vcodec_scp_set_ipi_register()
35 static int mtk_vcodec_scp_ipi_send(struct mtk_vcodec_fw *fw, int id, void *buf, in mtk_vcodec_scp_ipi_send()
41 static void mtk_vcodec_scp_release(struct mtk_vcodec_fw *fw) in mtk_vcodec_scp_release()
58 struct mtk_vcodec_fw *fw; in mtk_vcodec_fw_scp_init() local
Dmtk_vcodec_fw_vpu.c7 static int mtk_vcodec_vpu_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_load_firmware()
12 static unsigned int mtk_vcodec_vpu_get_vdec_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_get_vdec_capa()
17 static unsigned int mtk_vcodec_vpu_get_venc_capa(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_get_venc_capa()
22 static void *mtk_vcodec_vpu_map_dm_addr(struct mtk_vcodec_fw *fw, in mtk_vcodec_vpu_map_dm_addr()
28 static int mtk_vcodec_vpu_set_ipi_register(struct mtk_vcodec_fw *fw, int id, in mtk_vcodec_vpu_set_ipi_register()
35 static int mtk_vcodec_vpu_ipi_send(struct mtk_vcodec_fw *fw, int id, void *buf, in mtk_vcodec_vpu_ipi_send()
41 static void mtk_vcodec_vpu_release(struct mtk_vcodec_fw *fw) in mtk_vcodec_vpu_release()
90 struct mtk_vcodec_fw *fw; in mtk_vcodec_fw_vpu_init() local
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/falcon/
Dfw.c31 nvkm_falcon_fw_patch(struct nvkm_falcon_fw *fw) in nvkm_falcon_fw_patch()
67 nvkm_falcon_fw_dtor_sigs(struct nvkm_falcon_fw *fw) in nvkm_falcon_fw_dtor_sigs()
74 nvkm_falcon_fw_boot(struct nvkm_falcon_fw *fw, struct nvkm_subdev *user, in nvkm_falcon_fw_boot()
127 nvkm_falcon_fw_oneinit(struct nvkm_falcon_fw *fw, struct nvkm_falcon *falcon, in nvkm_falcon_fw_oneinit()
155 nvkm_falcon_fw_dtor(struct nvkm_falcon_fw *fw) in nvkm_falcon_fw_dtor()
175 nvkm_falcon_fw_sign(struct nvkm_falcon_fw *fw, u32 sig_base_img, u32 sig_size, const u8 *sigs, in nvkm_falcon_fw_sign()
198 struct nvkm_falcon *falcon, struct nvkm_falcon_fw *fw) in nvkm_falcon_fw_ctor()
215 struct nvkm_falcon *falcon, struct nvkm_falcon_fw *fw) in nvkm_falcon_fw_ctor_hs()
308 struct nvkm_falcon *falcon, struct nvkm_falcon_fw *fw) in nvkm_falcon_fw_ctor_hs_v2()
/linux-6.12.1/drivers/gpu/drm/tegra/
Dfirewall.c17 static int fw_next(struct tegra_drm_firewall *fw, u32 *word) in fw_next()
27 static bool fw_check_addr_valid(struct tegra_drm_firewall *fw, u32 offset) in fw_check_addr_valid()
41 static int fw_check_reg(struct tegra_drm_firewall *fw, u32 offset) in fw_check_reg()
66 static int fw_check_regs_seq(struct tegra_drm_firewall *fw, u32 offset, in fw_check_regs_seq()
82 static int fw_check_regs_mask(struct tegra_drm_firewall *fw, u32 offset, in fw_check_regs_mask()
96 static int fw_check_regs_imm(struct tegra_drm_firewall *fw, u32 offset) in fw_check_regs_imm()
111 static int fw_check_class(struct tegra_drm_firewall *fw, u32 class) in fw_check_class()
148 struct tegra_drm_firewall fw = { in tegra_drm_fw_validate() local
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/core/
Dfirmware.c47 const struct firmware *fw; in nvkm_firmware_load_blob() local
74 const struct firmware **fw) in nvkm_firmware_get()
108 nvkm_firmware_put(const struct firmware *fw) in nvkm_firmware_put()
118 struct nvkm_firmware *fw = nvkm_firmware_mem(memory); in nvkm_firmware_mem_sgl() local
135 struct nvkm_firmware *fw = nvkm_firmware_mem(memory); in nvkm_firmware_mem_map() local
195 nvkm_firmware_dtor(struct nvkm_firmware *fw) in nvkm_firmware_dtor()
227 struct nvkm_device *device, const void *src, int len, struct nvkm_firmware *fw) in nvkm_firmware_ctor()
/linux-6.12.1/include/linux/soc/qcom/
Dmdt_loader.h35 static inline ssize_t qcom_mdt_get_size(const struct firmware *fw) in qcom_mdt_get_size()
40 static inline int qcom_mdt_pas_init(struct device *dev, const struct firmware *fw, in qcom_mdt_pas_init()
47 static inline int qcom_mdt_load(struct device *dev, const struct firmware *fw, in qcom_mdt_load()
56 const struct firmware *fw, in qcom_mdt_load_no_init()
65 static inline void *qcom_mdt_read_metadata(const struct firmware *fw, in qcom_mdt_read_metadata()
/linux-6.12.1/include/linux/
Dfirmware.h91 static inline bool firmware_request_builtin(struct firmware *fw, in firmware_request_builtin()
123 static inline int request_firmware(const struct firmware **fw, in request_firmware()
133 void (*cont)(const struct firmware *fw, void *context)) in firmware_request_nowait_nowarn()
138 static inline int firmware_request_nowarn(const struct firmware **fw, in firmware_request_nowarn()
145 static inline int firmware_request_platform(const struct firmware **fw, in firmware_request_platform()
155 void (*cont)(const struct firmware *fw, void *context)) in request_firmware_nowait()
160 static inline void release_firmware(const struct firmware *fw) in release_firmware()
164 static inline int request_firmware_direct(const struct firmware **fw, in request_firmware_direct()
/linux-6.12.1/drivers/base/firmware_loader/builtin/
Dmain.c19 static bool fw_copy_to_prealloc_buf(struct firmware *fw, in fw_copy_to_prealloc_buf()
47 bool firmware_request_builtin(struct firmware *fw, const char *name) in firmware_request_builtin()
86 bool firmware_request_builtin_buf(struct firmware *fw, const char *name, in firmware_request_builtin_buf()
95 bool firmware_is_builtin(const struct firmware *fw) in firmware_is_builtin()
/linux-6.12.1/drivers/remoteproc/
Dremoteproc_elf_loader.c37 int rproc_elf_sanity_check(struct rproc *rproc, const struct firmware *fw)
128 u64 rproc_elf_get_boot_addr(struct rproc *rproc, const struct firmware *fw)
160 int rproc_elf_load_segments(struct rproc *rproc, const struct firmware *fw)
248 find_table(struct device *dev, const struct firmware *fw)
326 int rproc_elf_load_rsc_table(struct rproc *rproc, const struct firmware *fw)
373 const struct firmware *fw)
Dremoteproc_internal.h150 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()
/linux-6.12.1/drivers/soc/qcom/
Dmdt_loader.c76 ssize_t qcom_mdt_get_size(const struct firmware *fw) in qcom_mdt_get_size()
124 void *qcom_mdt_read_metadata(const struct firmware *fw, size_t *data_len, in qcom_mdt_read_metadata()
202 int qcom_mdt_pas_init(struct device *dev, const struct firmware *fw, in qcom_mdt_pas_init()
265 static bool qcom_mdt_bins_are_split(const struct firmware *fw, const char *fw_name) in qcom_mdt_bins_are_split()
293 static int __qcom_mdt_load(struct device *dev, const struct firmware *fw, in __qcom_mdt_load()
407 int qcom_mdt_load(struct device *dev, const struct firmware *fw, in qcom_mdt_load()
436 int qcom_mdt_load_no_init(struct device *dev, const struct firmware *fw, in qcom_mdt_load_no_init()
/linux-6.12.1/drivers/nvmem/
Dmeson-efuse.c20 struct meson_sm_firmware *fw = context; in meson_efuse_read() local
32 struct meson_sm_firmware *fw = context; in meson_efuse_write() local
50 struct meson_sm_firmware *fw; in meson_efuse_probe() local
/linux-6.12.1/drivers/gpu/host1x/
Djob.c355 static int check_register(struct host1x_firewall *fw, unsigned long offset) in check_register()
374 static int check_class(struct host1x_firewall *fw, u32 class) in check_class()
387 static int check_mask(struct host1x_firewall *fw) in check_mask()
412 static int check_incr(struct host1x_firewall *fw) in check_incr()
435 static int check_nonincr(struct host1x_firewall *fw) in check_nonincr()
456 static int validate(struct host1x_firewall *fw, struct host1x_job_gather *g) in validate()
527 struct host1x_firewall fw; in copy_gathers() local
/linux-6.12.1/sound/soc/sof/
Dipc3-loader.c112 static ssize_t ipc3_fw_ext_man_size(struct snd_sof_dev *sdev, const struct firmware *fw) in ipc3_fw_ext_man_size()
141 const struct firmware *fw = sdev->basefw.fw; in sof_ipc3_fw_parse_ext_man() local
315 const struct firmware *fw = sdev->basefw.fw; in sof_ipc3_load_fw_to_dsp() local
378 const struct firmware *fw = sdev->basefw.fw; in sof_ipc3_validate_firmware() local
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_force_wake.c35 void xe_force_wake_init_gt(struct xe_gt *gt, struct xe_force_wake *fw) in xe_force_wake_init_gt()
58 void xe_force_wake_init_engines(struct xe_gt *gt, struct xe_force_wake *fw) in xe_force_wake_init_engines()
159 int xe_force_wake_get(struct xe_force_wake *fw, in xe_force_wake_get()
184 int xe_force_wake_put(struct xe_force_wake *fw, in xe_force_wake_put()
Dxe_force_wake.h24 xe_force_wake_ref(struct xe_force_wake *fw, in xe_force_wake_ref()
42 xe_force_wake_assert_held(struct xe_force_wake *fw, in xe_force_wake_assert_held()
/linux-6.12.1/sound/soc/intel/avs/
Dloader.c70 static int avs_fw_ext_manifest_strip(struct firmware *fw) in avs_fw_ext_manifest_strip()
86 static int avs_fw_manifest_offset(struct firmware *fw) in avs_fw_manifest_offset()
101 static int avs_fw_manifest_strip_verify(struct avs_dev *adev, struct firmware *fw, in avs_fw_manifest_strip_verify()
137 int avs_cldma_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_cldma_load_basefw()
356 int avs_hda_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_hda_load_basefw()
499 const struct firmware *fw; in avs_dsp_load_libraries() local
553 const struct firmware *fw; in avs_dsp_load_basefw() local
/linux-6.12.1/drivers/media/usb/dvb-usb/
Ddvb-usb-firmware.c37 int usb_cypress_load_firmware(struct usb_device *udev, const struct firmware *fw, int type) in usb_cypress_load_firmware()
91 const struct firmware *fw = NULL; in dvb_usb_download_firmware() local
124 int dvb_usb_get_hexline(const struct firmware *fw, struct hexline *hx, in dvb_usb_get_hexline()
/linux-6.12.1/drivers/firmware/meson/
Dmeson_sm.c105 int meson_sm_call(struct meson_sm_firmware *fw, unsigned int cmd_index, in meson_sm_call()
144 int meson_sm_call_read(struct meson_sm_firmware *fw, void *buffer, in meson_sm_call_read()
198 int meson_sm_call_write(struct meson_sm_firmware *fw, void *buffer, in meson_sm_call_write()
251 struct meson_sm_firmware *fw; in serial_show() local
292 struct meson_sm_firmware *fw; in meson_sm_probe() local
/linux-6.12.1/drivers/usb/host/
Dxhci-pci-renesas.c56 const u32 *fw, size_t step, bool rom) in renesas_fw_download_image()
288 const struct firmware *fw) in renesas_fw_download()
426 static bool renesas_setup_rom(struct pci_dev *pdev, const struct firmware *fw) in renesas_setup_rom()
547 static int renesas_load_fw(struct pci_dev *pdev, const struct firmware *fw) in renesas_load_fw()
582 const struct firmware *fw; in renesas_xhci_check_request_fw() local
/linux-6.12.1/drivers/base/firmware_loader/
Dmain.c597 static void firmware_free_data(const struct firmware *fw) in firmware_free_data()
608 static void fw_set_page_data(struct fw_priv *fw_priv, struct firmware *fw) in fw_set_page_data()
695 int assign_fw(struct firmware *fw, struct device *device) in assign_fw()
793 static void fw_abort_batch_reqs(struct firmware *fw) in fw_abort_batch_reqs()
812 static void fw_log_firmware_info(const struct firmware *fw, const char *name, struct device *device) in fw_log_firmware_info()
847 static void fw_log_firmware_info(const struct firmware *fw, const char *name, in fw_log_firmware_info()
878 struct firmware *fw = NULL; in _request_firmware() local
1167 void release_firmware(const struct firmware *fw) in release_firmware()
1191 const struct firmware *fw; in request_firmware_work_func() local
1209 void (*cont)(const struct firmware *fw, void *context), bool nowarn) in _request_firmware_nowait()
[all …]
/linux-6.12.1/drivers/accel/ivpu/
Divpu_fw.c140 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_parse() local
266 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_update_global_range() local
281 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_mem_init() local
350 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_mem_fini() local
401 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_load() local

12345678910>>...26