Searched refs:win (Results 1 - 25 of 56) sorted by relevance

123

/drivers/media/video/omap/
H A Domap_voutlib.c107 * successful, new_win, vout->win, and crop are updated.
112 struct v4l2_window *win, struct v4l2_framebuffer *fbuf,
122 win->w = new_win->w;
123 win->field = new_win->field;
124 win->chromakey = new_win->chromakey;
129 if ((crop->height/win->w.height) >= 2)
130 crop->height = win->w.height * 2;
132 if ((crop->width/win->w.width) >= 2)
133 crop->width = win->w.width * 2;
140 if (crop->height != win
111 omap_vout_new_window(struct v4l2_rect *crop, struct v4l2_window *win, struct v4l2_framebuffer *fbuf, struct v4l2_window *new_win) argument
165 omap_vout_new_crop(struct v4l2_pix_format *pix, struct v4l2_rect *crop, struct v4l2_window *win, struct v4l2_framebuffer *fbuf, const struct v4l2_rect *new_crop) argument
281 omap_vout_new_format(struct v4l2_pix_format *pix, struct v4l2_framebuffer *fbuf, struct v4l2_rect *crop, struct v4l2_window *win) argument
[all...]
H A Domap_voutlib.h19 struct v4l2_rect *crop, struct v4l2_window *win,
27 struct v4l2_window *win, struct v4l2_framebuffer *fbuf,
32 struct v4l2_window *win);
H A Domap_vout.c412 info.global_alpha = vout->win.global_alpha;
449 struct v4l2_window *win; local
455 win = &vout->win;
463 outw = win->w.width;
464 outh = win->w.height;
473 posy = (timing->y_res - win->w.width) - win->w.left;
474 posx = win->w.top;
478 posx = (timing->x_res - win
1181 struct v4l2_window *win = &f->fmt.win; local
1205 struct v4l2_window *win = &f->fmt.win; local
1248 struct v4l2_window *win = &f->fmt.win; local
[all...]
/drivers/video/
H A Ds3c-fb.c63 #define OSD_BASE(win, variant) ((variant).osd + ((win) * (variant).osd_stride))
64 #define VIDOSD_A(win, variant) (OSD_BASE(win, variant) + 0x00)
65 #define VIDOSD_B(win, variant) (OSD_BASE(win, variant) + 0x04)
66 #define VIDOSD_C(win, variant) (OSD_BASE(win, variant) + 0x08)
67 #define VIDOSD_D(win, variant) (OSD_BASE(win, varian
135 struct s3c_fb_win_variant *win[S3C_FB_MAX_WIN]; member in struct:s3c_fb_driverdata
227 s3c_fb_validate_win_bpp(struct s3c_fb_win *win, unsigned int bpp) argument
243 struct s3c_fb_win *win = info->par; local
391 vidosd_set_size(struct s3c_fb_win *win, u32 size) argument
407 vidosd_set_alpha(struct s3c_fb_win *win, u32 alpha) argument
421 shadow_protect_win(struct s3c_fb_win *win, bool protect) argument
487 struct s3c_fb_win *win = info->par; local
716 s3c_fb_update_palette(struct s3c_fb *sfb, struct s3c_fb_win *win, unsigned int reg, u32 value) argument
763 struct s3c_fb_win *win = info->par; local
816 struct s3c_fb_win *win = info->par; local
902 struct s3c_fb_win *win = info->par; local
1052 struct s3c_fb_win *win = info->par; local
1115 s3c_fb_alloc_memory(struct s3c_fb *sfb, struct s3c_fb_win *win) argument
1162 s3c_fb_free_memory(struct s3c_fb *sfb, struct s3c_fb_win *win) argument
1178 s3c_fb_release_win(struct s3c_fb *sfb, struct s3c_fb_win *win) argument
1213 struct s3c_fb_win *win; local
1326 s3c_fb_clear_win(struct s3c_fb *sfb, int win) argument
1347 int win; local
1522 int win; local
1556 struct s3c_fb_win *win; local
1580 struct s3c_fb_win *win; local
[all...]
H A Dau1200fb.c180 static struct window_settings *win; variable in typeref:struct:window_settings
724 xsz = win->w[plane].xres;
725 ysz = win->w[plane].yres;
726 if ((xpos + win->w[plane].xres) > panel->Xres) {
732 if ((ypos + win->w[plane].yres) > panel->Yres) {
740 xsz = win->w[plane].xres + xpos;
748 ysz = win->w[plane].yres + ypos;
755 win->w[plane].xpos = xpos;
756 win->w[plane].ypos = ypos;
855 au1200_setlocation(fbdev, 0, win
[all...]
/drivers/media/video/
H A Dbtcx-risc.c92 btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win, argument
95 if (win->left < 0) {
99 clips[n].c.width = -win->left;
100 clips[n].c.height = win->height;
103 if (win->left + win->width > swidth) {
105 clips[n].c.left = swidth - win->left;
107 clips[n].c.width = win->width - clips[n].c.left;
108 clips[n].c.height = win->height;
111 if (win
131 btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips, unsigned int n, int mask) argument
[all...]
H A Dbtcx-risc.h21 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win,
23 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
H A Dov772x.c408 const struct ov772x_win_size *win; member in struct:ov772x_priv
583 if (!priv->win || !priv->cfmt) {
584 dev_err(&client->dev, "norm or win select error\n");
590 dev_dbg(&client->dev, "format %d, win %s\n",
591 priv->cfmt->code, priv->win->name);
689 const struct ov772x_win_size *win; local
694 win = &ov772x_win_qvga;
700 win = &ov772x_win_vga;
702 return win;
727 * select win
921 const struct ov772x_win_size *win; local
[all...]
H A Dfsl-viu.c203 struct v4l2_window win; member in struct:viu_fh
709 f->fmt.win = fh->win;
713 static int verify_preview(struct viu_dev *dev, struct v4l2_window *win) argument
722 if (win->w.width < 48 || win->w.height < 32)
725 field = win->field;
730 field = (win->w.height > maxh/2)
745 win->field = field;
746 if (win
[all...]
/drivers/net/wireless/iwlegacy/
H A D3945-rs.c133 il3945_clear_win(struct il3945_rate_scale_data *win) argument
135 win->data = 0;
136 win->success_counter = 0;
137 win->success_ratio = -1;
138 win->counter = 0;
139 win->average_tpt = IL_INVALID_VALUE;
140 win->stamp = 0;
164 if (!rs_sta->win[i].counter)
168 if (time_after(jiffies, rs_sta->win[i].stamp + RATE_WIN_FLUSH)) {
170 rs_sta->win[
256 il3945_collect_tx_data(struct il3945_rs_sta *rs_sta, struct il3945_rate_scale_data *win, int success, int retries, int idx) argument
634 struct il3945_rate_scale_data *win = NULL; local
[all...]
H A D4965-rs.c47 #define RATE_MAX_WINDOW 62 /* # tx in history win */
230 il4965_rs_rate_scale_clear_win(struct il_rate_scale_data *win) argument
232 win->data = 0;
233 win->success_counter = 0;
234 win->success_ratio = IL_INVALID_VALUE;
235 win->counter = 0;
236 win->average_tpt = IL_INVALID_VALUE;
237 win->stamp = 0;
413 * il4965_rs_collect_tx_data - Update the success/failure sliding win
415 * We keep a sliding win o
423 struct il_rate_scale_data *win = NULL; local
1292 struct il_rate_scale_data *win = &(tbl->win[idx]); local
1412 struct il_rate_scale_data *win = &(tbl->win[idx]); local
1535 struct il_rate_scale_data *win = &(tbl->win[idx]); local
1764 struct il_rate_scale_data *win = NULL; local
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_fimd.c37 #define VIDOSD_A(win) (VIDOSD_BASE + 0x00 + (win) * 16)
38 #define VIDOSD_B(win) (VIDOSD_BASE + 0x04 + (win) * 16)
42 #define VIDOSD_C(win) (VIDOSD_BASE + 0x18 + (win) * 16)
44 #define VIDOSD_D(win) (VIDOSD_BASE + 0x0C + (win) * 16)
46 #define VIDWx_BUF_START(win, buf) (VIDW_BUF_START(buf) + (win) *
302 int win; local
350 fimd_win_set_pixfmt(struct device *dev, unsigned int win) argument
411 fimd_win_set_colkey(struct device *dev, unsigned int win) argument
431 int win = zpos; local
542 int win = zpos; local
725 fimd_clear_win(struct fimd_context *ctx, int win) argument
792 int win; local
[all...]
H A Dexynos_mixer.c279 static void mixer_cfg_layer(struct mixer_context *ctx, int win, bool enable) argument
284 switch (win) {
307 static void vp_video_buffer(struct mixer_context *ctx, int win) argument
322 win_data = &ctx->win_data[win];
430 mixer_cfg_layer(ctx, win, true);
439 static void mixer_graph_buffer(struct mixer_context *ctx, int win) argument
452 win_data = &ctx->win_data[win];
502 mixer_reg_writemask(res, MXR_GRAPHIC_CFG(win),
506 mixer_reg_write(res, MXR_GRAPHIC_SPAN(win), full_width);
512 mixer_reg_write(res, MXR_GRAPHIC_WH(win), va
583 int win; local
635 int win = zpos; local
658 int win = zpos; local
[all...]
/drivers/media/video/davinci/
H A Dvpbe_osd.c464 struct osd_window_state *win = &osd->win[layer]; local
469 if (!win->is_enabled) {
473 win->is_enabled = 0;
510 struct osd_window_state *win = &osd->win[layer]; local
511 struct osd_layer_config *cfg = &win->lconfig;
520 if (!otherwin && (!win->is_allocated ||
521 !win->fb_base_phys ||
529 if (win
614 struct osd_window_state *win = &sd->win[layer]; local
737 struct osd_window_state *win = &osd->win[layer]; local
760 struct osd_window_state *win = &osd->win[layer]; local
786 struct osd_window_state *win = &osd->win[layer]; local
1221 struct osd_window_state *win = &osd->win[layer]; local
1360 struct osd_window_state *win = &osd->win[layer]; local
1424 struct osd_window_state *win = &osd->win[layer]; local
1446 struct osd_window_state *win = &osd->win[layer]; local
[all...]
H A Disif.c102 .win = ISIF_WIN_NTSC,
112 .win = ISIF_WIN_VGA,
638 val |= ((params->win.width + 31) >> 5);
640 val |= (((params->win.width +
641 (params->win.width >> 2)) + 31) >> 5);
643 val |= (((params->win.width * 2) + 31) >> 5);
670 isif_setwin(&params->win, params->frm_fmt, 1);
698 frame_size.hlpfr = isif_cfg.bayer.win.width;
699 frame_size.pplen = isif_cfg.bayer.win.height;
796 static int isif_set_image_window(struct v4l2_rect *win) argument
812 isif_get_image_window(struct v4l2_rect *win) argument
[all...]
H A Dccdc_hw_device.h77 int (*set_image_window) (struct v4l2_rect *win);
79 void (*get_image_window) (struct v4l2_rect *win);
H A Ddm644x_ccdc.c74 .win = CCDC_WIN_VGA,
85 .win = CCDC_WIN_PAL,
424 ccdc_setwin(&params->win, params->frm_fmt, 2);
442 regw(((params->win.width * 2 + 31) & ~0x1f), CCDC_HSIZE_OFF);
570 ccdc_setwin(&params->win, params->frm_fmt, CCDC_PPC_RAW);
612 val = ((params->win.left & CCDC_FMT_HORZ_FMTSPH_MASK) <<
614 (params->win.width & CCDC_FMT_HORZ_FMTLNH_MASK);
618 val = (params->win.top & CCDC_FMT_VERT_FMTSLV_MASK)
621 val |= (params->win.height) & CCDC_FMT_VERT_FMTLNV_MASK;
623 val |= (params->win
772 ccdc_set_image_window(struct v4l2_rect *win) argument
781 ccdc_get_image_window(struct v4l2_rect *win) argument
[all...]
H A Ddm355_ccdc.c73 .win = CCDC_WIN_VGA,
110 .win = CCDC_WIN_PAL,
395 ccdc_setwin(&params->win, params->frm_fmt, 2);
407 regw(((params->win.width * 2 + 31) >> 5), HSIZE);
696 ccdc_setwin(&params->win, params->frm_fmt, 1);
734 val |= (((params->win.width) + 31) >> 5) &
739 (((params->win.width) + 31) >> 5) &
743 val |= (((params->win.width * 2) + 31) >> 5) &
747 (((params->win.width * 2) + 31) >> 5) &
861 static int ccdc_set_image_window(struct v4l2_rect *win) argument
870 ccdc_get_image_window(struct v4l2_rect *win) argument
[all...]
/drivers/pcmcia/
H A Dpcmcia_cis.c216 i = (io->win[1].len > io->win[0].len);
218 p_dev->resource[1]->start = io->win[1-i].base;
219 p_dev->resource[1]->end = io->win[1-i].len;
221 p_dev->resource[0]->start = io->win[i].base;
222 p_dev->resource[0]->end = io->win[i].len;
235 p_dev->resource[2]->start = mem->win[0].host_addr;
236 p_dev->resource[2]->end = mem->win[0].len;
239 p_dev->card_addr = mem->win[0].card_addr;
H A Dpcmcia_resource.c239 s->win[w].card_start = offset;
240 ret = s->ops->set_mem_map(s, &s->win[w]);
435 pccard_mem_map *win; local
445 win = &s->win[w];
454 win->flags &= ~MAP_ACTIVE;
455 s->ops->set_mem_map(s, win);
459 if (win->res) {
461 release_resource(win->res);
462 kfree(win
882 pccard_mem_map *win; local
[all...]
/drivers/video/omap/
H A Domapfb_main.c737 struct omapfb_update_window *win,
761 if (win->x >= xres || win->y >= yres ||
762 win->out_x > xres || win->out_y > yres)
769 if (win->x + win->width > xres)
770 win->width = xres - win->x;
771 if (win
736 omapfb_update_window_async(struct fb_info *fbi, struct omapfb_update_window *win, void (*callback)(void *), void *callback_data) argument
784 omapfb_update_win(struct fb_info *fbi, struct omapfb_update_window *win) argument
801 struct omapfb_update_window win; local
1093 struct omapfb_update_window win; local
[all...]
H A Domapfb.h160 struct omapfb_update_window *win,
225 struct omapfb_update_window *win,
/drivers/media/common/
H A Dsaa7146_video.c142 fmt.fmt.win = fh->ov.win;
148 fh->ov.win = fmt.fmt.win;
152 fh->ov.win.w.width, fh->ov.win.w.height,
153 fh->ov.win.w.left, fh->ov.win.w.top,
154 vv->ov_fmt->name, v4l2_field_names[fh->ov.win.field]);
737 f->fmt.win
816 struct v4l2_window *win = &f->fmt.win; local
[all...]
/drivers/media/video/gspca/stv06xx/
H A Dstv06xx_hdcs.c379 u8 win[4]; local
408 win[0] = y / 4;
409 win[1] = x / 4;
410 win[2] = (y + height) / 4 - 1;
411 win[3] = (x + width) / 4 - 1;
413 err = hdcs_reg_write_seq(sd, HDCS_FWROW, win, 4);
/drivers/infiniband/hw/cxgb3/
H A Diwch_cm.h206 static inline int compute_wscale(int win) argument
210 while (wscale < 14 && (65535<<wscale) < win)

Completed in 207 milliseconds

123