Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dpagealloc.c234 static void free_fwp(struct mlx5_core_dev *dev, struct fw_page *fwp, in free_fwp() argument
239 root = xa_load(&dev->priv.page_root_xa, fwp->function); in free_fwp()
243 rb_erase(&fwp->rb_node, root); in free_fwp()
245 list_del(&fwp->list); in free_fwp()
246 dma_unmap_page(mlx5_core_dma_dev(dev), fwp->addr & MLX5_U64_4K_PAGE_MASK, in free_fwp()
248 __free_page(fwp->page); in free_fwp()
249 kfree(fwp); in free_fwp()
254 struct fw_page *fwp; in free_4k() local
257 fwp = find_fw_page(dev, addr & MLX5_U64_4K_PAGE_MASK, function); in free_4k()
258 if (!fwp) { in free_4k()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
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()
126 css->fwp = (struct imgu_fw_header *)css->fw->data; in imgu_css_fw_init()
127 if (css->fw->size < struct_size(css->fwp, binary_header, 1) || in imgu_css_fw_init()
128 css->fwp->file_header.h_size != sizeof(struct imgu_fw_bi_file_h)) in imgu_css_fw_init()
130 if (struct_size(css->fwp, binary_header, in imgu_css_fw_init()
131 css->fwp->file_header.binary_nr) > css->fw->size) in imgu_css_fw_init()
135 css->fwp->file_header.version, css->fwp->file_header.binary_nr, in imgu_css_fw_init()
140 binary_nr = css->fwp->file_header.binary_nr; in imgu_css_fw_init()
147 struct imgu_fw_info *bi = &css->fwp->binary_header[i]; in imgu_css_fw_init()
[all …]
Dipu3-css.c432 &css->fwp->binary_header[css->fw_sp[i]]; in imgu_css_hw_init()
485 struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[sp]]; in imgu_css_hw_start_sp()
530 struct imgu_fw_info *bi, *bl = &css->fwp->binary_header[css->fw_bl]; in imgu_css_hw_start()
545 &css->fwp->binary_header[css->fw_sp[j]]; in imgu_css_hw_start()
575 bi = &css->fwp->binary_header[css->fw_sp[0]]; in imgu_css_hw_start()
606 bi = &css->fwp->binary_header[css->fw_sp[1]]; in imgu_css_hw_start()
623 struct imgu_fw_info *bi = &css->fwp->binary_header[css->fw_sp[0]]; in imgu_css_hw_stop()
707 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_pipeline_init()
710 struct imgu_fw_config_memory_offsets *cofs = (void *)css->fwp + in imgu_css_pipeline_init()
712 struct imgu_fw_state_memory_offsets *sofs = (void *)css->fwp + in imgu_css_pipeline_init()
[all …]
Dipu3-css.h154 struct imgu_fw_header *fwp; member
Dipu3-css-params.c1191 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_osys_calc()
1641 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_af_ops_calc()
1669 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_awb_fr_ops_calc()
1695 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_awb_ops_calc()
1735 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_cfg_acc_stripe()
1954 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_cfg_acc()
2730 &css->fwp->binary_header[css->pipes[pipe].bindex]; in imgu_css_cfg_vmem0()
2731 struct imgu_fw_param_memory_offsets *pofs = (void *)css->fwp + in imgu_css_cfg_vmem0()
2810 &css->fwp->binary_header[css_pipe->bindex]; in imgu_css_cfg_dmem0()
2811 struct imgu_fw_param_memory_offsets *pofs = (void *)css->fwp + in imgu_css_cfg_dmem0()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Db43legacy.h738 const struct firmware *fwp; /* needed to pass fw pointer */ member
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()
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt5677.c859 const struct firmware *fwp; in rt5677_load_dsp_from_file() local
864 ret = request_firmware(&fwp, "rt5677_elf_vad", dev); in rt5677_load_dsp_from_file()
869 dev_info(dev, "Requested rt5677_elf_vad (%zu)\n", fwp->size); in rt5677_load_dsp_from_file()
871 ret = rt5677_parse_and_load_dsp(rt5677, fwp->data, fwp->size); in rt5677_load_dsp_from_file()
872 release_firmware(fwp); in rt5677_load_dsp_from_file()