Searched refs:get_int_prop (Results 1 - 1 of 1) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/ |
H A D | pci_of_scan.c | 22 * get_int_prop - Decode a u32 from a device tree property 24 static u32 get_int_prop(struct device_node *np, const char *name, u32 def) function 150 dev->vendor = get_int_prop(node, "vendor-id", 0xffff); 151 dev->device = get_int_prop(node, "device-id", 0xffff); 152 dev->subsystem_vendor = get_int_prop(node, "subsystem-vendor-id", 0); 153 dev->subsystem_device = get_int_prop(node, "subsystem-id", 0); 159 dev->class = get_int_prop(node, "class-code", 0); 160 dev->revision = get_int_prop(node, "revision-id", 0);
|
Completed in 111 milliseconds