pwrst 17 arch/arm/mach-omap2/omap-iommu.c u8 *pwrst) pwrst 35 arch/arm/mach-omap2/omap-iommu.c *pwrst = pwrdm_read_next_pwrst(pwrdm); pwrst 37 arch/arm/mach-omap2/omap-iommu.c if (*pwrst > PWRDM_POWER_RET) pwrst 40 arch/arm/mach-omap2/omap-iommu.c next_pwrst = request ? PWRDM_POWER_ON : *pwrst; pwrst 310 arch/arm/mach-omap2/pm34xx.c struct power_state *pwrst; pwrst 314 arch/arm/mach-omap2/pm34xx.c list_for_each_entry(pwrst, &pwrst_list, node) pwrst 315 arch/arm/mach-omap2/pm34xx.c pwrst->saved_state = pwrdm_read_next_pwrst(pwrst->pwrdm); pwrst 317 arch/arm/mach-omap2/pm34xx.c list_for_each_entry(pwrst, &pwrst_list, node) { pwrst 318 arch/arm/mach-omap2/pm34xx.c if (omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state)) pwrst 320 arch/arm/mach-omap2/pm34xx.c if (pwrdm_clear_all_prev_pwrst(pwrst->pwrdm)) pwrst 330 arch/arm/mach-omap2/pm34xx.c list_for_each_entry(pwrst, &pwrst_list, node) { pwrst 331 arch/arm/mach-omap2/pm34xx.c state = pwrdm_read_prev_pwrst(pwrst->pwrdm); pwrst 332 arch/arm/mach-omap2/pm34xx.c if (state > pwrst->next_state) { pwrst 334 arch/arm/mach-omap2/pm34xx.c pwrst->pwrdm->name, pwrst->next_state); pwrst 337 arch/arm/mach-omap2/pm34xx.c omap_set_pwrdm_state(pwrst->pwrdm, pwrst->saved_state); pwrst 359 arch/arm/mach-omap2/pm34xx.c struct power_state *pwrst; pwrst 367 arch/arm/mach-omap2/pm34xx.c list_for_each_entry(pwrst, &pwrst_list, node) { pwrst 369 arch/arm/mach-omap2/pm34xx.c pwrst->pwrdm == core_pwrdm && pwrst 371 arch/arm/mach-omap2/pm34xx.c pwrst->next_state = PWRDM_POWER_RET; pwrst 375 arch/arm/mach-omap2/pm34xx.c pwrst->next_state = state; pwrst 377 arch/arm/mach-omap2/pm34xx.c omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); pwrst 383 arch/arm/mach-omap2/pm34xx.c struct power_state *pwrst; pwrst 385 arch/arm/mach-omap2/pm34xx.c list_for_each_entry(pwrst, &pwrst_list, node) { pwrst 386 arch/arm/mach-omap2/pm34xx.c if (pwrst->pwrdm == pwrdm) pwrst 387 arch/arm/mach-omap2/pm34xx.c return pwrst->next_state; pwrst 394 arch/arm/mach-omap2/pm34xx.c struct power_state *pwrst; pwrst 396 arch/arm/mach-omap2/pm34xx.c list_for_each_entry(pwrst, &pwrst_list, node) { pwrst 397 arch/arm/mach-omap2/pm34xx.c if (pwrst->pwrdm == pwrdm) { pwrst 398 arch/arm/mach-omap2/pm34xx.c pwrst->next_state = state; pwrst 407 arch/arm/mach-omap2/pm34xx.c struct power_state *pwrst; pwrst 412 arch/arm/mach-omap2/pm34xx.c pwrst = kmalloc(sizeof(struct power_state), GFP_ATOMIC); pwrst 413 arch/arm/mach-omap2/pm34xx.c if (!pwrst) pwrst 415 arch/arm/mach-omap2/pm34xx.c pwrst->pwrdm = pwrdm; pwrst 416 arch/arm/mach-omap2/pm34xx.c pwrst->next_state = PWRDM_POWER_RET; pwrst 417 arch/arm/mach-omap2/pm34xx.c list_add(&pwrst->node, &pwrst_list); pwrst 422 arch/arm/mach-omap2/pm34xx.c return omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); pwrst 452 arch/arm/mach-omap2/pm34xx.c struct power_state *pwrst, *tmp; pwrst 561 arch/arm/mach-omap2/pm34xx.c list_for_each_entry_safe(pwrst, tmp, &pwrst_list, node) { pwrst 562 arch/arm/mach-omap2/pm34xx.c list_del(&pwrst->node); pwrst 563 arch/arm/mach-omap2/pm34xx.c kfree(pwrst); pwrst 54 arch/arm/mach-omap2/pm44xx.c struct power_state *pwrst; pwrst 59 arch/arm/mach-omap2/pm44xx.c list_for_each_entry(pwrst, &pwrst_list, node) { pwrst 60 arch/arm/mach-omap2/pm44xx.c pwrst->saved_state = pwrdm_read_next_pwrst(pwrst->pwrdm); pwrst 61 arch/arm/mach-omap2/pm44xx.c pwrst->saved_logic_state = pwrdm_read_logic_retst(pwrst->pwrdm); pwrst 65 arch/arm/mach-omap2/pm44xx.c list_for_each_entry(pwrst, &pwrst_list, node) { pwrst 66 arch/arm/mach-omap2/pm44xx.c omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); pwrst 67 arch/arm/mach-omap2/pm44xx.c pwrdm_set_logic_retst(pwrst->pwrdm, pwrst->next_logic_state); pwrst 82 arch/arm/mach-omap2/pm44xx.c list_for_each_entry(pwrst, &pwrst_list, node) { pwrst 83 arch/arm/mach-omap2/pm44xx.c state = pwrdm_read_prev_pwrst(pwrst->pwrdm); pwrst 84 arch/arm/mach-omap2/pm44xx.c if (state > pwrst->next_state) { pwrst 86 arch/arm/mach-omap2/pm44xx.c pwrst->pwrdm->name, pwrst->next_state); pwrst 89 arch/arm/mach-omap2/pm44xx.c omap_set_pwrdm_state(pwrst->pwrdm, pwrst->saved_state); pwrst 90 arch/arm/mach-omap2/pm44xx.c pwrdm_set_logic_retst(pwrst->pwrdm, pwrst->saved_logic_state); pwrst 115 arch/arm/mach-omap2/pm44xx.c struct power_state *pwrst; pwrst 144 arch/arm/mach-omap2/pm44xx.c pwrst = kmalloc(sizeof(struct power_state), GFP_ATOMIC); pwrst 145 arch/arm/mach-omap2/pm44xx.c if (!pwrst) pwrst 148 arch/arm/mach-omap2/pm44xx.c pwrst->pwrdm = pwrdm; pwrst 149 arch/arm/mach-omap2/pm44xx.c pwrst->next_state = pwrdm_get_valid_lp_state(pwrdm, false, pwrst 151 arch/arm/mach-omap2/pm44xx.c pwrst->next_logic_state = pwrdm_get_valid_lp_state(pwrdm, true, pwrst 154 arch/arm/mach-omap2/pm44xx.c list_add(&pwrst->node, &pwrst_list); pwrst 156 arch/arm/mach-omap2/pm44xx.c return omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); pwrst 237 arch/arm/mach-omap2/powerdomain.c u8 curr_pwrst, u8 pwrst) pwrst 242 arch/arm/mach-omap2/powerdomain.c if (curr_pwrst > pwrst && pwrst 529 arch/arm/mach-omap2/powerdomain.c int pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst) pwrst 536 arch/arm/mach-omap2/powerdomain.c if (!(pwrdm->pwrsts & (1 << pwrst))) pwrst 540 arch/arm/mach-omap2/powerdomain.c pwrdm->name, pwrst); pwrst 544 arch/arm/mach-omap2/powerdomain.c trace_power_domain_target_rcuidle(pwrdm->name, pwrst, pwrst 547 arch/arm/mach-omap2/powerdomain.c ret = arch_pwrdm->pwrdm_set_next_pwrst(pwrdm, pwrst); pwrst 631 arch/arm/mach-omap2/powerdomain.c int pwrdm_set_logic_retst(struct powerdomain *pwrdm, u8 pwrst) pwrst 638 arch/arm/mach-omap2/powerdomain.c if (!(pwrdm->pwrsts_logic_ret & (1 << pwrst))) pwrst 642 arch/arm/mach-omap2/powerdomain.c pwrdm->name, pwrst); pwrst 645 arch/arm/mach-omap2/powerdomain.c ret = arch_pwrdm->pwrdm_set_logic_retst(pwrdm, pwrst); pwrst 665 arch/arm/mach-omap2/powerdomain.c int pwrdm_set_mem_onst(struct powerdomain *pwrdm, u8 bank, u8 pwrst) pwrst 675 arch/arm/mach-omap2/powerdomain.c if (!(pwrdm->pwrsts_mem_on[bank] & (1 << pwrst))) pwrst 679 arch/arm/mach-omap2/powerdomain.c pwrdm->name, bank, pwrst); pwrst 682 arch/arm/mach-omap2/powerdomain.c ret = arch_pwrdm->pwrdm_set_mem_onst(pwrdm, bank, pwrst); pwrst 703 arch/arm/mach-omap2/powerdomain.c int pwrdm_set_mem_retst(struct powerdomain *pwrdm, u8 bank, u8 pwrst) pwrst 713 arch/arm/mach-omap2/powerdomain.c if (!(pwrdm->pwrsts_mem_ret[bank] & (1 << pwrst))) pwrst 717 arch/arm/mach-omap2/powerdomain.c pwrdm->name, bank, pwrst); pwrst 720 arch/arm/mach-omap2/powerdomain.c ret = arch_pwrdm->pwrdm_set_mem_retst(pwrdm, bank, pwrst); pwrst 1108 arch/arm/mach-omap2/powerdomain.c int omap_set_pwrdm_state(struct powerdomain *pwrdm, u8 pwrst) pwrst 1117 arch/arm/mach-omap2/powerdomain.c while (!(pwrdm->pwrsts & (1 << pwrst))) { pwrst 1118 arch/arm/mach-omap2/powerdomain.c if (pwrst == PWRDM_POWER_OFF) pwrst 1120 arch/arm/mach-omap2/powerdomain.c pwrst--; pwrst 1132 arch/arm/mach-omap2/powerdomain.c if (curr_pwrst == pwrst && next_pwrst == pwrst) pwrst 1136 arch/arm/mach-omap2/powerdomain.c pwrst); pwrst 1138 arch/arm/mach-omap2/powerdomain.c ret = pwrdm_set_next_pwrst(pwrdm, pwrst); pwrst 180 arch/arm/mach-omap2/powerdomain.h int (*pwrdm_set_next_pwrst)(struct powerdomain *pwrdm, u8 pwrst); pwrst 184 arch/arm/mach-omap2/powerdomain.h int (*pwrdm_set_logic_retst)(struct powerdomain *pwrdm, u8 pwrst); pwrst 185 arch/arm/mach-omap2/powerdomain.h int (*pwrdm_set_mem_onst)(struct powerdomain *pwrdm, u8 bank, u8 pwrst); pwrst 186 arch/arm/mach-omap2/powerdomain.h int (*pwrdm_set_mem_retst)(struct powerdomain *pwrdm, u8 bank, u8 pwrst); pwrst 221 arch/arm/mach-omap2/powerdomain.h int pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst); pwrst 227 arch/arm/mach-omap2/powerdomain.h int pwrdm_set_logic_retst(struct powerdomain *pwrdm, u8 pwrst); pwrst 228 arch/arm/mach-omap2/powerdomain.h int pwrdm_set_mem_onst(struct powerdomain *pwrdm, u8 bank, u8 pwrst); pwrst 229 arch/arm/mach-omap2/powerdomain.h int pwrdm_set_mem_retst(struct powerdomain *pwrdm, u8 bank, u8 pwrst); pwrst 513 arch/arm/mach-omap2/powerdomains3xxx_data.c static int ti81xx_pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst) pwrst 516 arch/arm/mach-omap2/powerdomains3xxx_data.c (pwrst << OMAP_POWERSTATE_SHIFT), pwrst 81 arch/arm/mach-omap2/prm2xxx.c u8 pwrst; pwrst 85 arch/arm/mach-omap2/prm2xxx.c pwrst = PWRDM_POWER_OFF; pwrst 88 arch/arm/mach-omap2/prm2xxx.c pwrst = PWRDM_POWER_RET; pwrst 91 arch/arm/mach-omap2/prm2xxx.c pwrst = PWRDM_POWER_ON; pwrst 97 arch/arm/mach-omap2/prm2xxx.c return pwrst; pwrst 149 arch/arm/mach-omap2/prm2xxx.c static int omap2xxx_pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst) pwrst 153 arch/arm/mach-omap2/prm2xxx.c switch (pwrst) { pwrst 112 arch/arm/mach-omap2/prm2xxx_3xxx.c u8 pwrst) pwrst 118 arch/arm/mach-omap2/prm2xxx_3xxx.c omap2_prm_rmw_mod_reg_bits(m, (pwrst << __ffs(m)), pwrdm->prcm_offs, pwrst 125 arch/arm/mach-omap2/prm2xxx_3xxx.c u8 pwrst) pwrst 131 arch/arm/mach-omap2/prm2xxx_3xxx.c omap2_prm_rmw_mod_reg_bits(m, (pwrst << __ffs(m)), pwrdm->prcm_offs, pwrst 157 arch/arm/mach-omap2/prm2xxx_3xxx.c int omap2_pwrdm_set_logic_retst(struct powerdomain *pwrdm, u8 pwrst) pwrst 161 arch/arm/mach-omap2/prm2xxx_3xxx.c v = pwrst << __ffs(OMAP_LOGICRETSTATE_MASK); pwrst 107 arch/arm/mach-omap2/prm2xxx_3xxx.h extern int omap2_pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst); pwrst 111 arch/arm/mach-omap2/prm2xxx_3xxx.h u8 pwrst); pwrst 113 arch/arm/mach-omap2/prm2xxx_3xxx.h u8 pwrst); pwrst 116 arch/arm/mach-omap2/prm2xxx_3xxx.h extern int omap2_pwrdm_set_logic_retst(struct powerdomain *pwrdm, u8 pwrst); pwrst 149 arch/arm/mach-omap2/prm33xx.c static int am33xx_pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst) pwrst 152 arch/arm/mach-omap2/prm33xx.c (pwrst << OMAP_POWERSTATE_SHIFT), pwrst 195 arch/arm/mach-omap2/prm33xx.c static int am33xx_pwrdm_set_logic_retst(struct powerdomain *pwrdm, u8 pwrst) pwrst 203 arch/arm/mach-omap2/prm33xx.c am33xx_prm_rmw_reg_bits(m, (pwrst << __ffs(m)), pwrst 236 arch/arm/mach-omap2/prm33xx.c u8 pwrst) pwrst 244 arch/arm/mach-omap2/prm33xx.c am33xx_prm_rmw_reg_bits(m, (pwrst << __ffs(m)), pwrst 251 arch/arm/mach-omap2/prm33xx.c u8 pwrst) pwrst 259 arch/arm/mach-omap2/prm33xx.c am33xx_prm_rmw_reg_bits(m, (pwrst << __ffs(m)), pwrst 536 arch/arm/mach-omap2/prm3xxx.c static int omap3_pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst) pwrst 539 arch/arm/mach-omap2/prm3xxx.c (pwrst << OMAP_POWERSTATE_SHIFT), pwrst 427 arch/arm/mach-omap2/prm44xx.c static int omap4_pwrdm_set_next_pwrst(struct powerdomain *pwrdm, u8 pwrst) pwrst 430 arch/arm/mach-omap2/prm44xx.c (pwrst << OMAP_POWERSTATE_SHIFT), pwrst 490 arch/arm/mach-omap2/prm44xx.c static int omap4_pwrdm_set_logic_retst(struct powerdomain *pwrdm, u8 pwrst) pwrst 494 arch/arm/mach-omap2/prm44xx.c v = pwrst << __ffs(OMAP4430_LOGICRETSTATE_MASK); pwrst 503 arch/arm/mach-omap2/prm44xx.c u8 pwrst) pwrst 509 arch/arm/mach-omap2/prm44xx.c omap4_prminst_rmw_inst_reg_bits(m, (pwrst << __ffs(m)), pwrst 517 arch/arm/mach-omap2/prm44xx.c u8 pwrst) pwrst 523 arch/arm/mach-omap2/prm44xx.c omap4_prminst_rmw_inst_reg_bits(m, (pwrst << __ffs(m)), pwrst 1042 drivers/iommu/omap-iommu.c ret = pdata->set_pwrdm_constraint(pdev, false, &obj->pwrst); pwrst 1072 drivers/iommu/omap-iommu.c ret = pdata->set_pwrdm_constraint(pdev, true, &obj->pwrst); pwrst 85 drivers/iommu/omap-iommu.h u8 pwrst; pwrst 19 include/linux/platform_data/iommu-omap.h u8 *pwrst);