Home
last modified time | relevance | path

Searched refs:grp (Results 1 – 18 of 18) sorted by relevance

/arch/blackfin/kernel/
Dpseudodbg.c23 static const char *get_allreg_name(int grp, int reg) in get_allreg_name() argument
25 return greg_names[(grp << 3) | reg]; in get_allreg_name()
40 static bool fix_up_reg(struct pt_regs *fp, long *value, int grp, int reg) in fix_up_reg() argument
46 if (grp == 5 || in fix_up_reg()
47 (grp == 4 && (reg == 4 || reg == 5)) || in fix_up_reg()
48 (grp == 7)) in fix_up_reg()
51 if (grp == 0 || (grp == 1 && reg < 6)) in fix_up_reg()
52 val -= (reg + 8 * grp); in fix_up_reg()
53 else if (grp == 1 && reg == 6) in fix_up_reg()
55 else if (grp == 1 && reg == 7) in fix_up_reg()
[all …]
/arch/arm/mach-s3c64xx/
Dirq-pm.c68 struct irq_grp_save *grp = eint_grp_save; in s3c64xx_irq_pm_suspend() local
78 for (i = 0; i < ARRAY_SIZE(eint_grp_save); i++, grp++) { in s3c64xx_irq_pm_suspend()
79 grp->con = __raw_readl(S3C64XX_EINT12CON + (i * 4)); in s3c64xx_irq_pm_suspend()
80 grp->mask = __raw_readl(S3C64XX_EINT12MASK + (i * 4)); in s3c64xx_irq_pm_suspend()
81 grp->fltcon = __raw_readl(S3C64XX_EINT12FLTCON + (i * 4)); in s3c64xx_irq_pm_suspend()
89 struct irq_grp_save *grp = eint_grp_save; in s3c64xx_irq_pm_resume() local
99 for (i = 0; i < ARRAY_SIZE(eint_grp_save); i++, grp++) { in s3c64xx_irq_pm_resume()
100 __raw_writel(grp->con, S3C64XX_EINT12CON + (i * 4)); in s3c64xx_irq_pm_resume()
101 __raw_writel(grp->mask, S3C64XX_EINT12MASK + (i * 4)); in s3c64xx_irq_pm_resume()
102 __raw_writel(grp->fltcon, S3C64XX_EINT12FLTCON + (i * 4)); in s3c64xx_irq_pm_resume()
/arch/sparc/kernel/
Dsignal_64.c49 mc_gregset_t __user *grp; in sparc64_set_context() local
60 grp = &ucp->uc_mcontext.mc_gregs; in sparc64_set_context()
61 err = __get_user(pc, &((*grp)[MC_PC])); in sparc64_set_context()
62 err |= __get_user(npc, &((*grp)[MC_NPC])); in sparc64_set_context()
83 err |= __get_user(regs->y, &((*grp)[MC_Y])); in sparc64_set_context()
84 err |= __get_user(tstate, &((*grp)[MC_TSTATE])); in sparc64_set_context()
87 err |= __get_user(regs->u_regs[UREG_G1], (&(*grp)[MC_G1])); in sparc64_set_context()
88 err |= __get_user(regs->u_regs[UREG_G2], (&(*grp)[MC_G2])); in sparc64_set_context()
89 err |= __get_user(regs->u_regs[UREG_G3], (&(*grp)[MC_G3])); in sparc64_set_context()
90 err |= __get_user(regs->u_regs[UREG_G4], (&(*grp)[MC_G4])); in sparc64_set_context()
[all …]
/arch/mips/include/asm/octeon/
Dcvmx-wqe.h489 uint64_t grp:6; member
497 uint64_t grp:6;
524 uint64_t grp:4; member
537 uint64_t grp:4;
620 int grp; in cvmx_wqe_get_grp() local
623 grp = work->word1.cn68xx.grp; in cvmx_wqe_get_grp()
625 grp = work->word1.cn38xx.grp; in cvmx_wqe_get_grp()
627 return grp; in cvmx_wqe_get_grp()
630 static inline void cvmx_wqe_set_grp(cvmx_wqe_t *work, int grp) in cvmx_wqe_set_grp() argument
633 work->word1.cn68xx.grp = grp; in cvmx_wqe_set_grp()
[all …]
Dcvmx-pow.h206 uint64_t grp:4; member
224 uint64_t grp:4;
663 uint64_t grp:4; member
693 uint64_t grp:4;
719 uint64_t grp:4; member
748 uint64_t grp:4;
773 uint64_t grp:4; member
781 uint64_t grp:4;
808 uint64_t grp:4; member
816 uint64_t grp:4;
[all …]
Dcvmx-pip-defs.h337 uint64_t grp:6; member
347 uint64_t grp:6;
366 uint64_t grp:4; member
376 uint64_t grp:4;
1994 uint64_t grp:4; member
1996 uint64_t grp:4;
2057 uint64_t grp:4; member
2059 uint64_t grp:4;
2115 uint64_t grp:4; member
2117 uint64_t grp:4;
[all …]
Dcvmx-pip.h269 uint64_t grp:4; member
/arch/arm/boot/dts/
Dimx7-colibri.dtsi306 pinctrl_gpio1: gpio1-grp {
355 pinctrl_gpio2: gpio2-grp { /* On X22 Camera interface */
373 pinctrl_gpio3: gpio3-grp { /* LCD 18-23 */
384 pinctrl_gpio4: gpio4-grp { /* Alternatively CAN2 */
391 pinctrl_i2c1_int: i2c1-int-grp { /* PMIC / TOUCH */
414 pinctrl_ecspi3_cs: ecspi3-cs-grp {
420 pinctrl_ecspi3: ecspi3-grp {
428 pinctrl_flexcan2: flexcan2-grp {
435 pinctrl_gpmi_nand: gpmi-nand-grp {
455 pinctrl_i2c4: i2c4-grp {
[all …]
Dimx53-qsb-common.dtsi279 pinctrl_vga_sync: vgasync-grp {
Dvf610-zii-dev-rev-b.dts741 pinctrl_usb0_host: usb0-host-grp {
/arch/powerpc/perf/
Dppc970-pmu.c199 int grp = -1; in p970_get_constraint() local
208 grp = ((pmc - 1) >> 1) & 1; in p970_get_constraint()
222 grp = byte & 1; in p970_get_constraint()
227 if (grp == 0) { in p970_get_constraint()
231 } else if (grp == 1) { in p970_get_constraint()
264 unsigned int ttm, grp; in p970_compute_mmcr() local
363 grp = (pmc >> 1) & 1; in p970_compute_mmcr()
365 if (grp == (byte & 1)) in p970_compute_mmcr()
367 } else if (pmc_grp_use[grp] < 4) { in p970_compute_mmcr()
368 ++pmc_grp_use[grp]; in p970_compute_mmcr()
Dpower5-pmu.c146 int grp = -1; in power5_get_constraint() local
156 grp = (pmc - 1) >> 1; in power5_get_constraint()
189 grp = byte & 1; in power5_get_constraint()
194 if (grp == 0) { in power5_get_constraint()
198 } else if (grp == 1) { in power5_get_constraint()
391 unsigned int ttm, grp; in power5_compute_mmcr() local
502 grp = (pmc >> 1) & 1; in power5_compute_mmcr()
504 if (grp == (byte & 1)) in power5_compute_mmcr()
506 } else if (pmc_grp_use[grp] < 2) { in power5_compute_mmcr()
507 ++pmc_grp_use[grp]; in power5_compute_mmcr()
Dpower4-pmu.c259 int grp = -1; in p4_get_constraint() local
268 grp = ((pmc - 1) >> 1) & 1; in p4_get_constraint()
280 grp = byte & 1; in p4_get_constraint()
297 if (grp == 0) { in p4_get_constraint()
363 unsigned int ttm, grp; in p4_compute_mmcr() local
482 grp = (pmc >> 1) & 1; in p4_compute_mmcr()
484 if (grp == (byte & 1)) in p4_compute_mmcr()
486 } else if (pmc_grp_use[grp] < 4) { in p4_compute_mmcr()
487 ++pmc_grp_use[grp]; in p4_compute_mmcr()
/arch/cris/arch-v10/kernel/
Dio_interface_mux.c599 struct if_group *grp; in cris_request_io_interface() local
631 while (NULL != (grp = get_group(group_set))) { in cris_request_io_interface()
634 switch (grp->group) { in cris_request_io_interface()
657 if (if_group_use & grp->used) { in cris_request_io_interface()
660 grp->name, interfaces[ioif].name); in cris_request_io_interface()
665 group_set = clear_group_from_set(group_set, grp); in cris_request_io_interface()
780 while (NULL != (grp = get_group(group_set))) { in cris_request_io_interface()
783 switch (grp->group) { in cris_request_io_interface()
805 grp->used |= if_group_use; in cris_request_io_interface()
807 group_set = clear_group_from_set(group_set, grp); in cris_request_io_interface()
[all …]
/arch/x86/include/asm/
Dinat.h97 #define INAT_MAKE_GROUP(grp) ((grp << INAT_GRP_OFFS) | INAT_MODRM) argument
/arch/sparc/mm/
Dinit_64.c991 static int scan_arcs_for_cfg_handle(struct mdesc_handle *md, u64 grp, in scan_arcs_for_cfg_handle() argument
997 mdesc_for_each_arc(arc, md, grp, MDESC_ARC_TYPE_FWD) { in scan_arcs_for_cfg_handle()
1027 u64 grp; in of_node_to_nid() local
1046 mdesc_for_each_node_by_name(md, grp, "group") { in of_node_to_nid()
1047 if (!scan_arcs_for_cfg_handle(md, grp, cfg_handle)) { in of_node_to_nid()
1174 u64 grp, cpumask_t *mask) in numa_parse_mdesc_group_cpus() argument
1180 mdesc_for_each_arc(arc, md, grp, MDESC_ARC_TYPE_BACK) { in numa_parse_mdesc_group_cpus()
1250 static int __init find_best_numa_node_for_mlgroup(struct mdesc_mlgroup *grp) in find_best_numa_node_for_mlgroup() argument
1257 if ((grp->mask == n->mask) && (grp->match == n->val)) in find_best_numa_node_for_mlgroup()
1264 u64 grp, int index) in find_numa_latencies_for_group() argument
[all …]
/arch/powerpc/kernel/
Diommu.c902 struct iommu_group *grp; in iommu_register_group() local
905 grp = iommu_group_alloc(); in iommu_register_group()
906 if (IS_ERR(grp)) { in iommu_register_group()
908 PTR_ERR(grp)); in iommu_register_group()
911 table_group->group = grp; in iommu_register_group()
912 iommu_group_set_iommudata(grp, table_group, group_release); in iommu_register_group()
917 iommu_group_set_name(grp, name); in iommu_register_group()
/arch/mips/cavium-octeon/executive/
Dcvmx-helper.c439 tag_config.s.grp = 0; in __cvmx_helper_port_setup_ipd()