Lines Matching refs:bitentry
698 … int parse_bit_A_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_A_tbl_entry() argument
710 if (bitentry->length != 3) { in parse_bit_A_tbl_entry()
715 load_table_ptr = ROM16(bios->data[bitentry->offset]); in parse_bit_A_tbl_entry()
745 …arse_bit_display_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_display_tbl_entry() argument
757 if (bitentry->length != 4) { in parse_bit_display_tbl_entry()
762 bios->fp.fptablepointer = ROM16(bios->data[bitentry->offset + 2]); in parse_bit_display_tbl_entry()
767 …t parse_bit_init_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_init_tbl_entry() argument
776 if (bitentry->length < 14) { in parse_bit_init_tbl_entry()
781 parse_script_table_pointers(bios, bitentry->offset); in parse_bit_init_tbl_entry()
785 … int parse_bit_i_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_i_tbl_entry() argument
802 if (bitentry->length < 6) { in parse_bit_i_tbl_entry()
811 bios->feature_byte = bios->data[bitentry->offset + 5]; in parse_bit_i_tbl_entry()
814 if (bitentry->length < 15) { in parse_bit_i_tbl_entry()
820 daccmpoffset = ROM16(bios->data[bitentry->offset + 13]); in parse_bit_i_tbl_entry()
847 …t parse_bit_lvds_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_lvds_tbl_entry() argument
858 if (bitentry->length != 2) { in parse_bit_lvds_tbl_entry()
867 bios->fp.lvdsmanufacturerpointer = ROM16(bios->data[bitentry->offset]); in parse_bit_lvds_tbl_entry()
874 struct bit_entry *bitentry) in parse_bit_M_tbl_entry() argument
890 if (bitentry->length < 0x5) in parse_bit_M_tbl_entry()
893 if (bitentry->version < 2) { in parse_bit_M_tbl_entry()
894 bios->ram_restrict_group_count = bios->data[bitentry->offset + 2]; in parse_bit_M_tbl_entry()
895 bios->ram_restrict_tbl_ptr = ROM16(bios->data[bitentry->offset + 3]); in parse_bit_M_tbl_entry()
897 bios->ram_restrict_group_count = bios->data[bitentry->offset + 0]; in parse_bit_M_tbl_entry()
898 bios->ram_restrict_tbl_ptr = ROM16(bios->data[bitentry->offset + 1]); in parse_bit_M_tbl_entry()
904 …t parse_bit_tmds_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_tmds_tbl_entry() argument
932 if (bitentry->length != 2) { in parse_bit_tmds_tbl_entry()
937 tmdstableptr = ROM16(bios->data[bitentry->offset]); in parse_bit_tmds_tbl_entry()
1006 struct bit_entry bitentry; in parse_bit_table() local
1008 if (bit_table(dev, table->id, &bitentry) == 0) in parse_bit_table()
1009 return table->parse_fn(dev, bios, &bitentry); in parse_bit_table()