H A D | ipu-cpmem.c | 105 static void ipu_ch_param_write_field(struct ipuv3_channel *ch, u32 wbs, u32 v) ipu_ch_param_write_field() function 222 ipu_ch_param_write_field(ch, IPU_FIELD_FW, xres - 1); ipu_cpmem_set_resolution() 223 ipu_ch_param_write_field(ch, IPU_FIELD_FH, yres - 1); ipu_cpmem_set_resolution() 229 ipu_ch_param_write_field(ch, IPU_FIELD_SLY, stride - 1); ipu_cpmem_set_stride() 239 ipu_ch_param_write_field(ch, IPU_FIELD_ID, 1); ipu_cpmem_set_high_priority() 250 ipu_ch_param_write_field(ch, IPU_FIELD_EBA1, buf >> 3); ipu_cpmem_set_buffer() 252 ipu_ch_param_write_field(ch, IPU_FIELD_EBA0, buf >> 3); ipu_cpmem_set_buffer() 258 ipu_ch_param_write_field(ch, IPU_FIELD_SO, 1); ipu_cpmem_interlaced_scan() 259 ipu_ch_param_write_field(ch, IPU_FIELD_ILO, stride / 8); ipu_cpmem_interlaced_scan() 260 ipu_ch_param_write_field(ch, IPU_FIELD_SLY, (stride * 2) - 1); ipu_cpmem_interlaced_scan() 267 ipu_ch_param_write_field(ch, IPU_FIELD_ID, id); ipu_cpmem_set_axi_id() 273 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, burstsize - 1); ipu_cpmem_set_burstsize() 279 ipu_ch_param_write_field(ch, IPU_FIELD_BM, 1); ipu_cpmem_set_block_mode() 288 ipu_ch_param_write_field(ch, IPU_FIELD_ROT_HF_VF, temp_rot); ipu_cpmem_set_rotation() 302 ipu_ch_param_write_field(ch, IPU_FIELD_WID0, rgb->red.length - 1); ipu_cpmem_set_format_rgb() 303 ipu_ch_param_write_field(ch, IPU_FIELD_OFS0, ro); ipu_cpmem_set_format_rgb() 304 ipu_ch_param_write_field(ch, IPU_FIELD_WID1, rgb->green.length - 1); ipu_cpmem_set_format_rgb() 305 ipu_ch_param_write_field(ch, IPU_FIELD_OFS1, go); ipu_cpmem_set_format_rgb() 306 ipu_ch_param_write_field(ch, IPU_FIELD_WID2, rgb->blue.length - 1); ipu_cpmem_set_format_rgb() 307 ipu_ch_param_write_field(ch, IPU_FIELD_OFS2, bo); ipu_cpmem_set_format_rgb() 310 ipu_ch_param_write_field(ch, IPU_FIELD_WID3, ipu_cpmem_set_format_rgb() 312 ipu_ch_param_write_field(ch, IPU_FIELD_OFS3, to); ipu_cpmem_set_format_rgb() 314 ipu_ch_param_write_field(ch, IPU_FIELD_WID3, 7); ipu_cpmem_set_format_rgb() 315 ipu_ch_param_write_field(ch, IPU_FIELD_OFS3, ipu_cpmem_set_format_rgb() 339 ipu_ch_param_write_field(ch, IPU_FIELD_BPP, bpp); ipu_cpmem_set_format_rgb() 340 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, npb); ipu_cpmem_set_format_rgb() 341 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 7); /* rgb mode */ ipu_cpmem_set_format_rgb() 372 ipu_ch_param_write_field(ch, IPU_FIELD_BPP, bpp); ipu_cpmem_set_format_passthrough() 373 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, npb); ipu_cpmem_set_format_passthrough() 374 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 6); /* raw mode */ ipu_cpmem_set_format_passthrough() 384 ipu_ch_param_write_field(ch, IPU_FIELD_BPP, 3); /* bits/pixel */ ipu_cpmem_set_yuv_interleaved() 385 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 0xA);/* pix fmt */ ipu_cpmem_set_yuv_interleaved() 386 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, 31);/* burst size */ ipu_cpmem_set_yuv_interleaved() 389 ipu_ch_param_write_field(ch, IPU_FIELD_BPP, 3); /* bits/pixel */ ipu_cpmem_set_yuv_interleaved() 390 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 0x8);/* pix fmt */ ipu_cpmem_set_yuv_interleaved() 391 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, 31);/* burst size */ ipu_cpmem_set_yuv_interleaved() 404 ipu_ch_param_write_field(ch, IPU_FIELD_SLUV, (stride / 2) - 1); ipu_cpmem_set_yuv_planar_full() 405 ipu_ch_param_write_field(ch, IPU_FIELD_UBO, u_offset / 8); ipu_cpmem_set_yuv_planar_full() 406 ipu_ch_param_write_field(ch, IPU_FIELD_VBO, v_offset / 8); ipu_cpmem_set_yuv_planar_full() 409 ipu_ch_param_write_field(ch, IPU_FIELD_SLUV, (stride / 2) - 1); ipu_cpmem_set_yuv_planar_full() 410 ipu_ch_param_write_field(ch, IPU_FIELD_UBO, v_offset / 8); ipu_cpmem_set_yuv_planar_full() 411 ipu_ch_param_write_field(ch, IPU_FIELD_VBO, u_offset / 8); ipu_cpmem_set_yuv_planar_full() 415 ipu_ch_param_write_field(ch, IPU_FIELD_SLUV, stride - 1); ipu_cpmem_set_yuv_planar_full() 416 ipu_ch_param_write_field(ch, IPU_FIELD_UBO, u_offset / 8); ipu_cpmem_set_yuv_planar_full() 417 ipu_ch_param_write_field(ch, IPU_FIELD_VBO, u_offset / 8); ipu_cpmem_set_yuv_planar_full() 581 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 2); ipu_cpmem_set_fmt() 583 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, 31); ipu_cpmem_set_fmt() 588 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 1); ipu_cpmem_set_fmt() 590 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, 31); ipu_cpmem_set_fmt() 594 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 4); ipu_cpmem_set_fmt() 596 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, 31); ipu_cpmem_set_fmt() 600 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 3); ipu_cpmem_set_fmt() 602 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, 31); ipu_cpmem_set_fmt() 606 ipu_ch_param_write_field(ch, IPU_FIELD_BPP, 3); ipu_cpmem_set_fmt() 608 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 0xA); ipu_cpmem_set_fmt() 610 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, 31); ipu_cpmem_set_fmt() 614 ipu_ch_param_write_field(ch, IPU_FIELD_BPP, 3); ipu_cpmem_set_fmt() 616 ipu_ch_param_write_field(ch, IPU_FIELD_PFS, 0x8); ipu_cpmem_set_fmt() 618 ipu_ch_param_write_field(ch, IPU_FIELD_NPB, 31); ipu_cpmem_set_fmt()
|