/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/ |
H A D | of_platform.c | 66 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 D | therm_adt746x.c | 85 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 D | therm_pm72.c | 42 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 D | therm_windtunnel.c | 68 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 D | smu.c | 76 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 D | ams-core.c | 171 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 D | ams-input.c | 90 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 D | ams.h | 26 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 D | of_device.c | 45 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 D | of_device.c | 45 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...] |