Lines Matching refs:bdb
19 static void *find_section(struct bdb_header *bdb, int section_id) in find_section() argument
21 u8 *base = (u8 *)bdb; in find_section()
27 index += bdb->header_size; in find_section()
28 total = bdb->bdb_size; in find_section()
45 parse_edp(struct drm_psb_private *dev_priv, struct bdb_header *bdb) in parse_edp() argument
52 edp = find_section(bdb, BDB_EDP); in parse_edp()
189 struct bdb_header *bdb) in parse_backlight_data() argument
196 = find_section(bdb, BDB_LVDS_OPTIONS); in parse_backlight_data()
205 bl_start = find_section(bdb, BDB_LVDS_BACKLIGHT); in parse_backlight_data()
218 struct bdb_header *bdb) in parse_lfp_panel_data() argument
230 lvds_options = find_section(bdb, BDB_LVDS_OPTIONS); in parse_lfp_panel_data()
240 lvds_lfp_data = find_section(bdb, BDB_LVDS_LFP_DATA); in parse_lfp_panel_data()
271 struct bdb_header *bdb) in parse_sdvo_panel_data() argument
279 sdvo_lvds_options = find_section(bdb, BDB_SDVO_LVDS_OPTIONS); in parse_sdvo_panel_data()
283 dvo_timing = find_section(bdb, BDB_SDVO_PANEL_DTDS); in parse_sdvo_panel_data()
301 struct bdb_header *bdb) in parse_general_features() argument
309 general = find_section(bdb, BDB_GENERAL_FEATURES); in parse_general_features()
324 struct bdb_header *bdb) in parse_sdvo_device_mapping() argument
332 p_defs = find_section(bdb, BDB_GENERAL_DEFINITIONS); in parse_sdvo_device_mapping()
415 struct bdb_header *bdb) in parse_driver_features() argument
419 driver = find_section(bdb, BDB_DRIVER_FEATURES); in parse_driver_features()
438 struct bdb_header *bdb) in parse_device_mapping() argument
445 p_defs = find_section(bdb, BDB_GENERAL_DEFINITIONS); in parse_device_mapping()
521 struct bdb_header *bdb = NULL; in psb_intel_init_bios() local
535 bdb = (struct bdb_header *)((char *)vbt + vbt->bdb_offset); in psb_intel_init_bios()
540 if (bdb == NULL) { in psb_intel_init_bios()
558 bdb = (struct bdb_header *)(bios + i + vbt->bdb_offset); in psb_intel_init_bios()
562 parse_general_features(dev_priv, bdb); in psb_intel_init_bios()
563 parse_driver_features(dev_priv, bdb); in psb_intel_init_bios()
564 parse_lfp_panel_data(dev_priv, bdb); in psb_intel_init_bios()
565 parse_sdvo_panel_data(dev_priv, bdb); in psb_intel_init_bios()
566 parse_sdvo_device_mapping(dev_priv, bdb); in psb_intel_init_bios()
567 parse_device_mapping(dev_priv, bdb); in psb_intel_init_bios()
568 parse_backlight_data(dev_priv, bdb); in psb_intel_init_bios()
569 parse_edp(dev_priv, bdb); in psb_intel_init_bios()