Lines Matching refs:reg_set
267 int reg_set = (int)s->private; in pm_dbg_show_regs() local
273 if (reg_set == 0) { in pm_dbg_show_regs()
278 ptr = pm_dbg_reg_set[reg_set - 1]; in pm_dbg_show_regs()
343 int pm_dbg_regset_save(int reg_set) in pm_dbg_regset_save() argument
345 if (pm_dbg_reg_set[reg_set-1] == NULL) in pm_dbg_regset_save()
348 pm_dbg_regset_store(pm_dbg_reg_set[reg_set-1]); in pm_dbg_regset_save()
491 int pm_dbg_regset_init(int reg_set) in pm_dbg_regset_init() argument
498 if (reg_set < 1 || reg_set > PM_DBG_MAX_REG_SETS || in pm_dbg_regset_init()
499 pm_dbg_reg_set[reg_set-1] != NULL) in pm_dbg_regset_init()
502 pm_dbg_reg_set[reg_set-1] = in pm_dbg_regset_init()
505 if (pm_dbg_reg_set[reg_set-1] == NULL) in pm_dbg_regset_init()
509 sprintf(name, "%d", reg_set); in pm_dbg_regset_init()
512 pm_dbg_dir, (void *)reg_set, &debug_reg_fops); in pm_dbg_regset_init()