Home
last modified time | relevance | path

Searched refs:vbt (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_bios.c2985 if (!vbt) in intel_bios_is_valid_vbt()
3019 return vbt; in intel_bios_is_valid_vbt()
3028 u32 *vbt; in spi_oprom_get_vbt() local
3057 if (!vbt) in spi_oprom_get_vbt()
3074 kfree(vbt); in spi_oprom_get_vbt()
3118 if (!vbt) in oprom_get_vbt()
3130 return vbt; in oprom_get_vbt()
3133 kfree(vbt); in oprom_get_vbt()
3174 if (!vbt) { in intel_bios_init()
3179 if (!vbt) in intel_bios_init()
[all …]
A Dintel_dsi_dcs_backlight.c56 for_each_dsi_port(port, panel->vbt.dsi.bl_ports) { in dcs_get_backlight()
83 for_each_dsi_port(port, panel->vbt.dsi.bl_ports) { in dcs_set_backlight()
102 for_each_dsi_port(port, panel->vbt.dsi.cabc_ports) { in dcs_disable_backlight()
110 for_each_dsi_port(port, panel->vbt.dsi.bl_ports) { in dcs_disable_backlight()
135 for_each_dsi_port(port, panel->vbt.dsi.bl_ports) { in dcs_enable_backlight()
151 for_each_dsi_port(port, panel->vbt.dsi.cabc_ports) { in dcs_enable_backlight()
167 if (panel->vbt.backlight.brightness_precision_bits > 8) in dcs_setup_backlight()
168 panel->backlight.max = (1 << panel->vbt.backlight.brightness_precision_bits) - 1; in dcs_setup_backlight()
191 if (panel->vbt.backlight.type != INTEL_BACKLIGHT_DSI_DCS) in intel_dsi_dcs_init_backlight_funcs()
A Dintel_dsi_vbt.c262 if (connector->panel.vbt.dsi.seq_version >= 3) { in vlv_exec_gpio()
301 if (connector->panel.vbt.dsi.seq_version >= 3) { in chv_exec_gpio()
470 if (connector->panel.vbt.dsi.seq_version >= 3) in mipi_exec_gpio()
476 if (connector->panel.vbt.dsi.seq_version == 2) in mipi_exec_gpio()
481 if (connector->panel.vbt.dsi.seq_version >= 4 && *data & BIT(1)) in mipi_exec_gpio()
687 seq_id >= ARRAY_SIZE(connector->panel.vbt.dsi.sequence))) in intel_dsi_vbt_exec()
690 data = connector->panel.vbt.dsi.sequence[seq_id]; in intel_dsi_vbt_exec()
703 if (connector->panel.vbt.dsi.seq_version >= 3) in intel_dsi_vbt_exec()
719 if (connector->panel.vbt.dsi.seq_version >= 3) in intel_dsi_vbt_exec()
833 struct mipi_config *mipi_config = connector->panel.vbt.dsi.config; in intel_dsi_vbt_init()
[all …]
A Dintel_panel.c49 return i915->display.vbt.lvds_use_ssc && in intel_panel_use_ssc()
104 int min_vrefresh = connector->panel.vbt.seamless_drrs_min_refresh_rate; in intel_panel_downclock_mode()
172 return connector->panel.vbt.drrs_type; in intel_panel_drrs_type()
308 mode = connector->panel.vbt.lfp_lvds_vbt_mode; in intel_panel_add_vbt_lfp_fixed_mode()
322 mode = connector->panel.vbt.sdvo_lvds_vbt_mode; in intel_panel_add_vbt_sdvo_fixed_mode()
670 connector->panel.vbt.panel_type = -1; in intel_panel_init_alloc()
671 connector->panel.vbt.backlight.controller = -1; in intel_panel_init_alloc()
685 connector->panel.vbt.drrs_type = DRRS_TYPE_NONE; in intel_panel_init()
A Dintel_pps.c1347 struct edp_power_seq *vbt) in pps_init_delays_vbt() argument
1352 *vbt = connector->panel.vbt.edp.pps; in pps_init_delays_vbt()
1354 if (!pps_delays_valid(vbt)) in pps_init_delays_vbt()
1363 vbt->t11_t12 = max_t(u16, vbt->t11_t12, 1300 * 10); in pps_init_delays_vbt()
1366 vbt->t11_t12); in pps_init_delays_vbt()
1373 vbt->t11_t12 += 100 * 10; in pps_init_delays_vbt()
1375 intel_pps_dump_state(intel_dp, "vbt", vbt); in pps_init_delays_vbt()
1403 struct edp_power_seq cur, vbt, spec, in pps_init_delays() local
1413 pps_init_delays_vbt(intel_dp, &vbt); in pps_init_delays()
1420 max(cur.field, vbt.field)) in pps_init_delays()
[all …]
A Dintel_opregion.c862 opregion->vbt = opregion->vbt_firmware; in intel_load_vbt_firmware()
887 const void *vbt; in intel_opregion_setup() local
994 vbt = opregion->rvda; in intel_opregion_setup()
996 if (intel_bios_is_valid_vbt(vbt, vbt_size)) { in intel_opregion_setup()
999 opregion->vbt = vbt; in intel_opregion_setup()
1010 vbt = base + OPREGION_VBT_OFFSET; in intel_opregion_setup()
1021 if (intel_bios_is_valid_vbt(vbt, vbt_size)) { in intel_opregion_setup()
1024 opregion->vbt = vbt; in intel_opregion_setup()
1240 opregion->vbt = NULL; in intel_opregion_unregister()
A Dintel_dsi.c105 orientation = connector->panel.vbt.dsi.orientation; in intel_dsi_get_panel_orientation()
109 orientation = dev_priv->display.vbt.orientation; in intel_dsi_get_panel_orientation()
A Dintel_psr.c95 return connector->panel.vbt.psr.enable; in psr_global_enabled()
436 if (connector->panel.vbt.psr.tp1_wakeup_time_us == 0) in intel_psr1_get_tp_time()
438 else if (connector->panel.vbt.psr.tp1_wakeup_time_us <= 100) in intel_psr1_get_tp_time()
440 else if (connector->panel.vbt.psr.tp1_wakeup_time_us <= 500) in intel_psr1_get_tp_time()
445 if (connector->panel.vbt.psr.tp2_tp3_wakeup_time_us == 0) in intel_psr1_get_tp_time()
447 else if (connector->panel.vbt.psr.tp2_tp3_wakeup_time_us <= 100) in intel_psr1_get_tp_time()
449 else if (connector->panel.vbt.psr.tp2_tp3_wakeup_time_us <= 500) in intel_psr1_get_tp_time()
473 idle_frames = max(6, connector->panel.vbt.psr.idle_frames); in psr_compute_idle_frames()
516 if (connector->panel.vbt.psr.psr2_tp2_tp3_wakeup_time_us >= 0 && in intel_psr2_get_tp_time()
517 connector->panel.vbt.psr.psr2_tp2_tp3_wakeup_time_us <= 50) in intel_psr2_get_tp_time()
[all …]
A Dintel_opregion.h51 const void *vbt; member
A Dintel_dp_aux_backlight.c384 panel->vbt.backlight.pwm_freq_hz, intel_dp->edp_dpcd, in intel_dp_aux_vesa_setup_backlight()
468 switch (panel->vbt.backlight.type) { in intel_dp_aux_init_backlight_funcs()
480 if (panel->vbt.backlight.type != INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE) in intel_dp_aux_init_backlight_funcs()
A Dvlv_dsi.c843 if (connector->panel.vbt.dsi.sequence[MIPI_SEQ_DEASSERT_RESET]) { in intel_dsi_pre_enable()
1686 struct mipi_config *mipi_config = connector->panel.vbt.dsi.config; in vlv_dphy_param_init()
1921 if (intel_connector->panel.vbt.dsi.config->dual_link) in vlv_dsi_init()
1926 if (drm_WARN_ON(&dev_priv->drm, intel_connector->panel.vbt.dsi.bl_ports & ~intel_dsi->ports)) in vlv_dsi_init()
1927 intel_connector->panel.vbt.dsi.bl_ports &= intel_dsi->ports; in vlv_dsi_init()
1929 if (drm_WARN_ON(&dev_priv->drm, intel_connector->panel.vbt.dsi.cabc_ports & ~intel_dsi->ports)) in vlv_dsi_init()
1930 intel_connector->panel.vbt.dsi.cabc_ports &= intel_dsi->ports; in vlv_dsi_init()
A Dintel_backlight.c1155 u16 pwm_freq_hz = connector->panel.vbt.backlight.pwm_freq_hz; in get_vbt_pwm_freq()
1212 min = clamp_t(int, connector->panel.vbt.backlight.min_brightness, 0, 64); in get_backlight_min_vbt()
1213 if (min != connector->panel.vbt.backlight.min_brightness) { in get_backlight_min_vbt()
1216 connector->panel.vbt.backlight.min_brightness, min); in get_backlight_min_vbt()
1405 panel->backlight.controller = connector->panel.vbt.backlight.controller; in bxt_setup_backlight()
1469 panel->backlight.controller = connector->panel.vbt.backlight.controller; in cnp_setup_backlight()
1505 if (connector->panel.vbt.dsi.config->pwm_blc == PPS_BLC_PMIC) { in ext_pwm_setup_backlight()
1623 if (!connector->panel.vbt.backlight.present) { in intel_backlight_setup()
A Dintel_lvds.c817 val = connector->panel.vbt.bios_lvds_val; in compute_is_dual_link_lvds()
848 drm_WARN(&dev_priv->drm, !dev_priv->display.vbt.int_lvds_support, in intel_lvds_init()
853 if (!dev_priv->display.vbt.int_lvds_support) { in intel_lvds_init()
A Dintel_dpll.c1016 dev_priv->display.vbt.lvds_ssc_freq == 100000) || in ilk_update_pll_dividers()
1131 dev_priv->display.vbt.lvds_ssc_freq); in ilk_crtc_compute_clock()
1132 refclk = dev_priv->display.vbt.lvds_ssc_freq; in ilk_crtc_compute_clock()
1278 refclk = dev_priv->display.vbt.lvds_ssc_freq; in g4x_crtc_compute_clock()
1325 refclk = dev_priv->display.vbt.lvds_ssc_freq; in pnv_crtc_compute_clock()
1361 refclk = dev_priv->display.vbt.lvds_ssc_freq; in i9xx_crtc_compute_clock()
1399 refclk = dev_priv->display.vbt.lvds_ssc_freq; in i8xx_crtc_compute_clock()
A Dintel_display_core.h476 struct intel_vbt_data vbt; member
A Dintel_sdvo.c2050 dev_priv->display.vbt.crt_ddc_pin)); in intel_sdvo_get_analog_edid()
2610 mapping = &dev_priv->display.vbt.sdvo_mappings[0]; in intel_sdvo_select_ddc_bus()
2612 mapping = &dev_priv->display.vbt.sdvo_mappings[1]; in intel_sdvo_select_ddc_bus()
2628 mapping = &dev_priv->display.vbt.sdvo_mappings[0]; in intel_sdvo_select_i2c_bus()
2630 mapping = &dev_priv->display.vbt.sdvo_mappings[1]; in intel_sdvo_select_i2c_bus()
2668 my_mapping = &dev_priv->display.vbt.sdvo_mappings[0]; in intel_sdvo_get_slave_addr()
2669 other_mapping = &dev_priv->display.vbt.sdvo_mappings[1]; in intel_sdvo_get_slave_addr()
2671 my_mapping = &dev_priv->display.vbt.sdvo_mappings[1]; in intel_sdvo_get_slave_addr()
2672 other_mapping = &dev_priv->display.vbt.sdvo_mappings[0]; in intel_sdvo_get_slave_addr()
A Dicl_dsi.c1870 struct mipi_config *mipi_config = connector->panel.vbt.dsi.config; in icl_dphy_param_init()
2062 if (intel_connector->panel.vbt.dsi.config->dual_link) in icl_dsi_init()
2067 if (drm_WARN_ON(&dev_priv->drm, intel_connector->panel.vbt.dsi.bl_ports & ~intel_dsi->ports)) in icl_dsi_init()
2068 intel_connector->panel.vbt.dsi.bl_ports &= intel_dsi->ports; in icl_dsi_init()
2070 if (drm_WARN_ON(&dev_priv->drm, intel_connector->panel.vbt.dsi.cabc_ports & ~intel_dsi->ports)) in icl_dsi_init()
2071 intel_connector->panel.vbt.dsi.cabc_ports &= intel_dsi->ports; in icl_dsi_init()
/linux-6.3-rc2/drivers/bluetooth/
A Dvirtio_bt.c58 if (virtbt_add_inbuf(vbt) < 0) in virtbt_open_vdev()
74 cancel_work_sync(&vbt->rx); in virtbt_close_vdev()
251 schedule_work(&vbt->rx); in virtbt_rx_done()
282 vbt = kzalloc(sizeof(*vbt), GFP_KERNEL); in virtbt_probe()
283 if (!vbt) in virtbt_probe()
286 vdev->priv = vbt; in virtbt_probe()
287 vbt->vdev = vdev; in virtbt_probe()
302 vbt->hdev = hdev; in virtbt_probe()
394 virtbt_close_vdev(vbt); in virtbt_remove()
397 vbt->hdev = NULL; in virtbt_remove()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/gma500/
A Dmid_bios.c142 memcpy_fromio(vbt, vbt_virtual, sizeof(*vbt)); in read_vbt_r0()
156 memcpy_fromio(vbt, vbt_virtual, sizeof(*vbt)); in read_vbt_r10()
164 struct vbt_r0 vbt; in mid_get_vbt_data_r0() local
169 if (read_vbt_r0(addr, &vbt)) in mid_get_vbt_data_r0()
172 gct_virtual = ioremap(addr + sizeof(vbt), vbt.size - sizeof(vbt)); in mid_get_vbt_data_r0()
192 struct vbt_r0 vbt; in mid_get_vbt_data_r1() local
197 if (read_vbt_r0(addr, &vbt)) in mid_get_vbt_data_r1()
200 gct_virtual = ioremap(addr + sizeof(vbt), vbt.size - sizeof(vbt)); in mid_get_vbt_data_r1()
220 struct vbt_r10 vbt; in mid_get_vbt_data_r10() local
227 if (read_vbt_r10(addr, &vbt)) in mid_get_vbt_data_r10()
[all …]
A Dintel_bios.c521 struct vbt_header *vbt = NULL; in psb_intel_init_bios() local
531 if (dev_priv->opregion.vbt) { in psb_intel_init_bios()
532 struct vbt_header *vbt = dev_priv->opregion.vbt; in psb_intel_init_bios() local
533 if (memcmp(vbt->signature, "$VBT", 4) == 0) { in psb_intel_init_bios()
535 vbt->signature); in psb_intel_init_bios()
536 bdb = (struct bdb_header *)((char *)vbt + vbt->bdb_offset); in psb_intel_init_bios()
538 dev_priv->opregion.vbt = NULL; in psb_intel_init_bios()
549 vbt = (struct vbt_header *)(bios + i); in psb_intel_init_bios()
554 if (!vbt) { in psb_intel_init_bios()
559 bdb = (struct bdb_header *)(bios + i + vbt->bdb_offset); in psb_intel_init_bios()
A Dpower.c138 int bsm, vbt; in gma_suspend_pci() local
143 pci_read_config_dword(pdev, 0xFC, &vbt); in gma_suspend_pci()
144 dev_priv->regs.saveVBT = vbt; in gma_suspend_pci()
A Dopregion.c299 opregion->vbt = NULL; in psb_intel_opregion_fini()
331 opregion->vbt = base + OPREGION_VBT_OFFSET; in psb_intel_opregion_setup()
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/
A Dopregion.c116 struct vbt { struct
136 static void virt_vbt_generation(struct vbt *v) in virt_vbt_generation() argument
140 memset(v, 0, sizeof(struct vbt)); in virt_vbt_generation()
150 v->header.vbt_size = sizeof(struct vbt); in virt_vbt_generation()
151 v->header.bdb_offset = offsetof(struct vbt, bdb_header); in virt_vbt_generation()
157 v->bdb_header.bdb_size = sizeof(struct vbt) - sizeof(struct vbt_header); in virt_vbt_generation()
224 struct vbt v; in intel_vgpu_init_opregion()
253 memcpy(buf + INTEL_GVT_OPREGION_VBT_OFFSET, &v, sizeof(struct vbt)); in intel_vgpu_init_opregion()
/linux-6.3-rc2/include/dt-bindings/usb/
A Dpd.h350 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument
354 | (vbt) << 4 | (sopp) << 3 | ((spd) & 0x7))
/linux-6.3-rc2/include/linux/usb/
A Dpd_vdo.h373 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument
377 | (vbt) << 4 | (sopp) << 3 | ((spd) & 0x7))

Completed in 93 milliseconds

12