Home
last modified time | relevance | path

Searched refs:get_int_prop (Results 1 – 2 of 2) sorted by relevance

/linux/arch/powerpc/kernel/
A Dpci_of_scan.c22 static u32 get_int_prop(struct device_node *np, const char *name, u32 def) in get_int_prop() function
196 dev->vendor = get_int_prop(node, "vendor-id", 0xffff); in of_create_pci_dev()
197 dev->device = get_int_prop(node, "device-id", 0xffff); in of_create_pci_dev()
198 dev->subsystem_vendor = get_int_prop(node, "subsystem-vendor-id", 0); in of_create_pci_dev()
199 dev->subsystem_device = get_int_prop(node, "subsystem-id", 0); in of_create_pci_dev()
205 dev->class = get_int_prop(node, "class-code", 0); in of_create_pci_dev()
206 dev->revision = get_int_prop(node, "revision-id", 0); in of_create_pci_dev()
/linux/drivers/usb/musb/
A Dmusb_dsps.c711 static int get_int_prop(struct device_node *dn, const char *s) in get_int_prop() function
779 config->num_eps = get_int_prop(dn, "mentor,num-eps"); in dsps_create_musb_pdev()
780 config->ram_bits = get_int_prop(dn, "mentor,ram-bits"); in dsps_create_musb_pdev()
784 pdata.power = get_int_prop(dn, "mentor,power") / 2; in dsps_create_musb_pdev()

Completed in 8 milliseconds