Searched refs:subgroup (Results 1 – 2 of 2) sorted by relevance
/drivers/ps3/ |
D | ps3-lpm.c | 556 static u64 pm_translate_signal_group_number_on_island2(u64 subgroup) in pm_translate_signal_group_number_on_island2() argument 559 if (subgroup == 2) in pm_translate_signal_group_number_on_island2() 560 subgroup = 3; in pm_translate_signal_group_number_on_island2() 562 if (subgroup <= 6) in pm_translate_signal_group_number_on_island2() 563 return PM_ISLAND2_BASE_SIGNAL_GROUP_NUMBER + subgroup; in pm_translate_signal_group_number_on_island2() 564 else if (subgroup == 7) in pm_translate_signal_group_number_on_island2() 570 static u64 pm_translate_signal_group_number_on_island3(u64 subgroup) in pm_translate_signal_group_number_on_island3() argument 573 switch (subgroup) { in pm_translate_signal_group_number_on_island3() 577 subgroup += 2; in pm_translate_signal_group_number_on_island3() 580 subgroup = 8; in pm_translate_signal_group_number_on_island3() [all …]
|
/drivers/sh/intc/ |
D | virq.c | 135 static unsigned long __init intc_subgroup_data(struct intc_subgroup *subgroup, in intc_subgroup_data() argument 139 unsigned int fn = REG_FN_TEST_BASE + (subgroup->reg_width >> 3) - 1; in intc_subgroup_data() 141 return _INTC_MK(fn, MODE_ENABLE_REG, intc_get_reg(d, subgroup->reg), in intc_subgroup_data() 142 0, 1, (subgroup->reg_width - 1) - index); in intc_subgroup_data() 147 struct intc_subgroup *subgroup) in intc_subgroup_init_one() argument 154 mapped = radix_tree_lookup(&d->tree, subgroup->parent_id); in intc_subgroup_init_one() 164 for (i = 0; i < ARRAY_SIZE(subgroup->enum_ids); i++) { in intc_subgroup_init_one() 168 if (!subgroup->enum_ids[i]) in intc_subgroup_init_one() 176 entry->enum_id = subgroup->enum_ids[i]; in intc_subgroup_init_one() 177 entry->handle = intc_subgroup_data(subgroup, d, i); in intc_subgroup_init_one()
|