Searched refs:fmt_cfg (Results 1 – 10 of 10) sorted by relevance
| /OK3568_Linux_fs/kernel/sound/soc/intel/skylake/ |
| H A D | skl-nhlt.c | 201 struct nhlt_fmt_cfg *fmt_cfg; in skl_get_ssp_clks() local 216 fmt_cfg = (struct nhlt_fmt_cfg *)fmt->fmt_config; in skl_get_ssp_clks() 218 struct nhlt_fmt_cfg *saved_fmt_cfg = fmt_cfg; in skl_get_ssp_clks() 239 struct nhlt_fmt_cfg *tmp_fmt_cfg = fmt_cfg; in skl_get_ssp_clks() 285 fmt_cfg = (struct nhlt_fmt_cfg *)(fmt_cfg->config.caps + in skl_get_ssp_clks() 286 fmt_cfg->config.size); in skl_get_ssp_clks() 311 struct nhlt_fmt_cfg *fmt_cfg; in skl_get_mclk() local 316 fmt_cfg = (struct nhlt_fmt_cfg *)fmt->fmt_config; in skl_get_mclk() 317 i2s_config_ext = (struct skl_i2s_config_blob_ext *)fmt_cfg->config.caps; in skl_get_mclk() 346 mclk[id].rate_cfg[0].config = fmt_cfg; in skl_get_mclk()
|
| H A D | skl-ssp-clk.c | 76 struct nhlt_fmt_cfg *fmt_cfg; in skl_fill_clk_ipc() local 85 fmt_cfg = (struct nhlt_fmt_cfg *)rcfg->config; in skl_fill_clk_ipc() 86 wfmt = &fmt_cfg->fmt_ext.fmt; in skl_fill_clk_ipc() 94 fmt_cfg->fmt_ext.sample.valid_bits_per_sample; in skl_fill_clk_ipc() 112 struct nhlt_fmt_cfg *fmt_cfg; in skl_send_clk_dma_control() local 122 fmt_cfg = (struct nhlt_fmt_cfg *)rcfg->config; in skl_send_clk_dma_control() 123 sp_cfg = &fmt_cfg->config; in skl_send_clk_dma_control()
|
| /OK3568_Linux_fs/kernel/sound/hda/ |
| H A D | intel-nhlt.c | 58 struct nhlt_fmt_cfg *fmt_cfg = fmt_configs->fmt_config; in intel_nhlt_get_dmic_geo() local 66 fmt_ext = &fmt_cfg->fmt_ext; in intel_nhlt_get_dmic_geo() 72 fmt_cfg = (struct nhlt_fmt_cfg *)(fmt_cfg->config.caps + in intel_nhlt_get_dmic_geo() 73 fmt_cfg->config.size); in intel_nhlt_get_dmic_geo()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/common/ |
| H A D | vepu_common.c | 129 VepuFormatCfg *fmt_cfg = NULL; in get_vepu_fmt() local 136 fmt_cfg = &vepu_yuv_cfg[format - MPP_FRAME_FMT_YUV]; in get_vepu_fmt() 139 fmt_cfg = &vepu_rgb_le_cfg[(format & MPP_FRAME_FMT_MASK) - MPP_FRAME_FMT_RGB]; in get_vepu_fmt() 141 fmt_cfg = &vepu_rgb_cfg[format - MPP_FRAME_FMT_RGB]; in get_vepu_fmt() 147 if (fmt_cfg && fmt_cfg->format != VEPU_FMT_BUTT) { in get_vepu_fmt() 148 memcpy(cfg, fmt_cfg, sizeof(*cfg)); in get_vepu_fmt()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/jpege/ |
| H A D | hal_jpege_vepu1_v2.c | 214 VepuFormatCfg fmt_cfg; in hal_jpege_vepu1_gen_regs() local 280 if (!get_vepu_fmt(&fmt_cfg, fmt)) { in hal_jpege_vepu1_gen_regs() 291 regs[2] = deflt_cfg | (fmt_cfg.swap_8_in & 1) | in hal_jpege_vepu1_gen_regs() 292 (fmt_cfg.swap_32_in & 1) << 2 | in hal_jpege_vepu1_gen_regs() 293 (fmt_cfg.swap_16_in & 1) << 14; in hal_jpege_vepu1_gen_regs() 312 (fmt_cfg.format << 2) | rotation; in hal_jpege_vepu1_gen_regs() 370 regs[55] = ((fmt_cfg.b_mask & 0x1f) << 26) | in hal_jpege_vepu1_gen_regs() 371 ((fmt_cfg.g_mask & 0x1f) << 21) | in hal_jpege_vepu1_gen_regs() 372 ((fmt_cfg.r_mask & 0x1f) << 16) | coeffF; in hal_jpege_vepu1_gen_regs()
|
| H A D | hal_jpege_vepu2_v2.c | 398 VepuFormatCfg fmt_cfg; in hal_jpege_vepu2_gen_regs() local 540 if (!get_vepu_fmt(&fmt_cfg, fmt)) { in hal_jpege_vepu2_gen_regs() 541 regs[74] = (fmt_cfg.format << 4) | in hal_jpege_vepu2_gen_regs() 543 regs[98] = (fmt_cfg.b_mask & 0x1f) << 16 | in hal_jpege_vepu2_gen_regs() 544 (fmt_cfg.g_mask & 0x1f) << 8 | in hal_jpege_vepu2_gen_regs() 545 (fmt_cfg.r_mask & 0x1f); in hal_jpege_vepu2_gen_regs() 546 regs[105] = 7 << 26 | (fmt_cfg.swap_32_in & 1) << 29 | in hal_jpege_vepu2_gen_regs() 547 (fmt_cfg.swap_16_in & 1) << 30 | in hal_jpege_vepu2_gen_regs() 548 (fmt_cfg.swap_8_in & 1) << 31; in hal_jpege_vepu2_gen_regs()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h264e/ |
| H A D | hal_h264e_vepu_v2.c | 307 VepuFormatCfg fmt_cfg; in h264e_vepu_prep_setup() local 333 if (!get_vepu_fmt(&fmt_cfg, format)) { in h264e_vepu_prep_setup() 334 prep->r_mask_msb = fmt_cfg.r_mask; in h264e_vepu_prep_setup() 335 prep->g_mask_msb = fmt_cfg.g_mask; in h264e_vepu_prep_setup() 336 prep->b_mask_msb = fmt_cfg.b_mask; in h264e_vepu_prep_setup() 337 prep->swap_8_in = fmt_cfg.swap_8_in; in h264e_vepu_prep_setup() 338 prep->swap_16_in = fmt_cfg.swap_16_in; in h264e_vepu_prep_setup() 339 prep->swap_32_in = fmt_cfg.swap_32_in; in h264e_vepu_prep_setup() 340 prep->src_fmt = fmt_cfg.format; in h264e_vepu_prep_setup()
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | mx3fb.c | 80 static struct pixel_fmt_cfg fmt_cfg[] = { variable 445 writel(fmt_cfg[di_setup].b0, DI_DISP3_B0_MAP); in sdc_init_panel() 446 writel(fmt_cfg[di_setup].b1, DI_DISP3_B1_MAP); in sdc_init_panel() 447 writel(fmt_cfg[di_setup].b2, DI_DISP3_B2_MAP); in sdc_init_panel() 449 ((fmt_cfg[di_setup].acc - 1) << 12), DI_DISP_ACC_CC); in sdc_init_panel()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/vp8e/ |
| H A D | hal_vp8e_base.c | 1144 VepuFormatCfg fmt_cfg; in set_parameter() local 1145 if (!get_vepu_fmt(&fmt_cfg, set->format)) { in set_parameter() 1146 hw_cfg->input_format = fmt_cfg.format; in set_parameter() 1147 hw_cfg->r_mask_msb = fmt_cfg.r_mask; in set_parameter() 1148 hw_cfg->g_mask_msb = fmt_cfg.g_mask; in set_parameter() 1149 hw_cfg->b_mask_msb = fmt_cfg.b_mask; in set_parameter()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/rkisp1/ |
| H A D | rkisp1-capture.c | 1111 const struct rkisp1_capture_fmt_cfg **fmt_cfg, in rkisp1_try_fmt() argument 1139 if (fmt_cfg) in rkisp1_try_fmt() 1140 *fmt_cfg = fmt; in rkisp1_try_fmt()
|