/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 474 int errCode, prev_alt = dev->video_mode.alt; in cx231xx_set_video_alternate() 487 dev->video_mode.alt = 3; in cx231xx_set_video_alternate() 490 dev->video_mode.alt = 2; in cx231xx_set_video_alternate() 493 dev->video_mode.alt = 1; in cx231xx_set_video_alternate() 496 dev->video_mode.alt = 0; in cx231xx_set_video_alternate() 500 dev->video_mode.alt = 0; in cx231xx_set_video_alternate() 502 cx231xx_coredbg("dev->video_mode.alt= %d\n", dev->video_mode.alt); in cx231xx_set_video_alternate() 509 if (dev->video_mode.alt != prev_alt) { in cx231xx_set_video_alternate() 511 min_pkt_size, dev->video_mode.alt); in cx231xx_set_video_alternate() 513 if (dev->video_mode.alt_max_pkt_size != NULL) in cx231xx_set_video_alternate() [all …]
|
D | cx231xx-video.c | 188 dev->video_mode.isoc_ctl.buf = NULL; in buffer_filled() 190 dev->video_mode.bulk_ctl.buf = NULL; in buffer_filled() 242 struct cx231xx *dev = container_of(vmode, struct cx231xx, video_mode); in get_next_buf() 249 dev->video_mode.isoc_ctl.buf = NULL; in get_next_buf() 251 dev->video_mode.bulk_ctl.buf = NULL; in get_next_buf() 264 dev->video_mode.isoc_ctl.buf = *buf; in get_next_buf() 266 dev->video_mode.bulk_ctl.buf = *buf; in get_next_buf() 308 dev->video_mode.max_pkt_size) { in cx231xx_isoc_copy() 567 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_copy_video_line() 569 buf = dev->video_mode.bulk_ctl.buf; in cx231xx_copy_video_line() [all …]
|
D | cx231xx-cards.c | 1242 spin_lock_init(&dev->video_mode.slock); in cx231xx_init_dev() 1314 INIT_LIST_HEAD(&dev->video_mode.vidq.active); in cx231xx_init_dev() 1315 INIT_LIST_HEAD(&dev->video_mode.vidq.queued); in cx231xx_init_dev() 1403 dev->video_mode.end_point_addr = uif->altsetting[0].endpoint[isoc_pipe].desc.bEndpointAddress; in cx231xx_init_v4l2() 1404 dev->video_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2() 1408 dev->video_mode.end_point_addr, in cx231xx_init_v4l2() 1409 dev->video_mode.num_alt); in cx231xx_init_v4l2() 1411 …dev->video_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->video_mode.num_alt, GFP… in cx231xx_init_v4l2() 1412 if (dev->video_mode.alt_max_pkt_size == NULL) in cx231xx_init_v4l2() 1415 for (i = 0; i < dev->video_mode.num_alt; i++) { in cx231xx_init_v4l2() [all …]
|
D | cx231xx-417.c | 1263 spin_lock_irqsave(&dev->video_mode.slock, flags); in free_buffer() 1265 if (dev->video_mode.isoc_ctl.buf == buf) in free_buffer() 1266 dev->video_mode.isoc_ctl.buf = NULL; in free_buffer() 1268 if (dev->video_mode.bulk_ctl.buf == buf) in free_buffer() 1269 dev->video_mode.bulk_ctl.buf = NULL; in free_buffer() 1271 spin_unlock_irqrestore(&dev->video_mode.slock, flags); in free_buffer() 1291 dev->video_mode.isoc_ctl.buf = buf; in buffer_copy() 1295 buf = dev->video_mode.isoc_ctl.buf; in buffer_copy() 1432 if (!dev->video_mode.isoc_ctl.num_bufs) in bb_buf_prepare() 1435 if (!dev->video_mode.bulk_ctl.num_bufs) in bb_buf_prepare() [all …]
|
D | cx231xx.h | 672 struct cx231xx_video_mode video_mode; member
|
/drivers/ps3/ |
D | ps3av_cmd.c | 381 struct ps3av_pkt_video_mode *video_mode; in ps3av_cmd_set_video_mode() local 384 video_mode = (struct ps3av_pkt_video_mode *)p; in ps3av_cmd_set_video_mode() 394 memset(video_mode, 0, sizeof(*video_mode)); in ps3av_cmd_set_video_mode() 395 ps3av_set_hdr(PS3AV_CID_VIDEO_MODE, sizeof(*video_mode), in ps3av_cmd_set_video_mode() 396 &video_mode->send_hdr); in ps3av_cmd_set_video_mode() 397 video_mode->video_head = head; in ps3av_cmd_set_video_mode() 400 video_mode->video_vid = PS3AV_CMD_VIDEO_VID_480I_A; in ps3av_cmd_set_video_mode() 402 video_mode->video_vid = video_vid; in ps3av_cmd_set_video_mode() 403 video_mode->width = (u16) x; in ps3av_cmd_set_video_mode() 404 video_mode->height = (u16) y; in ps3av_cmd_set_video_mode() [all …]
|
D | ps3av.c | 498 const struct avset_video_mode *video_mode; in ps3av_set_videomode_packet() local 501 video_mode = &video_mode_table[id & PS3AV_MODE_MASK]; in ps3av_set_videomode_packet() 512 ps3av->head[i], video_mode->vid, in ps3av_set_videomode_packet() 513 video_mode->fmt, id); in ps3av_set_videomode_packet() 519 av_video_cs = video_mode->cs; in ps3av_set_videomode_packet() 527 video_mode->vid, av_video_cs, in ps3av_set_videomode_packet() 528 video_mode->aspect, id); in ps3av_set_videomode_packet()
|
/drivers/media/usb/gspca/ |
D | stv0680.c | 45 u8 video_mode; member 183 sd->video_mode = 0x00; /* CIF */ in sd_config() 185 sd->video_mode = 0x03; /* QVGA */ in sd_config() 201 ret = stv0680_set_video_mode(gspca_dev, sd->video_mode); in sd_config() 256 ret = stv0680_set_video_mode(gspca_dev, sd->video_mode); in sd_start() 267 if (stv_sndctrl(gspca_dev, 1, 0x09, sd->video_mode << 8, 0x0) != 0x0) in sd_start()
|
/drivers/media/tuners/ |
D | xc4000.c | 197 u16 video_mode; member 368 u16 video_mode, u16 audio_mode) in xc_set_tv_standard() argument 371 dprintk(1, "%s(0x%04x,0x%04x)\n", __func__, video_mode, audio_mode); in xc_set_tv_standard() 379 ret = xc_write_reg(priv, XREG_VIDEO_MODE, video_mode); in xc_set_tv_standard() 1235 u16 video_mode, audio_mode; in xc4000_set_params() local 1236 video_mode = xc4000_standard[priv->video_standard].video_mode; in xc4000_set_params() 1239 video_mode |= 0x0001; in xc4000_set_params() 1240 ret = xc_set_tv_standard(priv, video_mode, audio_mode); in xc4000_set_params() 1429 u16 video_mode, audio_mode; in xc4000_set_analog_params() local 1430 video_mode = xc4000_standard[priv->video_standard].video_mode; in xc4000_set_analog_params() [all …]
|
D | xc5000.c | 161 u16 video_mode; member 424 u16 video_mode, u16 audio_mode, u8 radio_mode) in xc_set_tv_standard() argument 427 dprintk(1, "%s(0x%04x,0x%04x)\n", __func__, video_mode, audio_mode); in xc_set_tv_standard() 438 ret = xc_write_reg(priv, XREG_VIDEO_MODE, video_mode); in xc_set_tv_standard() 734 xc5000_standard[priv->video_standard].video_mode, in xc5000_tune_digital() 947 xc5000_standard[priv->video_standard].video_mode, in xc5000_set_tv_freq() 1017 ret = xc_set_tv_standard(priv, xc5000_standard[radio_input].video_mode, in xc5000_set_radio_freq()
|
/drivers/gpu/drm/bridge/ |
D | dw-hdmi.c | 101 struct hdmi_vmode video_mode; member 317 hdmi_set_clk_regenerator(hdmi, hdmi->hdmi_data.video_mode.mpixelclock, in hdmi_clk_regenerator_update_pixel_clock() 326 hdmi_set_clk_regenerator(hdmi, hdmi->hdmi_data.video_mode.mpixelclock, in dw_hdmi_set_sample_rate() 763 if (hdmi->hdmi_data.video_mode.mpixelclock <= in hdmi_phy_configure() 768 if (hdmi->hdmi_data.video_mode.mpixelclock <= in hdmi_phy_configure() 773 if (hdmi->hdmi_data.video_mode.mpixelclock <= in hdmi_phy_configure() 781 hdmi->hdmi_data.video_mode.mpixelclock); in hdmi_phy_configure() 887 if (hdmi->hdmi_data.video_mode.mdataenablepolarity) in hdmi_tx_hdcp_config() 975 val = (((hdmi->hdmi_data.video_mode.mpixelrepetitioninput + 1) << in hdmi_config_AVI() 978 ((hdmi->hdmi_data.video_mode.mpixelrepetitionoutput << in hdmi_config_AVI() [all …]
|
/drivers/video/fbdev/ |
D | platinumfb.c | 89 static inline int platinum_vram_reqd(int video_mode, int color_mode); 223 static inline int platinum_vram_reqd(int video_mode, int color_mode) in platinum_vram_reqd() argument 225 int baseval = vmode_attrs[video_mode-1].hres * (1<<color_mode); in platinum_vram_reqd() 227 if ((video_mode == VMODE_832_624_75) && (color_mode > CMODE_8)) in platinum_vram_reqd() 232 return vmode_attrs[video_mode-1].vres * baseval + 0x1000; in platinum_vram_reqd()
|
D | ep93xx-fb.c | 471 char *video_mode; in ep93xxfb_probe() local 528 fb_get_options("ep93xx-fb", &video_mode); in ep93xxfb_probe() 529 err = fb_find_mode(&info->var, info, video_mode, in ep93xxfb_probe()
|
D | valkyriefb.c | 257 static inline int valkyrie_vram_reqd(int video_mode, int color_mode) in valkyrie_vram_reqd() argument 260 struct valkyrie_regvals *init = valkyrie_reg_init[video_mode-1]; in valkyrie_vram_reqd()
|
D | w100fb.h | 538 u32 video_mode : 1; member
|
/drivers/gpu/drm/gma500/ |
D | mdfld_dsi_output.c | 423 config->video_mode = MDFLD_DSI_VIDEO_NON_BURST_MODE_SYNC_PULSE; in mdfld_dsi_get_default_config() 425 config->video_mode = in mdfld_dsi_get_default_config() 428 config->video_mode = MDFLD_DSI_VIDEO_BURST_MODE; in mdfld_dsi_get_default_config()
|
D | mdfld_dsi_output.h | 264 int video_mode; member
|
D | mdfld_dsi_dpi.c | 546 val = dsi_config->video_mode | DSI_DPI_COMPLETE_LAST_LINE; in mdfld_dsi_dpi_controller_init()
|
/drivers/staging/rtl8712/ |
D | os_intfs.c | 56 static int video_mode = 1; /* enable video mode*/ variable 103 module_param(video_mode, int, 0644); 428 if (video_mode) in netdev_open()
|
/drivers/media/usb/hdpvr/ |
D | hdpvr.h | 77 struct v4l2_ctrl *video_mode; member
|
D | hdpvr-video.c | 1201 dev->video_mode = v4l2_ctrl_new_std_menu(hdl, &hdpvr_ctrl_ops, in hdpvr_register_videodev() 1218 v4l2_ctrl_cluster(3, &dev->video_mode); in hdpvr_register_videodev()
|
/drivers/media/usb/cpia2/ |
D | cpia2.h | 319 u8 video_mode; member
|
D | cpia2_core.c | 500 cam->params.vp_params.video_mode = cmd.buffer.block_data[0]; in cpia2_do_command() 716 cam->params.vp_params.video_mode); in cpia2_reset_camera() 830 cam->params.vp_params.video_mode); in cpia2_reset_camera()
|
/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 917 bool video_mode, bool enable) in dsi_op_mode_config() argument 929 if (video_mode) { in dsi_op_mode_config()
|