/drivers/of/ |
D | overlay.c | 58 static int of_overlay_apply_one(struct of_overlay *ov, 61 static int of_overlay_apply_single_property(struct of_overlay *ov, in of_overlay_apply_single_property() argument 81 return of_changeset_add_property(&ov->cset, target, propn); in of_overlay_apply_single_property() 84 return of_changeset_update_property(&ov->cset, target, propn); in of_overlay_apply_single_property() 87 static int of_overlay_apply_single_device_node(struct of_overlay *ov, in of_overlay_apply_single_device_node() argument 102 ret = of_overlay_apply_one(ov, tchild, child); in of_overlay_apply_single_device_node() 113 ret = of_changeset_attach_node(&ov->cset, tchild); in of_overlay_apply_single_device_node() 117 ret = of_overlay_apply_one(ov, tchild, child); in of_overlay_apply_single_device_node() 132 static int of_overlay_apply_one(struct of_overlay *ov, in of_overlay_apply_one() argument 140 ret = of_overlay_apply_single_property(ov, target, prop); in of_overlay_apply_one() [all …]
|
/drivers/media/pci/bt8xx/ |
D | bttv-risc.c | 247 const struct bttv_format *fmt, struct bttv_overlay *ov, in bttv_risc_overlay() argument 258 if (NULL == (skips = kmalloc(sizeof(*skips) * ov->nclips,GFP_KERNEL))) in bttv_risc_overlay() 263 dwords = (3 * ov->nclips + 2) * in bttv_risc_overlay() 264 ((skip_even || skip_odd) ? (ov->w.height+1)>>1 : ov->w.height); in bttv_risc_overlay() 277 addr += btv->fbuf.fmt.bytesperline * ov->w.top; in bttv_risc_overlay() 278 addr += (fmt->depth >> 3) * ov->w.left; in bttv_risc_overlay() 281 for (maxy = -1, line = 0; line < ov->w.height; in bttv_risc_overlay() 284 (line >= (ov->w.height - VCR_HACK_LINES))) in bttv_risc_overlay() 293 btcx_calc_skips(line, ov->w.width, &maxy, in bttv_risc_overlay() 294 skips, &nskips, ov->clips, ov->nclips); in bttv_risc_overlay() [all …]
|
D | bttv-driver.c | 2207 kfree(fh->ov.clips); in setup_window_lock() 2208 fh->ov.clips = clips; in setup_window_lock() 2209 fh->ov.nclips = n; in setup_window_lock() 2211 fh->ov.w = win->w; in setup_window_lock() 2212 fh->ov.field = win->field; in setup_window_lock() 2213 fh->ov.setup_ok = 1; in setup_window_lock() 2215 btv->init.ov.w.width = win->w.width; in setup_window_lock() 2216 btv->init.ov.w.height = win->w.height; in setup_window_lock() 2217 btv->init.ov.field = win->field; in setup_window_lock() 2226 bttv_overlay_risc(btv, &fh->ov, fh->ovfmt, new); in setup_window_lock() [all …]
|
D | bttvp.h | 233 struct bttv_overlay ov; member 272 int bttv_overlay_risc(struct bttv *btv, struct bttv_overlay *ov,
|
/drivers/gpu/drm/armada/ |
D | armada_drm.h | 24 uint32_t ov, v; in armada_updatel() local 26 ov = v = readl_relaxed(ptr); in armada_updatel() 28 if (ov != v) in armada_updatel()
|
/drivers/media/common/saa7146/ |
D | saa7146_hlp.c | 343 int width = vv->ov.win.w.width; in calculate_clipping_registers_rect() 344 int height = vv->ov.win.w.height; in calculate_clipping_registers_rect() 345 int clipcount = vv->ov.nclips; in calculate_clipping_registers_rect() 365 x[i] = vv->ov.clips[i].c.left; in calculate_clipping_registers_rect() 366 y[i] = vv->ov.clips[i].c.top; in calculate_clipping_registers_rect() 367 w[i] = vv->ov.clips[i].c.width; in calculate_clipping_registers_rect() 368 h[i] = vv->ov.clips[i].c.height; in calculate_clipping_registers_rect() 486 enum v4l2_field field = vv->ov.win.field; in saa7146_set_clipping_rect() 492 if (vv->ov.nclips == 0) { in saa7146_set_clipping_rect() 652 saa7146_set_window(dev, vv->ov.win.w.width, vv->ov.win.w.height, vv->ov.win.field); in saa7146_enable_overlay() [all …]
|
D | saa7146_video.c | 117 if (vv->ov.fh == NULL) { in saa7146_start_preview() 143 fmt.fmt.win = vv->ov.win; in saa7146_start_preview() 149 vv->ov.win = fmt.fmt.win; in saa7146_start_preview() 152 vv->ov.win.w.width, vv->ov.win.w.height, in saa7146_start_preview() 153 vv->ov.win.w.left, vv->ov.win.w.top, in saa7146_start_preview() 154 vv->ov_fmt->name, v4l2_field_names[vv->ov.win.field]); in saa7146_start_preview() 617 f->fmt.win = vv->ov.win; in vidioc_g_fmt_vid_overlay() 787 vv->ov.win = f->fmt.win; in vidioc_s_fmt_vid_overlay() 788 vv->ov.nclips = f->fmt.win.clipcount; in vidioc_s_fmt_vid_overlay() 789 if (vv->ov.nclips > 16) in vidioc_s_fmt_vid_overlay() [all …]
|
/drivers/power/supply/ |
D | wm8350_power.c | 55 u16 sm, ov, co, chrg; in wm8350_get_supplies() local 59 ov = wm8350_reg_read(wm8350, WM8350_MISC_OVERRIDES); in wm8350_get_supplies() 74 && !(ov & WM8350_USB_LIMIT_OVRDE)) in wm8350_get_supplies() 79 && (ov & WM8350_USB_LIMIT_OVRDE) && (chrg == 0)) in wm8350_get_supplies()
|
/drivers/s390/char/ |
D | keyboard.c | 336 ushort *key_map, val, ov; in do_kdsk_ioctl() local 388 ov = U(key_map[tmp.kb_index]); in do_kdsk_ioctl() 389 if (tmp.kb_value == ov) in do_kdsk_ioctl() 394 if (((ov == K_SAK) || (tmp.kb_value == K_SAK)) && in do_kdsk_ioctl()
|
/drivers/staging/lustre/lustre/llite/ |
D | lproc_llite.c | 442 long ov, nv; in ll_max_cached_mb_seq_write() local 444 ov = atomic_long_read(&cache->ccc_lru_left); in ll_max_cached_mb_seq_write() 445 if (ov == 0) in ll_max_cached_mb_seq_write() 448 nv = ov > diff ? ov - diff : 0; in ll_max_cached_mb_seq_write() 449 rc = atomic_long_cmpxchg(&cache->ccc_lru_left, ov, nv); in ll_max_cached_mb_seq_write() 450 if (likely(ov == rc)) { in ll_max_cached_mb_seq_write() 451 diff -= ov - nv; in ll_max_cached_mb_seq_write() 452 nrpages += ov - nv; in ll_max_cached_mb_seq_write()
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 606 struct pcan_ufd_ovr_msg *ov = (struct pcan_ufd_ovr_msg *)rx_msg; in pcan_usb_fd_decode_overrun() local 607 struct peak_usb_device *dev = usb_if->dev[pufd_omsg_get_channel(ov)]; in pcan_usb_fd_decode_overrun() 621 le32_to_cpu(ov->ts_low), le32_to_cpu(ov->ts_high)); in pcan_usb_fd_decode_overrun()
|
/drivers/tty/vt/ |
D | keyboard.c | 1855 ushort *key_map, *new_map, val, ov; in vt_do_kdsk_ioctl() local 1932 ov = U(key_map[i]); in vt_do_kdsk_ioctl() 1933 if (v == ov) in vt_do_kdsk_ioctl() 1938 if (((ov == K_SAK) || (v == K_SAK)) && !capable(CAP_SYS_ADMIN)) { in vt_do_kdsk_ioctl() 1943 if (!s && (KTYP(ov) == KT_SHIFT || KTYP(v) == KT_SHIFT)) in vt_do_kdsk_ioctl()
|
/drivers/media/pci/saa7134/ |
D | saa7134-core.c | 396 enum v4l2_field ov = V4L2_FIELD_ANY; in saa7134_set_dmabits() local 422 ov = dev->ovfield; in saa7134_set_dmabits() 451 if (V4L2_FIELD_HAS_BOTH(cap) || V4L2_FIELD_HAS_BOTH(ov) || cap == ov) { in saa7134_set_dmabits()
|
/drivers/gpu/drm/i810/ |
D | i810_dma.c | 1123 drm_i810_overlay_t *ov = data; in i810_ov0_info() local 1125 ov->offset = dev_priv->overlay_offset; in i810_ov0_info() 1126 ov->physical = dev_priv->overlay_physical; in i810_ov0_info()
|
/drivers/block/drbd/ |
D | drbd_worker.c | 466 int ov; in fifo_push() local 468 ov = fb->values[fb->head_index]; in fifo_push() 474 return ov; in fifo_push()
|
/drivers/media/pci/ngene/ |
D | ngene.h | 630 struct ngene_overlay ov; member
|
/drivers/net/bonding/ |
D | bond_main.c | 3341 u64 ov = old[i]; in bond_fold_stats() local 3342 s64 delta = nv - ov; in bond_fold_stats() 3345 if (((nv | ov) >> 32) == 0) in bond_fold_stats() 3346 delta = (s64)(s32)((u32)nv - (u32)ov); in bond_fold_stats()
|