Searched refs:subgroup (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/sh/intc/
H A Dvirq.c63 * Catch early lookups for subgroup VIRQs that have not intc_irq_lookup()
132 static unsigned long __init intc_subgroup_data(struct intc_subgroup *subgroup, intc_subgroup_data() argument
136 unsigned int fn = REG_FN_TEST_BASE + (subgroup->reg_width >> 3) - 1; intc_subgroup_data()
138 return _INTC_MK(fn, MODE_ENABLE_REG, intc_get_reg(d, subgroup->reg), intc_subgroup_data()
139 0, 1, (subgroup->reg_width - 1) - index); intc_subgroup_data()
144 struct intc_subgroup *subgroup) intc_subgroup_init_one()
151 mapped = radix_tree_lookup(&d->tree, subgroup->parent_id); intc_subgroup_init_one()
161 for (i = 0; i < ARRAY_SIZE(subgroup->enum_ids); i++) { intc_subgroup_init_one()
165 if (!subgroup->enum_ids[i]) intc_subgroup_init_one()
173 entry->enum_id = subgroup->enum_ids[i]; intc_subgroup_init_one()
174 entry->handle = intc_subgroup_data(subgroup, d, i); intc_subgroup_init_one()
142 intc_subgroup_init_one(struct intc_desc *desc, struct intc_desc_int *d, struct intc_subgroup *subgroup) intc_subgroup_init_one() argument
/linux-4.1.27/drivers/ps3/
H A Dps3-lpm.c568 static u64 pm_translate_signal_group_number_on_island2(u64 subgroup) pm_translate_signal_group_number_on_island2() argument
571 if (subgroup == 2) pm_translate_signal_group_number_on_island2()
572 subgroup = 3; pm_translate_signal_group_number_on_island2()
574 if (subgroup <= 6) pm_translate_signal_group_number_on_island2()
575 return PM_ISLAND2_BASE_SIGNAL_GROUP_NUMBER + subgroup; pm_translate_signal_group_number_on_island2()
576 else if (subgroup == 7) pm_translate_signal_group_number_on_island2()
582 static u64 pm_translate_signal_group_number_on_island3(u64 subgroup) pm_translate_signal_group_number_on_island3() argument
585 switch (subgroup) { pm_translate_signal_group_number_on_island3()
589 subgroup += 2; pm_translate_signal_group_number_on_island3()
592 subgroup = 8; pm_translate_signal_group_number_on_island3()
597 return PM_ISLAND3_BASE_SIGNAL_GROUP_NUMBER + subgroup; pm_translate_signal_group_number_on_island3()
600 static u64 pm_translate_signal_group_number_on_island4(u64 subgroup) pm_translate_signal_group_number_on_island4() argument
602 return PM_ISLAND4_BASE_SIGNAL_GROUP_NUMBER + subgroup; pm_translate_signal_group_number_on_island4()
605 static u64 pm_translate_signal_group_number_on_island5(u64 subgroup) pm_translate_signal_group_number_on_island5() argument
608 switch (subgroup) { pm_translate_signal_group_number_on_island5()
610 subgroup = 4; pm_translate_signal_group_number_on_island5()
613 subgroup = 6; pm_translate_signal_group_number_on_island5()
618 return PM_ISLAND5_BASE_SIGNAL_GROUP_NUMBER + subgroup; pm_translate_signal_group_number_on_island5()
621 static u64 pm_translate_signal_group_number_on_island6(u64 subgroup, pm_translate_signal_group_number_on_island6() argument
624 switch (subgroup) { pm_translate_signal_group_number_on_island6()
628 subgroup += 1; pm_translate_signal_group_number_on_island6()
655 if (subgroup <= 5) pm_translate_signal_group_number_on_island6()
656 return (PM_ISLAND6_BASE_SIGNAL_GROUP_NUMBER + subgroup); pm_translate_signal_group_number_on_island6()
658 return (PM_ISLAND6_BASE_SIGNAL_GROUP_NUMBER + subgroup pm_translate_signal_group_number_on_island6()
662 static u64 pm_translate_signal_group_number_on_island7(u64 subgroup) pm_translate_signal_group_number_on_island7() argument
664 return PM_ISLAND7_BASE_SIGNAL_GROUP_NUMBER + subgroup; pm_translate_signal_group_number_on_island7()
667 static u64 pm_translate_signal_group_number_on_island8(u64 subgroup) pm_translate_signal_group_number_on_island8() argument
669 return PM_ISLAND8_BASE_SIGNAL_GROUP_NUMBER + subgroup; pm_translate_signal_group_number_on_island8()
675 u64 subgroup; pm_signal_group_to_ps3_lv1_signal_group() local
678 subgroup = 0; pm_signal_group_to_ps3_lv1_signal_group()
685 subgroup = group - 20; pm_signal_group_to_ps3_lv1_signal_group()
688 subgroup = group - 30; pm_signal_group_to_ps3_lv1_signal_group()
691 subgroup = group - 40; pm_signal_group_to_ps3_lv1_signal_group()
694 subgroup = group - 50; pm_signal_group_to_ps3_lv1_signal_group()
697 subgroup = group - 60; pm_signal_group_to_ps3_lv1_signal_group()
700 subgroup = group - 70; pm_signal_group_to_ps3_lv1_signal_group()
703 subgroup = group - 80; pm_signal_group_to_ps3_lv1_signal_group()
707 subgroup = group - 200; pm_signal_group_to_ps3_lv1_signal_group()
710 subgroup = 5; pm_signal_group_to_ps3_lv1_signal_group()
715 subgroup = 5; pm_signal_group_to_ps3_lv1_signal_group()
721 return pm_translate_signal_group_number_on_island2(subgroup); pm_signal_group_to_ps3_lv1_signal_group()
723 return pm_translate_signal_group_number_on_island3(subgroup); pm_signal_group_to_ps3_lv1_signal_group()
725 return pm_translate_signal_group_number_on_island4(subgroup); pm_signal_group_to_ps3_lv1_signal_group()
727 return pm_translate_signal_group_number_on_island5(subgroup); pm_signal_group_to_ps3_lv1_signal_group()
729 return pm_translate_signal_group_number_on_island6(subgroup, pm_signal_group_to_ps3_lv1_signal_group()
732 return pm_translate_signal_group_number_on_island7(subgroup); pm_signal_group_to_ps3_lv1_signal_group()
734 return pm_translate_signal_group_number_on_island8(subgroup); pm_signal_group_to_ps3_lv1_signal_group()
/linux-4.1.27/fs/nilfs2/
H A Dsysfs.h28 * struct nilfs_sysfs_dev_subgroups - device subgroup kernel objects
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_dlm_flags.h388 /** @} subgroup */
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-pow.h2114 * - the upper 8 bits (bits 23 - 16 of the tag) define a subgroup
2117 * with the subgroup
2129 /* End of executive tag subgroup definitions */

Completed in 168 milliseconds