Lines Matching refs:bitentry

696 … int parse_bit_A_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry)  in parse_bit_A_tbl_entry()  argument
708 if (bitentry->length != 3) { in parse_bit_A_tbl_entry()
713 load_table_ptr = ROM16(bios->data[bitentry->offset]); in parse_bit_A_tbl_entry()
743 …arse_bit_display_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_display_tbl_entry() argument
755 if (bitentry->length != 4) { in parse_bit_display_tbl_entry()
760 bios->fp.fptablepointer = ROM16(bios->data[bitentry->offset + 2]); in parse_bit_display_tbl_entry()
765 …t parse_bit_init_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_init_tbl_entry() argument
774 if (bitentry->length < 14) { in parse_bit_init_tbl_entry()
779 parse_script_table_pointers(bios, bitentry->offset); in parse_bit_init_tbl_entry()
783 … int parse_bit_i_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_i_tbl_entry() argument
800 if (bitentry->length < 6) { in parse_bit_i_tbl_entry()
809 bios->feature_byte = bios->data[bitentry->offset + 5]; in parse_bit_i_tbl_entry()
812 if (bitentry->length < 15) { in parse_bit_i_tbl_entry()
818 daccmpoffset = ROM16(bios->data[bitentry->offset + 13]); in parse_bit_i_tbl_entry()
845 …t parse_bit_lvds_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_lvds_tbl_entry() argument
856 if (bitentry->length != 2) { in parse_bit_lvds_tbl_entry()
865 bios->fp.lvdsmanufacturerpointer = ROM16(bios->data[bitentry->offset]); in parse_bit_lvds_tbl_entry()
872 struct bit_entry *bitentry) in parse_bit_M_tbl_entry() argument
888 if (bitentry->length < 0x5) in parse_bit_M_tbl_entry()
891 if (bitentry->version < 2) { in parse_bit_M_tbl_entry()
892 bios->ram_restrict_group_count = bios->data[bitentry->offset + 2]; in parse_bit_M_tbl_entry()
893 bios->ram_restrict_tbl_ptr = ROM16(bios->data[bitentry->offset + 3]); in parse_bit_M_tbl_entry()
895 bios->ram_restrict_group_count = bios->data[bitentry->offset + 0]; in parse_bit_M_tbl_entry()
896 bios->ram_restrict_tbl_ptr = ROM16(bios->data[bitentry->offset + 1]); in parse_bit_M_tbl_entry()
902 …t parse_bit_tmds_tbl_entry(struct drm_device *dev, struct nvbios *bios, struct bit_entry *bitentry) in parse_bit_tmds_tbl_entry() argument
930 if (bitentry->length != 2) { in parse_bit_tmds_tbl_entry()
935 tmdstableptr = ROM16(bios->data[bitentry->offset]); in parse_bit_tmds_tbl_entry()
1004 struct bit_entry bitentry; in parse_bit_table() local
1006 if (bit_table(dev, table->id, &bitentry) == 0) in parse_bit_table()
1007 return table->parse_fn(dev, bios, &bitentry); in parse_bit_table()