Lines Matching refs:port
177 enum port port;
202 for (port = PORT_A; port <= PORT_C; port++) {
203 vgpu_vreg_t(vgpu, BXT_PHY_CTL(port)) &=
205 vgpu_vreg_t(vgpu, BXT_PHY_CTL(port)) |=
209 vgpu_vreg_t(vgpu, BXT_PORT_PLL_ENABLE(port)) &=
214 vgpu_vreg_t(vgpu, DDI_BUF_CTL(port)) &=
217 vgpu_vreg_t(vgpu, DDI_BUF_CTL(port)) |= DDI_BUF_IS_IDLE;
509 struct intel_vgpu_port *port = intel_vgpu_port(vgpu, port_num);
511 kfree(port->edid);
512 port->edid = NULL;
514 kfree(port->dpcd);
515 port->dpcd = NULL;
522 struct intel_vgpu_port *port = intel_vgpu_port(vgpu, port_num);
527 port->edid = kzalloc(sizeof(*(port->edid)), GFP_KERNEL);
528 if (!port->edid)
531 port->dpcd = kzalloc(sizeof(*(port->dpcd)), GFP_KERNEL);
532 if (!port->dpcd) {
533 kfree(port->edid);
537 memcpy(port->edid->edid_block, virtual_dp_monitor_edid[resolution],
539 port->edid->data_valid = true;
541 memcpy(port->dpcd->data, dpcd_fix_data, DPCD_HEADER_SIZE);
542 port->dpcd->data_valid = true;
543 port->dpcd->data[DPCD_SINK_COUNT] = 0x1;
544 port->type = type;
545 port->id = resolution;