/linux-6.6.21/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 456 int errCode, prev_alt = dev->video_mode.alt; in cx231xx_set_video_alternate() 469 dev->video_mode.alt = 3; in cx231xx_set_video_alternate() 472 dev->video_mode.alt = 2; in cx231xx_set_video_alternate() 475 dev->video_mode.alt = 1; in cx231xx_set_video_alternate() 478 dev->video_mode.alt = 0; in cx231xx_set_video_alternate() 482 dev->video_mode.alt = 0; in cx231xx_set_video_alternate() 484 cx231xx_coredbg("dev->video_mode.alt= %d\n", dev->video_mode.alt); in cx231xx_set_video_alternate() 491 if (dev->video_mode.alt != prev_alt) { in cx231xx_set_video_alternate() 493 min_pkt_size, dev->video_mode.alt); in cx231xx_set_video_alternate() 495 if (dev->video_mode.alt_max_pkt_size != NULL) in cx231xx_set_video_alternate() [all …]
|
D | cx231xx-video.c | 176 dev->video_mode.isoc_ctl.buf = NULL; in buffer_filled() 178 dev->video_mode.bulk_ctl.buf = NULL; in buffer_filled() 230 struct cx231xx *dev = container_of(vmode, struct cx231xx, video_mode); in get_next_buf() 237 dev->video_mode.isoc_ctl.buf = NULL; in get_next_buf() 239 dev->video_mode.bulk_ctl.buf = NULL; in get_next_buf() 252 dev->video_mode.isoc_ctl.buf = *buf; in get_next_buf() 254 dev->video_mode.bulk_ctl.buf = *buf; in get_next_buf() 296 dev->video_mode.max_pkt_size) { in cx231xx_isoc_copy() 555 buf = dev->video_mode.isoc_ctl.buf; in cx231xx_copy_video_line() 557 buf = dev->video_mode.bulk_ctl.buf; in cx231xx_copy_video_line() [all …]
|
D | cx231xx-417.c | 1251 dev->video_mode.isoc_ctl.buf = buf; in buffer_copy() 1255 buf = dev->video_mode.isoc_ctl.buf; in buffer_copy() 1370 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in buffer_queue() 1373 spin_lock_irqsave(&dev->video_mode.slock, flags); in buffer_queue() 1375 spin_unlock_irqrestore(&dev->video_mode.slock, flags); in buffer_queue() 1381 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in return_all_buffers() 1385 spin_lock_irqsave(&dev->video_mode.slock, flags); in return_all_buffers() 1390 spin_unlock_irqrestore(&dev->video_mode.slock, flags); in return_all_buffers() 1396 struct cx231xx_dmaqueue *vidq = &dev->video_mode.vidq; in start_streaming() 1447 spin_lock_irqsave(&dev->video_mode.slock, flags); in stop_streaming() [all …]
|
D | cx231xx-cards.c | 1411 spin_lock_init(&dev->video_mode.slock); in cx231xx_init_dev() 1483 INIT_LIST_HEAD(&dev->video_mode.vidq.active); in cx231xx_init_dev() 1570 dev->video_mode.end_point_addr = uif->altsetting[0].endpoint[isoc_pipe].desc.bEndpointAddress; in cx231xx_init_v4l2() 1571 dev->video_mode.num_alt = uif->num_altsetting; in cx231xx_init_v4l2() 1575 dev->video_mode.end_point_addr, in cx231xx_init_v4l2() 1576 dev->video_mode.num_alt); in cx231xx_init_v4l2() 1578 …dev->video_mode.alt_max_pkt_size = devm_kmalloc_array(&udev->dev, 32, dev->video_mode.num_alt, GFP… in cx231xx_init_v4l2() 1579 if (dev->video_mode.alt_max_pkt_size == NULL) in cx231xx_init_v4l2() 1582 for (i = 0; i < dev->video_mode.num_alt; i++) { in cx231xx_init_v4l2() 1589 dev->video_mode.alt_max_pkt_size[i] = (tmp & 0x07ff) * (((tmp & 0x1800) >> 11) + 1); in cx231xx_init_v4l2() [all …]
|
/linux-6.6.21/drivers/ps3/ |
D | ps3av_cmd.c | 369 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 …]
|
D | ps3av.c | 486 const struct avset_video_mode *video_mode; in ps3av_set_videomode_packet() local 489 video_mode = &video_mode_table[id & PS3AV_MODE_MASK]; in ps3av_set_videomode_packet() 500 ps3av->head[i], video_mode->vid, in ps3av_set_videomode_packet() 501 video_mode->fmt, id); in ps3av_set_videomode_packet() 507 av_video_cs = video_mode->cs; in ps3av_set_videomode_packet() 515 video_mode->vid, av_video_cs, in ps3av_set_videomode_packet() 516 video_mode->aspect, id); in ps3av_set_videomode_packet()
|
/linux-6.6.21/drivers/media/usb/gspca/ |
D | stv0680.c | 31 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-6.6.21/drivers/gpu/drm/meson/ |
D | meson_venc.c | 79 .video_mode = 0x13, 103 .video_mode = 0x8, 128 unsigned int video_mode; member 140 unsigned int video_mode; member 199 .video_mode = 0x8, 219 .video_mode = 0x13, 234 .video_mode = 0x4000, 280 .video_mode = 0x4000, 326 .video_mode = 0x4040, 368 .video_mode = 0x4040, [all …]
|
D | meson_venc.h | 35 unsigned int video_mode; member
|
/linux-6.6.21/drivers/media/tuners/ |
D | xc4000.c | 180 u16 video_mode; member 348 u16 video_mode, u16 audio_mode) in xc_set_tv_standard() argument 351 dprintk(1, "%s(0x%04x,0x%04x)\n", __func__, video_mode, audio_mode); in xc_set_tv_standard() 359 ret = xc_write_reg(priv, XREG_VIDEO_MODE, video_mode); in xc_set_tv_standard() 1213 u16 video_mode, audio_mode; in xc4000_set_params() local 1214 video_mode = xc4000_standard[priv->video_standard].video_mode; in xc4000_set_params() 1217 video_mode |= 0x0001; in xc4000_set_params() 1218 ret = xc_set_tv_standard(priv, video_mode, audio_mode); in xc4000_set_params() 1407 u16 video_mode, audio_mode; in xc4000_set_analog_params() local 1408 video_mode = xc4000_standard[priv->video_standard].video_mode; in xc4000_set_analog_params() [all …]
|
D | xc5000.c | 147 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-6.6.21/drivers/gpu/drm/panel/ |
D | panel-novatek-nt35560.c | 57 bool video_mode; member 377 if (nt->video_mode) { in nt35560_prepare() 426 if (nt->video_mode) in nt35560_get_modes() 462 nt->video_mode = of_property_read_bool(dev->of_node, in nt35560_probe() 485 if (nt->video_mode) in nt35560_probe()
|
D | panel-raydium-rm67191.c | 545 u32 video_mode; in rad_panel_probe() local 558 ret = of_property_read_u32(np, "video-mode", &video_mode); in rad_panel_probe() 560 switch (video_mode) { in rad_panel_probe() 573 dev_warn(dev, "invalid video mode %d\n", video_mode); in rad_panel_probe()
|
/linux-6.6.21/drivers/video/fbdev/ |
D | platinumfb.c | 87 static inline int platinum_vram_reqd(int video_mode, int color_mode); 219 static inline int platinum_vram_reqd(int video_mode, int color_mode) in platinum_vram_reqd() argument 221 int baseval = vmode_attrs[video_mode-1].hres * (1<<color_mode); in platinum_vram_reqd() 223 if ((video_mode == VMODE_832_624_75) && (color_mode > CMODE_8)) in platinum_vram_reqd() 228 return vmode_attrs[video_mode-1].vres * baseval + 0x1000; in platinum_vram_reqd()
|
D | ep93xx-fb.c | 467 char *video_mode; in ep93xxfb_probe() local 522 fb_get_options("ep93xx-fb", &video_mode); in ep93xxfb_probe() 523 err = fb_find_mode(&info->var, info, video_mode, in ep93xxfb_probe()
|
/linux-6.6.21/arch/x86/realmode/rm/ |
D | wakeup.h | 15 u16 video_mode; /* Video mode number */ member
|
D | wakemain.c | 85 set_mode(wakeup_header.video_mode); in main()
|
D | wakeup_asm.S | 21 video_mode: .short 0 /* Video mode number */ label
|
/linux-6.6.21/drivers/staging/rtl8712/ |
D | os_intfs.c | 44 static int video_mode = 1; /* enable video mode*/ variable 91 module_param(video_mode, int, 0644); 436 if (video_mode) in netdev_open()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dsi_vbt.c | 776 intel_dsi->video_mode == NON_BURST_SYNC_PULSE ? in intel_dsi_log_params() 778 intel_dsi->video_mode == NON_BURST_SYNC_EVENTS ? in intel_dsi_log_params() 780 intel_dsi->video_mode == BURST_MODE ? in intel_dsi_log_params() 841 intel_dsi->video_mode = mipi_config->video_transfer_mode; in intel_dsi_vbt_init() 872 if (intel_dsi->video_mode == BURST_MODE) { in intel_dsi_vbt_init()
|
D | intel_dsi.h | 83 int video_mode; member
|
/linux-6.6.21/arch/x86/kernel/acpi/ |
D | sleep.c | 69 header->video_mode = saved_video_mode; in x86_acpi_suspend_lowlevel()
|
/linux-6.6.21/arch/arm/include/uapi/asm/ |
D | setup.h | 54 __u8 video_mode; member
|
/linux-6.6.21/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi.c | 104 struct hdmi_vmode video_mode; member 696 hdmi_set_clk_regenerator(hdmi, hdmi->hdmi_data.video_mode.mtmdsclock, in hdmi_clk_regenerator_update_pixel_clock() 721 hdmi_set_clk_regenerator(hdmi, hdmi->hdmi_data.video_mode.mtmdsclock, in dw_hdmi_set_sample_rate() 1410 unsigned long mtmdsclock = hdmi->hdmi_data.video_mode.mtmdsclock; in dw_hdmi_set_high_tmds_clock_ratio() 1629 unsigned long mpixelclock = hdmi->hdmi_data.video_mode.mpixelclock; in hdmi_phy_configure() 1630 unsigned long mtmdsclock = hdmi->hdmi_data.video_mode.mtmdsclock; in hdmi_phy_configure() 1749 if (hdmi->hdmi_data.video_mode.mdataenablepolarity) in hdmi_tx_hdcp_config() 1864 val = (((hdmi->hdmi_data.video_mode.mpixelrepetitioninput + 1) << in hdmi_config_AVI() 1867 ((hdmi->hdmi_data.video_mode.mpixelrepetitionoutput << in hdmi_config_AVI() 1987 struct hdmi_vmode *vmode = &hdmi->hdmi_data.video_mode; in hdmi_av_composer() [all …]
|
/linux-6.6.21/drivers/media/usb/hdpvr/ |
D | hdpvr.h | 73 struct v4l2_ctrl *video_mode; member
|