Searched refs:get_int_prop (Results 1 – 1 of 1) sorted by relevance
/linux-3.4.99/arch/powerpc/kernel/ |
D | pci_of_scan.c | 25 static u32 get_int_prop(struct device_node *np, const char *name, u32 def) in get_int_prop() function 153 dev->vendor = get_int_prop(node, "vendor-id", 0xffff); in of_create_pci_dev() 154 dev->device = get_int_prop(node, "device-id", 0xffff); in of_create_pci_dev() 155 dev->subsystem_vendor = get_int_prop(node, "subsystem-vendor-id", 0); in of_create_pci_dev() 156 dev->subsystem_device = get_int_prop(node, "subsystem-id", 0); in of_create_pci_dev() 162 dev->class = get_int_prop(node, "class-code", 0); in of_create_pci_dev() 163 dev->revision = get_int_prop(node, "revision-id", 0); in of_create_pci_dev()
|