Lines Matching refs:q_data
407 struct vpe_q_data q_data[2]; /* src & dst queue data */ member
436 return &ctx->q_data[Q_DATA_SRC]; in get_q_data()
439 return &ctx->q_data[Q_DATA_DST]; in get_q_data()
658 struct vpe_q_data *s_q_data = &ctx->q_data[Q_DATA_SRC]; in set_us_coefficients()
685 struct vpe_fmt *fmt = ctx->q_data[Q_DATA_SRC].fmt; in set_cfg_modes()
710 struct vpe_fmt *fmt = ctx->q_data[Q_DATA_SRC].fmt; in set_line_modes()
759 struct vpe_fmt *fmt = ctx->q_data[Q_DATA_DST].fmt; in set_dst_registers()
792 struct vpe_q_data *s_q_data = &ctx->q_data[Q_DATA_SRC]; in set_dei_regs()
860 struct vpe_q_data *s_q_data = &ctx->q_data[Q_DATA_SRC]; in set_srcdst_params()
861 struct vpe_q_data *d_q_data = &ctx->q_data[Q_DATA_DST]; in set_srcdst_params()
1018 struct vpe_q_data *q_data = &ctx->q_data[Q_DATA_DST]; in add_out_dtd() local
1021 struct vpe_fmt *fmt = q_data->fmt; in add_out_dtd()
1033 q_data = &ctx->q_data[Q_DATA_SRC]; in add_out_dtd()
1034 pix = &q_data->format.fmt.pix_mp; in add_out_dtd()
1041 pix = &q_data->format.fmt.pix_mp; in add_out_dtd()
1067 if (q_data->flags & Q_DATA_FRAME_1D) in add_out_dtd()
1069 if (q_data->flags & Q_DATA_MODE_TILED) in add_out_dtd()
1076 stride, &q_data->c_rect, in add_out_dtd()
1083 struct vpe_q_data *q_data = &ctx->q_data[Q_DATA_SRC]; in add_in_dtd() local
1087 struct vpe_fmt *fmt = q_data->fmt; in add_in_dtd()
1098 pix = &q_data->format.fmt.pix_mp; in add_in_dtd()
1138 if (q_data->flags & Q_DATA_INTERLACED_SEQ_TB || in add_in_dtd()
1139 q_data->flags & Q_DATA_INTERLACED_SEQ_BT) { in add_in_dtd()
1141 if (q_data->flags & Q_DATA_INTERLACED_SEQ_BT) in add_in_dtd()
1167 if (q_data->flags & Q_DATA_FRAME_1D) in add_in_dtd()
1169 if (q_data->flags & Q_DATA_MODE_TILED) in add_in_dtd()
1172 frame_width = q_data->c_rect.width; in add_in_dtd()
1173 frame_height = q_data->c_rect.height; in add_in_dtd()
1180 &q_data->c_rect, vpdma_fmt, dma_addr, in add_in_dtd()
1214 struct vpe_q_data *d_q_data = &ctx->q_data[Q_DATA_DST]; in device_run()
1215 struct vpe_q_data *s_q_data = &ctx->q_data[Q_DATA_SRC]; in device_run()
1448 d_q_data = &ctx->q_data[Q_DATA_DST]; in vpe_irq()
1567 struct vpe_q_data *q_data; in vpe_g_fmt() local
1573 q_data = get_q_data(ctx, f->type); in vpe_g_fmt()
1574 if (!q_data) in vpe_g_fmt()
1577 *f = q_data->format; in vpe_g_fmt()
1735 struct vpe_q_data *q_data; in __vpe_s_fmt() local
1747 q_data = get_q_data(ctx, f->type); in __vpe_s_fmt()
1748 if (!q_data) in __vpe_s_fmt()
1751 qpix = &q_data->format.fmt.pix_mp; in __vpe_s_fmt()
1752 q_data->fmt = find_format(f); in __vpe_s_fmt()
1753 q_data->format = *f; in __vpe_s_fmt()
1755 q_data->c_rect.left = 0; in __vpe_s_fmt()
1756 q_data->c_rect.top = 0; in __vpe_s_fmt()
1757 q_data->c_rect.width = pix->width; in __vpe_s_fmt()
1758 q_data->c_rect.height = pix->height; in __vpe_s_fmt()
1761 q_data->flags |= Q_DATA_INTERLACED_ALTERNATE; in __vpe_s_fmt()
1763 q_data->flags |= Q_DATA_INTERLACED_SEQ_TB; in __vpe_s_fmt()
1765 q_data->flags |= Q_DATA_INTERLACED_SEQ_BT; in __vpe_s_fmt()
1767 q_data->flags &= ~Q_IS_INTERLACED; in __vpe_s_fmt()
1770 if (q_data->flags & Q_IS_SEQ_XX) in __vpe_s_fmt()
1771 q_data->c_rect.height /= 2; in __vpe_s_fmt()
1806 struct vpe_q_data *q_data; in __vpe_try_selection() local
1814 q_data = get_q_data(ctx, s->type); in __vpe_try_selection()
1815 if (!q_data) in __vpe_try_selection()
1818 pix = &q_data->format.fmt.pix_mp; in __vpe_try_selection()
1849 if (q_data->flags & Q_IS_SEQ_XX) in __vpe_try_selection()
1875 struct vpe_q_data *q_data; in vpe_g_selection() local
1883 q_data = get_q_data(ctx, s->type); in vpe_g_selection()
1884 if (!q_data) in vpe_g_selection()
1887 pix = &q_data->format.fmt.pix_mp; in vpe_g_selection()
1919 s->r = q_data->c_rect; in vpe_g_selection()
1939 struct vpe_q_data *q_data; in vpe_s_selection() local
1947 q_data = get_q_data(ctx, sel.type); in vpe_s_selection()
1948 if (!q_data) in vpe_s_selection()
1951 if ((q_data->c_rect.left == sel.r.left) && in vpe_s_selection()
1952 (q_data->c_rect.top == sel.r.top) && in vpe_s_selection()
1953 (q_data->c_rect.width == sel.r.width) && in vpe_s_selection()
1954 (q_data->c_rect.height == sel.r.height)) { in vpe_s_selection()
1960 q_data->c_rect = sel.r; in vpe_s_selection()
2030 struct vpe_q_data *q_data; in vpe_queue_setup() local
2033 q_data = get_q_data(ctx, vq->type); in vpe_queue_setup()
2034 if (!q_data) in vpe_queue_setup()
2037 pix = &q_data->format.fmt.pix_mp; in vpe_queue_setup()
2055 struct vpe_q_data *q_data; in vpe_buf_prepare() local
2061 q_data = get_q_data(ctx, vb->vb2_queue->type); in vpe_buf_prepare()
2062 if (!q_data) in vpe_buf_prepare()
2065 pix = &q_data->format.fmt.pix_mp; in vpe_buf_prepare()
2068 if (!(q_data->flags & Q_IS_INTERLACED)) { in vpe_buf_prepare()
2105 struct vpe_q_data *s_q_data = &ctx->q_data[Q_DATA_SRC]; in check_srcdst_sizes()
2106 struct vpe_q_data *d_q_data = &ctx->q_data[Q_DATA_DST]; in check_srcdst_sizes()
2323 s_q_data = &ctx->q_data[Q_DATA_SRC]; in vpe_open()
2347 ctx->q_data[Q_DATA_DST] = *s_q_data; in vpe_open()
2348 ctx->q_data[Q_DATA_DST].format.type = in vpe_open()