Searched refs:fmt_idx (Results 1 – 14 of 14) sorted by relevance
| /linux/drivers/staging/media/atomisp/i2c/ |
| A 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() 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() 977 &ov2680_res[dev->fmt_idx]); in ov2680_set_fmt() 1017 fmt->width = ov2680_res[dev->fmt_idx].width; in ov2680_get_fmt() 1018 fmt->height = ov2680_res[dev->fmt_idx].height; in ov2680_get_fmt() 1196 *frames = ov2680_res[dev->fmt_idx].skip_frames; in ov2680_g_skip_frames() [all …]
|
| A D | atomisp-ov2722.c | 560 val = ov2722_res[dev->fmt_idx].mipi_freq; in ov2722_g_volatile_ctrl() 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() 1139 *frames = ov2722_res[dev->fmt_idx].skip_frames; in ov2722_g_skip_frames() [all …]
|
| A 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() 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() 1240 *frames = gc0310_res[dev->fmt_idx].skip_frames; in gc0310_g_skip_frames() [all …]
|
| A D | atomisp-gc2235.c | 761 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()
|
| A D | ov2680.h | 177 int fmt_idx; member
|
| A D | gc0310.h | 153 int fmt_idx; member
|
| A D | gc2235.h | 164 int fmt_idx; member
|
| A D | ov2722.h | 207 int fmt_idx; member
|
| /linux/sound/soc/intel/skylake/ |
| A D | skl-topology.c | 291 int fmt_idx = m_cfg->fmt_idx; in skl_tplg_update_be_blob() local 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() 2235 u32 tkn, u32 val, u32 dir, int fmt_idx) in skl_tplg_widget_fill_fmt() argument 2244 dst_fmt = &fmt->inputs[fmt_idx].fmt; in skl_tplg_widget_fill_fmt() 2248 dst_fmt = &fmt->outputs[fmt_idx].fmt; in skl_tplg_widget_fill_fmt() 2381 int fmt_idx = mconfig->fmt_idx; in skl_tplg_get_token() local 3235 u32 dir, int fmt_idx) in skl_tplg_manifest_fill_fmt() argument 3246 dst_fmt = &fmt->inputs[fmt_idx]; in skl_tplg_manifest_fill_fmt() 3250 dst_fmt = &fmt->outputs[fmt_idx]; in skl_tplg_manifest_fill_fmt() [all …]
|
| A D | skl-topology.h | 303 u8 fmt_idx; member 347 u8 fmt_idx; member 390 int fmt_idx; member
|
| A D | skl-messages.c | 450 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/drivers/staging/media/atomisp/i2c/ov5693/ |
| A 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() 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() 1824 interval->interval.denominator = ov5693_res[dev->fmt_idx].fps; in ov5693_g_frame_interval() [all …]
|
| A D | ov5693.h | 232 int fmt_idx; member
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| A D | rvu_nix.c | 3148 int fmt_idx; in rvu_nix_reserve_mark_format() local 3150 for (fmt_idx = 0; fmt_idx < nix_hw->mark_format.in_use; fmt_idx++) { in rvu_nix_reserve_mark_format() 3151 if (nix_hw->mark_format.cfg[fmt_idx] == cfg) in rvu_nix_reserve_mark_format() 3152 return fmt_idx; in rvu_nix_reserve_mark_format() 3154 if (fmt_idx >= nix_hw->mark_format.total) in rvu_nix_reserve_mark_format() 3157 rvu_write64(rvu, blkaddr, NIX_AF_MARK_FORMATX_CTL(fmt_idx), cfg); in rvu_nix_reserve_mark_format() 3158 nix_hw->mark_format.cfg[fmt_idx] = cfg; in rvu_nix_reserve_mark_format() 3160 return fmt_idx; in rvu_nix_reserve_mark_format()
|
Completed in 48 milliseconds