Home
last modified time | relevance | path

Searched refs:fwp (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dfirmware.c146 const struct firmware *fwp = NULL; in plfxlc_download_xl_firmware() local
164 r = request_firmware(&fwp, fw_pack, &intf->dev); in plfxlc_download_xl_firmware()
169 file.total_files = get_unaligned_le32(&fwp->data[0]); in plfxlc_download_xl_firmware()
170 file.total_size = get_unaligned_le32(&fwp->size); in plfxlc_download_xl_firmware()
177 release_firmware(fwp); in plfxlc_download_xl_firmware()
183 release_firmware(fwp); in plfxlc_download_xl_firmware()
195 file.size = get_unaligned_le32(&fwp->data[4 + ((s + 1) * 4)]) in plfxlc_download_xl_firmware()
196 - get_unaligned_le32(&fwp->data[4 + (s) * 4]); in plfxlc_download_xl_firmware()
199 get_unaligned_le32(&fwp->data[4 + (s) * 4]); in plfxlc_download_xl_firmware()
206 file.start_addr = get_unaligned_le32(&fwp->data[4 + (s * 4)]); in plfxlc_download_xl_firmware()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpagealloc.c254 static void free_fwp(struct mlx5_core_dev *dev, struct fw_page *fwp, in free_fwp() argument
259 root = xa_load(&dev->priv.page_root_xa, fwp->function); in free_fwp()
263 rb_erase(&fwp->rb_node, root); in free_fwp()
265 list_del(&fwp->list); in free_fwp()
266 dma_unmap_page(mlx5_core_dma_dev(dev), fwp->addr & MLX5_U64_4K_PAGE_MASK, in free_fwp()
268 __free_page(fwp->page); in free_fwp()
269 kfree(fwp); in free_fwp()
274 struct fw_page *fwp; in free_4k() local
277 fwp = find_fw_page(dev, addr & MLX5_U64_4K_PAGE_MASK, function); in free_4k()
278 if (!fwp) { in free_4k()
[all …]
/linux/drivers/staging/media/ipu3/
H A Dipu3-css-fw.c79 &css->fwp->binary_header[css->pipes[pipe].bindex]; in imgu_css_fw_pipeline_params()
101 for (i = 0; i < css->fwp->file_header.binary_nr; i++) in imgu_css_fw_cleanup()
130 css->fwp = (struct imgu_fw_header *)css->fw->data; in imgu_css_fw_init()
131 if (css->fw->size < struct_size(css->fwp, binary_header, 1) || in imgu_css_fw_init()
132 css->fwp->file_header.h_size != sizeof(struct imgu_fw_bi_file_h)) in imgu_css_fw_init()
134 if (struct_size(css->fwp, binary_header, in imgu_css_fw_init()
135 css->fwp->file_header.binary_nr) > css->fw->size) in imgu_css_fw_init()
139 css->fwp->file_header.version, css->fwp->file_header.binary_nr, in imgu_css_fw_init()
144 binary_nr = css->fwp->file_header.binary_nr; in imgu_css_fw_init()
151 struct imgu_fw_info *bi = &css->fwp->binary_header[i]; in imgu_css_fw_init()
[all …]
H A Dipu3-css.c419 &css->fwp->binary_header[css->fw_sp[i]]; in imgu_css_hw_init()
472 struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[sp]]; in imgu_css_hw_start_sp()
517 struct imgu_fw_info *bi, *bl = &css->fwp->binary_header[css->fw_bl]; in imgu_css_hw_start()
532 &css->fwp->binary_header[css->fw_sp[j]]; in imgu_css_hw_start()
562 bi = &css->fwp->binary_header[css->fw_sp[0]]; in imgu_css_hw_start()
593 bi = &css->fwp->binary_header[css->fw_sp[1]]; in imgu_css_hw_start()
610 struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[0]]; in imgu_css_hw_stop()
694 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_pipeline_init()
697 struct imgu_fw_config_memory_offsets *cofs = (void *)css->fwp + in imgu_css_pipeline_init()
699 struct imgu_fw_state_memory_offsets *sofs = (void *)css->fwp + in imgu_css_pipeline_init()
[all …]
H A Dipu3-css.h153 struct imgu_fw_header *fwp; member
H A Dipu3-css-params.c1188 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_osys_calc()
1638 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_af_ops_calc()
1666 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_awb_fr_ops_calc()
1692 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_awb_ops_calc()
1732 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_cfg_acc_stripe()
1951 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_cfg_acc()
2747 &css->fwp->binary_header[css->pipes[pipe].bindex]; in imgu_css_cfg_vmem0()
2748 struct imgu_fw_param_memory_offsets *pofs = (void *)css->fwp + in imgu_css_cfg_vmem0()
2827 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_cfg_dmem0()
2828 struct imgu_fw_param_memory_offsets *pofs = (void *)css->fwp + in imgu_css_cfg_dmem0()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Db43legacy.h738 const struct firmware *fwp; /* needed to pass fw pointer */ member
H A Dmain.c1490 dev->fwp = firmware; in b43legacy_fw_cb()
1521 if (!dev->fwp) in do_request_fw()
1523 *fw = dev->fwp; in do_request_fw()
/linux/sound/soc/codecs/
H A Drt5677.c857 const struct firmware *fwp; in rt5677_load_dsp_from_file() local
862 ret = request_firmware(&fwp, "rt5677_elf_vad", dev); in rt5677_load_dsp_from_file()
867 dev_info(dev, "Requested rt5677_elf_vad (%zu)\n", fwp->size); in rt5677_load_dsp_from_file()
869 ret = rt5677_parse_and_load_dsp(rt5677, fwp->data, fwp->size); in rt5677_load_dsp_from_file()
870 release_firmware(fwp); in rt5677_load_dsp_from_file()