Home
last modified time | relevance | path

Searched refs:fmt_idx (Results 1 - 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/
H A Datomisp-ov2680.c150 *val = ov2680_res[dev->fmt_idx].bin_factor_x; in ov2680_g_bin_factor_x()
160 *val = ov2680_res[dev->fmt_idx].bin_factor_y; in ov2680_g_bin_factor_y()
257 vts = ov2680_res[dev->fmt_idx].lines_per_frame; in __ov2680_set_exposure()
955 dev->fmt_idx = get_resolution_index(fmt->width, fmt->height); in ov2680_set_fmt()
957 __func__, dev->fmt_idx); in ov2680_set_fmt()
958 if (dev->fmt_idx == -1) { in ov2680_set_fmt()
964 __func__, dev->fmt_idx, fmt->width, fmt->height); in ov2680_set_fmt()
968 ret = ov2680_write_reg_array(client, ov2680_res[dev->fmt_idx].regs); in ov2680_set_fmt()
974 &ov2680_res[dev->fmt_idx]); in ov2680_set_fmt()
988 v4l2_info(client, "\n%s idx %d\n", __func__, dev->fmt_idx); in ov2680_set_fmt()
[all...]
H A Datomisp-gc2235.c759 ret = gc2235_write_reg_array(client, gc2235_res[dev->fmt_idx].regs); in startup()
804 dev->fmt_idx = get_resolution_index(fmt->width, fmt->height); in gc2235_set_fmt()
805 if (dev->fmt_idx == -1) { in gc2235_set_fmt()
818 &gc2235_res[dev->fmt_idx]); in gc2235_set_fmt()
840 fmt->width = gc2235_res[dev->fmt_idx].width; in gc2235_get_fmt()
841 fmt->height = gc2235_res[dev->fmt_idx].height; in gc2235_get_fmt()
960 interval->interval.denominator = gc2235_res[dev->fmt_idx].fps; in gc2235_g_frame_interval()
998 *frames = gc2235_res[dev->fmt_idx].skip_frames; in gc2235_g_skip_frames()
1062 dev->fmt_idx = 0; in gc2235_probe()
H A Datomisp-gc0310.c269 *val = gc0310_res[dev->fmt_idx].bin_factor_x; in gc0310_g_bin_factor_x()
278 *val = gc0310_res[dev->fmt_idx].bin_factor_y; in gc0310_g_bin_factor_y()
964 ret = gc0310_write_reg_array(client, gc0310_res[dev->fmt_idx].regs); in startup()
1016 dev->fmt_idx = get_resolution_index(fmt->width, fmt->height); in gc0310_set_fmt()
1017 if (dev->fmt_idx == -1) { in gc0310_set_fmt()
1024 gc0310_res[dev->fmt_idx].desc); in gc0310_set_fmt()
1032 &gc0310_res[dev->fmt_idx]); in gc0310_set_fmt()
1057 fmt->width = gc0310_res[dev->fmt_idx].width; in gc0310_get_fmt()
1058 fmt->height = gc0310_res[dev->fmt_idx].height; in gc0310_get_fmt()
1218 interval->interval.denominator = gc0310_res[dev->fmt_idx] in gc0310_g_frame_interval()
[all...]
H A Datomisp-ov2722.c560 val = ov2722_res[dev->fmt_idx].mipi_freq; in ov2722_g_volatile_ctrl()
869 ret = ov2722_write_reg_array(client, ov2722_res[dev->fmt_idx].regs); in startup()
914 dev->fmt_idx = get_resolution_index(fmt->width, fmt->height); in ov2722_set_fmt()
915 if (dev->fmt_idx == -1) { in ov2722_set_fmt()
921 dev->pixels_per_line = ov2722_res[dev->fmt_idx].pixels_per_line; in ov2722_set_fmt()
922 dev->lines_per_frame = ov2722_res[dev->fmt_idx].lines_per_frame; in ov2722_set_fmt()
954 &ov2722_res[dev->fmt_idx]); in ov2722_set_fmt()
975 fmt->width = ov2722_res[dev->fmt_idx].width; in ov2722_get_fmt()
976 fmt->height = ov2722_res[dev->fmt_idx].height; in ov2722_get_fmt()
1101 interval->interval.denominator = ov2722_res[dev->fmt_idx] in ov2722_g_frame_interval()
[all...]
H A Dgc0310.h153 int fmt_idx; member
H A Dgc2235.h164 int fmt_idx; member
H A Dov2680.h177 int fmt_idx; member
H A Dov2722.h207 int fmt_idx; member
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A 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()
493 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_init_pipe_modules()
2226 skl_tplg_widget_fill_fmt(struct device *dev, struct skl_module_iface *fmt, u32 tkn, u32 val, u32 dir, int fmt_idx) skl_tplg_widget_fill_fmt() argument
2374 int fmt_idx = mconfig->fmt_idx; skl_tplg_get_token() local
3200 skl_tplg_manifest_fill_fmt(struct device *dev, struct skl_module_iface *fmt, struct snd_soc_tplg_vendor_value_elem *tkn_elem, u32 dir, int fmt_idx) skl_tplg_manifest_fill_fmt() argument
[all...]
H A Dskl-topology.h286 u8 fmt_idx; member
332 u8 fmt_idx; member
375 int fmt_idx; member
H A Dskl-messages.c450 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_set_base_module_format()
665 struct skl_module_iface *fmt = &module->formats[mconfig->fmt_idx]; in skl_setup_out_format()
692 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; in skl_set_src_format()
711 struct skl_module_iface *iface = &module->formats[mconfig->fmt_idx]; in skl_set_updown_mixer_format()
1155 fmt = &module->formats[src_mcfg->fmt_idx]; in skl_bind_modules()
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A 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()
2202 skl_tplg_widget_fill_fmt(struct device *dev, struct skl_module_iface *fmt, u32 tkn, u32 val, u32 dir, int fmt_idx) skl_tplg_widget_fill_fmt() argument
2350 int fmt_idx = mconfig->fmt_idx; skl_tplg_get_token() local
3198 skl_tplg_manifest_fill_fmt(struct device *dev, struct skl_module_iface *fmt, struct snd_soc_tplg_vendor_value_elem *tkn_elem, u32 dir, int fmt_idx) skl_tplg_manifest_fill_fmt() argument
[all...]
H A Dskl-topology.h307 u8 fmt_idx; member
350 u8 fmt_idx; member
393 int fmt_idx; member
H A 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()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/ov5693/
H A 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] in ov5693_get_fmt()
[all...]
H A Dov5693.h232 int fmt_idx; member
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/i2c/ov5693/
H A 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()
H A Dov5693.h228 int fmt_idx; member
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c2246 int fmt_idx; in rvu_nix_reserve_mark_format() local
2248 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format()
2249 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format()
2250 return fmt_idx; in rvu_nix_reserve_mark_format()
2252 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format()
2255 rvu_write64(rvu, blkaddr, NIX_AF_MARK_FORMATX_CTL(fmt_idx), cfg); in rvu_nix_reserve_mark_format()
2256 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format()
2258 return fmt_idx; in rvu_nix_reserve_mark_format()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/
H A Dfw.c1095 u32 fmt_idx, u8 para_int, bool raw_data) in rtw89_fw_log_dump_data()
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()
1093 rtw89_fw_log_dump_data(struct rtw89_dev *rtwdev, const struct rtw89_fw_c2h_log_fmt *log_fmt, u32 fmt_idx, u8 para_int, bool raw_data) rtw89_fw_log_dump_data() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_nix.c3369 int fmt_idx; in rvu_nix_reserve_mark_format() local
3371 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format()
3372 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format()
3373 return fmt_idx; in rvu_nix_reserve_mark_format()
3375 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format()
3378 rvu_write64(rvu, blkaddr, NIX_AF_MARK_FORMATX_CTL(fmt_idx), cfg); in rvu_nix_reserve_mark_format()
3379 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format()
3381 return fmt_idx; in rvu_nix_reserve_mark_format()
[all...]

Completed in 44 milliseconds