Lines Matching defs:spu
4 * This module adds some sysfs attributes to cpu and spu nodes.
10 * /sys/devices/system/spu/spuX/thermal
25 * full throttling is applied to the cpu or spu. This value should be
52 #include <asm/spu.h>
81 struct spu *spu;
83 spu = container_of(sysdev, struct spu, sysdev);
85 return cbe_get_pmd_regs(spu_devnode(spu));
88 /* returns the value for a given spu in a given register */
92 struct spu *spu;
94 spu = container_of(sysdev, struct spu, sysdev);
97 return value.spe[spu->spe_id];
257 static SYSDEV_PREFIX_ATTR(spu, throttle_end, 0600);
258 static SYSDEV_PREFIX_ATTR(spu, throttle_begin, 0600);
259 static SYSDEV_PREFIX_ATTR(spu, throttle_full_stop, 0600);