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);
119 if (script == LVDS_PANEL_OFF) {
125 if (script == LVDS_RESET &&
134 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
140 * selecting the init script when not using straps; 4 script pointers
144 * of a list of pxclks and script pointers.
156 switch (script) {
199 NV_ERROR(drm, "LVDS output init script not found\n");
207 int call_lvds_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
222 if (bios->fp.last_script_invoc == (script << 1 | head) || !lvds_ver ||
223 (lvds_ver >= 0x30 && script == LVDS_INIT))
231 if (script == LVDS_PANEL_ON && bios->fp.reset_after_pclk_change)
233 if (script == LVDS_RESET && bios->fp.power_off_for_reset)
236 NV_INFO(drm, "Calling LVDS script %d:\n", script);
238 /* don't let script change pll->head binding */
242 ret = call_lvds_manufacturer_script(dev, dcbent, head, script);
244 ret = run_lvds_table(dev, dcbent, head, script, pxclk);
246 bios->fp.last_script_invoc = (script << 1 | head);
504 * EXTDEV_BOOT. Each record had a config byte, followed by 6 script
544 * It seems the old style lvds script pointer is reused
665 NV_ERROR(drm, "TMDS output init script not found\n");
669 /* don't let script change pll->head binding */
681 * Parses the init table segment for pointers used in script execution.
683 * offset + 0 (16 bits): init script tables pointer
914 * At offset +7 is a pointer to a script, which I don't know how to
916 * At offset +9 is a pointer to another script, likewise
918 * frequency and the second word a pointer to a script, which should be
922 * The selection of table (and possibly +7/+9 script) is dictated by
954 NV_WARN(drm, "TMDS table script pointers not stubbed\n");
1049 * offset + 18: init script table pointer (for bios versions < 5.10h)
1050 * offset + 20: extra init script table pointer (for bios
1068 * offset + 75: script table pointers, as described in
2099 /* init script execution disabled */