Home
last modified time | relevance | path

Searched refs:video_mode (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.4/drivers/media/usb/cx231xx/
Dcx231xx-core.c460 int errCode, prev_alt = dev->video_mode.alt; in cx231xx_set_video_alternate()
473 dev->video_mode.alt = 3; in cx231xx_set_video_alternate()
476 dev->video_mode.alt = 2; in cx231xx_set_video_alternate()
479 dev->video_mode.alt = 1; in cx231xx_set_video_alternate()
482 dev->video_mode.alt = 0; in cx231xx_set_video_alternate()
486 dev->video_mode.alt = 0; in cx231xx_set_video_alternate()
488 cx231xx_coredbg("dev->video_mode.alt= %d\n", dev->video_mode.alt); in cx231xx_set_video_alternate()
495 if (dev->video_mode.alt != prev_alt) { in cx231xx_set_video_alternate()
497 min_pkt_size, dev->video_mode.alt); in cx231xx_set_video_alternate()
499 if (dev->video_mode.alt_max_pkt_size != NULL) in cx231xx_set_video_alternate()
[all …]
Dcx231xx-video.c175 dev->video_mode.isoc_ctl.buf = NULL; in buffer_filled()
177 dev->video_mode.bulk_ctl.buf = NULL; in buffer_filled()
229 struct cx231xx *dev = container_of(vmode, struct cx231xx, video_mode); in get_next_buf()
236 dev->video_mode.isoc_ctl.buf = NULL; in get_next_buf()
238 dev->video_mode.bulk_ctl.buf = NULL; in get_next_buf()
251 dev->video_mode.isoc_ctl.buf = *buf; in get_next_buf()
253 dev->video_mode.bulk_ctl.buf = *buf; in get_next_buf()
295 dev->video_mode.max_pkt_size) { in cx231xx_isoc_copy()
554 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_copy_video_line()
556 buf = dev->video_mode.bulk_ctl.buf; in cx231xx_copy_video_line()
[all …]
Dcx231xx-cards.c1411 spin_lock_init(&dev->video_mode.slock); in cx231xx_init_dev()
1483 INIT_LIST_HEAD(&dev->video_mode.vidq.active); in cx231xx_init_dev()
1484 INIT_LIST_HEAD(&dev->video_mode.vidq.queued); in cx231xx_init_dev()
1572 dev->video_mode.end_point_addr = uif->altsetting[0].endpoint[isoc_pipe].desc.bEndpointAddress; in cx231xx_init_v4l2()
1573 dev->video_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2()
1577 dev->video_mode.end_point_addr, in cx231xx_init_v4l2()
1578 dev->video_mode.num_alt); in cx231xx_init_v4l2()
1580 …dev->video_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->video_mode.num_alt, GFP… in cx231xx_init_v4l2()
1581 if (dev->video_mode.alt_max_pkt_size == NULL) in cx231xx_init_v4l2()
1584 for (i = 0; i < dev->video_mode.num_alt; i++) { in cx231xx_init_v4l2()
[all …]
Dcx231xx-417.c1252 spin_lock_irqsave(&dev->video_mode.slock, flags); in free_buffer()
1254 if (dev->video_mode.isoc_ctl.buf == buf) in free_buffer()
1255 dev->video_mode.isoc_ctl.buf = NULL; in free_buffer()
1257 if (dev->video_mode.bulk_ctl.buf == buf) in free_buffer()
1258 dev->video_mode.bulk_ctl.buf = NULL; in free_buffer()
1260 spin_unlock_irqrestore(&dev->video_mode.slock, flags); in free_buffer()
1280 dev->video_mode.isoc_ctl.buf = buf; in buffer_copy()
1284 buf = dev->video_mode.isoc_ctl.buf; in buffer_copy()
1421 if (!dev->video_mode.isoc_ctl.num_bufs) in bb_buf_prepare()
1424 if (!dev->video_mode.bulk_ctl.num_bufs) in bb_buf_prepare()
[all …]
/Linux-v5.4/drivers/ps3/
Dps3av_cmd.c369 struct ps3av_pkt_video_mode *video_mode; in ps3av_cmd_set_video_mode() local
372 video_mode = (struct ps3av_pkt_video_mode *)p; in ps3av_cmd_set_video_mode()
382 memset(video_mode, 0, sizeof(*video_mode)); in ps3av_cmd_set_video_mode()
383 ps3av_set_hdr(PS3AV_CID_VIDEO_MODE, sizeof(*video_mode), in ps3av_cmd_set_video_mode()
384 &video_mode->send_hdr); in ps3av_cmd_set_video_mode()
385 video_mode->video_head = head; in ps3av_cmd_set_video_mode()
388 video_mode->video_vid = PS3AV_CMD_VIDEO_VID_480I_A; in ps3av_cmd_set_video_mode()
390 video_mode->video_vid = video_vid; in ps3av_cmd_set_video_mode()
391 video_mode->width = (u16) x; in ps3av_cmd_set_video_mode()
392 video_mode->height = (u16) y; in ps3av_cmd_set_video_mode()
[all …]
Dps3av.c485 const struct avset_video_mode *video_mode; in ps3av_set_videomode_packet() local
488 video_mode = &video_mode_table[id & PS3AV_MODE_MASK]; in ps3av_set_videomode_packet()
499 ps3av->head[i], video_mode->vid, in ps3av_set_videomode_packet()
500 video_mode->fmt, id); in ps3av_set_videomode_packet()
506 av_video_cs = video_mode->cs; in ps3av_set_videomode_packet()
514 video_mode->vid, av_video_cs, in ps3av_set_videomode_packet()
515 video_mode->aspect, id); in ps3av_set_videomode_packet()
/Linux-v5.4/drivers/gpu/drm/meson/
Dmeson_venc.c77 .video_mode = 0x13,
101 .video_mode = 0x8,
126 unsigned int video_mode; member
138 unsigned int video_mode; member
197 .video_mode = 0x8,
217 .video_mode = 0x13,
232 .video_mode = 0x4000,
278 .video_mode = 0x4000,
324 .video_mode = 0x4040,
366 .video_mode = 0x4040,
[all …]
Dmeson_venc.h34 unsigned int video_mode; member
/Linux-v5.4/drivers/media/usb/gspca/
Dstv0680.c31 u8 video_mode; member
169 sd->video_mode = 0x00; /* CIF */ in sd_config()
171 sd->video_mode = 0x03; /* QVGA */ in sd_config()
187 ret = stv0680_set_video_mode(gspca_dev, sd->video_mode); in sd_config()
242 ret = stv0680_set_video_mode(gspca_dev, sd->video_mode); in sd_start()
253 if (stv_sndctrl(gspca_dev, 1, 0x09, sd->video_mode << 8, 0x0) != 0x0) in sd_start()
/Linux-v5.4/drivers/media/tuners/
Dxc4000.c180 u16 video_mode; member
350 u16 video_mode, u16 audio_mode) in xc_set_tv_standard() argument
353 dprintk(1, "%s(0x%04x,0x%04x)\n", __func__, video_mode, audio_mode); in xc_set_tv_standard()
361 ret = xc_write_reg(priv, XREG_VIDEO_MODE, video_mode); in xc_set_tv_standard()
1215 u16 video_mode, audio_mode; in xc4000_set_params() local
1216 video_mode = xc4000_standard[priv->video_standard].video_mode; in xc4000_set_params()
1219 video_mode |= 0x0001; in xc4000_set_params()
1220 ret = xc_set_tv_standard(priv, video_mode, audio_mode); in xc4000_set_params()
1409 u16 video_mode, audio_mode; in xc4000_set_analog_params() local
1410 video_mode = xc4000_standard[priv->video_standard].video_mode; in xc4000_set_analog_params()
[all …]
Dxc5000.c147 u16 video_mode; member
410 u16 video_mode, u16 audio_mode, u8 radio_mode) in xc_set_tv_standard() argument
413 dprintk(1, "%s(0x%04x,0x%04x)\n", __func__, video_mode, audio_mode); in xc_set_tv_standard()
424 ret = xc_write_reg(priv, XREG_VIDEO_MODE, video_mode); in xc_set_tv_standard()
698 xc5000_standard[priv->video_standard].video_mode, in xc5000_tune_digital()
913 xc5000_standard[priv->video_standard].video_mode, in xc5000_set_tv_freq()
986 ret = xc_set_tv_standard(priv, xc5000_standard[radio_input].video_mode, in xc5000_set_radio_freq()
/Linux-v5.4/drivers/gpu/drm/panel/
Dpanel-lvds.c33 struct videomode video_mode; member
119 drm_display_mode_from_videomode(&lvds->video_mode, mode); in panel_lvds_get_modes()
156 videomode_from_timing(&timing, &lvds->video_mode); in panel_lvds_parse_dt()
Dpanel-raydium-rm67191.c547 u32 video_mode; in rad_panel_probe() local
561 ret = of_property_read_u32(np, "video-mode", &video_mode); in rad_panel_probe()
563 switch (video_mode) { in rad_panel_probe()
576 dev_warn(dev, "invalid video mode %d\n", video_mode); in rad_panel_probe()
/Linux-v5.4/drivers/video/fbdev/
Dplatinumfb.c87 static inline int platinum_vram_reqd(int video_mode, int color_mode);
221 static inline int platinum_vram_reqd(int video_mode, int color_mode) in platinum_vram_reqd() argument
223 int baseval = vmode_attrs[video_mode-1].hres * (1<<color_mode); in platinum_vram_reqd()
225 if ((video_mode == VMODE_832_624_75) && (color_mode > CMODE_8)) in platinum_vram_reqd()
230 return vmode_attrs[video_mode-1].vres * baseval + 0x1000; in platinum_vram_reqd()
Dep93xx-fb.c467 char *video_mode; in ep93xxfb_probe() local
524 fb_get_options("ep93xx-fb", &video_mode); in ep93xxfb_probe()
525 err = fb_find_mode(&info->var, info, video_mode, in ep93xxfb_probe()
Dvalkyriefb.c248 static inline int valkyrie_vram_reqd(int video_mode, int color_mode) in valkyrie_vram_reqd() argument
251 struct valkyrie_regvals *init = valkyrie_reg_init[video_mode-1]; in valkyrie_vram_reqd()
/Linux-v5.4/arch/x86/realmode/rm/
Dwakeup.h15 u16 video_mode; /* Video mode number */ member
Dwakemain.c81 set_mode(wakeup_header.video_mode); in main()
Dwakeup_asm.S21 video_mode: .short 0 /* Video mode number */ label
/Linux-v5.4/drivers/gpu/drm/gma500/
Dmdfld_dsi_output.c425 config->video_mode = MDFLD_DSI_VIDEO_NON_BURST_MODE_SYNC_PULSE; in mdfld_dsi_get_default_config()
427 config->video_mode = in mdfld_dsi_get_default_config()
430 config->video_mode = MDFLD_DSI_VIDEO_BURST_MODE; in mdfld_dsi_get_default_config()
/Linux-v5.4/drivers/staging/rtl8712/
Dos_intfs.c44 static int video_mode = 1; /* enable video mode*/ variable
91 module_param(video_mode, int, 0644);
422 if (video_mode) in netdev_open()
/Linux-v5.4/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c108 struct hdmi_vmode video_mode; member
633 hdmi_set_clk_regenerator(hdmi, hdmi->hdmi_data.video_mode.mtmdsclock, in hdmi_clk_regenerator_update_pixel_clock()
642 hdmi_set_clk_regenerator(hdmi, hdmi->hdmi_data.video_mode.mtmdsclock, in dw_hdmi_set_sample_rate()
1206 unsigned long mtmdsclock = hdmi->hdmi_data.video_mode.mtmdsclock; in dw_hdmi_set_high_tmds_clock_ratio()
1416 unsigned long mpixelclock = hdmi->hdmi_data.video_mode.mpixelclock; in hdmi_phy_configure()
1417 unsigned long mtmdsclock = hdmi->hdmi_data.video_mode.mtmdsclock; in hdmi_phy_configure()
1535 if (hdmi->hdmi_data.video_mode.mdataenablepolarity) in hdmi_tx_hdcp_config()
1634 val = (((hdmi->hdmi_data.video_mode.mpixelrepetitioninput + 1) << in hdmi_config_AVI()
1637 ((hdmi->hdmi_data.video_mode.mpixelrepetitionoutput << in hdmi_config_AVI()
1720 struct hdmi_vmode *vmode = &hdmi->hdmi_data.video_mode; in hdmi_av_composer()
[all …]
/Linux-v5.4/arch/x86/kernel/acpi/
Dsleep.c56 header->video_mode = saved_video_mode; in x86_acpi_suspend_lowlevel()
/Linux-v5.4/arch/arm/include/uapi/asm/
Dsetup.h54 __u8 video_mode; member
/Linux-v5.4/drivers/media/usb/hdpvr/
Dhdpvr.h73 struct v4l2_ctrl *video_mode; member

12