• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/xmon/

Lines Matching defs:spu

40 #include <asm/spu.h>
223 sf # dump spu fields for spu # (in hex)\n\
224 sd # dump spu local store for spu # (in hex)\n\
225 sdi # disassemble spu local store for spu # (in hex)\n"
2937 struct spu *spu;
2950 struct spu *spu;
2952 list_for_each_entry(spu, list, full_list) {
2953 if (spu->number >= XMON_NUM_SPUS) {
2958 spu_info[spu->number].spu = spu;
2959 spu_info[spu->number].stopped_ok = 0;
2960 spu_info[spu->number].dump_addr = (unsigned long)
2961 spu_info[spu->number].spu->local_store;
2967 struct spu *spu;
2972 if (!spu_info[i].spu)
2979 spu = spu_info[i].spu;
2982 in_be32(&spu->problem->spu_runcntl_RW);
2984 tmp = spu_mfc_sr1_get(spu);
2988 spu_mfc_sr1_set(spu, tmp);
2995 printf("Stopped spu %.2d (was %s)\n", i,
3000 printf("*** Error stopping spu %.2d\n", i);
3008 struct spu *spu;
3012 if (!spu_info[i].spu)
3016 printf("*** Error, spu %d was not successfully stopped"
3025 spu = spu_info[i].spu;
3026 spu_mfc_sr1_set(spu, spu_info[i].saved_mfc_sr1_RW);
3027 out_be32(&spu->problem->spu_runcntl_RW,
3033 printf("Restarted spu %.2d\n", i);
3036 printf("*** Error restarting spu %.2d\n", i);
3063 static void dump_spu_fields(struct spu *spu)
3065 printf("Dumping spu fields at address %p:\n", spu);
3067 DUMP_FIELD(spu, "0x%x", number);
3068 DUMP_FIELD(spu, "%s", name);
3069 DUMP_FIELD(spu, "0x%lx", local_store_phys);
3070 DUMP_FIELD(spu, "0x%p", local_store);
3071 DUMP_FIELD(spu, "0x%lx", ls_size);
3072 DUMP_FIELD(spu, "0x%x", node);
3073 DUMP_FIELD(spu, "0x%lx", flags);
3074 DUMP_FIELD(spu, "%d", class_0_pending);
3075 DUMP_FIELD(spu, "0x%lx", class_0_dar);
3076 DUMP_FIELD(spu, "0x%lx", class_1_dar);
3077 DUMP_FIELD(spu, "0x%lx", class_1_dsisr);
3078 DUMP_FIELD(spu, "0x%lx", irqs[0]);
3079 DUMP_FIELD(spu, "0x%lx", irqs[1]);
3080 DUMP_FIELD(spu, "0x%lx", irqs[2]);
3081 DUMP_FIELD(spu, "0x%x", slb_replace);
3082 DUMP_FIELD(spu, "%d", pid);
3083 DUMP_FIELD(spu, "0x%p", mm);
3084 DUMP_FIELD(spu, "0x%p", ctx);
3085 DUMP_FIELD(spu, "0x%p", rq);
3086 DUMP_FIELD(spu, "0x%p", timestamp);
3087 DUMP_FIELD(spu, "0x%lx", problem_phys);
3088 DUMP_FIELD(spu, "0x%p", problem);
3090 in_be32(&spu->problem->spu_runcntl_RW));
3092 in_be32(&spu->problem->spu_status_R));
3094 in_be32(&spu->problem->spu_npc_RW));
3095 DUMP_FIELD(spu, "0x%p", priv2);
3096 DUMP_FIELD(spu, "0x%p", pdata);
3112 ls_addr = (unsigned long)spu_info[num].spu->local_store;
3117 printf("*** Error: accessing spu info for spu %d\n", num);
3166 if (num >= XMON_NUM_SPUS || !spu_info[num].spu) {
3167 printf("*** Error: invalid spu number\n");
3173 dump_spu_fields(spu_info[num].spu);