Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/staging/media/atomisp/i2c/
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()
958 dev->fmt_idx = get_resolution_index(fmt->width, fmt->height); in ov2680_set_fmt()
960 __func__, dev->fmt_idx); in ov2680_set_fmt()
961 if (dev->fmt_idx == -1) { in ov2680_set_fmt()
967 __func__, dev->fmt_idx, fmt->width, fmt->height); in ov2680_set_fmt()
971 ret = ov2680_write_reg_array(client, ov2680_res[dev->fmt_idx].regs); in ov2680_set_fmt()
977 &ov2680_res[dev->fmt_idx]); in ov2680_set_fmt()
992 v4l2_info(client, "\n%s idx %d\n", __func__, dev->fmt_idx); in ov2680_set_fmt()
[all …]
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].fps; in ov2722_g_frame_interval()
[all …]
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()
958 ret = gc0310_write_reg_array(client, gc0310_res[dev->fmt_idx].regs); in startup()
1007 dev->fmt_idx = get_resolution_index(fmt->width, fmt->height); in gc0310_set_fmt()
1008 if (dev->fmt_idx == -1) { in gc0310_set_fmt()
1015 __func__, gc0310_res[dev->fmt_idx].desc); in gc0310_set_fmt()
1023 &gc0310_res[dev->fmt_idx]); in gc0310_set_fmt()
1047 fmt->width = gc0310_res[dev->fmt_idx].width; in gc0310_get_fmt()
1048 fmt->height = gc0310_res[dev->fmt_idx].height; in gc0310_get_fmt()
1202 interval->interval.denominator = gc0310_res[dev->fmt_idx].fps; in gc0310_g_frame_interval()
[all …]
Datomisp-gc2235.c761 ret = gc2235_write_reg_array(client, gc2235_res[dev->fmt_idx].regs); in startup()
806 dev->fmt_idx = get_resolution_index(fmt->width, fmt->height); in gc2235_set_fmt()
807 if (dev->fmt_idx == -1) { in gc2235_set_fmt()
820 &gc2235_res[dev->fmt_idx]); in gc2235_set_fmt()
842 fmt->width = gc2235_res[dev->fmt_idx].width; in gc2235_get_fmt()
843 fmt->height = gc2235_res[dev->fmt_idx].height; in gc2235_get_fmt()
956 interval->interval.denominator = gc2235_res[dev->fmt_idx].fps; in gc2235_g_frame_interval()
994 *frames = gc2235_res[dev->fmt_idx].skip_frames; in gc2235_g_skip_frames()
1058 dev->fmt_idx = 0; in gc2235_probe()
Dov2680.h177 int fmt_idx; member
Dgc0310.h153 int fmt_idx; member
Dgc2235.h164 int fmt_idx; member
Dov2722.h207 int fmt_idx; member
/Linux-v5.15/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()
495 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_init_pipe_modules()
1643 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_update_pipe_params()
1650 format = &mconfig->module->formats[mconfig->fmt_idx].inputs[0].fmt; in skl_tplg_update_pipe_params()
[all …]
Dskl-topology.h303 u8 fmt_idx; member
347 u8 fmt_idx; member
390 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-v5.15/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-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c3072 int fmt_idx; in rvu_nix_reserve_mark_format() local
3074 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format()
3075 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format()
3076 return fmt_idx; in rvu_nix_reserve_mark_format()
3078 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format()
3081 rvu_write64(rvu, blkaddr, NIX_AF_MARK_FORMATX_CTL(fmt_idx), cfg); in rvu_nix_reserve_mark_format()
3082 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format()
3084 return fmt_idx; in rvu_nix_reserve_mark_format()