Home
last modified time | relevance | path

Searched refs:fmt_idx (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/sound/soc/intel/skylake/
Dskl-topology.c116 struct skl_module_iface *iface = &mcfg->module->formats[mcfg->fmt_idx]; in skl_dump_mconfig()
198 in_fmt = &m_cfg->module->formats[m_cfg->fmt_idx].inputs[0].fmt; in skl_tplg_update_params_fixup()
199 out_fmt = &m_cfg->module->formats[m_cfg->fmt_idx].outputs[0].fmt; in skl_tplg_update_params_fixup()
243 in_fmt = &mcfg->module->formats[mcfg->fmt_idx].inputs[0].fmt; in skl_tplg_update_buffer_size()
244 out_fmt = &mcfg->module->formats[mcfg->fmt_idx].outputs[0].fmt; in skl_tplg_update_buffer_size()
291 int fmt_idx = m_cfg->fmt_idx; in skl_tplg_update_be_blob() local
292 struct skl_module_iface *m_iface = &m_cfg->module->formats[fmt_idx]; in skl_tplg_update_be_blob()
499 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_init_pipe_modules()
1647 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_update_pipe_params()
1654 format = &mconfig->module->formats[mconfig->fmt_idx].inputs[0].fmt; in skl_tplg_update_pipe_params()
[all …]
Dskl-topology.h304 u8 fmt_idx; member
348 u8 fmt_idx; member
391 int fmt_idx; member
Dskl-messages.c450 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_module_format()
499 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_ext_module_format()
734 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_setup_out_format()
761 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; in skl_set_src_format()
780 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; in skl_set_updown_mixer_format()
1189 fmt = &module->formats[src_mcfg->fmt_idx]; in skl_bind_modules()
/Linux-v6.1/drivers/staging/media/atomisp/i2c/ov5693/
Datomisp-ov5693.c443 *val = ov5693_res[dev->fmt_idx].bin_factor_x; in ov5693_g_bin_factor_x()
452 *val = ov5693_res[dev->fmt_idx].bin_factor_y; in ov5693_g_bin_factor_y()
544 hts = ov5693_res[dev->fmt_idx].pixels_per_line; in __ov5693_set_exposure()
545 vts = ov5693_res[dev->fmt_idx].lines_per_frame; in __ov5693_set_exposure()
1570 ret = ov5693_write_reg_array(client, ov5693_res[dev->fmt_idx].regs); in startup()
1616 dev->fmt_idx = get_resolution_index(fmt->width, fmt->height); in ov5693_set_fmt()
1617 if (dev->fmt_idx == -1) { in ov5693_set_fmt()
1663 &ov5693_res[dev->fmt_idx]); in ov5693_set_fmt()
1691 fmt->width = ov5693_res[dev->fmt_idx].width; in ov5693_get_fmt()
1692 fmt->height = ov5693_res[dev->fmt_idx].height; in ov5693_get_fmt()
[all …]
Dov5693.h232 int fmt_idx; member
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c3141 int fmt_idx; in rvu_nix_reserve_mark_format() local
3143 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format()
3144 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format()
3145 return fmt_idx; in rvu_nix_reserve_mark_format()
3147 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format()
3150 rvu_write64(rvu, blkaddr, NIX_AF_MARK_FORMATX_CTL(fmt_idx), cfg); in rvu_nix_reserve_mark_format()
3151 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format()
3153 return fmt_idx; in rvu_nix_reserve_mark_format()