tvout             183 drivers/acpi/acpi_video.c 	u8 tvout:1;
tvout            1180 drivers/acpi/acpi_video.c 			data->flags.tvout = 1;
tvout            1206 drivers/acpi/acpi_video.c 			data->flags.tvout = 1;
tvout            1484 drivers/acpi/acpi_video.c 				if (!video_device->flags.tvout)
tvout             125 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout;
tvout             131 drivers/gpu/drm/sti/sti_tvout.c #define to_sti_tvout(x) to_sti_tvout_encoder(x)->tvout
tvout             145 drivers/gpu/drm/sti/sti_tvout.c static u32 tvout_read(struct sti_tvout *tvout, int offset)
tvout             147 drivers/gpu/drm/sti/sti_tvout.c 	return readl(tvout->regs + offset);
tvout             150 drivers/gpu/drm/sti/sti_tvout.c static void tvout_write(struct sti_tvout *tvout, u32 val, int offset)
tvout             152 drivers/gpu/drm/sti/sti_tvout.c 	writel(val, tvout->regs + offset);
tvout             164 drivers/gpu/drm/sti/sti_tvout.c static void tvout_vip_set_color_order(struct sti_tvout *tvout, int reg,
tvout             167 drivers/gpu/drm/sti/sti_tvout.c 	u32 val = tvout_read(tvout, reg);
tvout             176 drivers/gpu/drm/sti/sti_tvout.c 	tvout_write(tvout, val, reg);
tvout             186 drivers/gpu/drm/sti/sti_tvout.c static void tvout_vip_set_clip_mode(struct sti_tvout *tvout, int reg, u32 range)
tvout             188 drivers/gpu/drm/sti/sti_tvout.c 	u32 val = tvout_read(tvout, reg);
tvout             192 drivers/gpu/drm/sti/sti_tvout.c 	tvout_write(tvout, val, reg);
tvout             202 drivers/gpu/drm/sti/sti_tvout.c static void tvout_vip_set_rnd(struct sti_tvout *tvout, int reg, u32 rnd)
tvout             204 drivers/gpu/drm/sti/sti_tvout.c 	u32 val = tvout_read(tvout, reg);
tvout             208 drivers/gpu/drm/sti/sti_tvout.c 	tvout_write(tvout, val, reg);
tvout             219 drivers/gpu/drm/sti/sti_tvout.c static void tvout_vip_set_sel_input(struct sti_tvout *tvout,
tvout             225 drivers/gpu/drm/sti/sti_tvout.c 	u32 val = tvout_read(tvout, reg);
tvout             246 drivers/gpu/drm/sti/sti_tvout.c 	tvout_write(tvout, val, reg);
tvout             256 drivers/gpu/drm/sti/sti_tvout.c static void tvout_vip_set_in_vid_fmt(struct sti_tvout *tvout,
tvout             259 drivers/gpu/drm/sti/sti_tvout.c 	u32 val = tvout_read(tvout, reg);
tvout             263 drivers/gpu/drm/sti/sti_tvout.c 	tvout_write(tvout, val, reg);
tvout             272 drivers/gpu/drm/sti/sti_tvout.c static void tvout_preformatter_set_matrix(struct sti_tvout *tvout,
tvout             284 drivers/gpu/drm/sti/sti_tvout.c 		tvout_write(tvout, *(pf_matrix + i),
tvout             286 drivers/gpu/drm/sti/sti_tvout.c 		tvout_write(tvout, *(pf_matrix + i),
tvout             298 drivers/gpu/drm/sti/sti_tvout.c static void tvout_dvo_start(struct sti_tvout *tvout, bool main_path)
tvout             303 drivers/gpu/drm/sti/sti_tvout.c 	dev_dbg(tvout->dev, "%s\n", __func__);
tvout             312 drivers/gpu/drm/sti/sti_tvout.c 		tvout_write(tvout, val, TVO_DVO_SYNC_SEL);
tvout             321 drivers/gpu/drm/sti/sti_tvout.c 		tvout_write(tvout, val, TVO_DVO_SYNC_SEL);
tvout             326 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_color_order(tvout, TVO_VIP_DVO,
tvout             332 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_clip_mode(tvout, TVO_VIP_DVO, TVO_VIP_CLIP_DISABLED);
tvout             335 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_rnd(tvout, TVO_VIP_DVO, TVO_VIP_RND_8BIT_ROUNDED);
tvout             338 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_in_vid_fmt(tvout, tvo_in_vid_format, TVO_IN_FMT_SIGNED);
tvout             341 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_sel_input(tvout, TVO_VIP_DVO, main_path,
tvout             352 drivers/gpu/drm/sti/sti_tvout.c static void tvout_hdmi_start(struct sti_tvout *tvout, bool main_path)
tvout             356 drivers/gpu/drm/sti/sti_tvout.c 	dev_dbg(tvout->dev, "%s\n", __func__);
tvout             361 drivers/gpu/drm/sti/sti_tvout.c 		tvout_write(tvout,
tvout             368 drivers/gpu/drm/sti/sti_tvout.c 		tvout_write(tvout,
tvout             375 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_color_order(tvout, TVO_VIP_HDMI,
tvout             381 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_clip_mode(tvout, TVO_VIP_HDMI, TVO_VIP_CLIP_DISABLED);
tvout             384 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_rnd(tvout, TVO_VIP_HDMI, TVO_VIP_RND_8BIT_ROUNDED);
tvout             387 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_in_vid_fmt(tvout, tvo_in_vid_format, TVO_IN_FMT_SIGNED);
tvout             390 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_sel_input(tvout, TVO_VIP_HDMI, main_path,
tvout             401 drivers/gpu/drm/sti/sti_tvout.c static void tvout_hda_start(struct sti_tvout *tvout, bool main_path)
tvout             406 drivers/gpu/drm/sti/sti_tvout.c 	dev_dbg(tvout->dev, "%s\n", __func__);
tvout             414 drivers/gpu/drm/sti/sti_tvout.c 		tvout_write(tvout, val, TVO_HD_SYNC_SEL);
tvout             422 drivers/gpu/drm/sti/sti_tvout.c 		tvout_write(tvout, val, TVO_HD_SYNC_SEL);
tvout             427 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_color_order(tvout, TVO_VIP_HDF,
tvout             433 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_clip_mode(tvout, TVO_VIP_HDF, TVO_VIP_CLIP_DISABLED);
tvout             436 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_rnd(tvout, TVO_VIP_HDF, TVO_VIP_RND_10BIT_ROUNDED);
tvout             439 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_in_vid_fmt(tvout, tvo_in_vid_format, TVO_IN_FMT_SIGNED);
tvout             442 drivers/gpu/drm/sti/sti_tvout.c 	tvout_vip_set_sel_input(tvout, TVO_VIP_HDF, main_path,
tvout             446 drivers/gpu/drm/sti/sti_tvout.c 	tvout_write(tvout, 0, TVO_HD_DAC_CFG_OFF);
tvout             450 drivers/gpu/drm/sti/sti_tvout.c 				   readl(tvout->regs + reg))
tvout             500 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = (struct sti_tvout *)node->info_ent->data;
tvout             503 drivers/gpu/drm/sti/sti_tvout.c 	seq_printf(s, "TVOUT: (vaddr = 0x%p)", tvout->regs);
tvout             506 drivers/gpu/drm/sti/sti_tvout.c 	crtc = tvout->hdmi->crtc;
tvout             512 drivers/gpu/drm/sti/sti_tvout.c 		tvout_dbg_vip(s, readl(tvout->regs + TVO_VIP_HDMI));
tvout             518 drivers/gpu/drm/sti/sti_tvout.c 	crtc = tvout->dvo->crtc;
tvout             525 drivers/gpu/drm/sti/sti_tvout.c 		tvout_dbg_vip(s, readl(tvout->regs + TVO_VIP_DVO));
tvout             531 drivers/gpu/drm/sti/sti_tvout.c 	crtc = tvout->hda->crtc;
tvout             538 drivers/gpu/drm/sti/sti_tvout.c 				     readl(tvout->regs + TVO_HD_DAC_CFG_OFF));
tvout             540 drivers/gpu/drm/sti/sti_tvout.c 		tvout_dbg_vip(s, readl(tvout->regs + TVO_VIP_HDF));
tvout             573 drivers/gpu/drm/sti/sti_tvout.c static int tvout_debugfs_init(struct sti_tvout *tvout, struct drm_minor *minor)
tvout             578 drivers/gpu/drm/sti/sti_tvout.c 		tvout_debugfs_files[i].data = tvout;
tvout             605 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = to_sti_tvout(encoder);
tvout             608 drivers/gpu/drm/sti/sti_tvout.c 	if (tvout->debugfs_registered)
tvout             611 drivers/gpu/drm/sti/sti_tvout.c 	ret = tvout_debugfs_init(tvout, encoder->dev->primary);
tvout             615 drivers/gpu/drm/sti/sti_tvout.c 	tvout->debugfs_registered = true;
tvout             621 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = to_sti_tvout(encoder);
tvout             623 drivers/gpu/drm/sti/sti_tvout.c 	if (!tvout->debugfs_registered)
tvout             626 drivers/gpu/drm/sti/sti_tvout.c 	tvout->debugfs_registered = false;
tvout             637 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = to_sti_tvout(encoder);
tvout             639 drivers/gpu/drm/sti/sti_tvout.c 	tvout_preformatter_set_matrix(tvout, &encoder->crtc->mode);
tvout             641 drivers/gpu/drm/sti/sti_tvout.c 	tvout_dvo_start(tvout, sti_crtc_is_main(encoder->crtc));
tvout             646 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = to_sti_tvout(encoder);
tvout             649 drivers/gpu/drm/sti/sti_tvout.c 	tvout_write(tvout, 0x0, TVO_VIP_DVO);
tvout             661 drivers/gpu/drm/sti/sti_tvout.c 			     struct sti_tvout *tvout)
tvout             666 drivers/gpu/drm/sti/sti_tvout.c 	encoder = devm_kzalloc(tvout->dev, sizeof(*encoder), GFP_KERNEL);
tvout             670 drivers/gpu/drm/sti/sti_tvout.c 	encoder->tvout = tvout;
tvout             687 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = to_sti_tvout(encoder);
tvout             689 drivers/gpu/drm/sti/sti_tvout.c 	tvout_preformatter_set_matrix(tvout, &encoder->crtc->mode);
tvout             691 drivers/gpu/drm/sti/sti_tvout.c 	tvout_hda_start(tvout, sti_crtc_is_main(encoder->crtc));
tvout             696 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = to_sti_tvout(encoder);
tvout             699 drivers/gpu/drm/sti/sti_tvout.c 	tvout_write(tvout, 0x0, TVO_VIP_HDF);
tvout             702 drivers/gpu/drm/sti/sti_tvout.c 	tvout_write(tvout, 1, TVO_HD_DAC_CFG_OFF);
tvout             713 drivers/gpu/drm/sti/sti_tvout.c 		struct sti_tvout *tvout)
tvout             718 drivers/gpu/drm/sti/sti_tvout.c 	encoder = devm_kzalloc(tvout->dev, sizeof(*encoder), GFP_KERNEL);
tvout             722 drivers/gpu/drm/sti/sti_tvout.c 	encoder->tvout = tvout;
tvout             738 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = to_sti_tvout(encoder);
tvout             740 drivers/gpu/drm/sti/sti_tvout.c 	tvout_preformatter_set_matrix(tvout, &encoder->crtc->mode);
tvout             742 drivers/gpu/drm/sti/sti_tvout.c 	tvout_hdmi_start(tvout, sti_crtc_is_main(encoder->crtc));
tvout             747 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = to_sti_tvout(encoder);
tvout             750 drivers/gpu/drm/sti/sti_tvout.c 	tvout_write(tvout, 0x0, TVO_VIP_HDMI);
tvout             761 drivers/gpu/drm/sti/sti_tvout.c 		struct sti_tvout *tvout)
tvout             766 drivers/gpu/drm/sti/sti_tvout.c 	encoder = devm_kzalloc(tvout->dev, sizeof(*encoder), GFP_KERNEL);
tvout             770 drivers/gpu/drm/sti/sti_tvout.c 	encoder->tvout = tvout;
tvout             785 drivers/gpu/drm/sti/sti_tvout.c 		struct sti_tvout *tvout)
tvout             787 drivers/gpu/drm/sti/sti_tvout.c 	tvout->hdmi = sti_tvout_create_hdmi_encoder(dev, tvout);
tvout             788 drivers/gpu/drm/sti/sti_tvout.c 	tvout->hda = sti_tvout_create_hda_encoder(dev, tvout);
tvout             789 drivers/gpu/drm/sti/sti_tvout.c 	tvout->dvo = sti_tvout_create_dvo_encoder(dev, tvout);
tvout             791 drivers/gpu/drm/sti/sti_tvout.c 	tvout->hdmi->possible_clones = drm_encoder_mask(tvout->hdmi) |
tvout             792 drivers/gpu/drm/sti/sti_tvout.c 		drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo);
tvout             793 drivers/gpu/drm/sti/sti_tvout.c 	tvout->hda->possible_clones = drm_encoder_mask(tvout->hdmi) |
tvout             794 drivers/gpu/drm/sti/sti_tvout.c 		drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo);
tvout             795 drivers/gpu/drm/sti/sti_tvout.c 	tvout->dvo->possible_clones = drm_encoder_mask(tvout->hdmi) |
tvout             796 drivers/gpu/drm/sti/sti_tvout.c 		drm_encoder_mask(tvout->hda) | drm_encoder_mask(tvout->dvo);
tvout             799 drivers/gpu/drm/sti/sti_tvout.c static void sti_tvout_destroy_encoders(struct sti_tvout *tvout)
tvout             801 drivers/gpu/drm/sti/sti_tvout.c 	if (tvout->hdmi)
tvout             802 drivers/gpu/drm/sti/sti_tvout.c 		drm_encoder_cleanup(tvout->hdmi);
tvout             803 drivers/gpu/drm/sti/sti_tvout.c 	tvout->hdmi = NULL;
tvout             805 drivers/gpu/drm/sti/sti_tvout.c 	if (tvout->hda)
tvout             806 drivers/gpu/drm/sti/sti_tvout.c 		drm_encoder_cleanup(tvout->hda);
tvout             807 drivers/gpu/drm/sti/sti_tvout.c 	tvout->hda = NULL;
tvout             809 drivers/gpu/drm/sti/sti_tvout.c 	if (tvout->dvo)
tvout             810 drivers/gpu/drm/sti/sti_tvout.c 		drm_encoder_cleanup(tvout->dvo);
tvout             811 drivers/gpu/drm/sti/sti_tvout.c 	tvout->dvo = NULL;
tvout             816 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = dev_get_drvdata(dev);
tvout             819 drivers/gpu/drm/sti/sti_tvout.c 	tvout->drm_dev = drm_dev;
tvout             821 drivers/gpu/drm/sti/sti_tvout.c 	sti_tvout_create_encoders(drm_dev, tvout);
tvout             829 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout = dev_get_drvdata(dev);
tvout             831 drivers/gpu/drm/sti/sti_tvout.c 	sti_tvout_destroy_encoders(tvout);
tvout             843 drivers/gpu/drm/sti/sti_tvout.c 	struct sti_tvout *tvout;
tvout             851 drivers/gpu/drm/sti/sti_tvout.c 	tvout = devm_kzalloc(dev, sizeof(*tvout), GFP_KERNEL);
tvout             852 drivers/gpu/drm/sti/sti_tvout.c 	if (!tvout)
tvout             855 drivers/gpu/drm/sti/sti_tvout.c 	tvout->dev = dev;
tvout             863 drivers/gpu/drm/sti/sti_tvout.c 	tvout->regs = devm_ioremap_nocache(dev, res->start, resource_size(res));
tvout             864 drivers/gpu/drm/sti/sti_tvout.c 	if (!tvout->regs)
tvout             868 drivers/gpu/drm/sti/sti_tvout.c 	tvout->reset = devm_reset_control_get(dev, "tvout");
tvout             870 drivers/gpu/drm/sti/sti_tvout.c 	if (!IS_ERR(tvout->reset))
tvout             871 drivers/gpu/drm/sti/sti_tvout.c 		reset_control_deassert(tvout->reset);
tvout             873 drivers/gpu/drm/sti/sti_tvout.c 	platform_set_drvdata(pdev, tvout);
tvout             325 drivers/video/fbdev/matrox/matroxfb_base.h 		unsigned char state, tvout;
tvout             466 drivers/video/fbdev/matrox/matroxfb_misc.c 	bd->output.tvout = 0;
tvout             480 drivers/video/fbdev/matrox/matroxfb_misc.c 				bd->output.tvout = 1;
tvout              49 sound/soc/ti/rx51.c 	int hp = 0, hs = 0, tvout = 0;
tvout              53 sound/soc/ti/rx51.c 		tvout = 1;
tvout              83 sound/soc/ti/rx51.c 	gpiod_set_value(pdata->tvout_selection_gpio, tvout);