Searched refs:of_dev (Results 1 - 10 of 10) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dof_platform.c66 struct of_device * of_dev = to_of_device(dev); local
73 return of_match_device(matches, of_dev) != NULL;
80 struct of_device *of_dev; local
84 of_dev = to_of_device(dev);
89 of_dev_get(of_dev);
91 match = of_match_device(drv->match_table, of_dev);
93 error = drv->probe(of_dev, match);
95 of_dev_put(of_dev);
102 struct of_device * of_dev = to_of_device(dev); local
106 drv->remove(of_dev);
112 struct of_device * of_dev = to_of_device(dev); local
123 struct of_device * of_dev = to_of_device(dev); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/
H A Dtherm_adt746x.c85 static struct of_device * of_dev; variable in typeref:struct:of_device
603 of_dev = of_platform_device_create(np, "temperatures", NULL);
605 if (of_dev == NULL) {
610 device_create_file(&of_dev->dev, &dev_attr_sensor1_temperature);
611 device_create_file(&of_dev->dev, &dev_attr_sensor2_temperature);
612 device_create_file(&of_dev->dev, &dev_attr_sensor1_limit);
613 device_create_file(&of_dev->dev, &dev_attr_sensor2_limit);
614 device_create_file(&of_dev->dev, &dev_attr_sensor1_location);
615 device_create_file(&of_dev->dev, &dev_attr_sensor2_location);
616 device_create_file(&of_dev
[all...]
H A Dtherm_pm72.c42 static struct of_device * of_dev; variable in typeref:struct:of_device
1065 device_create_file(&of_dev->dev, &dev_attr_cpu0_temperature);
1066 device_create_file(&of_dev->dev, &dev_attr_cpu0_voltage);
1067 device_create_file(&of_dev->dev, &dev_attr_cpu0_current);
1068 device_create_file(&of_dev->dev, &dev_attr_cpu0_exhaust_fan_rpm);
1069 device_create_file(&of_dev->dev, &dev_attr_cpu0_intake_fan_rpm);
1071 device_create_file(&of_dev->dev, &dev_attr_cpu1_temperature);
1072 device_create_file(&of_dev->dev, &dev_attr_cpu1_voltage);
1073 device_create_file(&of_dev->dev, &dev_attr_cpu1_current);
1074 device_create_file(&of_dev
[all...]
H A Dtherm_windtunnel.c68 struct of_device *of_dev; member in struct:__anon4829
268 device_create_file( &x.of_dev->dev, &dev_attr_cpu_temperature );
269 device_create_file( &x.of_dev->dev, &dev_attr_case_temperature );
275 device_remove_file( &x.of_dev->dev, &dev_attr_cpu_temperature );
276 device_remove_file( &x.of_dev->dev, &dev_attr_case_temperature );
508 x.of_dev = of_platform_device_create(np, "temperature", NULL);
511 if( !x.of_dev ) {
525 if( x.of_dev )
526 of_device_unregister( x.of_dev );
H A Dsmu.c76 struct of_device *of_dev; member in struct:smu_device
610 &smu->of_dev->dev);
620 smu->of_dev = dev;
666 return smu->of_dev;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/hwmon/ams/
H A Dams-core.c171 ams_info.of_dev = of_platform_device_create(ams_info.of_node, "ams", NULL);
172 if (!ams_info.of_dev) {
178 result = device_create_file(&ams_info.of_dev->dev, &dev_attr_current);
191 device_remove_file(&ams_info.of_dev->dev, &dev_attr_current);
193 of_device_unregister(ams_info.of_dev);
244 device_remove_file(&ams_info.of_dev->dev, &dev_attr_current);
247 of_device_unregister(ams_info.of_dev);
H A Dams-input.c90 ams_info.idev->dev.parent = &ams_info.of_dev->dev;
148 result = device_create_file(&ams_info.of_dev->dev, &dev_attr_joystick);
159 device_remove_file(&ams_info.of_dev->dev, &dev_attr_joystick);
H A Dams.h26 struct of_device *of_dev; member in struct:ams
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/
H A Dof_device.c45 struct of_device * of_dev = to_of_device(dev); local
52 return of_match_device(matches, of_dev) != NULL;
79 struct of_device *of_dev; local
83 of_dev = to_of_device(dev);
88 of_dev_get(of_dev);
90 match = of_match_device(drv->match_table, of_dev);
92 error = drv->probe(of_dev, match);
94 of_dev_put(of_dev);
101 struct of_device * of_dev = to_of_device(dev); local
105 drv->remove(of_dev);
111 struct of_device * of_dev = to_of_device(dev); local
122 struct of_device * of_dev = to_of_device(dev); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dof_device.c45 struct of_device * of_dev = to_of_device(dev); local
52 return of_match_device(matches, of_dev) != NULL;
79 struct of_device *of_dev; local
83 of_dev = to_of_device(dev);
88 of_dev_get(of_dev);
90 match = of_match_device(drv->match_table, of_dev);
92 error = drv->probe(of_dev, match);
94 of_dev_put(of_dev);
101 struct of_device * of_dev = to_of_device(dev); local
105 drv->remove(of_dev);
111 struct of_device * of_dev = to_of_device(dev); local
122 struct of_device * of_dev = to_of_device(dev); local
[all...]

Completed in 179 milliseconds