Lines Matching refs:config
38 const struct mod_system_power_dev_config *config; member
74 const struct mod_system_power_config *config; member
94 for (i = 0; i < system_power_ctx.config->ext_ppus_count; i++) { in ext_ppus_set_state()
96 system_power_ctx.config->ext_ppus[i].ppu_id, state); in ext_ppus_set_state()
111 for (i = 0; i < system_power_ctx.config->ext_ppus_count; i++) { in ext_ppus_shutdown()
113 ppu_id = system_power_ctx.config->ext_ppus[i].ppu_id; in ext_ppus_shutdown()
136 sys_state_table = dev_ctx->config->sys_state_table; in set_system_power_state()
138 status = dev_ctx->sys_ppu_api->set_state(dev_ctx->config->sys_ppu_id, in set_system_power_state()
162 ppu_id = dev_ctx->config->sys_ppu_id; in shutdown_system_power_ppus()
167 state = dev_ctx->config->sys_state_table[MOD_PD_STATE_OFF]; in shutdown_system_power_ppus()
183 if (system_power_ctx.config->soc_wakeup_irq != FWK_INTERRUPT_NONE) { in disable_all_irqs()
184 status = fwk_interrupt_disable(system_power_ctx.config->soc_wakeup_irq); in disable_all_irqs()
239 soc_wakeup_irq = system_power_ctx.config->soc_wakeup_irq; in system_power_set_state()
408 const struct mod_system_power_config *config; in system_power_mod_init() local
413 system_power_ctx.config = config = data; in system_power_mod_init()
420 if (system_power_ctx.config->ext_ppus_count > 0) { in system_power_mod_init()
422 system_power_ctx.config->ext_ppus_count, in system_power_mod_init()
426 if (system_power_ctx.config->soc_wakeup_irq != FWK_INTERRUPT_NONE) { in system_power_mod_init()
427 return fwk_interrupt_set_isr(system_power_ctx.config->soc_wakeup_irq, in system_power_mod_init()
445 dev_ctx->config = data; in system_power_mod_element_init()
448 if (dev_ctx->config->sys_state_table == NULL) { in system_power_mod_element_init()
459 const struct mod_system_power_config *config; in system_power_bind() local
482 config = system_power_ctx.config; in system_power_bind()
484 for (i = 0; i < config->ext_ppus_count; i++) { in system_power_bind()
486 config->ext_ppus[i].ppu_id, in system_power_bind()
487 config->ext_ppus[i].api_id, in system_power_bind()
494 status = fwk_module_bind(config->driver_id, in system_power_bind()
495 config->driver_api_id, in system_power_bind()
509 return fwk_module_bind(dev_ctx->config->sys_ppu_id, in system_power_bind()
510 dev_ctx->config->api_id, in system_power_bind()
539 if (fwk_id_is_equal(requester_id, dev_ctx->config->sys_ppu_id)) { in system_power_process_bind_request()
568 (unsigned int)system_power_ctx.config->initial_system_power_state; in system_power_start()