/linux-master/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi5.c | 201 r = dss_mgr_enable(&hdmi->output); 215 dss_mgr_disable(&hdmi->output); 233 dss_mgr_disable(&hdmi->output); 322 return drm_bridge_attach(bridge->encoder, hdmi->output.next_bridge, 675 struct omap_dss_device *out = &hdmi->output; 700 struct omap_dss_device *out = &hdmi->output;
|
H A D | sdi.c | 34 struct omap_dss_device output; member in struct:sdi_device 122 dss_mgr_set_lcd_config(&sdi->output, &sdi->mgr_config); 137 return drm_bridge_attach(bridge->encoder, sdi->output.next_bridge, 227 * normally write them to DISPC registers when enabling the output. 230 * the output, we need to write the divisors early. 236 dispc_mgr_set_clock_div(sdi->dss->dispc, sdi->output.dispc_channel, 245 r = dss_mgr_enable(&sdi->output); 265 dss_mgr_disable(&sdi->output); 303 struct omap_dss_device *out = &sdi->output; 331 omapdss_device_unregister(&sdi->output); [all...] |
H A D | venc.c | 262 struct omap_dss_device output; member in struct:venc_device 412 r = dss_mgr_enable(&venc->output); 434 dss_mgr_disable(&venc->output); 548 return drm_bridge_attach(bridge->encoder, venc->output.next_bridge, 726 struct omap_dss_device *out = &venc->output; 751 omapdss_device_unregister(&venc->output); 752 omapdss_device_cleanup_output(&venc->output);
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | omap_crtc.c | 98 * Manager-ops, callbacks from output when they need to configure 129 if (omap_crtc->pipe->output->type == OMAP_DISPLAY_TYPE_HDMI) { 137 * Digit output produces some sync lost interrupts during the 151 * When we disable the digit output, we need to wait for 152 * FRAMEDONE to know that DISPC has finished with the output. 154 * OMAP2/3 does not have FRAMEDONE irq for digit output, and in 352 struct omap_dss_device *dssdev = omap_crtc->pipe->output; 514 if (omap_crtc->pipe->output->type != OMAP_DISPLAY_TYPE_DSI) { 566 struct omap_dss_device *dssdev = omap_crtc->pipe->output; 791 channel = pipe->output [all...] |
H A D | omap_drv.c | 310 omapdss_device_disconnect(NULL, pipe->output); 312 omapdss_device_put(pipe->output); 313 pipe->output = NULL; 324 struct omap_dss_device *output = NULL; local 327 for_each_dss_output(output) { 328 r = omapdss_device_connect(priv->dss, NULL, output); 330 omapdss_device_put(output); 333 dev_warn(output->dev, "could not connect output %s\n", 334 output 377 omap_display_id(struct omap_dss_device *output) argument [all...] |
H A D | omap_drv.h | 40 struct omap_dss_device *output; member in struct:omap_drm_pipeline
|
H A D | omap_encoder.c | 29 struct omap_dss_device *output; member in struct:omap_encoder 77 struct omap_dss_device *output = omap_encoder->output; local 100 for (bridge = output->bridge; bridge; 113 dss_mgr_set_timings(output, &vm); 122 struct omap_dss_device *output) 131 omap_encoder->output = output; 121 omap_encoder_init(struct drm_device *dev, struct omap_dss_device *output) argument
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_display.c | 152 struct qxl_output *output; local 156 output = drm_connector_to_qxl_output(connector); 158 head = &qdev->client_monitors_config->heads[output->index]; 252 struct qxl_output *output = drm_connector_to_qxl_output(connector); local 253 int h = output->index; 1022 struct qxl_output *output = drm_connector_to_qxl_output(connector); local 1029 head = &qdev->client_monitors_config->heads[output->index]; 1074 struct qxl_output *output = local 1082 if (output->index == 0) 1085 connected = qdev->client_monitors_config->count > output [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_acpi.c | 112 * Returns a pointer to the acpi output buffer. 213 struct atif_verify_interface output; local 221 memset(&output, 0, sizeof(output)); 229 size = min(sizeof(output), size); 231 memcpy(&output, info->buffer.pointer, size); 234 DRM_DEBUG_DRIVER("ATIF version %u\n", output.version); 236 radeon_atif_parse_notification(&atif->notifications, output.notification_mask); 237 radeon_atif_parse_functions(&atif->functions, output.function_bits); 435 * Returns a pointer to the acpi output buffe 507 struct atcs_verify_interface output; local [all...] |
H A D | radeon_atpx_handler.c | 92 * Returns a pointer to the acpi output buffer. 167 struct atpx_px_params output; local 174 memset(&output, 0, sizeof(output)); 182 size = min(sizeof(output), size); 184 memcpy(&output, info->buffer.pointer, size); 186 valid_bits = output.flags & output.valid_flags; 234 struct atpx_verify_interface output; local 242 memset(&output, [all...] |
/linux-master/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_crtc.c | 76 unsigned int output; member in struct:dpll_info 138 unsigned long output; local 140 output = fout / (fdpll + 1); 141 if (output >= 400 * 1000 * 1000) 144 diff = abs((long)output - (long)target); 150 dpll->output = output; 161 "output:%u, fdpll:%u, n:%u, m:%u, diff:%lu\n", 162 dpll->output, dpll->fdpll, dpll->n, dpll->m, best_diff); 247 * Use the external LVDS or DSI PLL output a [all...] |
H A D | rcar_du_drv.c | 44 * R8A774[34] has one RGB output and one LVDS output 91 * R8A77470 has two RGB outputs, one LVDS output, and 92 * one (currently unsupported) analog video output 120 * R8A774A1 has one RGB output, one LVDS output and one HDMI 121 * output. 151 * R8A774B1 has one RGB output, one LVDS output and one HDMI 152 * output 579 rcar_du_output_name(enum rcar_du_output output) argument [all...] |
H A D | rcar_du_drv.h | 53 * @possible_crtcs: bitmask of possible CRTCs for the output 54 * @port: device tree port number corresponding to this output route 57 * specify the valid SoC outputs, which CRTCs can drive the output, and the type 58 * of in-SoC encoder for the output. 71 * @routes: array of CRTC to output routes, indexed by output (RCAR_DU_OUTPUT_*) 150 const char *rcar_du_output_name(enum rcar_du_output output);
|
H A D | rcar_du_encoder.c | 49 enum rcar_du_output output, 62 if ((output == RCAR_DU_OUTPUT_DPAD0 || 63 output == RCAR_DU_OUTPUT_DPAD1) && 79 if (output == RCAR_DU_OUTPUT_LVDS0 || 80 output == RCAR_DU_OUTPUT_LVDS1) 81 rcdu->lvds[output - RCAR_DU_OUTPUT_LVDS0] = bridge; 83 if (output == RCAR_DU_OUTPUT_DSI0 || 84 output == RCAR_DU_OUTPUT_DSI1) 85 rcdu->dsi[output - RCAR_DU_OUTPUT_DSI0] = bridge; 89 * Create and initialize the encoder. On Gen3, skip the LVDS1 output i 48 rcar_du_encoder_init(struct rcar_du_device *rcdu, enum rcar_du_output output, struct device_node *enc_node) argument [all...] |
H A D | rcar_du_encoder.h | 19 enum rcar_du_output output; member in struct:rcar_du_encoder 26 enum rcar_du_output output,
|
H A D | rcar_du_kms.c | 569 enum rcar_du_output output, 591 ret = rcar_du_encoder_init(rcdu, output, entity); 594 "failed to initialize encoder %pOF on output %s (%d), skipping\n", 595 entity, rcar_du_output_name(output), ret); 609 * Iterate over the endpoints and create one encoder for each output 613 enum rcar_du_output output; local 624 /* Find the output route corresponding to the port number. */ 628 output = i; 635 "port %u references unexisting output, skipping\n", 640 /* Process the output pipelin 568 rcar_du_encoders_init_one(struct rcar_du_device *rcdu, enum rcar_du_output output, struct of_endpoint *ep) argument [all...] |
H A D | rcar_lvds.c | 146 unsigned long output; local 168 * The clock output by the PLL is then further divided by a programmable 181 * clock for the DU RGB output, without using the LVDS encoder. 222 * The output frequency is limited to 1039.5 MHz, 261 output = fin * pll->pll_n / pll->pll_m / (1 << pll->pll_e) 263 error = (long)(output - target) * 10000 / (long)target; 267 clk, fin, output, target, error / 100, 488 /* Turn the output on. */ 610 * We could clear the LVRES bit already to disable the LVDS output, but 709 * odd pixels than we need to enable vertical stripe output [all...] |
/linux-master/drivers/gpu/drm/renesas/rz-du/ |
H A D | rzg2l_du_drv.c | 49 const char *rzg2l_du_output_name(enum rzg2l_du_output output) argument 56 if (output >= ARRAY_SIZE(names)) 59 return names[output];
|
H A D | rzg2l_du_drv.h | 32 * @port: device tree port number corresponding to this output route 35 * specify the valid SoC outputs, which CRTC can drive the output, and the type 36 * of in-SoC encoder for the output. 46 * @routes: array of CRTC to output routes, indexed by output (RZG2L_DU_OUTPUT_*) 76 const char *rzg2l_du_output_name(enum rzg2l_du_output output);
|
H A D | rzg2l_du_encoder.c | 28 enum rzg2l_du_output output, 41 dev_dbg(rcdu->dev, "initializing encoder %pOF for output %s\n", 42 enc_node, rzg2l_du_output_name(output)); 50 renc->output = output; 57 "failed to attach bridge %pOF for output %s (%d)\n", 58 bridge->of_node, rzg2l_du_output_name(output), ret); 66 "failed to created connector for output %s (%ld)\n", 67 rzg2l_du_output_name(output), PTR_ERR(connector)); 27 rzg2l_du_encoder_init(struct rzg2l_du_device *rcdu, enum rzg2l_du_output output, struct device_node *enc_node) argument
|
H A D | rzg2l_du_encoder.h | 20 enum rzg2l_du_output output; member in struct:rzg2l_du_encoder 29 enum rzg2l_du_output output,
|
H A D | rzg2l_du_kms.c | 129 enum rzg2l_du_output output, 151 ret = rzg2l_du_encoder_init(rcdu, output, entity); 154 "failed to initialize encoder %pOF on output %s (%d), skipping\n", 155 entity, rzg2l_du_output_name(output), ret); 169 * Iterate over the endpoints and create one encoder for each output 173 enum rzg2l_du_output output; local 184 /* Find the output route corresponding to the port number. */ 187 output = i; 194 "port %u references unexisting output, skipping\n", 199 /* Process the output pipelin 128 rzg2l_du_encoders_init_one(struct rzg2l_du_device *rcdu, enum rzg2l_du_output output, struct of_endpoint *ep) argument [all...] |
/linux-master/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.c | 1405 VOP_REG_SET(vop, output, pin_pol, pin_pol); 1406 VOP_REG_SET(vop, output, mipi_dual_channel_en, 0); 1410 VOP_REG_SET(vop, output, rgb_dclk_pol, 1); 1411 VOP_REG_SET(vop, output, rgb_pin_pol, pin_pol); 1412 VOP_REG_SET(vop, output, rgb_en, 1); 1415 VOP_REG_SET(vop, output, edp_dclk_pol, 1); 1416 VOP_REG_SET(vop, output, edp_pin_pol, pin_pol); 1417 VOP_REG_SET(vop, output, edp_en, 1); 1420 VOP_REG_SET(vop, output, hdmi_dclk_pol, 1); 1421 VOP_REG_SET(vop, output, hdmi_pin_po [all...] |
H A D | rockchip_drm_vop.h | 228 const struct vop_output *output; member in struct:vop_data
|
H A D | rockchip_lvds.c | 55 int output; /* rgb lvds or dual lvds output */ member in struct:rockchip_lvds 81 if (lvds->output == DISPLAY_OUTPUT_LVDS) 163 if (lvds->output == DISPLAY_OUTPUT_RGB) { 250 if (lvds->output == DISPLAY_OUTPUT_RGB) 255 if (lvds->output == DISPLAY_OUTPUT_RGB) 257 else if (lvds->output == DISPLAY_OUTPUT_DUAL_LVDS) 368 if (lvds->output != DISPLAY_OUTPUT_LVDS) { 369 DRM_DEV_ERROR(lvds->dev, "Unsupported display output %d\n", 370 lvds->output); [all...] |