amdgpu_encoder     67 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	struct amdgpu_encoder *encoder_for_bl;
amdgpu_encoder    450 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 			struct amdgpu_encoder *enc = atif->encoder_for_bl;
amdgpu_encoder    817 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 			struct amdgpu_encoder *enc = to_amdgpu_encoder(tmp);
amdgpu_encoder    140 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    141 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder    362 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder    367 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    374 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder->native_mode = *preferred_mode;
amdgpu_encoder    376 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder->native_mode.clock = 0;
amdgpu_encoder    384 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    386 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
amdgpu_encoder    416 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    418 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
amdgpu_encoder    444 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_TV_SUPPORT)) {
amdgpu_encoder    449 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
amdgpu_encoder    471 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder    482 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    484 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (!amdgpu_encoder->enc_priv)
amdgpu_encoder    487 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		dig = amdgpu_encoder->enc_priv;
amdgpu_encoder    491 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_connector_property_change_mode(&amdgpu_encoder->base);
amdgpu_encoder    502 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    506 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_connector_property_change_mode(&amdgpu_encoder->base);
amdgpu_encoder    517 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    521 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_connector_property_change_mode(&amdgpu_encoder->base);
amdgpu_encoder    531 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    533 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (amdgpu_encoder->underscan_type != val) {
amdgpu_encoder    534 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_encoder->underscan_type = val;
amdgpu_encoder    535 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_connector_property_change_mode(&amdgpu_encoder->base);
amdgpu_encoder    545 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    547 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (amdgpu_encoder->underscan_hborder != val) {
amdgpu_encoder    548 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_encoder->underscan_hborder = val;
amdgpu_encoder    549 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_connector_property_change_mode(&amdgpu_encoder->base);
amdgpu_encoder    559 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    561 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (amdgpu_encoder->underscan_vborder != val) {
amdgpu_encoder    562 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_encoder->underscan_vborder = val;
amdgpu_encoder    563 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_connector_property_change_mode(&amdgpu_encoder->base);
amdgpu_encoder    581 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_encoder = to_amdgpu_encoder(connector->encoder);
amdgpu_encoder    584 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			amdgpu_encoder = to_amdgpu_encoder(connector_funcs->best_encoder(connector));
amdgpu_encoder    594 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (amdgpu_encoder->rmx_type == rmx_type)
amdgpu_encoder    598 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		    (amdgpu_encoder->native_mode.clock == 0))
amdgpu_encoder    601 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder->rmx_type = rmx_type;
amdgpu_encoder    603 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_connector_property_change_mode(&amdgpu_encoder->base);
amdgpu_encoder    613 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct amdgpu_encoder *amdgpu_encoder =	to_amdgpu_encoder(encoder);
amdgpu_encoder    614 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
amdgpu_encoder    641 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder->rmx_type = RMX_OFF;
amdgpu_encoder    691 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    692 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
amdgpu_encoder    702 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (amdgpu_encoder->rmx_type == RMX_OFF) {
amdgpu_encoder    727 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    728 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
amdgpu_encoder    778 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder    786 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(connector->encoder);
amdgpu_encoder    789 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(connector_funcs->best_encoder(connector));
amdgpu_encoder    799 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	if (amdgpu_encoder->rmx_type == rmx_type)
amdgpu_encoder    802 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	amdgpu_encoder->rmx_type = rmx_type;
amdgpu_encoder    804 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	amdgpu_connector_property_change_mode(&amdgpu_encoder->base);
amdgpu_encoder   1273 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder   1277 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1279 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   1282 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			return amdgpu_encoder->encoder_id;
amdgpu_encoder   1294 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder   1299 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1300 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (amdgpu_encoder->caps & ATOM_ENCODER_CAP_RECORD_HBR2)
amdgpu_encoder   1347 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1348 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
amdgpu_encoder   1429 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1430 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
amdgpu_encoder   1440 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			if (amdgpu_encoder->rmx_type == RMX_OFF) {
amdgpu_encoder   1507 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder   1539 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1540 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 		if (amdgpu_encoder->devices & supported_device) {
amdgpu_encoder   1541 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c 			switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder    372 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder    412 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 			amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    413 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 			devices = amdgpu_encoder->devices & amdgpu_connector->devices;
amdgpu_encoder    416 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    CRT1: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    418 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    CRT2: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    420 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    LCD1: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    422 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    DFP1: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    424 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    DFP2: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    426 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    DFP3: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    428 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    DFP4: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    430 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    DFP5: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    432 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    DFP6: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    434 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    TV1: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    436 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 					DRM_INFO("    CV: %s\n", encoder_names[amdgpu_encoder->encoder_id]);
amdgpu_encoder    688 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder    700 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    705 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		if (amdgpu_encoder->rmx_type == RMX_OFF)
amdgpu_encoder    707 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		else if (mode->hdisplay < amdgpu_encoder->native_mode.hdisplay ||
amdgpu_encoder    708 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 			 mode->vdisplay < amdgpu_encoder->native_mode.vdisplay)
amdgpu_encoder    709 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 			amdgpu_crtc->rmx_type = amdgpu_encoder->rmx_type;
amdgpu_encoder    714 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		       &amdgpu_encoder->native_mode,
amdgpu_encoder    723 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		    ((amdgpu_encoder->underscan_type == UNDERSCAN_ON) ||
amdgpu_encoder    724 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 		     ((amdgpu_encoder->underscan_type == UNDERSCAN_AUTO) &&
amdgpu_encoder    727 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 			if (amdgpu_encoder->underscan_hborder != 0)
amdgpu_encoder    728 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 				amdgpu_crtc->h_border = amdgpu_encoder->underscan_hborder;
amdgpu_encoder    731 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 			if (amdgpu_encoder->underscan_vborder != 0)
amdgpu_encoder    732 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 				amdgpu_crtc->v_border = amdgpu_encoder->underscan_vborder;
amdgpu_encoder     42 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder     48 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 			amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder     49 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 			if (amdgpu_encoder->devices & amdgpu_connector->devices) {
amdgpu_encoder     51 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 				if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
amdgpu_encoder     52 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 					amdgpu_atombios_encoder_init_backlight(amdgpu_encoder, connector);
amdgpu_encoder     53 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 					adev->mode_info.bl_encoder = amdgpu_encoder;
amdgpu_encoder     63 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder     69 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 			amdgpu_encoder->active_device = amdgpu_encoder->devices & amdgpu_connector->devices;
amdgpu_encoder     71 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 				  amdgpu_encoder->active_device, amdgpu_encoder->devices,
amdgpu_encoder     81 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder     87 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 		if (amdgpu_encoder->active_device & amdgpu_connector->devices)
amdgpu_encoder     97 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    103 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 		if (amdgpu_encoder->devices & amdgpu_connector->devices)
amdgpu_encoder    112 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    114 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 	struct amdgpu_encoder *other_amdgpu_encoder;
amdgpu_encoder    116 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 	if (amdgpu_encoder->is_ext_encoder)
amdgpu_encoder    124 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 		    (amdgpu_encoder->devices & other_amdgpu_encoder->devices))
amdgpu_encoder    135 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 		struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(other_encoder);
amdgpu_encoder    137 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 		switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder    140 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 			return amdgpu_encoder->encoder_id;
amdgpu_encoder    151 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    152 drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c 	struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
amdgpu_encoder     52 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h struct amdgpu_encoder;
amdgpu_encoder     58 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h #define to_amdgpu_encoder(x) container_of(x, struct amdgpu_encoder, base)
amdgpu_encoder    270 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h 	void (*backlight_set_level)(struct amdgpu_encoder *amdgpu_encoder,
amdgpu_encoder    273 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h 	u8 (*backlight_get_level)(struct amdgpu_encoder *amdgpu_encoder);
amdgpu_encoder    345 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h 	struct amdgpu_encoder *bl_encoder;
amdgpu_encoder    361 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h 	struct amdgpu_encoder *encoder;
amdgpu_encoder    564 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h 	struct amdgpu_encoder *mst_encoder;
amdgpu_encoder    312 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    326 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 	if ((amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) ||
amdgpu_encoder    338 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 	if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
amdgpu_encoder    349 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 	if (amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1)
amdgpu_encoder    351 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 	if (amdgpu_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT))
amdgpu_encoder    353 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 	if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder    392 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 			args.v1.ucTransmitterID = amdgpu_encoder->encoder_id;
amdgpu_encoder    404 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 			args.v3.sInput.ucTransmitterID = amdgpu_encoder->encoder_id;
amdgpu_encoder    415 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 			} else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) {
amdgpu_encoder    416 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 				struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder    753 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 	struct amdgpu_encoder *amdgpu_encoder =
amdgpu_encoder    760 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 	if ((amdgpu_encoder->active_device & (ATOM_DEVICE_LCD_SUPPORT | ATOM_DEVICE_DFP_SUPPORT)) ||
amdgpu_encoder    762 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 		struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder    822 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 	struct amdgpu_encoder *amdgpu_encoder =
amdgpu_encoder    861 drivers/gpu/drm/amd/amdgpu/atombios_crtc.c 				  encoder_mode, amdgpu_encoder->encoder_id, clock,
amdgpu_encoder    531 drivers/gpu/drm/amd/amdgpu/atombios_dp.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(dp_info->encoder);
amdgpu_encoder    532 drivers/gpu/drm/amd/amdgpu/atombios_dp.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder    715 drivers/gpu/drm/amd/amdgpu/atombios_dp.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    722 drivers/gpu/drm/amd/amdgpu/atombios_dp.c 	if (!amdgpu_encoder->enc_priv)
amdgpu_encoder    724 drivers/gpu/drm/amd/amdgpu/atombios_dp.c 	dig = amdgpu_encoder->enc_priv;
amdgpu_encoder     70 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atombios_encoder_get_backlight_level(struct amdgpu_encoder *amdgpu_encoder)
amdgpu_encoder     72 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct drm_device *dev = amdgpu_encoder->base.dev;
amdgpu_encoder     82 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atombios_encoder_set_backlight_level(struct amdgpu_encoder *amdgpu_encoder,
amdgpu_encoder     85 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct drm_encoder *encoder = &amdgpu_encoder->base;
amdgpu_encoder     86 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct drm_device *dev = amdgpu_encoder->base.dev;
amdgpu_encoder     93 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) &&
amdgpu_encoder     94 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	    amdgpu_encoder->enc_priv) {
amdgpu_encoder     95 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 		dig = amdgpu_encoder->enc_priv;
amdgpu_encoder     99 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 		switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder    141 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = pdata->encoder;
amdgpu_encoder    143 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	amdgpu_atombios_encoder_set_backlight_level(amdgpu_encoder,
amdgpu_encoder    153 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = pdata->encoder;
amdgpu_encoder    154 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct drm_device *dev = amdgpu_encoder->base.dev;
amdgpu_encoder    165 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c void amdgpu_atombios_encoder_init_backlight(struct amdgpu_encoder *amdgpu_encoder,
amdgpu_encoder    168 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct drm_device *dev = amdgpu_encoder->base.dev;
amdgpu_encoder    184 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if (!amdgpu_encoder->enc_priv)
amdgpu_encoder    208 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	pdata->encoder = amdgpu_encoder;
amdgpu_encoder    212 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	dig = amdgpu_encoder->enc_priv;
amdgpu_encoder    229 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atombios_encoder_fini_backlight(struct amdgpu_encoder *amdgpu_encoder)
amdgpu_encoder    231 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct drm_device *dev = amdgpu_encoder->base.dev;
amdgpu_encoder    236 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if (!amdgpu_encoder->enc_priv)
amdgpu_encoder    242 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	dig = amdgpu_encoder->enc_priv;
amdgpu_encoder    259 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c void amdgpu_atombios_encoder_init_backlight(struct amdgpu_encoder *encoder)
amdgpu_encoder    263 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c void amdgpu_atombios_encoder_fini_backlight(struct amdgpu_encoder *encoder)
amdgpu_encoder    271 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    272 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder    288 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    304 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if (amdgpu_encoder->active_device & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder    306 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	else if (amdgpu_encoder->rmx_type != RMX_OFF)
amdgpu_encoder    309 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->active_device & (ATOM_DEVICE_DFP_SUPPORT | ATOM_DEVICE_LCD_SUPPORT)) ||
amdgpu_encoder    323 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    329 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder    342 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	args.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    386 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    403 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    411 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    415 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    421 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			args.dvo_v3.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    427 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			args.dvo_v4.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    446 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    456 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_DVO1) ||
amdgpu_encoder    457 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	    (amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1))
amdgpu_encoder    577 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    578 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder    611 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			args.v1.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    619 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    626 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder    646 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			args.v3.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    654 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    666 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			args.v4.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    674 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    711 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 									amdgpu_encoder->pixel_clock))
amdgpu_encoder    716 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 					cpu_to_le32(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    766 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    767 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder    816 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder    847 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    848 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 					args.v1.usPixelClock = cpu_to_le16((amdgpu_encoder->pixel_clock / 2) / 10);
amdgpu_encoder    850 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 					args.v1.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    861 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			    (amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_UNIPHY)) {
amdgpu_encoder    863 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				    !amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock)) {
amdgpu_encoder    887 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) {
amdgpu_encoder    890 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    904 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    905 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 					args.v2.usPixelClock = cpu_to_le16((amdgpu_encoder->pixel_clock / 2) / 10);
amdgpu_encoder    907 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 					args.v2.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    914 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder    929 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			} else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) {
amdgpu_encoder    932 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    946 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    947 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 					args.v3.usPixelClock = cpu_to_le16((amdgpu_encoder->pixel_clock / 2) / 10);
amdgpu_encoder    949 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 					args.v3.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder    954 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder    974 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder    988 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) {
amdgpu_encoder    991 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder   1005 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder   1006 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 					args.v4.usPixelClock = cpu_to_le16((amdgpu_encoder->pixel_clock / 2) / 10);
amdgpu_encoder   1008 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 					args.v4.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder   1013 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder   1036 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   1050 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) {
amdgpu_encoder   1053 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder   1062 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				args.v5.usSymClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder   1064 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   1089 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder   1103 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_encoder->devices & (ATOM_DEVICE_DFP_SUPPORT)) {
amdgpu_encoder   1119 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				args.v6.ulSymClock = cpu_to_le32(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder   1121 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   1146 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder   1229 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1230 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *ext_amdgpu_encoder = to_amdgpu_encoder(ext_encoder);
amdgpu_encoder   1270 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			args.v1.sDigEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder   1278 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			} else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder   1288 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				args.v3.sExtEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10);
amdgpu_encoder   1298 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			} else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock))
amdgpu_encoder   1330 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1332 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1374 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder   1375 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			amdgpu_atombios_encoder_set_backlight_level(amdgpu_encoder, dig->backlight_level);
amdgpu_encoder   1385 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder   1409 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1412 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 		  amdgpu_encoder->encoder_id, mode, amdgpu_encoder->devices,
amdgpu_encoder   1413 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 		  amdgpu_encoder->active_device);
amdgpu_encoder   1414 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   1470 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1488 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   1495 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT)
amdgpu_encoder   1507 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT))
amdgpu_encoder   1509 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				else if (amdgpu_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT))
amdgpu_encoder   1516 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT))
amdgpu_encoder   1518 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				else if (amdgpu_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT))
amdgpu_encoder   1536 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			} else if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
amdgpu_encoder   1541 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   1547 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1576 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT))
amdgpu_encoder   1578 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				else if (amdgpu_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT))
amdgpu_encoder   1584 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT))
amdgpu_encoder   1586 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				else if (amdgpu_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT))
amdgpu_encoder   1604 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			} else if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
amdgpu_encoder   1610 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 			switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   1616 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1645 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT))
amdgpu_encoder   1647 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				else if (amdgpu_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT))
amdgpu_encoder   1653 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				if (amdgpu_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT))
amdgpu_encoder   1655 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 				else if (amdgpu_encoder->active_device & (ATOM_DEVICE_CV_SUPPORT))
amdgpu_encoder   1680 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 		struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1683 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 		switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   1705 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1708 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if (amdgpu_encoder->devices & (ATOM_DEVICE_TV_SUPPORT |
amdgpu_encoder   1722 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 		if ((amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_DAC1) ||
amdgpu_encoder   1723 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 		    (amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1))
amdgpu_encoder   1755 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1766 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, amdgpu_encoder->devices);
amdgpu_encoder   1794 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1811 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, amdgpu_encoder->devices);
amdgpu_encoder   1854 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1861 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->devices & ATOM_DEVICE_LCD1_SUPPORT) &&
amdgpu_encoder   1875 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->devices & ATOM_DEVICE_CRT1_SUPPORT) &&
amdgpu_encoder   1889 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->devices & ATOM_DEVICE_CRT2_SUPPORT) &&
amdgpu_encoder   1903 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->devices & ATOM_DEVICE_DFP1_SUPPORT) &&
amdgpu_encoder   1917 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->devices & ATOM_DEVICE_DFP2_SUPPORT) &&
amdgpu_encoder   1931 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->devices & ATOM_DEVICE_DFP3_SUPPORT) &&
amdgpu_encoder   1945 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->devices & ATOM_DEVICE_DFP4_SUPPORT) &&
amdgpu_encoder   1959 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->devices & ATOM_DEVICE_DFP5_SUPPORT) &&
amdgpu_encoder   1973 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	if ((amdgpu_encoder->devices & ATOM_DEVICE_DFP6_SUPPORT) &&
amdgpu_encoder   1999 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atombios_encoder_get_lcd_info(struct amdgpu_encoder *encoder)
amdgpu_encoder   2139 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c amdgpu_atombios_encoder_get_dig_info(struct amdgpu_encoder *amdgpu_encoder)
amdgpu_encoder   2141 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c 	int encoder_enum = (amdgpu_encoder->encoder_enum & ENUM_ID_MASK) >> ENUM_ID_SHIFT;
amdgpu_encoder     33 drivers/gpu/drm/amd/amdgpu/atombios_encoders.h amdgpu_atombios_encoder_get_backlight_level(struct amdgpu_encoder *amdgpu_encoder);
amdgpu_encoder     35 drivers/gpu/drm/amd/amdgpu/atombios_encoders.h amdgpu_atombios_encoder_set_backlight_level(struct amdgpu_encoder *amdgpu_encoder,
amdgpu_encoder     37 drivers/gpu/drm/amd/amdgpu/atombios_encoders.h void amdgpu_atombios_encoder_init_backlight(struct amdgpu_encoder *amdgpu_encoder,
amdgpu_encoder     40 drivers/gpu/drm/amd/amdgpu/atombios_encoders.h amdgpu_atombios_encoder_fini_backlight(struct amdgpu_encoder *amdgpu_encoder);
amdgpu_encoder     74 drivers/gpu/drm/amd/amdgpu/atombios_encoders.h amdgpu_atombios_encoder_get_lcd_info(struct amdgpu_encoder *encoder);
amdgpu_encoder     76 drivers/gpu/drm/amd/amdgpu/atombios_encoders.h amdgpu_atombios_encoder_get_dig_info(struct amdgpu_encoder *amdgpu_encoder);
amdgpu_encoder    502 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    516 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (amdgpu_encoder->devices & ATOM_DEVICE_LCD_SUPPORT)
amdgpu_encoder    520 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if ((amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) ||
amdgpu_encoder    521 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	    (amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2))
amdgpu_encoder   1207 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1208 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1223 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1224 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1265 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1266 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1317 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1318 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1470 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1471 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1505 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1506 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1524 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1525 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1555 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1556 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1735 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1736 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1755 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		  enable ? "En" : "Dis", dig->afmt->offset, amdgpu_encoder->encoder_id);
amdgpu_encoder   2178 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   2179 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   2181 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   2204 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		DRM_ERROR("invalid encoder_id: 0x%x\n", amdgpu_encoder->encoder_id);
amdgpu_encoder   3307 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3309 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->pixel_clock = adjusted_mode->clock;
amdgpu_encoder   3326 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3329 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if ((amdgpu_encoder->active_device &
amdgpu_encoder   3333 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   3336 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			if (amdgpu_encoder->active_device & ATOM_DEVICE_DFP_SUPPORT)
amdgpu_encoder   3374 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3382 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   3385 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->active_device = 0;
amdgpu_encoder   3448 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3449 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder   3450 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		amdgpu_atombios_encoder_fini_backlight(amdgpu_encoder);
amdgpu_encoder   3451 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	kfree(amdgpu_encoder->enc_priv);
amdgpu_encoder   3453 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	kfree(amdgpu_encoder);
amdgpu_encoder   3467 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder   3471 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3472 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		if (amdgpu_encoder->encoder_enum == encoder_enum) {
amdgpu_encoder   3473 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			amdgpu_encoder->devices |= supported_device;
amdgpu_encoder   3480 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder = kzalloc(sizeof(struct amdgpu_encoder), GFP_KERNEL);
amdgpu_encoder   3481 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	if (!amdgpu_encoder)
amdgpu_encoder   3484 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	encoder = &amdgpu_encoder->base;
amdgpu_encoder   3501 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->enc_priv = NULL;
amdgpu_encoder   3503 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->encoder_enum = encoder_enum;
amdgpu_encoder   3504 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->encoder_id = (encoder_enum & OBJECT_ID_MASK) >> OBJECT_ID_SHIFT;
amdgpu_encoder   3505 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->devices = supported_device;
amdgpu_encoder   3506 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->rmx_type = RMX_OFF;
amdgpu_encoder   3507 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->underscan_type = UNDERSCAN_OFF;
amdgpu_encoder   3508 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->is_ext_encoder = false;
amdgpu_encoder   3509 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	amdgpu_encoder->caps = caps;
amdgpu_encoder   3511 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   3523 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
amdgpu_encoder   3524 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			amdgpu_encoder->rmx_type = RMX_FULL;
amdgpu_encoder   3527 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_lcd_info(amdgpu_encoder);
amdgpu_encoder   3528 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		} else if (amdgpu_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT)) {
amdgpu_encoder   3531 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_dig_info(amdgpu_encoder);
amdgpu_encoder   3535 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_dig_info(amdgpu_encoder);
amdgpu_encoder   3549 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		amdgpu_encoder->is_ext_encoder = true;
amdgpu_encoder   3550 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder   3553 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 		else if (amdgpu_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT))
amdgpu_encoder    528 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    542 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (amdgpu_encoder->devices & ATOM_DEVICE_LCD_SUPPORT)
amdgpu_encoder    546 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if ((amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) ||
amdgpu_encoder    547 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	    (amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2))
amdgpu_encoder   1233 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1234 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1249 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1250 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1291 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1292 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1343 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1344 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1512 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1513 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1547 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1548 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1566 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1567 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1597 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1598 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1777 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1778 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1797 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		  enable ? "En" : "Dis", dig->afmt->offset, amdgpu_encoder->encoder_id);
amdgpu_encoder   2211 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   2212 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   2214 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   2237 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		DRM_ERROR("invalid encoder_id: 0x%x\n", amdgpu_encoder->encoder_id);
amdgpu_encoder   2276 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		struct amdgpu_encoder *amdgpu_encoder =
amdgpu_encoder   2278 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   2283 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   2303 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			DRM_ERROR("invalid encoder_id: 0x%x\n", amdgpu_encoder->encoder_id);
amdgpu_encoder   2696 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		struct amdgpu_encoder *amdgpu_encoder =
amdgpu_encoder   2704 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 						 encoder_mode, amdgpu_encoder->encoder_id,
amdgpu_encoder   3433 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3435 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->pixel_clock = adjusted_mode->clock;
amdgpu_encoder   3452 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3455 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if ((amdgpu_encoder->active_device &
amdgpu_encoder   3459 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   3462 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			if (amdgpu_encoder->active_device & ATOM_DEVICE_DFP_SUPPORT)
amdgpu_encoder   3500 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3508 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   3511 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->active_device = 0;
amdgpu_encoder   3574 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3575 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder   3576 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		amdgpu_atombios_encoder_fini_backlight(amdgpu_encoder);
amdgpu_encoder   3577 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	kfree(amdgpu_encoder->enc_priv);
amdgpu_encoder   3579 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	kfree(amdgpu_encoder);
amdgpu_encoder   3593 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder   3597 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3598 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		if (amdgpu_encoder->encoder_enum == encoder_enum) {
amdgpu_encoder   3599 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			amdgpu_encoder->devices |= supported_device;
amdgpu_encoder   3606 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder = kzalloc(sizeof(struct amdgpu_encoder), GFP_KERNEL);
amdgpu_encoder   3607 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	if (!amdgpu_encoder)
amdgpu_encoder   3610 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	encoder = &amdgpu_encoder->base;
amdgpu_encoder   3633 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->enc_priv = NULL;
amdgpu_encoder   3635 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->encoder_enum = encoder_enum;
amdgpu_encoder   3636 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->encoder_id = (encoder_enum & OBJECT_ID_MASK) >> OBJECT_ID_SHIFT;
amdgpu_encoder   3637 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->devices = supported_device;
amdgpu_encoder   3638 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->rmx_type = RMX_OFF;
amdgpu_encoder   3639 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->underscan_type = UNDERSCAN_OFF;
amdgpu_encoder   3640 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->is_ext_encoder = false;
amdgpu_encoder   3641 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	amdgpu_encoder->caps = caps;
amdgpu_encoder   3643 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   3655 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
amdgpu_encoder   3656 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			amdgpu_encoder->rmx_type = RMX_FULL;
amdgpu_encoder   3659 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_lcd_info(amdgpu_encoder);
amdgpu_encoder   3660 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		} else if (amdgpu_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT)) {
amdgpu_encoder   3663 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_dig_info(amdgpu_encoder);
amdgpu_encoder   3667 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_dig_info(amdgpu_encoder);
amdgpu_encoder   3681 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		amdgpu_encoder->is_ext_encoder = true;
amdgpu_encoder   3682 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder   3685 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 		else if (amdgpu_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT))
amdgpu_encoder    400 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    414 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (amdgpu_encoder->devices & ATOM_DEVICE_LCD_SUPPORT)
amdgpu_encoder   1113 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1114 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1128 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1129 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1168 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1169 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1225 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1226 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1379 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1380 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1396 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1397 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1433 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1434 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1509 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1510 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1553 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1554 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1566 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1567 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1603 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1604 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1632 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1633 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1698 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1699 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1719 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		  enable ? "En" : "Dis", dig->afmt->offset, amdgpu_encoder->encoder_id);
amdgpu_encoder   2094 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   2095 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   2097 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   2107 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		DRM_ERROR("invalid encoder_id: 0x%x\n", amdgpu_encoder->encoder_id);
amdgpu_encoder   3104 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3107 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->pixel_clock = adjusted_mode->clock;
amdgpu_encoder   3125 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3128 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if ((amdgpu_encoder->active_device &
amdgpu_encoder   3132 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   3135 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			if (amdgpu_encoder->active_device & ATOM_DEVICE_DFP_SUPPORT)
amdgpu_encoder   3175 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3184 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   3187 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->active_device = 0;
amdgpu_encoder   3258 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3259 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder   3260 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		amdgpu_atombios_encoder_fini_backlight(amdgpu_encoder);
amdgpu_encoder   3261 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	kfree(amdgpu_encoder->enc_priv);
amdgpu_encoder   3263 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	kfree(amdgpu_encoder);
amdgpu_encoder   3277 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder   3281 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3282 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		if (amdgpu_encoder->encoder_enum == encoder_enum) {
amdgpu_encoder   3283 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			amdgpu_encoder->devices |= supported_device;
amdgpu_encoder   3290 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder = kzalloc(sizeof(struct amdgpu_encoder), GFP_KERNEL);
amdgpu_encoder   3291 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	if (!amdgpu_encoder)
amdgpu_encoder   3294 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	encoder = &amdgpu_encoder->base;
amdgpu_encoder   3311 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->enc_priv = NULL;
amdgpu_encoder   3312 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->encoder_enum = encoder_enum;
amdgpu_encoder   3313 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->encoder_id = (encoder_enum & OBJECT_ID_MASK) >> OBJECT_ID_SHIFT;
amdgpu_encoder   3314 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->devices = supported_device;
amdgpu_encoder   3315 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->rmx_type = RMX_OFF;
amdgpu_encoder   3316 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->underscan_type = UNDERSCAN_OFF;
amdgpu_encoder   3317 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->is_ext_encoder = false;
amdgpu_encoder   3318 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	amdgpu_encoder->caps = caps;
amdgpu_encoder   3320 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   3332 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
amdgpu_encoder   3333 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			amdgpu_encoder->rmx_type = RMX_FULL;
amdgpu_encoder   3336 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_lcd_info(amdgpu_encoder);
amdgpu_encoder   3337 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		} else if (amdgpu_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT)) {
amdgpu_encoder   3340 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_dig_info(amdgpu_encoder);
amdgpu_encoder   3344 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_dig_info(amdgpu_encoder);
amdgpu_encoder   3358 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		amdgpu_encoder->is_ext_encoder = true;
amdgpu_encoder   3359 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder   3362 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c 		else if (amdgpu_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT))
amdgpu_encoder    442 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder    456 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (amdgpu_encoder->devices & ATOM_DEVICE_LCD_SUPPORT)
amdgpu_encoder    460 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if ((amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC1) ||
amdgpu_encoder    461 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	    (amdgpu_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2))
amdgpu_encoder   1144 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1145 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1161 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1162 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1218 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1219 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1267 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1268 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1433 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1434 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1455 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1456 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1475 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1476 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1502 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1503 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1664 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   1665 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   1684 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		  enable ? "En" : "Dis", dig->afmt->offset, amdgpu_encoder->encoder_id);
amdgpu_encoder   2068 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   2069 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   2071 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   2094 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		DRM_ERROR("invalid encoder_id: 0x%x\n", amdgpu_encoder->encoder_id);
amdgpu_encoder   3195 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3197 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->pixel_clock = adjusted_mode->clock;
amdgpu_encoder   3214 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3217 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if ((amdgpu_encoder->active_device &
amdgpu_encoder   3221 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		struct amdgpu_encoder_atom_dig *dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   3224 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			if (amdgpu_encoder->active_device & ATOM_DEVICE_DFP_SUPPORT)
amdgpu_encoder   3262 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3270 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		dig = amdgpu_encoder->enc_priv;
amdgpu_encoder   3273 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->active_device = 0;
amdgpu_encoder   3336 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3337 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder   3338 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		amdgpu_atombios_encoder_fini_backlight(amdgpu_encoder);
amdgpu_encoder   3339 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	kfree(amdgpu_encoder->enc_priv);
amdgpu_encoder   3341 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	kfree(amdgpu_encoder);
amdgpu_encoder   3355 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder   3359 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   3360 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		if (amdgpu_encoder->encoder_enum == encoder_enum) {
amdgpu_encoder   3361 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			amdgpu_encoder->devices |= supported_device;
amdgpu_encoder   3368 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder = kzalloc(sizeof(struct amdgpu_encoder), GFP_KERNEL);
amdgpu_encoder   3369 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	if (!amdgpu_encoder)
amdgpu_encoder   3372 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	encoder = &amdgpu_encoder->base;
amdgpu_encoder   3389 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->enc_priv = NULL;
amdgpu_encoder   3391 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->encoder_enum = encoder_enum;
amdgpu_encoder   3392 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->encoder_id = (encoder_enum & OBJECT_ID_MASK) >> OBJECT_ID_SHIFT;
amdgpu_encoder   3393 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->devices = supported_device;
amdgpu_encoder   3394 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->rmx_type = RMX_OFF;
amdgpu_encoder   3395 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->underscan_type = UNDERSCAN_OFF;
amdgpu_encoder   3396 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->is_ext_encoder = false;
amdgpu_encoder   3397 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	amdgpu_encoder->caps = caps;
amdgpu_encoder   3399 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 	switch (amdgpu_encoder->encoder_id) {
amdgpu_encoder   3411 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) {
amdgpu_encoder   3412 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			amdgpu_encoder->rmx_type = RMX_FULL;
amdgpu_encoder   3415 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_lcd_info(amdgpu_encoder);
amdgpu_encoder   3416 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		} else if (amdgpu_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT)) {
amdgpu_encoder   3419 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_dig_info(amdgpu_encoder);
amdgpu_encoder   3423 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 			amdgpu_encoder->enc_priv = amdgpu_atombios_encoder_get_dig_info(amdgpu_encoder);
amdgpu_encoder   3437 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		amdgpu_encoder->is_ext_encoder = true;
amdgpu_encoder   3438 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT))
amdgpu_encoder   3441 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 		else if (amdgpu_encoder->devices & (ATOM_DEVICE_CRT_SUPPORT))
amdgpu_encoder    127 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				    struct amdgpu_encoder *amdgpu_encoder);
amdgpu_encoder    129 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				  struct amdgpu_encoder *aencoder,
amdgpu_encoder   2236 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_encoder *aencoder = NULL;
amdgpu_encoder   4871 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder   4878 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   4880 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	amdgpu_encoder->native_mode.clock = 0;
amdgpu_encoder   4889 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				amdgpu_encoder->native_mode = *preferred_mode;
amdgpu_encoder   4903 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   4905 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
amdgpu_encoder   4924 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct amdgpu_encoder *amdgpu_encoder = to_amdgpu_encoder(encoder);
amdgpu_encoder   4926 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	struct drm_display_mode *native_mode = &amdgpu_encoder->native_mode;
amdgpu_encoder   5189 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				    struct amdgpu_encoder *aencoder)
amdgpu_encoder   5282 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 				  struct amdgpu_encoder *aencoder,
amdgpu_encoder    270 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h 	struct amdgpu_encoder *mst_encoder;
amdgpu_encoder    145 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 	struct amdgpu_encoder *amdgpu_encoder = amdgpu_dm_connector->mst_encoder;
amdgpu_encoder    152 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 	drm_encoder_cleanup(&amdgpu_encoder->base);
amdgpu_encoder    153 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 	kfree(amdgpu_encoder);
amdgpu_encoder    271 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c static struct amdgpu_encoder *
amdgpu_encoder    276 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 	struct amdgpu_encoder *amdgpu_encoder;
amdgpu_encoder    279 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 	amdgpu_encoder = kzalloc(sizeof(*amdgpu_encoder), GFP_KERNEL);
amdgpu_encoder    280 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 	if (!amdgpu_encoder)
amdgpu_encoder    283 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 	encoder = &amdgpu_encoder->base;
amdgpu_encoder    288 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 		&amdgpu_encoder->base,
amdgpu_encoder    295 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c 	return amdgpu_encoder;