Lines Matching refs:dmcu
766 bool dmcu_load_iram(struct dmcu *dmcu, in dmcu_load_iram() argument
772 if (dmcu == NULL) in dmcu_load_iram()
775 if (dmcu && !dmcu->funcs->is_dmcu_initialized(dmcu)) in dmcu_load_iram()
780 if (dmcu->dmcu_version.abm_version == 0x24) { in dmcu_load_iram()
782 result = dmcu->funcs->load_iram(dmcu, 0, (char *)(&ram_table), in dmcu_load_iram()
784 } else if (dmcu->dmcu_version.abm_version == 0x23) { in dmcu_load_iram()
787 result = dmcu->funcs->load_iram( in dmcu_load_iram()
788 dmcu, 0, (char *)(&ram_table), IRAM_RESERVE_AREA_START_V2_2); in dmcu_load_iram()
789 } else if (dmcu->dmcu_version.abm_version == 0x22) { in dmcu_load_iram()
792 result = dmcu->funcs->load_iram( in dmcu_load_iram()
793 dmcu, 0, (char *)(&ram_table), IRAM_RESERVE_AREA_START_V2_2); in dmcu_load_iram()
797 result = dmcu->funcs->load_iram( in dmcu_load_iram()
798 dmcu, 0, (char *)(&ram_table), IRAM_RESERVE_AREA_START_V2); in dmcu_load_iram()
801 result = dmcu->funcs->load_iram( in dmcu_load_iram()
802 dmcu, IRAM_RESERVE_AREA_END_V2 + 1, in dmcu_load_iram()