/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/serial/ |
H A D | of_serial.c | 23 static int __devinit of_platform_serial_setup(struct of_device *ofdev, argument 27 struct device_node *np = ofdev->node; 35 dev_warn(&ofdev->dev, "no clock-frequency property set\n"); 41 dev_warn(&ofdev->dev, "invalid address\n"); 53 port->dev = &ofdev->dev; 62 static int __devinit of_platform_serial_probe(struct of_device *ofdev, argument 69 if (of_find_property(ofdev->node, "used-by-rtas", NULL)) 73 ret = of_platform_serial_setup(ofdev, port_type, &port); 79 dev_info(&ofdev->dev, "Unknown serial port found, " 93 ofdev 103 of_platform_serial_remove(struct of_device *ofdev) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/ |
H A D | isa.h | 17 struct of_device ofdev; member in struct:sparc_isa_device 25 #define to_isa_device(d) container_of(d, struct sparc_isa_device, ofdev.dev) 28 struct of_device ofdev; member in struct:sparc_isa_bridge 35 #define to_isa_bridge(d) container_of(d, struct sparc_isa_bridge, ofdev.dev)
|
H A D | ebus.h | 27 struct of_device ofdev; member in struct:linux_ebus_device 37 #define to_ebus_device(d) container_of(d, struct linux_ebus_device, ofdev.dev) 40 struct of_device ofdev; member in struct:linux_ebus 48 #define to_ebus(d) container_of(d, struct linux_ebus, ofdev.dev)
|
H A D | sbus.h | 47 struct of_device ofdev; member in struct:sbus_dev 67 #define to_sbus_device(d) container_of(d, struct sbus_dev, ofdev.dev) 71 struct of_device ofdev; member in struct:sbus_bus 84 #define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev)
|
H A D | of_device.h | 71 extern int of_device_register(struct of_device *ofdev); 72 extern void of_device_unregister(struct of_device *ofdev);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/ |
H A D | of_device.c | 78 struct of_device *ofdev; local 80 ofdev = to_of_device(dev); 81 return sprintf(buf, "%s", ofdev->node->full_name); 95 struct of_device *ofdev; local 97 ofdev = to_of_device(dev); 98 of_node_put(ofdev->node); 99 kfree(ofdev); 102 int of_device_register(struct of_device *ofdev) argument 106 BUG_ON(ofdev->node == NULL); 108 rc = device_register(&ofdev 115 of_device_unregister(struct of_device *ofdev) argument 123 of_device_get_modalias(struct of_device *ofdev, char *str, ssize_t len) argument 174 struct of_device *ofdev; local [all...] |
H A D | ibmebus.c | 136 id = of_match_device(ibmebusdrv->id_table, &ibmebusdev->ofdev); 158 of_node_put(to_ibmebus_dev(dev)->ofdev.node); 167 dev->ofdev.dev.parent = &ibmebus_bus_device; 168 dev->ofdev.dev.bus = &ibmebus_bus_type; 169 dev->ofdev.dev.release = ibmebus_dev_release; 171 dev->ofdev.dev.archdata.of_node = dev->ofdev.node; 172 dev->ofdev.dev.archdata.dma_ops = &ibmebus_dma_ops; 173 dev->ofdev.dev.archdata.numa_node = of_node_to_nid(dev->ofdev [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/ |
H A D | of_device.h | 31 extern int of_device_register(struct of_device *ofdev); 32 extern void of_device_unregister(struct of_device *ofdev); 35 extern ssize_t of_device_get_modalias(struct of_device *ofdev,
|
H A D | macio.h | 41 struct of_device ofdev; member in struct:macio_dev 47 #define to_macio_device(d) container_of(d, struct macio_dev, ofdev.dev) 48 #define of_to_macio_device(d) container_of(d, struct macio_dev, ofdev) 98 dev_set_drvdata(&dev->ofdev.dev, data); 103 return dev_get_drvdata(&dev->ofdev.dev); 108 return mdev->ofdev.node;
|
H A D | ibmebus.h | 51 struct of_device ofdev; member in struct:ibmebus_dev 79 return container_of(dev, struct ibmebus_dev, ofdev.dev);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/ |
H A D | isa.c | 89 isa_dev->ofdev.node = dp; 90 isa_dev->ofdev.dev.parent = &isa_br->ofdev.dev; 91 isa_dev->ofdev.dev.bus = &isa_bus_type; 92 sprintf(isa_dev->ofdev.dev.bus_id, "isa[%08x]", dp->node); 95 if (of_device_register(&isa_dev->ofdev) != 0) { 154 isa_br->ofdev.node = dp; 155 isa_br->ofdev.dev.parent = &pdev->dev; 156 isa_br->ofdev.dev.bus = &isa_bus_type; 157 sprintf(isa_br->ofdev [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/ |
H A D | macio_sysfs.c | 12 return sprintf (buf, format_string, mdev->ofdev.node->field); \ 23 of = &to_macio_device (dev)->ofdev; 44 struct of_device *ofdev = to_of_device(dev); local 47 len = of_device_get_modalias(ofdev, buf, PAGE_SIZE);
|
H A D | macio_asic.c | 49 return of_match_device(matches, &macio_dev->ofdev) != NULL; 58 tmp = get_device(&dev->ofdev.dev); 68 put_device(&dev->ofdev.dev); 87 match = of_match_device(drv->match_table, &macio_dev->ofdev); 243 dev->interrupt[index].name = dev->ofdev.dev.bus_id; 251 struct device_node *np = dev->ofdev.node; 292 struct device_node *np = dev->ofdev.node; 306 res->name = dev->ofdev.dev.bus_id; 319 struct device_node *np = dev->ofdev.node; 328 res->name = dev->ofdev [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/aoa/soundbus/ |
H A D | sysfs.c | 12 return sprintf (buf, format_string, mdev->ofdev.node->field); \ 19 struct of_device *of = &sdev->ofdev;
|
H A D | core.c | 22 tmp = get_device(&dev->ofdev.dev); 33 put_device(&dev->ofdev.dev); 75 of = &soundbus_dev->ofdev; 185 !dev->ofdev.node || 192 snprintf(dev->ofdev.dev.bus_id, BUS_ID_SIZE, "soundbus:%x", ++devcount); 193 dev->ofdev.dev.bus = &soundbus_bus_type; 194 return of_device_register(&dev->ofdev); 200 of_device_unregister(&dev->ofdev);
|
H A D | soundbus.h | 144 struct of_device ofdev; member in struct:soundbus_dev 173 #define to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev.dev) 174 #define of_to_soundbus_device(d) container_of(d, struct soundbus_dev, ofdev)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/sbus/ |
H A D | sbus.c | 27 return snprintf (buf, PAGE_SIZE, "%s\n", sbus->ofdev.node->full_name); 70 sdev->ofdev.node = dp; 72 sdev->ofdev.dev.parent = &sdev->parent->ofdev.dev; 74 sdev->ofdev.dev.parent = &sdev->bus->ofdev.dev; 75 sdev->ofdev.dev.bus = &sbus_bus_type; 76 sprintf(sdev->ofdev.dev.bus_id, "sbus[%08x]", dp->node); 78 if (of_device_register(&sdev->ofdev) != 0) 83 err = sysfs_create_file(&sdev->ofdev [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc/ |
H A D | ebus.h | 31 struct of_device ofdev; member in struct:linux_ebus_device 41 #define to_ebus_device(d) container_of(d, struct linux_ebus_device, ofdev.dev) 44 struct of_device ofdev; member in struct:linux_ebus 51 #define to_ebus(d) container_of(d, struct linux_ebus, ofdev.dev)
|
H A D | sbus.h | 46 struct of_device ofdev; member in struct:sbus_dev 66 #define to_sbus_device(d) container_of(d, struct sbus_dev, ofdev.dev) 70 struct of_device ofdev; member in struct:sbus_bus 84 #define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev)
|
H A D | of_device.h | 70 extern int of_device_register(struct of_device *ofdev); 71 extern void of_device_unregister(struct of_device *ofdev);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/ |
H A D | ebus.c | 209 dev->ofdev.node = dp; 210 dev->ofdev.dev.parent = &dev->bus->ofdev.dev; 211 dev->ofdev.dev.bus = &ebus_bus_type; 212 sprintf(dev->ofdev.dev.bus_id, "ebus[%08x]", dp->node); 215 if (of_device_register(&dev->ofdev) != 0) 304 ebus->ofdev.node = dp; 305 ebus->ofdev.dev.parent = &pdev->dev; 306 ebus->ofdev.dev.bus = &ebus_bus_type; 307 sprintf(ebus->ofdev [all...] |
H A D | of_device.c | 741 struct of_device *ofdev; local 743 ofdev = to_of_device(dev); 744 return sprintf(buf, "%s", ofdev->node->full_name); 758 struct of_device *ofdev; local 760 ofdev = to_of_device(dev); 762 kfree(ofdev); 765 int of_device_register(struct of_device *ofdev) argument 769 BUG_ON(ofdev->node == NULL); 771 rc = device_register(&ofdev->dev); 775 rc = device_create_file(&ofdev 782 of_device_unregister(struct of_device *ofdev) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/aoa/soundbus/i2sbus/ |
H A D | i2sbus-core.c | 78 i2sdev = container_of(dev, struct i2sbus_dev, sound.ofdev.dev); 204 dev->sound.ofdev.node = np; 205 dev->sound.ofdev.dma_mask = macio->ofdev.dma_mask; 206 dev->sound.ofdev.dev.dma_mask = &dev->sound.ofdev.dma_mask; 207 dev->sound.ofdev.dev.parent = &macio->ofdev.dev; 208 dev->sound.ofdev.dev.release = i2sbus_release_dev; 323 while ((np = of_get_next_child(dev->ofdev [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ |
H A D | ucc_geth_mii.c | 135 static int uec_mdio_probe(struct of_device *ofdev, const struct of_device_id *match) argument 137 struct device *device = &ofdev->dev; 138 struct device_node *np = ofdev->node, *tempnp = NULL; 239 int uec_mdio_remove(struct of_device *ofdev) argument 241 struct device *device = &ofdev->dev;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/hw_random/ |
H A D | pasemi-rng.c | 89 static int __devinit rng_probe(struct of_device *ofdev, argument 93 struct device_node *rng_np = ofdev->node;
|