Home
last modified time | relevance | path

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

/Linux-v6.6/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()
1609 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_update_pipe_params()
1616 format = &mconfig->module->formats[mconfig->fmt_idx].inputs[0].fmt; in skl_tplg_update_pipe_params()
[all …]
Dskl-topology.h307 u8 fmt_idx; member
350 u8 fmt_idx; member
393 int fmt_idx; member
Dskl-messages.c448 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_module_format()
497 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_ext_module_format()
732 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_setup_out_format()
759 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; in skl_set_src_format()
778 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; in skl_set_updown_mixer_format()
1187 fmt = &module->formats[src_mcfg->fmt_idx]; in skl_bind_modules()
/Linux-v6.6/drivers/staging/media/atomisp/i2c/ov5693/
Datomisp-ov5693.c427 hts = ov5693_res[dev->fmt_idx].pixels_per_line; in __ov5693_set_exposure()
428 vts = ov5693_res[dev->fmt_idx].lines_per_frame; in __ov5693_set_exposure()
1343 ret = ov5693_write_reg_array(client, ov5693_res[dev->fmt_idx].regs); in startup()
1389 dev->fmt_idx = get_resolution_index(fmt->width, fmt->height); in ov5693_set_fmt()
1390 if (dev->fmt_idx == -1) { in ov5693_set_fmt()
1456 fmt->width = ov5693_res[dev->fmt_idx].width; in ov5693_get_fmt()
1457 fmt->height = ov5693_res[dev->fmt_idx].height; in ov5693_get_fmt()
1589 interval->interval.denominator = ov5693_res[dev->fmt_idx].fps; in ov5693_g_frame_interval()
1691 dev->fmt_idx = 0; in ov5693_probe()
Dov5693.h228 int fmt_idx; member
/Linux-v6.6/drivers/net/wireless/realtek/rtw89/
Dfw.c1095 u32 fmt_idx, u8 para_int, bool raw_data) in rtw89_fw_log_dump_data() argument
1122 snprintf(str_buf, RTW89_C2H_FW_LOG_STR_BUF_SIZE, (*fmts)[fmt_idx], in rtw89_fw_log_dump_data()
1136 u32 fmt_idx; in rtw89_fw_log_dump() local
1157 fmt_idx = rtw89_fw_log_get_fmt_idx(rtwdev, le32_to_cpu(log_fmt->fmt_id)); in rtw89_fw_log_dump()
1159 if (!para_int && log_fmt->argc != 0 && fmt_idx != 0) in rtw89_fw_log_dump()
1161 (*rtwdev->fw.log.fmts)[fmt_idx], log_fmt->u.raw); in rtw89_fw_log_dump()
1162 else if (fmt_idx != 0 && para_int) in rtw89_fw_log_dump()
1163 rtw89_fw_log_dump_data(rtwdev, log_fmt, fmt_idx, para_int, false); in rtw89_fw_log_dump()
1165 rtw89_fw_log_dump_data(rtwdev, log_fmt, fmt_idx, para_int, true); in rtw89_fw_log_dump()
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c3368 int fmt_idx; in rvu_nix_reserve_mark_format() local
3370 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format()
3371 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format()
3372 return fmt_idx; in rvu_nix_reserve_mark_format()
3374 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format()
3377 rvu_write64(rvu, blkaddr, NIX_AF_MARK_FORMATX_CTL(fmt_idx), cfg); in rvu_nix_reserve_mark_format()
3378 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format()
3380 return fmt_idx; in rvu_nix_reserve_mark_format()