Lines Matching defs:script
100 NV_INFO(drm, "0x%04X: Parsing digital output script table\n",
109 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script)
113 uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0);
121 if (script == LVDS_PANEL_OFF) {
127 if (script == LVDS_RESET &&
136 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
142 * selecting the init script when not using straps; 4 script pointers
146 * of a list of pxclks and script pointers.
158 switch (script) {
201 NV_ERROR(drm, "LVDS output init script not found\n");
209 int call_lvds_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
224 if (bios->fp.last_script_invoc == (script << 1 | head) || !lvds_ver ||
225 (lvds_ver >= 0x30 && script == LVDS_INIT))
233 if (script == LVDS_PANEL_ON && bios->fp.reset_after_pclk_change)
235 if (script == LVDS_RESET && bios->fp.power_off_for_reset)
238 NV_INFO(drm, "Calling LVDS script %d:\n", script);
240 /* don't let script change pll->head binding */
244 ret = call_lvds_manufacturer_script(dev, dcbent, head, script);
246 ret = run_lvds_table(dev, dcbent, head, script, pxclk);
248 bios->fp.last_script_invoc = (script << 1 | head);
505 * EXTDEV_BOOT. Each record had a config byte, followed by 6 script
545 * It seems the old style lvds script pointer is reused
666 NV_ERROR(drm, "TMDS output init script not found\n");
670 /* don't let script change pll->head binding */
682 * Parses the init table segment for pointers used in script execution.
684 * offset + 0 (16 bits): init script tables pointer
915 * At offset +7 is a pointer to a script, which I don't know how to
917 * At offset +9 is a pointer to another script, likewise
919 * frequency and the second word a pointer to a script, which should be
923 * The selection of table (and possibly +7/+9 script) is dictated by
955 NV_WARN(drm, "TMDS table script pointers not stubbed\n");
1050 * offset + 18: init script table pointer (for bios versions < 5.10h)
1051 * offset + 20: extra init script table pointer (for bios
1069 * offset + 75: script table pointers, as described in
2092 /* init script execution disabled */