Searched refs:sysdev (Results 1 - 25 of 158) sorted by relevance

1234567

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Dcbe_thermal.c49 #include <linux/sysdev.h>
79 static struct cbe_pmd_regs __iomem *get_pmd_regs(struct sys_device *sysdev) argument
83 spu = container_of(sysdev, struct spu, sysdev);
89 static u8 spu_read_register_value(struct sys_device *sysdev, union spe_reg __iomem *reg) argument
97 spu = container_of(sysdev, struct spu, sysdev);
104 static ssize_t spu_show_temp(struct sys_device *sysdev, char *buf) argument
109 pmd_regs = get_pmd_regs(sysdev);
111 value = spu_read_register_value(sysdev,
153 spu_show_throttle_end(struct sys_device *sysdev, char *buf) argument
158 spu_show_throttle_begin(struct sys_device *sysdev, char *buf) argument
163 spu_show_throttle_full_stop(struct sys_device *sysdev, char *buf) argument
168 spu_store_throttle_end(struct sys_device *sysdev, const char *buf, size_t size) argument
173 spu_store_throttle_begin(struct sys_device *sysdev, const char *buf, size_t size) argument
178 spu_store_throttle_full_stop(struct sys_device *sysdev, const char *buf, size_t size) argument
183 ppe_show_temp(struct sys_device *sysdev, char *buf, int pos) argument
199 ppe_show_temp0(struct sys_device *sysdev, char *buf) argument
205 ppe_show_temp1(struct sys_device *sysdev, char *buf) argument
210 ppe_show_throttle_end(struct sys_device *sysdev, char *buf) argument
215 ppe_show_throttle_begin(struct sys_device *sysdev, char *buf) argument
220 ppe_show_throttle_full_stop(struct sys_device *sysdev, char *buf) argument
225 ppe_store_throttle_end(struct sys_device *sysdev, const char *buf, size_t size) argument
230 ppe_store_throttle_begin(struct sys_device *sysdev, const char *buf, size_t size) argument
235 ppe_store_throttle_full_stop(struct sys_device *sysdev, const char *buf, size_t size) argument
299 struct sys_device *sysdev; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dnode.h22 #include <linux/sysdev.h>
26 struct sys_device sysdev; member in struct:node
57 #define to_node(sys_device) container_of(sys_device, struct node, sysdev)
H A Dmemory.h18 #include <linux/sysdev.h>
37 struct sys_device sysdev; member in struct:memory_block
H A Dcpu.h22 #include <linux/sysdev.h>
32 struct sys_device sysdev; member in struct:cpu
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/base/
H A Dcpu.c5 #include <linux/sysdev.h>
26 struct cpu *cpu = container_of(dev, struct cpu, sysdev);
28 return sprintf(buf, "%u\n", !!cpu_online(cpu->sysdev.id));
34 struct cpu *cpu = container_of(dev, struct cpu, sysdev);
39 ret = cpu_down(cpu->sysdev.id);
44 ret = cpu_up(cpu->sysdev.id);
60 sysdev_create_file(&cpu->sysdev, &attr_online);
64 int logical_cpu = cpu->sysdev.id;
68 sysdev_remove_file(&cpu->sysdev, &attr_online);
70 sysdev_unregister(&cpu->sysdev);
[all...]
H A Dsys.c15 #include <linux/sysdev.h>
37 struct sys_device * sysdev = to_sysdev(kobj); local
41 return sysdev_attr->show(sysdev, buffer);
50 struct sys_device * sysdev = to_sysdev(kobj); local
54 return sysdev_attr->store(sysdev, buffer, count);
138 pr_debug("Registering sysdev class '%s'\n",
148 pr_debug("Unregistering sysdev class '%s'\n",
220 * @sysdev: device in question
223 int sysdev_register(struct sys_device * sysdev) argument
226 struct sysdev_class * cls = sysdev
270 sysdev_unregister(struct sys_device * sysdev) argument
314 struct sys_device * sysdev; local
381 struct sys_device *sysdev, *err_dev; local
487 struct sys_device * sysdev; local
[all...]
H A Dmemory.c13 #include <linux/sysdev.h>
70 memory->sysdev.cls = &memory_sysdev_class;
71 memory->sysdev.id = __section_nr(section);
73 error = sysdev_register(&memory->sysdev);
76 error = sysfs_create_link(&root->sysdev.kobj,
77 &memory->sysdev.kobj,
78 kobject_name(&memory->sysdev.kobj));
87 BUG_ON(memory->sysdev.cls != &memory_sysdev_class);
88 BUG_ON(memory->sysdev.id != __section_nr(section));
90 sysdev_unregister(&memory->sysdev);
377 struct sys_device *sysdev; local
[all...]
H A Dnode.c5 #include <linux/sysdev.h>
24 cpumask_t mask = node_to_cpumask(node_dev->sysdev.id);
145 node->sysdev.id = num;
146 node->sysdev.cls = &node_class;
147 error = sysdev_register(&node->sysdev);
150 sysdev_create_file(&node->sysdev, &attr_cpumap);
151 sysdev_create_file(&node->sysdev, &attr_meminfo);
152 sysdev_create_file(&node->sysdev, &attr_numastat);
153 sysdev_create_file(&node->sysdev, &attr_distance);
167 sysdev_remove_file(&node->sysdev,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-s3c2410/
H A Dirq.c26 #include <linux/sysdev.h>
31 static int s3c2410_irq_add(struct sys_device *sysdev) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/char/
H A Dsclp_config.c11 #include <linux/sysdev.h>
29 struct sys_device *sysdev; local
34 sysdev = get_cpu_sysdev(cpu);
35 kobject_uevent(&sysdev->kobj, KOBJ_CHANGE);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dsysfs.c1 #include <linux/sysdev.h>
34 struct cpu *cpu = container_of(dev, struct cpu, sysdev);
42 per_cpu(smt_snooze_delay, cpu->sysdev.id) = snooze;
49 struct cpu *cpu = container_of(dev, struct cpu, sysdev);
51 return sprintf(buf, "%lu\n", per_cpu(smt_snooze_delay, cpu->sysdev.id));
156 struct cpu *cpu = container_of(dev, struct cpu, sysdev); \
157 unsigned long val = run_on_cpu(cpu->sysdev.id, read_##NAME, 0); \
163 struct cpu *cpu = container_of(dev, struct cpu, sysdev); \
168 run_on_cpu(cpu->sysdev.id, write_##NAME, val); \
236 struct sys_device *s = &c->sysdev;
381 struct sys_device *sysdev; local
413 struct sys_device *sysdev; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-s3c2442/
H A Ds3c2442.c20 #include <linux/sysdev.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Drtmutex-tester.c14 #include <linux/sysdev.h>
32 struct sys_device sysdev; member in struct:test_thread_data
307 td = container_of(dev, struct test_thread_data, sysdev);
308 tid = td->sysdev.id;
369 td = container_of(dev, struct test_thread_data, sysdev);
370 tsk = threads[td->sysdev.id];
387 mutexes[td->sysdev.id].owner);
401 thread_data[id].sysdev.cls = &rttest_sysclass;
402 thread_data[id].sysdev.id = id;
408 return sysdev_register(&thread_data[id].sysdev);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/85xx/
H A Dmpc85xx_ads.h22 #include <sysdev/fsl_soc.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/
H A Dtimer.h4 #include <linux/sysdev.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/mach/
H A Dtime.h13 #include <linux/sysdev.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-versatile/
H A Dversatile_ab.c24 #include <linux/sysdev.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/83xx/
H A Dmisc.c17 #include <sysdev/fsl_soc.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/
H A Dtimer.c10 #include <linux/sysdev.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-s3c2440/
H A Ds3c2440.c21 #include <linux/sysdev.h>
H A Dirq.c26 #include <linux/sysdev.h>
98 static int s3c2440_irq_add(struct sys_device *sysdev) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/
H A Di8237.c13 #include <linux/sysdev.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-s3c2412/
H A Dpm.c19 #include <linux/sysdev.h>
66 static int s3c2412_pm_add(struct sys_device *sysdev) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/kernel/
H A Dcpu.c9 #include <linux/sysdev.h>
172 sysdev_create_file(&c->sysdev, &attr_pc0event);
173 sysdev_create_file(&c->sysdev, &attr_pc0count);
174 sysdev_create_file(&c->sysdev, &attr_pc1event);
175 sysdev_create_file(&c->sysdev, &attr_pc1count);
176 sysdev_create_file(&c->sysdev, &attr_pccycles);
177 sysdev_create_file(&c->sysdev, &attr_pcenable);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/cpu/sh4/
H A Dsq.c16 #include <linux/sysdev.h>
334 static int __devinit sq_sysdev_add(struct sys_device *sysdev) argument
336 unsigned int cpu = sysdev->id;
344 kobj->parent = &sysdev->kobj;
351 static int __devexit sq_sysdev_remove(struct sys_device *sysdev) argument
353 unsigned int cpu = sysdev->id;

Completed in 166 milliseconds

1234567