Lines Matching refs:cmd
381 u32 cmd = hqvdp->hqvdp_cmd_paddr; in sti_hqvdp_get_free_cmd() local
388 if ((cmd != curr_cmd) && (cmd != next_cmd)) in sti_hqvdp_get_free_cmd()
390 cmd += sizeof(struct sti_hqvdp_cmd); in sti_hqvdp_get_free_cmd()
409 u32 cmd = hqvdp->hqvdp_cmd_paddr; in sti_hqvdp_get_curr_cmd() local
415 if (cmd == curr_cmd) in sti_hqvdp_get_curr_cmd()
418 cmd += sizeof(struct sti_hqvdp_cmd); in sti_hqvdp_get_curr_cmd()
437 dma_addr_t cmd = hqvdp->hqvdp_cmd_paddr; in sti_hqvdp_get_next_cmd() local
443 if (cmd == next_cmd) in sti_hqvdp_get_next_cmd()
446 cmd += sizeof(struct sti_hqvdp_cmd); in sti_hqvdp_get_next_cmd()
569 int cmd, cmd_offset, infoxp70; in hqvdp_dbg_show() local
613 cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD); in hqvdp_dbg_show()
620 cmd, virt); in hqvdp_dbg_show()
625 cmd = readl(hqvdp->regs + HQVDP_MBX_NEXT_CMD); in hqvdp_dbg_show()
632 cmd, virt); in hqvdp_dbg_show()
1128 struct sti_hqvdp_cmd *cmd; in sti_hqvdp_atomic_update() local
1166 cmd = hqvdp->hqvdp_cmd + cmd_offset; in sti_hqvdp_atomic_update()
1169 cmd->top.config = TOP_CONFIG_PROGRESSIVE; in sti_hqvdp_atomic_update()
1170 cmd->top.mem_format = TOP_MEM_FORMAT_DFLT; in sti_hqvdp_atomic_update()
1171 cmd->hvsrc.param_ctrl = HVSRC_PARAM_CTRL_DFLT; in sti_hqvdp_atomic_update()
1172 cmd->csdi.config = CSDI_CONFIG_PROG; in sti_hqvdp_atomic_update()
1176 cmd->iqi.config = IQI_CONFIG_DFLT; in sti_hqvdp_atomic_update()
1177 cmd->iqi.con_bri = IQI_CON_BRI_DFLT; in sti_hqvdp_atomic_update()
1178 cmd->iqi.sat_gain = IQI_SAT_GAIN_DFLT; in sti_hqvdp_atomic_update()
1179 cmd->iqi.pxf_conf = IQI_PXF_CONF_DFLT; in sti_hqvdp_atomic_update()
1188 cmd->top.current_luma = (u32) dma_obj->dma_addr + fb->offsets[0]; in sti_hqvdp_atomic_update()
1189 cmd->top.current_chroma = (u32) dma_obj->dma_addr + fb->offsets[1]; in sti_hqvdp_atomic_update()
1192 cmd->top.luma_processed_pitch = fb->pitches[0]; in sti_hqvdp_atomic_update()
1193 cmd->top.luma_src_pitch = fb->pitches[0]; in sti_hqvdp_atomic_update()
1194 cmd->top.chroma_processed_pitch = fb->pitches[1]; in sti_hqvdp_atomic_update()
1195 cmd->top.chroma_src_pitch = fb->pitches[1]; in sti_hqvdp_atomic_update()
1202 cmd->top.input_viewport_size = src_h << 16 | src_w; in sti_hqvdp_atomic_update()
1203 cmd->top.input_frame_size = src_h << 16 | src_w; in sti_hqvdp_atomic_update()
1204 cmd->hvsrc.output_picture_size = dst_h << 16 | dst_w; in sti_hqvdp_atomic_update()
1205 cmd->top.input_viewport_ori = src_y << 16 | src_x; in sti_hqvdp_atomic_update()
1210 cmd->top.config = TOP_CONFIG_INTER_TOP; in sti_hqvdp_atomic_update()
1213 cmd->top.input_frame_size = (src_h / 2) << 16 | src_w; in sti_hqvdp_atomic_update()
1214 cmd->top.luma_processed_pitch *= 2; in sti_hqvdp_atomic_update()
1215 cmd->top.luma_src_pitch *= 2; in sti_hqvdp_atomic_update()
1216 cmd->top.chroma_processed_pitch *= 2; in sti_hqvdp_atomic_update()
1217 cmd->top.chroma_src_pitch *= 2; in sti_hqvdp_atomic_update()
1220 cmd->csdi.config = CSDI_CONFIG_INTER_DIR; in sti_hqvdp_atomic_update()
1221 cmd->csdi.config2 = CSDI_CONFIG2_DFLT; in sti_hqvdp_atomic_update()
1222 cmd->csdi.dcdi_config = CSDI_DCDI_CONFIG_DFLT; in sti_hqvdp_atomic_update()
1227 sti_hqvdp_update_hvsrc(HVSRC_HORI, scale_h, &cmd->hvsrc); in sti_hqvdp_atomic_update()
1230 sti_hqvdp_update_hvsrc(HVSRC_VERT, scale_v, &cmd->hvsrc); in sti_hqvdp_atomic_update()