Lines Matching defs:port
181 enum port port;
207 for (port = PORT_A; port <= PORT_C; port++) {
208 vgpu_vreg_t(vgpu, BXT_PHY_CTL(port)) &=
210 vgpu_vreg_t(vgpu, BXT_PHY_CTL(port)) |=
214 vgpu_vreg_t(vgpu, BXT_PORT_PLL_ENABLE(port)) &=
219 vgpu_vreg_t(vgpu, DDI_BUF_CTL(port)) &=
222 vgpu_vreg_t(vgpu, DDI_BUF_CTL(port)) |= DDI_BUF_IS_IDLE;
514 struct intel_vgpu_port *port = intel_vgpu_port(vgpu, port_num);
516 kfree(port->edid);
517 port->edid = NULL;
519 kfree(port->dpcd);
520 port->dpcd = NULL;
542 struct intel_vgpu_port *port = intel_vgpu_port(vgpu, port_num);
548 port->edid = kzalloc(sizeof(*(port->edid)), GFP_KERNEL);
549 if (!port->edid)
552 port->dpcd = kzalloc(sizeof(*(port->dpcd)), GFP_KERNEL);
553 if (!port->dpcd) {
554 kfree(port->edid);
558 memcpy(port->edid->edid_block, virtual_dp_monitor_edid[resolution],
560 port->edid->data_valid = true;
562 memcpy(port->dpcd->data, dpcd_fix_data, DPCD_HEADER_SIZE);
563 port->dpcd->data_valid = true;
564 port->dpcd->data[DPCD_SINK_COUNT] = 0x1;
565 port->type = type;
566 port->id = resolution;
567 port->vrefresh_k = GVT_DEFAULT_REFRESH_RATE * MSEC_PER_SEC;
573 vblank_timer->vrefresh_k = port->vrefresh_k;
594 struct intel_vgpu_port *port =
603 if (vblank_timer->vrefresh_k != port->vrefresh_k ||
610 vblank_timer->vrefresh_k = port->vrefresh_k;