Lines Matching defs:script

101 	NV_INFO(drm, "0x%04X: Parsing digital output script table\n",
110 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script)
114 uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0);
125 if (script == LVDS_PANEL_OFF) {
131 if (script == LVDS_RESET &&
140 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
146 * selecting the init script when not using straps; 4 script pointers
150 * of a list of pxclks and script pointers.
162 switch (script) {
205 NV_ERROR(drm, "LVDS output init script not found\n");
213 int call_lvds_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
228 if (bios->fp.last_script_invoc == (script << 1 | head) || !lvds_ver ||
229 (lvds_ver >= 0x30 && script == LVDS_INIT))
237 if (script == LVDS_PANEL_ON && bios->fp.reset_after_pclk_change)
239 if (script == LVDS_RESET && bios->fp.power_off_for_reset)
242 NV_INFO(drm, "Calling LVDS script %d:\n", script);
244 /* don't let script change pll->head binding */
248 ret = call_lvds_manufacturer_script(dev, dcbent, head, script);
250 ret = run_lvds_table(dev, dcbent, head, script, pxclk);
252 bios->fp.last_script_invoc = (script << 1 | head);
510 * EXTDEV_BOOT. Each record had a config byte, followed by 6 script
550 * It seems the old style lvds script pointer is reused
671 NV_ERROR(drm, "TMDS output init script not found\n");
675 /* don't let script change pll->head binding */
687 * Parses the init table segment for pointers used in script execution.
689 * offset + 0 (16 bits): init script tables pointer
920 * At offset +7 is a pointer to a script, which I don't know how to
922 * At offset +9 is a pointer to another script, likewise
924 * frequency and the second word a pointer to a script, which should be
928 * The selection of table (and possibly +7/+9 script) is dictated by
960 NV_WARN(drm, "TMDS table script pointers not stubbed\n");
1055 * offset + 18: init script table pointer (for bios versions < 5.10h)
1056 * offset + 20: extra init script table pointer (for bios
1074 * offset + 75: script table pointers, as described in
2109 /* init script execution disabled */