/drivers/of/ |
D | overlay.c | 58 static int of_overlay_apply_one(struct of_overlay *ov, 76 static int of_overlay_notify(struct of_overlay *ov, in of_overlay_notify() argument 82 for (i = 0; i < ov->count; i++) { in of_overlay_notify() 83 struct of_overlay_info *ovinfo = &ov->ovinfo_tab[i]; in of_overlay_notify() 97 static struct property *dup_and_fixup_symbol_prop(struct of_overlay *ov, in dup_and_fixup_symbol_prop() argument 119 for (k = 0; k < ov->count; k++) { in dup_and_fixup_symbol_prop() 120 ovinfo = &ov->ovinfo_tab[k]; in dup_and_fixup_symbol_prop() 127 if (k >= ov->count) in dup_and_fixup_symbol_prop() 160 static int of_overlay_apply_single_property(struct of_overlay *ov, in of_overlay_apply_single_property() argument 179 propn = dup_and_fixup_symbol_prop(ov, prop); in of_overlay_apply_single_property() [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 | 2206 kfree(fh->ov.clips); in setup_window_lock() 2207 fh->ov.clips = clips; in setup_window_lock() 2208 fh->ov.nclips = n; in setup_window_lock() 2210 fh->ov.w = win->w; in setup_window_lock() 2211 fh->ov.field = win->field; in setup_window_lock() 2212 fh->ov.setup_ok = 1; in setup_window_lock() 2214 btv->init.ov.w.width = win->w.width; in setup_window_lock() 2215 btv->init.ov.w.height = win->w.height; in setup_window_lock() 2216 btv->init.ov.field = win->field; in setup_window_lock() 2225 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() 621 f->fmt.win = vv->ov.win; in vidioc_g_fmt_vid_overlay() 791 vv->ov.win = f->fmt.win; in vidioc_s_fmt_vid_overlay() 792 vv->ov.nclips = f->fmt.win.clipcount; in vidioc_s_fmt_vid_overlay() 793 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 | 337 ushort *key_map, val, ov; in do_kdsk_ioctl() local 389 ov = U(key_map[tmp.kb_index]); in do_kdsk_ioctl() 390 if (tmp.kb_value == ov) in do_kdsk_ioctl() 395 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 | 607 struct pcan_ufd_ovr_msg *ov = (struct pcan_ufd_ovr_msg *)rx_msg; in pcan_usb_fd_decode_overrun() local 608 struct peak_usb_device *dev = usb_if->dev[pufd_omsg_get_channel(ov)]; in pcan_usb_fd_decode_overrun() 622 le32_to_cpu(ov->ts_low), le32_to_cpu(ov->ts_high)); in pcan_usb_fd_decode_overrun()
|
/drivers/media/pci/ddbridge/ |
D | ddbridge-maxs8.c | 246 u32 nv, ov = dev->link[port->lnr].lnb.voltages; in max_set_voltage() local 292 if (nv != ov) { in max_set_voltage()
|
/drivers/tty/vt/ |
D | keyboard.c | 1856 ushort *key_map, *new_map, val, ov; in vt_do_kdsk_ioctl() local 1933 ov = U(key_map[i]); in vt_do_kdsk_ioctl() 1934 if (v == ov) in vt_do_kdsk_ioctl() 1939 if (((ov == K_SAK) || (v == K_SAK)) && !capable(CAP_SYS_ADMIN)) { in vt_do_kdsk_ioctl() 1944 if (!s && (KTYP(ov) == KT_SHIFT || KTYP(v) == KT_SHIFT)) in vt_do_kdsk_ioctl()
|
/drivers/media/pci/saa7134/ |
D | saa7134-core.c | 391 enum v4l2_field ov = V4L2_FIELD_ANY; in saa7134_set_dmabits() local 417 ov = dev->ovfield; in saa7134_set_dmabits() 446 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 | 1121 drm_i810_overlay_t *ov = data; in i810_ov0_info() local 1123 ov->offset = dev_priv->overlay_offset; in i810_ov0_info() 1124 ov->physical = dev_priv->overlay_physical; in i810_ov0_info()
|
/drivers/block/drbd/ |
D | drbd_worker.c | 479 int ov; in fifo_push() local 481 ov = fb->values[fb->head_index]; in fifo_push() 487 return ov; in fifo_push()
|
/drivers/media/pci/ngene/ |
D | ngene.h | 626 struct ngene_overlay ov; member
|
/drivers/net/bonding/ |
D | bond_main.c | 3386 u64 ov = old[i]; in bond_fold_stats() local 3387 s64 delta = nv - ov; in bond_fold_stats() 3390 if (((nv | ov) >> 32) == 0) in bond_fold_stats() 3391 delta = (s64)(s32)((u32)nv - (u32)ov); in bond_fold_stats()
|