Searched refs:fmt_idx (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.10/drivers/staging/media/atomisp/i2c/ |
D | atomisp-ov2680.c | 150 *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 …]
|
D | atomisp-ov2722.c | 560 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 …]
|
D | atomisp-gc0310.c | 269 *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].fps; in gc0310_g_frame_interval() [all …]
|
D | atomisp-gc2235.c | 759 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()
|
D | ov2680.h | 177 int fmt_idx; member
|
D | gc0310.h | 153 int fmt_idx; member
|
D | gc2235.h | 164 int fmt_idx; member
|
D | ov2722.h | 207 int fmt_idx; member
|
/Linux-v5.10/drivers/staging/media/atomisp/i2c/ov5693/ |
D | atomisp-ov5693.c | 443 *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 …]
|
D | ov5693.h | 232 int fmt_idx; member
|
/Linux-v5.10/sound/soc/intel/skylake/ |
D | skl-topology.h | 286 u8 fmt_idx; member 332 u8 fmt_idx; member 375 int fmt_idx; member
|
D | skl-topology.c | 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() 1646 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_update_pipe_params() 2233 u32 tkn, u32 val, u32 dir, int fmt_idx) in skl_tplg_widget_fill_fmt() argument 2242 dst_fmt = &fmt->inputs[fmt_idx].fmt; in skl_tplg_widget_fill_fmt() 2246 dst_fmt = &fmt->outputs[fmt_idx].fmt; in skl_tplg_widget_fill_fmt() 2379 int fmt_idx = mconfig->fmt_idx; in skl_tplg_get_token() local 2388 iface = &mconfig->module->formats[fmt_idx]; in skl_tplg_get_token() 2531 mconfig->mod_cfg[conf_idx].fmt_idx = tkn_elem->value; in skl_tplg_get_token() [all …]
|
D | skl-messages.c | 450 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() 1148 fmt = &module->formats[src_mcfg->fmt_idx]; in skl_bind_modules()
|
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_nix.c | 2230 int fmt_idx; in rvu_nix_reserve_mark_format() local 2232 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format() 2233 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format() 2234 return fmt_idx; in rvu_nix_reserve_mark_format() 2236 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format() 2239 rvu_write64(rvu, blkaddr, NIX_AF_MARK_FORMATX_CTL(fmt_idx), cfg); in rvu_nix_reserve_mark_format() 2240 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format() 2242 return fmt_idx; in rvu_nix_reserve_mark_format()
|