intel_sdvo        178 drivers/gpu/drm/i915/display/intel_sdvo.c static struct intel_sdvo *to_sdvo(struct intel_encoder *encoder)
intel_sdvo        180 drivers/gpu/drm/i915/display/intel_sdvo.c 	return container_of(encoder, struct intel_sdvo, base);
intel_sdvo        183 drivers/gpu/drm/i915/display/intel_sdvo.c static struct intel_sdvo *intel_attached_sdvo(struct drm_connector *connector)
intel_sdvo        198 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_output_setup(struct intel_sdvo *intel_sdvo, u16 flags);
intel_sdvo        200 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_tv_create_property(struct intel_sdvo *intel_sdvo,
intel_sdvo        204 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_create_enhance_property(struct intel_sdvo *intel_sdvo,
intel_sdvo        212 drivers/gpu/drm/i915/display/intel_sdvo.c static void intel_sdvo_write_sdvox(struct intel_sdvo *intel_sdvo, u32 val)
intel_sdvo        214 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct drm_device *dev = intel_sdvo->base.base.dev;
intel_sdvo        220 drivers/gpu/drm/i915/display/intel_sdvo.c 		I915_WRITE(intel_sdvo->sdvo_reg, val);
intel_sdvo        221 drivers/gpu/drm/i915/display/intel_sdvo.c 		POSTING_READ(intel_sdvo->sdvo_reg);
intel_sdvo        227 drivers/gpu/drm/i915/display/intel_sdvo.c 			I915_WRITE(intel_sdvo->sdvo_reg, val);
intel_sdvo        228 drivers/gpu/drm/i915/display/intel_sdvo.c 			POSTING_READ(intel_sdvo->sdvo_reg);
intel_sdvo        233 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo->port == PORT_B)
intel_sdvo        252 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_read_byte(struct intel_sdvo *intel_sdvo, u8 addr, u8 *ch)
intel_sdvo        256 drivers/gpu/drm/i915/display/intel_sdvo.c 			.addr = intel_sdvo->slave_addr,
intel_sdvo        262 drivers/gpu/drm/i915/display/intel_sdvo.c 			.addr = intel_sdvo->slave_addr,
intel_sdvo        270 drivers/gpu/drm/i915/display/intel_sdvo.c 	if ((ret = i2c_transfer(intel_sdvo->i2c, msgs, 2)) == 2)
intel_sdvo        412 drivers/gpu/drm/i915/display/intel_sdvo.c static void intel_sdvo_debug_write(struct intel_sdvo *intel_sdvo, u8 cmd,
intel_sdvo        440 drivers/gpu/drm/i915/display/intel_sdvo.c 	DRM_DEBUG_KMS("%s: W: %02X %s\n", SDVO_NAME(intel_sdvo), cmd, buffer);
intel_sdvo        461 drivers/gpu/drm/i915/display/intel_sdvo.c static bool __intel_sdvo_write_cmd(struct intel_sdvo *intel_sdvo, u8 cmd,
intel_sdvo        480 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_debug_write(intel_sdvo, cmd, args, args_len);
intel_sdvo        483 drivers/gpu/drm/i915/display/intel_sdvo.c 		msgs[i].addr = intel_sdvo->slave_addr;
intel_sdvo        490 drivers/gpu/drm/i915/display/intel_sdvo.c 	msgs[i].addr = intel_sdvo->slave_addr;
intel_sdvo        499 drivers/gpu/drm/i915/display/intel_sdvo.c 	msgs[i+1].addr = intel_sdvo->slave_addr;
intel_sdvo        504 drivers/gpu/drm/i915/display/intel_sdvo.c 	msgs[i+2].addr = intel_sdvo->slave_addr;
intel_sdvo        510 drivers/gpu/drm/i915/display/intel_sdvo.c 		ret = i2c_transfer(intel_sdvo->i2c, msgs, i+3);
intel_sdvo        512 drivers/gpu/drm/i915/display/intel_sdvo.c 		ret = __i2c_transfer(intel_sdvo->i2c, msgs, i+3);
intel_sdvo        530 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_write_cmd(struct intel_sdvo *intel_sdvo, u8 cmd,
intel_sdvo        533 drivers/gpu/drm/i915/display/intel_sdvo.c 	return __intel_sdvo_write_cmd(intel_sdvo, cmd, args, args_len, true);
intel_sdvo        536 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_read_response(struct intel_sdvo *intel_sdvo,
intel_sdvo        565 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_read_byte(intel_sdvo,
intel_sdvo        577 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_read_byte(intel_sdvo,
intel_sdvo        597 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_read_byte(intel_sdvo,
intel_sdvo        607 drivers/gpu/drm/i915/display/intel_sdvo.c 	DRM_DEBUG_KMS("%s: R: %s\n", SDVO_NAME(intel_sdvo), buffer);
intel_sdvo        612 drivers/gpu/drm/i915/display/intel_sdvo.c 		      SDVO_NAME(intel_sdvo), buffer);
intel_sdvo        626 drivers/gpu/drm/i915/display/intel_sdvo.c static bool __intel_sdvo_set_control_bus_switch(struct intel_sdvo *intel_sdvo,
intel_sdvo        630 drivers/gpu/drm/i915/display/intel_sdvo.c 	return __intel_sdvo_write_cmd(intel_sdvo,
intel_sdvo        635 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_value(struct intel_sdvo *intel_sdvo, u8 cmd, const void *data, int len)
intel_sdvo        637 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_write_cmd(intel_sdvo, cmd, data, len))
intel_sdvo        640 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_read_response(intel_sdvo, NULL, 0);
intel_sdvo        644 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_get_value(struct intel_sdvo *intel_sdvo, u8 cmd, void *value, int len)
intel_sdvo        646 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_write_cmd(intel_sdvo, cmd, NULL, 0))
intel_sdvo        649 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_read_response(intel_sdvo, value, len);
intel_sdvo        652 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_target_input(struct intel_sdvo *intel_sdvo)
intel_sdvo        655 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo,
intel_sdvo        666 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_get_trained_inputs(struct intel_sdvo *intel_sdvo, bool *input_1, bool *input_2)
intel_sdvo        671 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_TRAINED_INPUTS,
intel_sdvo        680 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_active_outputs(struct intel_sdvo *intel_sdvo,
intel_sdvo        683 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo,
intel_sdvo        688 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_get_active_outputs(struct intel_sdvo *intel_sdvo,
intel_sdvo        691 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_get_value(intel_sdvo,
intel_sdvo        696 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_encoder_power_state(struct intel_sdvo *intel_sdvo,
intel_sdvo        716 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo,
intel_sdvo        720 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_get_input_pixel_clock_range(struct intel_sdvo *intel_sdvo,
intel_sdvo        727 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo        738 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_target_output(struct intel_sdvo *intel_sdvo,
intel_sdvo        741 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo,
intel_sdvo        746 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_timing(struct intel_sdvo *intel_sdvo, u8 cmd,
intel_sdvo        749 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo, cmd, &dtd->part1, sizeof(dtd->part1)) &&
intel_sdvo        750 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_set_value(intel_sdvo, cmd + 1, &dtd->part2, sizeof(dtd->part2));
intel_sdvo        753 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_get_timing(struct intel_sdvo *intel_sdvo, u8 cmd,
intel_sdvo        756 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_get_value(intel_sdvo, cmd, &dtd->part1, sizeof(dtd->part1)) &&
intel_sdvo        757 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_get_value(intel_sdvo, cmd + 1, &dtd->part2, sizeof(dtd->part2));
intel_sdvo        760 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_input_timing(struct intel_sdvo *intel_sdvo,
intel_sdvo        763 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_timing(intel_sdvo,
intel_sdvo        767 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_output_timing(struct intel_sdvo *intel_sdvo,
intel_sdvo        770 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_timing(intel_sdvo,
intel_sdvo        774 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_get_input_timing(struct intel_sdvo *intel_sdvo,
intel_sdvo        777 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_get_timing(intel_sdvo,
intel_sdvo        782 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_create_preferred_input_timing(struct intel_sdvo *intel_sdvo,
intel_sdvo        805 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo,
intel_sdvo        810 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_get_preferred_input_timing(struct intel_sdvo *intel_sdvo,
intel_sdvo        815 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_PREFERRED_INPUT_TIMING_PART1,
intel_sdvo        817 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_PREFERRED_INPUT_TIMING_PART2,
intel_sdvo        821 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_clock_rate_mult(struct intel_sdvo *intel_sdvo, u8 val)
intel_sdvo        823 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo, SDVO_CMD_SET_CLOCK_RATE_MULT, &val, 1);
intel_sdvo        925 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_check_supp_encode(struct intel_sdvo *intel_sdvo)
intel_sdvo        930 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_get_value(intel_sdvo,
intel_sdvo        935 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_encode(struct intel_sdvo *intel_sdvo,
intel_sdvo        938 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo, SDVO_CMD_SET_ENCODE, &mode, 1);
intel_sdvo        941 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_colorimetry(struct intel_sdvo *intel_sdvo,
intel_sdvo        944 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo, SDVO_CMD_SET_COLORIMETRY, &mode, 1);
intel_sdvo        947 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_audio_state(struct intel_sdvo *intel_sdvo,
intel_sdvo        950 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo, SDVO_CMD_SET_AUDIO_STAT,
intel_sdvo        954 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_get_hbuf_size(struct intel_sdvo *intel_sdvo,
intel_sdvo        957 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_HBUF_INFO,
intel_sdvo        969 drivers/gpu/drm/i915/display/intel_sdvo.c static void intel_sdvo_dump_hdmi_buf(struct intel_sdvo *intel_sdvo)
intel_sdvo        998 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_write_infoframe(struct intel_sdvo *intel_sdvo,
intel_sdvo       1006 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_value(intel_sdvo,
intel_sdvo       1011 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_hbuf_size(intel_sdvo, &hbuf_size))
intel_sdvo       1025 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_set_value(intel_sdvo,
intel_sdvo       1031 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo,
intel_sdvo       1036 drivers/gpu/drm/i915/display/intel_sdvo.c static ssize_t intel_sdvo_read_infoframe(struct intel_sdvo *intel_sdvo,
intel_sdvo       1044 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo       1052 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_value(intel_sdvo,
intel_sdvo       1057 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo       1065 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_hbuf_size(intel_sdvo, &hbuf_size))
intel_sdvo       1074 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_write_cmd(intel_sdvo, SDVO_CMD_GET_HBUF_DATA, NULL, 0))
intel_sdvo       1076 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_read_response(intel_sdvo, &data[i],
intel_sdvo       1084 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_compute_avi_infoframe(struct intel_sdvo *intel_sdvo,
intel_sdvo       1119 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_avi_infoframe(struct intel_sdvo *intel_sdvo,
intel_sdvo       1137 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_write_infoframe(intel_sdvo, SDVO_HBUF_INDEX_AVI_IF,
intel_sdvo       1142 drivers/gpu/drm/i915/display/intel_sdvo.c static void intel_sdvo_get_avi_infoframe(struct intel_sdvo *intel_sdvo,
intel_sdvo       1153 drivers/gpu/drm/i915/display/intel_sdvo.c 	len = intel_sdvo_read_infoframe(intel_sdvo, SDVO_HBUF_INDEX_AVI_IF,
intel_sdvo       1176 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_set_tv_format(struct intel_sdvo *intel_sdvo,
intel_sdvo       1187 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_set_value(intel_sdvo,
intel_sdvo       1193 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_set_output_timings_from_mode(struct intel_sdvo *intel_sdvo,
intel_sdvo       1198 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_target_output(intel_sdvo,
intel_sdvo       1199 drivers/gpu/drm/i915/display/intel_sdvo.c 					  intel_sdvo->attached_output))
intel_sdvo       1203 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_output_timing(intel_sdvo, &output_dtd))
intel_sdvo       1214 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_get_preferred_input_mode(struct intel_sdvo *intel_sdvo,
intel_sdvo       1222 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_target_input(intel_sdvo))
intel_sdvo       1225 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_create_preferred_input_timing(intel_sdvo,
intel_sdvo       1232 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_preferred_input_timing(intel_sdvo,
intel_sdvo       1237 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo->dtd_sdvo_flags = input_dtd.part2.sdvo_flags;
intel_sdvo       1274 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = to_sdvo(encoder);
intel_sdvo       1296 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_set_output_timings_from_mode(intel_sdvo, mode))
intel_sdvo       1299 drivers/gpu/drm/i915/display/intel_sdvo.c 		(void) intel_sdvo_get_preferred_input_mode(intel_sdvo,
intel_sdvo       1305 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_set_output_timings_from_mode(intel_sdvo,
intel_sdvo       1309 drivers/gpu/drm/i915/display/intel_sdvo.c 		(void) intel_sdvo_get_preferred_input_mode(intel_sdvo,
intel_sdvo       1326 drivers/gpu/drm/i915/display/intel_sdvo.c 		pipe_config->has_hdmi_sink = intel_sdvo->has_hdmi_monitor;
intel_sdvo       1329 drivers/gpu/drm/i915/display/intel_sdvo.c 	    (intel_sdvo_state->base.force_audio == HDMI_AUDIO_AUTO && intel_sdvo->has_hdmi_audio))
intel_sdvo       1356 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_compute_avi_infoframe(intel_sdvo,
intel_sdvo       1368 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_set_value(intel_sdvo, SDVO_CMD_SET_##NAME, &val, sizeof(val)); \
intel_sdvo       1371 drivers/gpu/drm/i915/display/intel_sdvo.c static void intel_sdvo_update_props(struct intel_sdvo *intel_sdvo,
intel_sdvo       1439 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = to_sdvo(intel_encoder);
intel_sdvo       1445 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_update_props(intel_sdvo, sdvo_state);
intel_sdvo       1454 drivers/gpu/drm/i915/display/intel_sdvo.c 	in_out.in0 = intel_sdvo->attached_output;
intel_sdvo       1457 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_set_value(intel_sdvo,
intel_sdvo       1462 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_target_output(intel_sdvo,
intel_sdvo       1463 drivers/gpu/drm/i915/display/intel_sdvo.c 					  intel_sdvo->attached_output))
intel_sdvo       1472 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_output_timing(intel_sdvo, &output_dtd))
intel_sdvo       1474 drivers/gpu/drm/i915/display/intel_sdvo.c 			 SDVO_NAME(intel_sdvo));
intel_sdvo       1477 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_target_input(intel_sdvo))
intel_sdvo       1481 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_set_encode(intel_sdvo, SDVO_ENCODE_HDMI);
intel_sdvo       1482 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_set_colorimetry(intel_sdvo,
intel_sdvo       1484 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_set_avi_infoframe(intel_sdvo, crtc_state);
intel_sdvo       1486 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_set_encode(intel_sdvo, SDVO_ENCODE_DVI);
intel_sdvo       1489 drivers/gpu/drm/i915/display/intel_sdvo.c 	    !intel_sdvo_set_tv_format(intel_sdvo, conn_state))
intel_sdvo       1495 drivers/gpu/drm/i915/display/intel_sdvo.c 		input_dtd.part2.sdvo_flags = intel_sdvo->dtd_sdvo_flags;
intel_sdvo       1496 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_input_timing(intel_sdvo, &input_dtd))
intel_sdvo       1498 drivers/gpu/drm/i915/display/intel_sdvo.c 			 SDVO_NAME(intel_sdvo));
intel_sdvo       1508 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_clock_rate_mult(intel_sdvo, rate))
intel_sdvo       1521 drivers/gpu/drm/i915/display/intel_sdvo.c 		sdvox = I915_READ(intel_sdvo->sdvo_reg);
intel_sdvo       1522 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (intel_sdvo->port == PORT_B)
intel_sdvo       1547 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_write_sdvox(intel_sdvo, sdvox);
intel_sdvo       1554 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = intel_attached_sdvo(&connector->base);
intel_sdvo       1557 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_get_active_outputs(intel_sdvo, &active_outputs);
intel_sdvo       1584 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = to_sdvo(encoder);
intel_sdvo       1588 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_get_active_outputs(intel_sdvo, &active_outputs);
intel_sdvo       1590 drivers/gpu/drm/i915/display/intel_sdvo.c 	ret = intel_sdvo_port_enabled(dev_priv, intel_sdvo->sdvo_reg, pipe);
intel_sdvo       1600 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = to_sdvo(encoder);
intel_sdvo       1610 drivers/gpu/drm/i915/display/intel_sdvo.c 	sdvox = I915_READ(intel_sdvo->sdvo_reg);
intel_sdvo       1612 drivers/gpu/drm/i915/display/intel_sdvo.c 	ret = intel_sdvo_get_input_timing(intel_sdvo, &dtd);
intel_sdvo       1655 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_CLOCK_RATE_MULT,
intel_sdvo       1677 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_AUDIO_STAT,
intel_sdvo       1685 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_ENCODE,
intel_sdvo       1691 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_get_avi_infoframe(intel_sdvo, pipe_config);
intel_sdvo       1694 drivers/gpu/drm/i915/display/intel_sdvo.c static void intel_sdvo_disable_audio(struct intel_sdvo *intel_sdvo)
intel_sdvo       1696 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_set_audio_state(intel_sdvo, 0);
intel_sdvo       1699 drivers/gpu/drm/i915/display/intel_sdvo.c static void intel_sdvo_enable_audio(struct intel_sdvo *intel_sdvo,
intel_sdvo       1710 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_set_audio_state(intel_sdvo, 0);
intel_sdvo       1712 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_write_infoframe(intel_sdvo, SDVO_HBUF_INDEX_ELD,
intel_sdvo       1716 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_set_audio_state(intel_sdvo, SDVO_AUDIO_ELD_VALID |
intel_sdvo       1725 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = to_sdvo(encoder);
intel_sdvo       1730 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_disable_audio(intel_sdvo);
intel_sdvo       1732 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_set_active_outputs(intel_sdvo, 0);
intel_sdvo       1734 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_set_encoder_power_state(intel_sdvo,
intel_sdvo       1737 drivers/gpu/drm/i915/display/intel_sdvo.c 	temp = I915_READ(intel_sdvo->sdvo_reg);
intel_sdvo       1740 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_write_sdvox(intel_sdvo, temp);
intel_sdvo       1757 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_write_sdvox(intel_sdvo, temp);
intel_sdvo       1760 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_write_sdvox(intel_sdvo, temp);
intel_sdvo       1787 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = to_sdvo(encoder);
intel_sdvo       1794 drivers/gpu/drm/i915/display/intel_sdvo.c 	temp = I915_READ(intel_sdvo->sdvo_reg);
intel_sdvo       1796 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_write_sdvox(intel_sdvo, temp);
intel_sdvo       1801 drivers/gpu/drm/i915/display/intel_sdvo.c 	success = intel_sdvo_get_trained_inputs(intel_sdvo, &input1, &input2);
intel_sdvo       1810 drivers/gpu/drm/i915/display/intel_sdvo.c 				"sync\n", SDVO_NAME(intel_sdvo));
intel_sdvo       1814 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_set_encoder_power_state(intel_sdvo,
intel_sdvo       1816 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_set_active_outputs(intel_sdvo, intel_sdvo->attached_output);
intel_sdvo       1819 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_enable_audio(intel_sdvo, pipe_config, conn_state);
intel_sdvo       1826 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = intel_attached_sdvo(connector);
intel_sdvo       1834 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo->pixel_clock_min > mode->clock)
intel_sdvo       1837 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo->pixel_clock_max < mode->clock)
intel_sdvo       1857 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_get_capabilities(struct intel_sdvo *intel_sdvo, struct intel_sdvo_caps *caps)
intel_sdvo       1860 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo       1894 drivers/gpu/drm/i915/display/intel_sdvo.c static u16 intel_sdvo_get_hotplug_support(struct intel_sdvo *intel_sdvo)
intel_sdvo       1896 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct drm_i915_private *dev_priv = to_i915(intel_sdvo->base.base.dev);
intel_sdvo       1909 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_HOT_PLUG_SUPPORT,
intel_sdvo       1918 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = to_sdvo(encoder);
intel_sdvo       1920 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_write_cmd(intel_sdvo, SDVO_CMD_SET_ACTIVE_HOT_PLUG,
intel_sdvo       1921 drivers/gpu/drm/i915/display/intel_sdvo.c 			     &intel_sdvo->hotplug_active, 2);
intel_sdvo       1935 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_multifunc_encoder(struct intel_sdvo *intel_sdvo)
intel_sdvo       1938 drivers/gpu/drm/i915/display/intel_sdvo.c 	return hweight16(intel_sdvo->caps.output_flags) > 1;
intel_sdvo       1944 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *sdvo = intel_attached_sdvo(connector);
intel_sdvo       1962 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = intel_attached_sdvo(connector);
intel_sdvo       1970 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (edid == NULL && intel_sdvo_multifunc_encoder(intel_sdvo)) {
intel_sdvo       1971 drivers/gpu/drm/i915/display/intel_sdvo.c 		u8 ddc, saved_ddc = intel_sdvo->ddc_bus;
intel_sdvo       1977 drivers/gpu/drm/i915/display/intel_sdvo.c 		for (ddc = intel_sdvo->ddc_bus >> 1; ddc > 1; ddc >>= 1) {
intel_sdvo       1978 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->ddc_bus = ddc;
intel_sdvo       1988 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->ddc_bus = saved_ddc;
intel_sdvo       2004 drivers/gpu/drm/i915/display/intel_sdvo.c 				intel_sdvo->has_hdmi_monitor = drm_detect_hdmi_monitor(edid);
intel_sdvo       2005 drivers/gpu/drm/i915/display/intel_sdvo.c 				intel_sdvo->has_hdmi_audio = drm_detect_monitor_audio(edid);
intel_sdvo       2031 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = intel_attached_sdvo(connector);
intel_sdvo       2038 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo       2050 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo->attached_output = response;
intel_sdvo       2052 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo->has_hdmi_monitor = false;
intel_sdvo       2053 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo->has_hdmi_audio = false;
intel_sdvo       2178 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = intel_attached_sdvo(connector);
intel_sdvo       2195 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_target_output(intel_sdvo, intel_sdvo->attached_output))
intel_sdvo       2199 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_write_cmd(intel_sdvo,
intel_sdvo       2203 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_read_response(intel_sdvo, &reply, 3))
intel_sdvo       2218 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = intel_attached_sdvo(connector);
intel_sdvo       2245 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_ddc_get_modes(connector, &intel_sdvo->ddc);
intel_sdvo       2382 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *sdvo = intel_attached_sdvo(connector);
intel_sdvo       2397 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *sdvo = intel_attached_sdvo(connector);
intel_sdvo       2462 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo = to_sdvo(to_intel_encoder(encoder));
intel_sdvo       2464 drivers/gpu/drm/i915/display/intel_sdvo.c 	i2c_del_adapter(&intel_sdvo->ddc);
intel_sdvo       2473 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_guess_ddc_bus(struct intel_sdvo *sdvo)
intel_sdvo       2523 drivers/gpu/drm/i915/display/intel_sdvo.c 			  struct intel_sdvo *sdvo)
intel_sdvo       2540 drivers/gpu/drm/i915/display/intel_sdvo.c 			  struct intel_sdvo *sdvo)
intel_sdvo       2568 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_unselect_i2c_bus(struct intel_sdvo *sdvo)
intel_sdvo       2574 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_is_hdmi_connector(struct intel_sdvo *intel_sdvo, int device)
intel_sdvo       2576 drivers/gpu/drm/i915/display/intel_sdvo.c 	return intel_sdvo_check_supp_encode(intel_sdvo);
intel_sdvo       2581 drivers/gpu/drm/i915/display/intel_sdvo.c 			  struct intel_sdvo *sdvo)
intel_sdvo       2620 drivers/gpu/drm/i915/display/intel_sdvo.c 			  struct intel_sdvo *encoder)
intel_sdvo       2647 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_add_hdmi_properties(struct intel_sdvo *intel_sdvo,
intel_sdvo       2682 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_dvi_init(struct intel_sdvo *intel_sdvo, int device)
intel_sdvo       2684 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct drm_encoder *encoder = &intel_sdvo->base.base;
intel_sdvo       2697 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo->controlled_output |= SDVO_OUTPUT_TMDS0;
intel_sdvo       2700 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo->controlled_output |= SDVO_OUTPUT_TMDS1;
intel_sdvo       2706 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo_get_hotplug_support(intel_sdvo) &
intel_sdvo       2708 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo->hotplug_active |= intel_sdvo_connector->output_flag;
intel_sdvo       2721 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo_is_hdmi_connector(intel_sdvo, device)) {
intel_sdvo       2726 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo_connector_init(intel_sdvo_connector, intel_sdvo) < 0) {
intel_sdvo       2732 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_add_hdmi_properties(intel_sdvo, intel_sdvo_connector);
intel_sdvo       2738 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_tv_init(struct intel_sdvo *intel_sdvo, int type)
intel_sdvo       2740 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct drm_encoder *encoder = &intel_sdvo->base.base;
intel_sdvo       2756 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo->controlled_output |= type;
intel_sdvo       2759 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo_connector_init(intel_sdvo_connector, intel_sdvo) < 0) {
intel_sdvo       2764 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_tv_create_property(intel_sdvo, intel_sdvo_connector, type))
intel_sdvo       2767 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_create_enhance_property(intel_sdvo, intel_sdvo_connector))
intel_sdvo       2778 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_analog_init(struct intel_sdvo *intel_sdvo, int device)
intel_sdvo       2780 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct drm_encoder *encoder = &intel_sdvo->base.base;
intel_sdvo       2798 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo->controlled_output |= SDVO_OUTPUT_RGB0;
intel_sdvo       2801 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo->controlled_output |= SDVO_OUTPUT_RGB1;
intel_sdvo       2805 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo_connector_init(intel_sdvo_connector, intel_sdvo) < 0) {
intel_sdvo       2814 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_lvds_init(struct intel_sdvo *intel_sdvo, int device)
intel_sdvo       2816 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct drm_encoder *encoder = &intel_sdvo->base.base;
intel_sdvo       2834 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo->controlled_output |= SDVO_OUTPUT_LVDS0;
intel_sdvo       2837 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo->controlled_output |= SDVO_OUTPUT_LVDS1;
intel_sdvo       2841 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo_connector_init(intel_sdvo_connector, intel_sdvo) < 0) {
intel_sdvo       2846 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_create_enhance_property(intel_sdvo, intel_sdvo_connector))
intel_sdvo       2873 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_output_setup(struct intel_sdvo *intel_sdvo, u16 flags)
intel_sdvo       2878 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_dvi_init(intel_sdvo, 0))
intel_sdvo       2882 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_dvi_init(intel_sdvo, 1))
intel_sdvo       2887 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_tv_init(intel_sdvo, SDVO_OUTPUT_SVID0))
intel_sdvo       2891 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_tv_init(intel_sdvo, SDVO_OUTPUT_CVBS0))
intel_sdvo       2895 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_tv_init(intel_sdvo, SDVO_OUTPUT_YPRPB0))
intel_sdvo       2899 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_analog_init(intel_sdvo, 0))
intel_sdvo       2903 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_analog_init(intel_sdvo, 1))
intel_sdvo       2907 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_lvds_init(intel_sdvo, 0))
intel_sdvo       2911 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_lvds_init(intel_sdvo, 1))
intel_sdvo       2917 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo->controlled_output = 0;
intel_sdvo       2918 drivers/gpu/drm/i915/display/intel_sdvo.c 		memcpy(bytes, &intel_sdvo->caps.output_flags, 2);
intel_sdvo       2920 drivers/gpu/drm/i915/display/intel_sdvo.c 			      SDVO_NAME(intel_sdvo),
intel_sdvo       2924 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo->base.crtc_mask = (1 << 0) | (1 << 1) | (1 << 2);
intel_sdvo       2929 drivers/gpu/drm/i915/display/intel_sdvo.c static void intel_sdvo_output_cleanup(struct intel_sdvo *intel_sdvo)
intel_sdvo       2931 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct drm_device *dev = intel_sdvo->base.base.dev;
intel_sdvo       2936 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (intel_attached_encoder(connector) == &intel_sdvo->base) {
intel_sdvo       2943 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_tv_create_property(struct intel_sdvo *intel_sdvo,
intel_sdvo       2947 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct drm_device *dev = intel_sdvo->base.base.dev;
intel_sdvo       2951 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_target_output(intel_sdvo, type))
intel_sdvo       2955 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo       2990 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_MAX_##NAME, &data_value, 4) || \
intel_sdvo       2991 drivers/gpu/drm/i915/display/intel_sdvo.c 		    !intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_##NAME, &response, 2)) \
intel_sdvo       3007 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_create_enhance_property_tv(struct intel_sdvo *intel_sdvo,
intel_sdvo       3011 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct drm_device *dev = intel_sdvo->base.base.dev;
intel_sdvo       3020 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo       3025 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo       3054 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo       3059 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo       3103 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_get_value(intel_sdvo, SDVO_CMD_GET_DOT_CRAWL, &response, 2))
intel_sdvo       3121 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_create_enhance_property_lvds(struct intel_sdvo *intel_sdvo,
intel_sdvo       3125 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct drm_device *dev = intel_sdvo->base.base.dev;
intel_sdvo       3136 drivers/gpu/drm/i915/display/intel_sdvo.c static bool intel_sdvo_create_enhance_property(struct intel_sdvo *intel_sdvo,
intel_sdvo       3146 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_value(intel_sdvo,
intel_sdvo       3155 drivers/gpu/drm/i915/display/intel_sdvo.c 		return intel_sdvo_create_enhance_property_tv(intel_sdvo, intel_sdvo_connector, enhancements.reply);
intel_sdvo       3157 drivers/gpu/drm/i915/display/intel_sdvo.c 		return intel_sdvo_create_enhance_property_lvds(intel_sdvo, intel_sdvo_connector, enhancements.reply);
intel_sdvo       3166 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *sdvo = adapter->algo_data;
intel_sdvo       3176 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *sdvo = adapter->algo_data;
intel_sdvo       3188 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *sdvo = adapter->algo_data;
intel_sdvo       3195 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *sdvo = adapter->algo_data;
intel_sdvo       3202 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *sdvo = adapter->algo_data;
intel_sdvo       3213 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_init_ddc_proxy(struct intel_sdvo *sdvo,
intel_sdvo       3242 drivers/gpu/drm/i915/display/intel_sdvo.c 	struct intel_sdvo *intel_sdvo;
intel_sdvo       3247 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo = kzalloc(sizeof(*intel_sdvo), GFP_KERNEL);
intel_sdvo       3248 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo)
intel_sdvo       3251 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo->sdvo_reg = sdvo_reg;
intel_sdvo       3252 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo->port = port;
intel_sdvo       3253 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo->slave_addr =
intel_sdvo       3254 drivers/gpu/drm/i915/display/intel_sdvo.c 		intel_sdvo_get_slave_addr(dev_priv, intel_sdvo) >> 1;
intel_sdvo       3255 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_select_i2c_bus(dev_priv, intel_sdvo);
intel_sdvo       3256 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_init_ddc_proxy(intel_sdvo, dev_priv))
intel_sdvo       3260 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_encoder = &intel_sdvo->base;
intel_sdvo       3272 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (!intel_sdvo_read_byte(intel_sdvo, i, &byte)) {
intel_sdvo       3274 drivers/gpu/drm/i915/display/intel_sdvo.c 				      SDVO_NAME(intel_sdvo));
intel_sdvo       3292 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_capabilities(intel_sdvo, &intel_sdvo->caps))
intel_sdvo       3295 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo_output_setup(intel_sdvo,
intel_sdvo       3296 drivers/gpu/drm/i915/display/intel_sdvo.c 				    intel_sdvo->caps.output_flags) != true) {
intel_sdvo       3298 drivers/gpu/drm/i915/display/intel_sdvo.c 			      SDVO_NAME(intel_sdvo));
intel_sdvo       3307 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (intel_sdvo->hotplug_active) {
intel_sdvo       3308 drivers/gpu/drm/i915/display/intel_sdvo.c 		if (intel_sdvo->port == PORT_B)
intel_sdvo       3322 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo->base.cloneable = 0;
intel_sdvo       3324 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_select_ddc_bus(dev_priv, intel_sdvo);
intel_sdvo       3327 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_set_target_input(intel_sdvo))
intel_sdvo       3330 drivers/gpu/drm/i915/display/intel_sdvo.c 	if (!intel_sdvo_get_input_pixel_clock_range(intel_sdvo,
intel_sdvo       3331 drivers/gpu/drm/i915/display/intel_sdvo.c 						    &intel_sdvo->pixel_clock_min,
intel_sdvo       3332 drivers/gpu/drm/i915/display/intel_sdvo.c 						    &intel_sdvo->pixel_clock_max))
intel_sdvo       3339 drivers/gpu/drm/i915/display/intel_sdvo.c 			SDVO_NAME(intel_sdvo),
intel_sdvo       3340 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->caps.vendor_id, intel_sdvo->caps.device_id,
intel_sdvo       3341 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->caps.device_rev_id,
intel_sdvo       3342 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->pixel_clock_min / 1000,
intel_sdvo       3343 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->pixel_clock_max / 1000,
intel_sdvo       3344 drivers/gpu/drm/i915/display/intel_sdvo.c 			(intel_sdvo->caps.sdvo_inputs_mask & 0x1) ? 'Y' : 'N',
intel_sdvo       3345 drivers/gpu/drm/i915/display/intel_sdvo.c 			(intel_sdvo->caps.sdvo_inputs_mask & 0x2) ? 'Y' : 'N',
intel_sdvo       3347 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->caps.output_flags &
intel_sdvo       3349 drivers/gpu/drm/i915/display/intel_sdvo.c 			intel_sdvo->caps.output_flags &
intel_sdvo       3354 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_output_cleanup(intel_sdvo);
intel_sdvo       3358 drivers/gpu/drm/i915/display/intel_sdvo.c 	i2c_del_adapter(&intel_sdvo->ddc);
intel_sdvo       3360 drivers/gpu/drm/i915/display/intel_sdvo.c 	intel_sdvo_unselect_i2c_bus(intel_sdvo);
intel_sdvo       3361 drivers/gpu/drm/i915/display/intel_sdvo.c 	kfree(intel_sdvo);