• Home
  • Raw
  • Download

Lines Matching refs:config_table

201 struct config_table {  struct
267 struct config_table { struct
346 struct config_table config_table; /* Configuration table */ member
481 void __iomem *offset = dc->base_addr + dc->config_table.dl_start; in nozomi_setup_memory()
490 (offset += dc->config_table.dl_mdm_len1); in nozomi_setup_memory()
492 dc->config_table.dl_mdm_len1 - buff_offset; in nozomi_setup_memory()
494 dc->config_table.dl_mdm_len2 - buff_offset; in nozomi_setup_memory()
498 (offset += dc->config_table.dl_mdm_len2); in nozomi_setup_memory()
500 dc->config_table.dl_diag_len1 - buff_offset; in nozomi_setup_memory()
502 (offset += dc->config_table.dl_diag_len1); in nozomi_setup_memory()
504 dc->config_table.dl_diag_len2 - buff_offset; in nozomi_setup_memory()
508 (offset += dc->config_table.dl_diag_len2); in nozomi_setup_memory()
510 dc->config_table.dl_app1_len - buff_offset; in nozomi_setup_memory()
514 (offset += dc->config_table.dl_app1_len); in nozomi_setup_memory()
516 dc->config_table.dl_app2_len - buff_offset; in nozomi_setup_memory()
520 (offset += dc->config_table.dl_app2_len); in nozomi_setup_memory()
522 dc->config_table.dl_ctrl_len - buff_offset; in nozomi_setup_memory()
524 offset = dc->base_addr + dc->config_table.ul_start; in nozomi_setup_memory()
529 dc->config_table.ul_mdm_len1 - buff_offset; in nozomi_setup_memory()
531 (offset += dc->config_table.ul_mdm_len1); in nozomi_setup_memory()
533 dc->config_table.ul_mdm_len2 - buff_offset; in nozomi_setup_memory()
537 (offset += dc->config_table.ul_mdm_len2); in nozomi_setup_memory()
539 dc->config_table.ul_diag_len - buff_offset; in nozomi_setup_memory()
543 (offset += dc->config_table.ul_diag_len); in nozomi_setup_memory()
545 dc->config_table.ul_app1_len - buff_offset; in nozomi_setup_memory()
549 (offset += dc->config_table.ul_app1_len); in nozomi_setup_memory()
551 dc->config_table.ul_app2_len - buff_offset; in nozomi_setup_memory()
555 (offset += dc->config_table.ul_app2_len); in nozomi_setup_memory()
557 dc->config_table.ul_ctrl_len - buff_offset; in nozomi_setup_memory()
564 DBG3("signature: 0x%08X", dc->config_table.signature); in dump_table()
565 DBG3("version: 0x%04X", dc->config_table.version); in dump_table()
567 dc->config_table.product_information); in dump_table()
568 DBG3("toggle enabled: %d", dc->config_table.toggle.enabled); in dump_table()
569 DBG3("toggle up_mdm: %d", dc->config_table.toggle.mdm_ul); in dump_table()
570 DBG3("toggle dl_mdm: %d", dc->config_table.toggle.mdm_dl); in dump_table()
571 DBG3("toggle dl_dbg: %d", dc->config_table.toggle.diag_dl); in dump_table()
573 DBG3("dl_start: 0x%04X", dc->config_table.dl_start); in dump_table()
574 DBG3("dl_mdm_len0: 0x%04X, %d", dc->config_table.dl_mdm_len1, in dump_table()
575 dc->config_table.dl_mdm_len1); in dump_table()
576 DBG3("dl_mdm_len1: 0x%04X, %d", dc->config_table.dl_mdm_len2, in dump_table()
577 dc->config_table.dl_mdm_len2); in dump_table()
578 DBG3("dl_diag_len0: 0x%04X, %d", dc->config_table.dl_diag_len1, in dump_table()
579 dc->config_table.dl_diag_len1); in dump_table()
580 DBG3("dl_diag_len1: 0x%04X, %d", dc->config_table.dl_diag_len2, in dump_table()
581 dc->config_table.dl_diag_len2); in dump_table()
582 DBG3("dl_app1_len: 0x%04X, %d", dc->config_table.dl_app1_len, in dump_table()
583 dc->config_table.dl_app1_len); in dump_table()
584 DBG3("dl_app2_len: 0x%04X, %d", dc->config_table.dl_app2_len, in dump_table()
585 dc->config_table.dl_app2_len); in dump_table()
586 DBG3("dl_ctrl_len: 0x%04X, %d", dc->config_table.dl_ctrl_len, in dump_table()
587 dc->config_table.dl_ctrl_len); in dump_table()
588 DBG3("ul_start: 0x%04X, %d", dc->config_table.ul_start, in dump_table()
589 dc->config_table.ul_start); in dump_table()
590 DBG3("ul_mdm_len[0]: 0x%04X, %d", dc->config_table.ul_mdm_len1, in dump_table()
591 dc->config_table.ul_mdm_len1); in dump_table()
592 DBG3("ul_mdm_len[1]: 0x%04X, %d", dc->config_table.ul_mdm_len2, in dump_table()
593 dc->config_table.ul_mdm_len2); in dump_table()
594 DBG3("ul_diag_len: 0x%04X, %d", dc->config_table.ul_diag_len, in dump_table()
595 dc->config_table.ul_diag_len); in dump_table()
596 DBG3("ul_app1_len: 0x%04X, %d", dc->config_table.ul_app1_len, in dump_table()
597 dc->config_table.ul_app1_len); in dump_table()
598 DBG3("ul_app2_len: 0x%04X, %d", dc->config_table.ul_app2_len, in dump_table()
599 dc->config_table.ul_app2_len); in dump_table()
600 DBG3("ul_ctrl_len: 0x%04X, %d", dc->config_table.ul_ctrl_len, in dump_table()
601 dc->config_table.ul_ctrl_len); in dump_table()
613 read_mem32((u32 *) &dc->config_table, dc->base_addr + 0, in nozomi_read_config_table()
614 sizeof(struct config_table)); in nozomi_read_config_table()
616 if (dc->config_table.signature != NOZOMI_CONFIG_MAGIC) { in nozomi_read_config_table()
618 dc->config_table.signature, NOZOMI_CONFIG_MAGIC); in nozomi_read_config_table()
622 if ((dc->config_table.version == 0) in nozomi_read_config_table()
623 || (dc->config_table.toggle.enabled == TOGGLE_VALID)) { in nozomi_read_config_table()
629 dc->port[PORT_MDM].toggle_ul = dc->config_table.toggle.mdm_ul; in nozomi_read_config_table()
630 dc->port[PORT_MDM].toggle_dl = dc->config_table.toggle.mdm_dl; in nozomi_read_config_table()
631 dc->port[PORT_DIAG].toggle_dl = dc->config_table.toggle.diag_dl; in nozomi_read_config_table()
652 if ((dc->config_table.version > 0) in nozomi_read_config_table()
653 && (dc->config_table.toggle.enabled != TOGGLE_VALID)) { in nozomi_read_config_table()
658 dc->config_table.version); in nozomi_read_config_table()