|
Lines 180-185
static void dump_lvds_options(void *data)
Link Here
|
| 180 |
printf("\tPFIT mode: %d\n", options->pfit_mode); |
180 |
printf("\tPFIT mode: %d\n", options->pfit_mode); |
| 181 |
} |
181 |
} |
| 182 |
|
182 |
|
|
|
183 |
static void dump_lvds_ptr_data(void *data, unsigned char *base) |
| 184 |
{ |
| 185 |
struct bdb_lvds_lfp_data_ptrs *ptrs = data; |
| 186 |
|
| 187 |
struct lvds_fp_timing *fp_timing = |
| 188 |
(struct lvds_fp_timing *)(base + ptrs->ptr[panel_type].fp_timing_offset); |
| 189 |
|
| 190 |
printf("LVDS timing pointer data:\n"); |
| 191 |
|
| 192 |
printf("\tpanel type %02i: %dx%d\n", panel_type, fp_timing->x_res, |
| 193 |
fp_timing->y_res); |
| 194 |
} |
| 195 |
|
| 183 |
static void dump_lvds_data(void *data, unsigned char *base) |
196 |
static void dump_lvds_data(void *data, unsigned char *base) |
| 184 |
{ |
197 |
{ |
| 185 |
struct bdb_lvds_lfp_data *lvds_data = data; |
198 |
struct bdb_lvds_lfp_data *lvds_data = data; |
|
Lines 285-290
int main(int argc, char **argv)
Link Here
|
| 285 |
dump_general_definitions(find_section(bdb, BDB_GENERAL_DEFINITIONS)); |
298 |
dump_general_definitions(find_section(bdb, BDB_GENERAL_DEFINITIONS)); |
| 286 |
dump_lvds_options(find_section(bdb, BDB_LVDS_OPTIONS)); |
299 |
dump_lvds_options(find_section(bdb, BDB_LVDS_OPTIONS)); |
| 287 |
dump_lvds_data(find_section(bdb, BDB_LVDS_LFP_DATA), bdb); |
300 |
dump_lvds_data(find_section(bdb, BDB_LVDS_LFP_DATA), bdb); |
|
|
301 |
dump_lvds_ptr_data(find_section(bdb, BDB_LVDS_LFP_DATA_PTRS), |
| 302 |
(unsigned char *)bdb); |
| 288 |
|
303 |
|
| 289 |
return 0; |
304 |
return 0; |
| 290 |
} |
305 |
} |