Symbol: tpg_data
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
112
int tpg_alloc(struct tpg_data *tpg, unsigned max_w)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1124
static void tpg_precalculate_colors(struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1133
static void gen_twopix(struct tpg_data *tpg,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1545
unsigned tpg_g_interleaved_plane(const struct tpg_data *tpg, unsigned buf_line)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1572
static unsigned tpg_get_pat_lines(const struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1594
static unsigned tpg_get_pat_line(const struct tpg_data *tpg, unsigned line)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1624
static enum tpg_color tpg_get_color(const struct tpg_data *tpg,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1710
static void tpg_calculate_square_border(struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1790
static void tpg_precalculate_line(struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
186
void tpg_free(struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1969
static noinline void tpg_print_str_2(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2],
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1976
static noinline void tpg_print_str_4(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2],
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1983
static noinline void tpg_print_str_6(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2],
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1990
static noinline void tpg_print_str_8(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2],
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
1997
void tpg_gen_text(const struct tpg_data *tpg, u8 *basep[TPG_MAX_PLANES][2],
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2052
const char *tpg_g_color_order(const struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2076
void tpg_update_mv_step(struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
211
bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2126
static unsigned tpg_calc_frameline(const struct tpg_data *tpg, unsigned src_y,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2143
static unsigned tpg_calc_buffer_line(const struct tpg_data *tpg, unsigned y,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2161
static void tpg_recalc(struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2197
void tpg_calc_text_basep(struct tpg_data *tpg,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2217
static int tpg_pattern_avg(const struct tpg_data *tpg,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2246
void tpg_log_status(struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2298
static void tpg_fill_params_pattern(const struct tpg_data *tpg, unsigned p,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2311
static void tpg_fill_params_extras(const struct tpg_data *tpg,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2349
static void tpg_fill_plane_extras(const struct tpg_data *tpg,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2486
static void tpg_fill_plane_pattern(const struct tpg_data *tpg,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2629
void tpg_fill_plane_buffer(struct tpg_data *tpg, v4l2_std_id std,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
2713
void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std, unsigned p, u8 *vbuf)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
507
void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
523
void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
548
static enum tpg_color tpg_get_textbg_color(struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
560
static enum tpg_color tpg_get_textfg_color(struct tpg_data *tpg)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
585
static void color_to_hsv(struct tpg_data *tpg, int r, int g, int b,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
658
static void color_to_ycbcr(struct tpg_data *tpg, int r, int g, int b,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
772
static void ycbcr_to_color(struct tpg_data *tpg, int y, int cb, int cr,
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
883
static void precalculate_color(struct tpg_data *tpg, int k)
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c
89
void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h)
drivers/media/test-drivers/vimc/vimc-sensor.c
26
struct tpg_data tpg;
drivers/media/test-drivers/visl/visl-dec.c
31
static void *plane_vaddr(struct tpg_data *tpg, struct vb2_buffer *buf,
drivers/media/test-drivers/visl/visl.h
155
struct tpg_data tpg;
drivers/media/test-drivers/vivid/vivid-core.h
486
struct tpg_data tpg;
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
202
static void *plane_vaddr(struct tpg_data *tpg, struct vivid_buffer *buf,
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
221
struct tpg_data *tpg = &dev->tpg;
drivers/media/test-drivers/vivid/vivid-kthread-cap.c
390
struct tpg_data *tpg = &dev->tpg;
include/media/tpg/v4l2-tpg.h
236
void tpg_init(struct tpg_data *tpg, unsigned w, unsigned h);
include/media/tpg/v4l2-tpg.h
237
int tpg_alloc(struct tpg_data *tpg, unsigned max_w);
include/media/tpg/v4l2-tpg.h
238
void tpg_free(struct tpg_data *tpg);
include/media/tpg/v4l2-tpg.h
239
void tpg_reset_source(struct tpg_data *tpg, unsigned width, unsigned height,
include/media/tpg/v4l2-tpg.h
241
void tpg_log_status(struct tpg_data *tpg);
include/media/tpg/v4l2-tpg.h
244
void tpg_gen_text(const struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
246
void tpg_calc_text_basep(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
248
unsigned tpg_g_interleaved_plane(const struct tpg_data *tpg, unsigned buf_line);
include/media/tpg/v4l2-tpg.h
249
void tpg_fill_plane_buffer(struct tpg_data *tpg, v4l2_std_id std,
include/media/tpg/v4l2-tpg.h
251
void tpg_fillbuffer(struct tpg_data *tpg, v4l2_std_id std,
include/media/tpg/v4l2-tpg.h
253
bool tpg_s_fourcc(struct tpg_data *tpg, u32 fourcc);
include/media/tpg/v4l2-tpg.h
254
void tpg_s_crop_compose(struct tpg_data *tpg, const struct v4l2_rect *crop,
include/media/tpg/v4l2-tpg.h
256
const char *tpg_g_color_order(const struct tpg_data *tpg);
include/media/tpg/v4l2-tpg.h
258
static inline void tpg_s_pattern(struct tpg_data *tpg, enum tpg_pattern pattern)
include/media/tpg/v4l2-tpg.h
266
static inline void tpg_s_quality(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
276
static inline enum tpg_quality tpg_g_quality(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
281
static inline void tpg_s_alpha_component(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
290
static inline void tpg_s_alpha_mode(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
299
static inline void tpg_s_brightness(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
308
static inline void tpg_s_contrast(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
317
static inline void tpg_s_saturation(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
326
static inline void tpg_s_hue(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
336
static inline void tpg_s_rgb_range(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
345
static inline void tpg_s_real_rgb_range(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
354
static inline void tpg_s_colorspace(struct tpg_data *tpg, u32 colorspace)
include/media/tpg/v4l2-tpg.h
362
static inline u32 tpg_g_colorspace(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
367
static inline void tpg_s_ycbcr_enc(struct tpg_data *tpg, u32 ycbcr_enc)
include/media/tpg/v4l2-tpg.h
375
static inline u32 tpg_g_ycbcr_enc(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
380
static inline void tpg_s_hsv_enc(struct tpg_data *tpg, u32 hsv_enc)
include/media/tpg/v4l2-tpg.h
388
static inline u32 tpg_g_hsv_enc(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
393
static inline void tpg_s_xfer_func(struct tpg_data *tpg, u32 xfer_func)
include/media/tpg/v4l2-tpg.h
401
static inline u32 tpg_g_xfer_func(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
406
static inline void tpg_s_quantization(struct tpg_data *tpg, u32 quantization)
include/media/tpg/v4l2-tpg.h
414
static inline u32 tpg_g_quantization(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
419
static inline unsigned tpg_g_buffers(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
424
static inline unsigned tpg_g_planes(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
429
static inline bool tpg_g_interleaved(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
434
static inline unsigned tpg_g_twopixelsize(const struct tpg_data *tpg, unsigned plane)
include/media/tpg/v4l2-tpg.h
439
static inline unsigned tpg_hdiv(const struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
446
static inline unsigned tpg_hscale(const struct tpg_data *tpg, unsigned x)
include/media/tpg/v4l2-tpg.h
451
static inline unsigned tpg_hscale_div(const struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
457
static inline unsigned tpg_g_bytesperline(const struct tpg_data *tpg, unsigned plane)
include/media/tpg/v4l2-tpg.h
462
static inline void tpg_s_bytesperline(struct tpg_data *tpg, unsigned plane, unsigned bpl)
include/media/tpg/v4l2-tpg.h
481
static inline unsigned tpg_g_line_width(const struct tpg_data *tpg, unsigned plane)
include/media/tpg/v4l2-tpg.h
496
static inline unsigned tpg_calc_line_width(const struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
513
static inline unsigned tpg_calc_plane_size(const struct tpg_data *tpg, unsigned plane)
include/media/tpg/v4l2-tpg.h
522
static inline void tpg_s_buf_height(struct tpg_data *tpg, unsigned h)
include/media/tpg/v4l2-tpg.h
527
static inline void tpg_s_field(struct tpg_data *tpg, unsigned field, bool alternate)
include/media/tpg/v4l2-tpg.h
533
static inline void tpg_s_perc_fill(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
539
static inline unsigned tpg_g_perc_fill(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
544
static inline void tpg_s_perc_fill_blank(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
550
static inline void tpg_s_video_aspect(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
559
static inline enum tpg_video_aspect tpg_g_video_aspect(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
564
static inline void tpg_s_pixel_aspect(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
573
static inline void tpg_s_show_border(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
579
static inline void tpg_s_show_square(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
585
static inline void tpg_s_insert_sav(struct tpg_data *tpg, bool insert_sav)
include/media/tpg/v4l2-tpg.h
590
static inline void tpg_s_insert_eav(struct tpg_data *tpg, bool insert_eav)
include/media/tpg/v4l2-tpg.h
604
static inline void tpg_s_insert_hdmi_video_guard_band(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
610
void tpg_update_mv_step(struct tpg_data *tpg);
include/media/tpg/v4l2-tpg.h
612
static inline void tpg_s_mv_hor_mode(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
619
static inline void tpg_s_mv_vert_mode(struct tpg_data *tpg,
include/media/tpg/v4l2-tpg.h
626
static inline void tpg_init_mv_count(struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
631
static inline void tpg_update_mv_count(struct tpg_data *tpg, bool frame_is_field)
include/media/tpg/v4l2-tpg.h
637
static inline void tpg_s_hflip(struct tpg_data *tpg, bool hflip)
include/media/tpg/v4l2-tpg.h
646
static inline bool tpg_g_hflip(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
651
static inline void tpg_s_vflip(struct tpg_data *tpg, bool vflip)
include/media/tpg/v4l2-tpg.h
656
static inline bool tpg_g_vflip(const struct tpg_data *tpg)
include/media/tpg/v4l2-tpg.h
661
static inline bool tpg_pattern_is_static(const struct tpg_data *tpg)