/drivers/media/platform/vsp1/ |
D | vsp1_wpf.c | 57 if (rotate == wpf->flip.rotate) in vsp1_wpf_set_rotation() 85 wpf->flip.rotate = rotate; in vsp1_wpf_set_rotation() 99 u32 flip = 0; in vsp1_wpf_s_ctrl() local 103 rotation = wpf->flip.ctrls.rotate ? wpf->flip.ctrls.rotate->val : 0; in vsp1_wpf_s_ctrl() 114 if (wpf->flip.ctrls.vflip->val) in vsp1_wpf_s_ctrl() 115 flip |= BIT(WPF_CTRL_VFLIP); in vsp1_wpf_s_ctrl() 117 if (wpf->flip.ctrls.hflip && wpf->flip.ctrls.hflip->val) in vsp1_wpf_s_ctrl() 118 flip |= BIT(WPF_CTRL_HFLIP); in vsp1_wpf_s_ctrl() 121 flip ^= BIT(WPF_CTRL_VFLIP) | BIT(WPF_CTRL_HFLIP); in vsp1_wpf_s_ctrl() 123 spin_lock_irq(&wpf->flip.lock); in vsp1_wpf_s_ctrl() [all …]
|
D | vsp1_rwpf.h | 61 } flip; member
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | overlay.c | 40 bool flip; member 127 bool flip = nv_plane->flip; in nv10_update_plane() local 154 nvif_wr32(dev, NV_PVIDEO_BASE(flip), 0); in nv10_update_plane() 155 nvif_wr32(dev, NV_PVIDEO_OFFSET_BUFF(flip), nvbo->offset); in nv10_update_plane() 156 nvif_wr32(dev, NV_PVIDEO_SIZE_IN(flip), src_h << 16 | src_w); in nv10_update_plane() 157 nvif_wr32(dev, NV_PVIDEO_POINT_IN(flip), src_y << 16 | src_x); in nv10_update_plane() 158 nvif_wr32(dev, NV_PVIDEO_DS_DX(flip), (src_w << 20) / crtc_w); in nv10_update_plane() 159 nvif_wr32(dev, NV_PVIDEO_DT_DY(flip), (src_h << 20) / crtc_h); in nv10_update_plane() 160 nvif_wr32(dev, NV_PVIDEO_POINT_OUT(flip), crtc_y << 16 | crtc_x); in nv10_update_plane() 161 nvif_wr32(dev, NV_PVIDEO_SIZE_OUT(flip), crtc_h << 16 | crtc_w); in nv10_update_plane() [all …]
|
D | disp.c | 64 nvif_notify_put(&disp->flip); in nv04_display_fini() 124 nvif_notify_get(&disp->flip); in nv04_display_init() 205 nvif_notify_dtor(&disp->flip); in nv04_display_destroy() 244 NULL, 0, 0, &disp->flip); in nv04_display_create()
|
D | disp.h | 87 struct nvif_notify flip; member
|
/drivers/media/usb/gspca/gl860/ |
D | gl860-mi2020.c | 364 sd->vcur.flip = 0; in mi2020_init_settings() 376 sd->vmax.flip = 1; in mi2020_init_settings() 445 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); in mi2020_init_post_alt() local 474 dat_hvflip2[2] = 0x6c + 2 * (1 - flip) + (1 - mirror); in mi2020_init_post_alt() 475 dat_hvflip4[2] = 0x24 + 2 * (1 - flip) + (1 - mirror); in mi2020_init_post_alt() 594 sd->vold.flip = flip; in mi2020_init_post_alt() 633 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); in mi2020_camera_settings() local 691 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in mi2020_camera_settings() 693 sd->vold.flip = flip; in mi2020_camera_settings() 695 dat_hvflip2[2] = 0x6c + 2 * (1 - flip) + (1 - mirror); in mi2020_camera_settings() [all …]
|
D | gl860-ov2640.c | 184 sd->vcur.flip = 0; in ov2640_init_settings() 195 sd->vmax.flip = 1; in ov2640_init_settings() 248 sd->vold.flip = -1; in ov2640_init_pre_alt() 348 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) == 0); in ov2640_camera_settings() local 438 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in ov2640_camera_settings() 440 sd->vold.flip = flip; in ov2640_camera_settings() 448 flip = 0x50 * flip + mirror; in ov2640_camera_settings() 452 ctrl_out(gspca_dev, 0x40, 1, 0x6028 + flip, 0x0004, 0, NULL); in ov2640_camera_settings()
|
D | gl860-mi1320.c | 186 sd->vcur.flip = 0; in mi1320_init_settings() 198 sd->vmax.flip = 1; in mi1320_init_settings() 263 sd->vold.flip = -1; in mi1320_init_pre_alt() 349 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); in mi1320_camera_settings() local 480 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in mi1320_camera_settings() 483 sd->vold.flip = flip; in mi1320_camera_settings() 485 dat_hvflip2[3] = flip + 2 * mirror; in mi1320_camera_settings()
|
D | gl860.c | 75 sd->vcur.flip = ctrl->val; in sd_s_ctrl() 138 if (sd->vmax.flip) in sd_init_controls() 140 0, sd->vmax.flip, 1, sd->vcur.flip); in sd_init_controls()
|
D | gl860.h | 43 u8 flip; member
|
/drivers/media/platform/exynos4-is/ |
D | fimc-reg.c | 43 u32 flip = FIMC_REG_MSCTRL_FLIP_NORMAL; in fimc_hw_get_in_flip() local 46 flip = FIMC_REG_MSCTRL_FLIP_Y_MIRROR; in fimc_hw_get_in_flip() 48 flip = FIMC_REG_MSCTRL_FLIP_X_MIRROR; in fimc_hw_get_in_flip() 51 return flip; in fimc_hw_get_in_flip() 53 return (flip ^ FIMC_REG_MSCTRL_FLIP_180) & FIMC_REG_MSCTRL_FLIP_180; in fimc_hw_get_in_flip() 58 u32 flip = FIMC_REG_CITRGFMT_FLIP_NORMAL; in fimc_hw_get_target_flip() local 61 flip |= FIMC_REG_CITRGFMT_FLIP_Y_MIRROR; in fimc_hw_get_target_flip() 63 flip |= FIMC_REG_CITRGFMT_FLIP_X_MIRROR; in fimc_hw_get_target_flip() 66 return flip; in fimc_hw_get_target_flip() 68 return (flip ^ FIMC_REG_CITRGFMT_FLIP_180) & FIMC_REG_CITRGFMT_FLIP_180; in fimc_hw_get_target_flip() [all …]
|
/drivers/pcmcia/ |
D | pxa2xx_balloon3.c | 57 int flip; in balloon3_pcmcia_socket_state() local 61 flip = (status ^ balloon3_pcmcia_status[skt->nr]) in balloon3_pcmcia_socket_state() 68 if (flip) { in balloon3_pcmcia_socket_state()
|
D | pxa2xx_mainstone.c | 59 unsigned int flip = mst_pcmcia_bvd1_status[skt->nr] ^ state->bvd1; in mst_pcmcia_socket_state() local 66 if (flip) { in mst_pcmcia_socket_state()
|
D | i82365.c | 292 #define flip(v,b,f) (v = ((f)<0) ? v : ((f) ? ((v)|(b)) : ((v)&(~b)))) macro 328 flip(p->misc2, PD67_MC2_IRQ15_RI, has_ring); in cirrus_set_opts() 329 flip(p->misc2, PD67_MC2_DYNAMIC_MODE, dynamic_mode); in cirrus_set_opts() 330 flip(p->misc2, PD67_MC2_FREQ_BYPASS, freq_bypass); in cirrus_set_opts() 398 flip(p->ctl, VG468_CTL_ASYNC, async_clock); in vg46x_set_opts() 399 flip(p->ema, VG469_MODE_CABLE, cable_mode); in vg46x_set_opts()
|
/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hubp.c | 676 cmd.PLAT_54186_wa.header.payload_bytes = sizeof(cmd.PLAT_54186_wa.flip); in dmcub_PLAT_54186_wa() 677 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS = in dmcub_PLAT_54186_wa() 679 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS_C = in dmcub_PLAT_54186_wa() 681 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS_HIGH = in dmcub_PLAT_54186_wa() 683 cmd.PLAT_54186_wa.flip.DCSURF_PRIMARY_SURFACE_ADDRESS_HIGH_C = in dmcub_PLAT_54186_wa() 685 cmd.PLAT_54186_wa.flip.flip_params.grph_stereo = flip_regs->grph_stereo; in dmcub_PLAT_54186_wa() 686 cmd.PLAT_54186_wa.flip.flip_params.hubp_inst = hubp->inst; in dmcub_PLAT_54186_wa() 687 cmd.PLAT_54186_wa.flip.flip_params.immediate = flip_regs->immediate; in dmcub_PLAT_54186_wa() 688 cmd.PLAT_54186_wa.flip.flip_params.tmz_surface = flip_regs->tmz_surface; in dmcub_PLAT_54186_wa() 689 cmd.PLAT_54186_wa.flip.flip_params.vmid = flip_regs->vmid; in dmcub_PLAT_54186_wa()
|
/drivers/xen/ |
D | gntdev.c | 576 static int gntdev_open(struct inode *inode, struct file *flip) in gntdev_open() argument 588 priv->dmabuf_priv = gntdev_dmabuf_init(flip); in gntdev_open() 597 flip->private_data = priv; in gntdev_open() 607 static int gntdev_release(struct inode *inode, struct file *flip) in gntdev_release() argument 609 struct gntdev_priv *priv = flip->private_data; in gntdev_release() 989 static long gntdev_ioctl(struct file *flip, in gntdev_ioctl() argument 992 struct gntdev_priv *priv = flip->private_data; in gntdev_ioctl() 1033 static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma) in gntdev_mmap() argument 1035 struct gntdev_priv *priv = flip->private_data; in gntdev_mmap()
|
/drivers/media/usb/stkwebcam/ |
D | stk-sensor.c | 498 int flip; in stk_sensor_configure() local 551 flip = (dev->vsettings.vflip?MVFP_FLIP:0) in stk_sensor_configure() 553 stk_sensor_outb(dev, REG_MVFP, flip); in stk_sensor_configure()
|
/drivers/video/fbdev/ |
D | w100fb.c | 84 return sprintf(buf, "%d\n",par->flip); in flip_show() 89 unsigned int flip; in flip_store() local 93 flip = simple_strtoul(buf, NULL, 10); in flip_store() 95 if (flip > 0) in flip_store() 96 par->flip = 1; in flip_store() 98 par->flip = 0; in flip_store() 109 static DEVICE_ATTR_RW(flip); 741 par->flip = 1; in w100fb_probe() 743 par->flip = 0; in w100fb_probe() 1431 if (par->flip) { in w100_set_dispregs() [all …]
|
/drivers/gpu/drm/msm/dp/ |
D | dp_power.h | 35 int dp_power_init(struct dp_power *power, bool flip);
|
/drivers/usb/serial/ |
D | keyspan.c | 695 int flip; in keyspan_write() local 719 flip = p_priv->out_flip; in keyspan_write() 722 this_urb = p_priv->out_urbs[flip]; in keyspan_write() 730 __func__, usb_pipeendpoint(this_urb->pipe), flip); in keyspan_write() 734 p_priv->tx_start_time[flip] + 10 * HZ)) in keyspan_write() 753 p_priv->tx_start_time[flip] = jiffies; in keyspan_write() 757 p_priv->out_flip = (flip + 1) & d_details->outdat_endp_flip; in keyspan_write() 1461 int flip; in keyspan_write_room() local 1474 flip = p_priv->out_flip; in keyspan_write_room() 1477 this_urb = p_priv->out_urbs[flip]; in keyspan_write_room() [all …]
|
/drivers/media/usb/gspca/ |
D | stk1135.c | 488 bool flip; in sd_pkt_scan() local 499 flip = !(le16_to_cpu(hdr->gpio) & (1 << 8)); in sd_pkt_scan() 501 if (sd->flip_status != flip) in sd_pkt_scan()
|
/drivers/phy/rockchip/ |
D | phy-rockchip-typec.c | 385 bool flip; member 581 if (!tcphy->flip) in tcphy_dp_aux_set_flip() 742 property_enable(tcphy, &cfg->typec_conn_dir, tcphy->flip); in tcphy_phy_init() 756 if (tcphy->flip) { in tcphy_phy_init() 848 tcphy->flip = property.intval ? 1 : 0; in tcphy_get_mode()
|
/drivers/media/platform/s5p-g2d/ |
D | g2d.h | 60 u32 flip; member
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.h | 34 struct list_head flip; member
|
/drivers/nfc/ |
D | virtual_ncidev.c | 178 static long virtual_ncidev_ioctl(struct file *flip, unsigned int cmd, in virtual_ncidev_ioctl() argument
|