Lines Matching defs:script

98 	NV_INFO(drm, "0x%04X: Parsing digital output script table\n",
107 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script)
111 uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0);
122 if (script == LVDS_PANEL_OFF) {
128 if (script == LVDS_RESET &&
137 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
143 * selecting the init script when not using straps; 4 script pointers
147 * of a list of pxclks and script pointers.
159 switch (script) {
202 NV_ERROR(drm, "LVDS output init script not found\n");
210 int call_lvds_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
225 if (bios->fp.last_script_invoc == (script << 1 | head) || !lvds_ver ||
226 (lvds_ver >= 0x30 && script == LVDS_INIT))
234 if (script == LVDS_PANEL_ON && bios->fp.reset_after_pclk_change)
236 if (script == LVDS_RESET && bios->fp.power_off_for_reset)
239 NV_INFO(drm, "Calling LVDS script %d:\n", script);
241 /* don't let script change pll->head binding */
245 ret = call_lvds_manufacturer_script(dev, dcbent, head, script);
247 ret = run_lvds_table(dev, dcbent, head, script, pxclk);
249 bios->fp.last_script_invoc = (script << 1 | head);
507 * EXTDEV_BOOT. Each record had a config byte, followed by 6 script
547 * It seems the old style lvds script pointer is reused
668 NV_ERROR(drm, "TMDS output init script not found\n");
672 /* don't let script change pll->head binding */
684 * Parses the init table segment for pointers used in script execution.
686 * offset + 0 (16 bits): init script tables pointer
917 * At offset +7 is a pointer to a script, which I don't know how to
919 * At offset +9 is a pointer to another script, likewise
921 * frequency and the second word a pointer to a script, which should be
925 * The selection of table (and possibly +7/+9 script) is dictated by
957 NV_WARN(drm, "TMDS table script pointers not stubbed\n");
1052 * offset + 18: init script table pointer (for bios versions < 5.10h)
1053 * offset + 20: extra init script table pointer (for bios
1071 * offset + 75: script table pointers, as described in
2103 /* init script execution disabled */