/drivers/usb/host/ |
H A D | xhci-mvebu.c | 24 int win; local 27 for (win = 0; win < USB3_MAX_WINDOWS; win++) { 28 writel(0, base + USB3_WIN_CTRL(win)); 29 writel(0, base + USB3_WIN_BASE(win)); 33 for (win = 0; win < dram->num_cs; win++) { 34 const struct mbus_dram_window *cs = dram->cs + win; [all...] |
/drivers/media/platform/omap/ |
H A D | omap_voutlib.c | 107 * 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 D | omap_voutlib.h | 19 struct v4l2_rect *crop, struct v4l2_window *win, 27 struct v4l2_window *win, struct v4l2_framebuffer *fbuf, 32 struct v4l2_window *win);
|
/drivers/video/fbdev/ |
H A D | s3c-fb.c | 63 #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 139 struct s3c_fb_win_variant *win[S3C_FB_MAX_WIN]; member in struct:s3c_fb_driverdata 229 s3c_fb_validate_win_bpp(struct s3c_fb_win *win, unsigned int bpp) argument 245 struct s3c_fb_win *win = info->par; local 395 vidosd_set_size(struct s3c_fb_win *win, u32 size) argument 411 vidosd_set_alpha(struct s3c_fb_win *win, u32 alpha) argument 425 shadow_protect_win(struct s3c_fb_win *win, bool protect) argument 491 struct s3c_fb_win *win = info->par; local 699 s3c_fb_update_palette(struct s3c_fb *sfb, struct s3c_fb_win *win, unsigned int reg, u32 value) argument 746 struct s3c_fb_win *win = info->par; local 799 struct s3c_fb_win *win = info->par; local 870 struct s3c_fb_win *win = info->par; local 1020 struct s3c_fb_win *win = info->par; local 1083 s3c_fb_alloc_memory(struct s3c_fb *sfb, struct s3c_fb_win *win) argument 1129 s3c_fb_free_memory(struct s3c_fb *sfb, struct s3c_fb_win *win) argument 1145 s3c_fb_release_win(struct s3c_fb *sfb, struct s3c_fb_win *win) argument 1180 struct s3c_fb_win *win; local 1342 s3c_fb_clear_win(struct s3c_fb *sfb, int win) argument 1369 int win; local 1524 int win; local 1547 struct s3c_fb_win *win; local 1575 struct s3c_fb_win *win; local [all...] |
/drivers/media/common/ |
H A D | btcx-risc.c | 92 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 D | btcx-risc.h | 21 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win, 23 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
|
/drivers/net/wireless/iwlegacy/ |
H A D | 3945-rs.c | 132 il3945_clear_win(struct il3945_rate_scale_data *win) argument 134 win->data = 0; 135 win->success_counter = 0; 136 win->success_ratio = -1; 137 win->counter = 0; 138 win->average_tpt = IL_INVALID_VALUE; 139 win->stamp = 0; 163 if (!rs_sta->win[i].counter) 167 if (time_after(jiffies, rs_sta->win[i].stamp + RATE_WIN_FLUSH)) { 169 rs_sta->win[ 255 il3945_collect_tx_data(struct il3945_rs_sta *rs_sta, struct il3945_rate_scale_data *win, int success, int retries, int idx) argument 633 struct il3945_rate_scale_data *win = NULL; local [all...] |
H A D | 4965-rs.c | 46 #define RATE_MAX_WINDOW 62 /* # tx in history win */ 229 il4965_rs_rate_scale_clear_win(struct il_rate_scale_data *win) argument 231 win->data = 0; 232 win->success_counter = 0; 233 win->success_ratio = IL_INVALID_VALUE; 234 win->counter = 0; 235 win->average_tpt = IL_INVALID_VALUE; 236 win->stamp = 0; 412 * il4965_rs_collect_tx_data - Update the success/failure sliding win 414 * We keep a sliding win o 422 struct il_rate_scale_data *win = NULL; local 1281 struct il_rate_scale_data *win = &(tbl->win[idx]); local 1401 struct il_rate_scale_data *win = &(tbl->win[idx]); local 1524 struct il_rate_scale_data *win = &(tbl->win[idx]); local 1752 struct il_rate_scale_data *win = NULL; local [all...] |
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fimd.c | 47 #define VIDOSD_A(win) (VIDOSD_BASE + 0x00 + (win) * 16) 48 #define VIDOSD_B(win) (VIDOSD_BASE + 0x04 + (win) * 16) 53 #define VIDOSD_C(win) (VIDOSD_BASE + 0x08 + (win) * 16) 55 #define VIDOSD_D(win) (VIDOSD_BASE + 0x0C + (win) * 16) 57 #define VIDWx_BUF_START(win, buf) (VIDW_BUF_START(buf) + (win) * 220 int win, ch_enabled = 0; local 470 int win; local 514 fimd_win_set_pixfmt(struct fimd_context *ctx, unsigned int win) argument 584 fimd_win_set_colkey(struct fimd_context *ctx, unsigned int win) argument 603 fimd_shadow_protect_win(struct fimd_context *ctx, int win, bool protect) argument 628 int win = zpos; local 757 int win = zpos; local [all...] |
H A D | exynos_drm_vidi.c | 157 int win; local 165 win = overlay->zpos; 166 if (win == DEFAULT_ZPOS) 167 win = ctx->default_win; 169 if (win < 0 || win >= WINDOWS_NR) 177 win_data = &ctx->win_data[win]; 209 int win = zpos; local 214 if (win == DEFAULT_ZPOS) 215 win 234 int win = zpos; local [all...] |
/drivers/bus/ |
H A D | mvebu-mbus.c | 102 unsigned int (*win_cfg_offset)(const int win); 134 int win, int *enabled, u64 *base, 139 mbus->soc->win_cfg_offset(win); 160 if (win < mbus->soc->num_remappable_wins) { 170 int win) 174 addr = mbus->mbuswins_base + mbus->soc->win_cfg_offset(win); 178 if (win < mbus->soc->num_remappable_wins) { 186 const int win) 189 mbus->soc->win_cfg_offset(win); 203 int win; local 133 mvebu_mbus_read_window(struct mvebu_mbus_state *mbus, int win, int *enabled, u64 *base, u32 *size, u8 *target, u8 *attr, u64 *remap) argument 169 mvebu_mbus_disable_window(struct mvebu_mbus_state *mbus, int win) argument 185 mvebu_mbus_window_is_free(struct mvebu_mbus_state *mbus, const int win) argument 234 int win; local 255 mvebu_mbus_setup_window(struct mvebu_mbus_state *mbus, int win, phys_addr_t base, size_t size, phys_addr_t remap, u8 target, u8 attr) argument 299 int win; local 401 int win; local 452 orion_mbus_win_offset(int win) argument 457 armada_370_xp_mbus_win_offset(int win) argument 477 mv78xx0_mbus_win_offset(int win) argument 651 int win; local 707 int win; local [all...] |
/drivers/ata/ |
H A D | ahci_mvebu.c | 25 #define AHCI_WINDOW_CTRL(win) (0x60 + ((win) << 4)) 26 #define AHCI_WINDOW_BASE(win) (0x64 + ((win) << 4)) 27 #define AHCI_WINDOW_SIZE(win) (0x68 + ((win) << 4))
|
/drivers/media/platform/davinci/ |
H A D | vpbe_osd.c | 481 struct osd_window_state *win = &osd->win[layer]; local 486 if (!win->is_enabled) { 490 win->is_enabled = 0; 527 struct osd_window_state *win = &osd->win[layer]; local 528 struct osd_layer_config *cfg = &win->lconfig; 537 if (!otherwin && (!win->is_allocated || 538 !win->fb_base_phys || 546 if (win 631 struct osd_window_state *win = &sd->win[layer]; local 754 struct osd_window_state *win = &osd->win[layer]; local 777 struct osd_window_state *win = &osd->win[layer]; local 803 struct osd_window_state *win = &osd->win[layer]; local 1238 struct osd_window_state *win = &osd->win[layer]; local 1377 struct osd_window_state *win = &osd->win[layer]; local 1441 struct osd_window_state *win = &osd->win[layer]; local 1463 struct osd_window_state *win = &osd->win[layer]; local [all...] |
H A D | isif.c | 100 .win = ISIF_WIN_NTSC, 110 .win = ISIF_WIN_VGA, 636 val |= ((params->win.width + 31) >> 5); 638 val |= (((params->win.width + 639 (params->win.width >> 2)) + 31) >> 5); 641 val |= (((params->win.width * 2) + 31) >> 5); 668 isif_setwin(¶ms->win, params->frm_fmt, 1); 696 frame_size.hlpfr = isif_cfg.bayer.win.width; 697 frame_size.pplen = isif_cfg.bayer.win.height; 794 static int isif_set_image_window(struct v4l2_rect *win) argument 810 isif_get_image_window(struct v4l2_rect *win) argument [all...] |
H A D | ccdc_hw_device.h | 77 int (*set_image_window) (struct v4l2_rect *win); 79 void (*get_image_window) (struct v4l2_rect *win);
|
H A D | dm644x_ccdc.c | 69 .win = CCDC_WIN_VGA, 80 .win = CCDC_WIN_PAL, 422 ccdc_setwin(¶ms->win, params->frm_fmt, 2); 440 regw(((params->win.width * 2 + 31) & ~0x1f), CCDC_HSIZE_OFF); 568 ccdc_setwin(¶ms->win, params->frm_fmt, CCDC_PPC_RAW); 605 val = ((params->win.left & CCDC_FMT_HORZ_FMTSPH_MASK) << 607 (params->win.width & CCDC_FMT_HORZ_FMTLNH_MASK); 611 val = (params->win.top & CCDC_FMT_VERT_FMTSLV_MASK) 614 val |= (params->win.height) & CCDC_FMT_VERT_FMTLNV_MASK; 616 val |= (params->win 765 ccdc_set_image_window(struct v4l2_rect *win) argument 774 ccdc_get_image_window(struct v4l2_rect *win) argument [all...] |
/drivers/gpu/drm/omapdrm/ |
H A D | omap_fb.c | 160 struct omap_drm_window *win, struct omap_overlay_info *info) 169 info->pos_x = win->crtc_x; 170 info->pos_y = win->crtc_y; 171 info->out_width = win->crtc_w; 172 info->out_height = win->crtc_h; 173 info->width = win->src_w; 174 info->height = win->src_h; 176 x = win->src_x; 177 y = win->src_y; 180 uint32_t w = win 159 omap_framebuffer_update_scanout(struct drm_framebuffer *fb, struct omap_drm_window *win, struct omap_overlay_info *info) argument [all...] |
H A D | omap_plane.c | 50 struct omap_drm_window win; member in struct:omap_plane 117 struct omap_drm_window *win = &omap_plane->win; local 140 omap_framebuffer_update_scanout(plane->fb, win, info); 205 struct omap_drm_window *win = &omap_plane->win; local 207 win->crtc_x = crtc_x; 208 win->crtc_y = crtc_y; 209 win->crtc_w = crtc_w; 210 win [all...] |
/drivers/media/platform/vivid/ |
H A D | vivid-vid-out.c | 797 struct v4l2_window *win = &f->fmt.win; local 798 unsigned clipcount = win->clipcount; 802 win->w.top = dev->overlay_out_top; 803 win->w.left = dev->overlay_out_left; 804 win->w.width = compose->width; 805 win->w.height = compose->height; 806 win->clipcount = dev->clipcount_out; 807 win->field = V4L2_FIELD_ANY; 808 win 832 struct v4l2_window *win = &f->fmt.win; local 890 struct v4l2_window *win = &f->fmt.win; local [all...] |
H A D | vivid-vid-cap.c | 1014 struct v4l2_window *win = &f->fmt.win; local 1015 unsigned clipcount = win->clipcount; 1017 win->w.top = dev->overlay_cap_top; 1018 win->w.left = dev->overlay_cap_left; 1019 win->w.width = compose->width; 1020 win->w.height = compose->height; 1021 win->field = dev->overlay_cap_field; 1022 win->clipcount = dev->clipcount_cap; 1026 win 1045 struct v4l2_window *win = &f->fmt.win; local 1100 struct v4l2_window *win = &f->fmt.win; local [all...] |
/drivers/media/i2c/soc_camera/ |
H A D | ov772x.c | 399 const struct ov772x_win_size *win; member in struct:ov772x_priv 568 dev_dbg(&client->dev, "format %d, win %s\n", 569 priv->cfmt->code, priv->win->name); 664 const struct ov772x_win_size *win = &ov772x_win_sizes[0]; local 673 win = &ov772x_win_sizes[i]; 677 return win; 682 const struct ov772x_win_size **win) 697 *win = ov772x_select_win(mf->width, mf->height); 702 const struct ov772x_win_size *win) 761 ret = ov772x_write(client, HSTART, win 680 ov772x_select_params(const struct v4l2_mbus_framefmt *mf, const struct ov772x_color_format **cfmt, const struct ov772x_win_size **win) argument 700 ov772x_set_params(struct ov772x_priv *priv, const struct ov772x_color_format *cfmt, const struct ov772x_win_size *win) argument 897 const struct ov772x_win_size *win; local 922 const struct ov772x_win_size *win; local [all...] |
/drivers/pci/host/ |
H A D | pci-host-generic.c | 36 void __iomem **win; member in struct:gen_pci_cfg_windows 55 return pci->cfg.win[idx] + ((devfn << 8) | where); 71 return pci->cfg.win[idx] + ((devfn << 12) | where); 182 struct pci_host_bridge_window *win; local 184 list_for_each_entry(win, &pci->resources, list) 185 release_resource(win->res); 279 pci->cfg.win = devm_kcalloc(dev, resource_size(&pci->cfg.bus_range), 280 sizeof(*pci->cfg.win), GFP_KERNEL); 281 if (!pci->cfg.win) 301 pci->cfg.win[id [all...] |
/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.c | 138 tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt); 142 static void overlay_set_win(struct mmp_overlay *overlay, struct mmp_win *win) argument 146 /* assert win supported */ 147 memcpy(&overlay->win, win, sizeof(struct mmp_win)); 152 writel_relaxed(win->pitch[0], ®s->v_pitch_yc); 153 writel_relaxed(win->pitch[2] << 16 | 154 win->pitch[1], ®s->v_pitch_uv); 156 writel_relaxed((win->ysrc << 16) | win [all...] |
/drivers/scsi/csiostor/ |
H A D | csio_hw_t4.c | 75 csio_t4_set_mem_win(struct csio_hw *hw, uint32_t win) argument 101 PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_BASE_WIN, win)); 103 PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_BASE_WIN, win)); 278 * @win: PCI-E memory Window to use 293 csio_t4_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, argument 332 PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_BASE_WIN, win)); 359 PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_OFFSET, win)); 361 PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_OFFSET, win));
|
H A D | csio_hw_t5.c | 38 csio_t5_set_mem_win(struct csio_hw *hw, uint32_t win) argument 61 PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_BASE_WIN, win)); 63 PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_BASE_WIN, win)); 267 * @win: PCI-E memory Window to use 282 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, argument 323 PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_BASE_WIN, win)); 347 PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_OFFSET, win)); 349 PCIE_MEM_ACCESS_REG(PCIE_MEM_ACCESS_OFFSET, win));
|