Searched refs:get_int_prop (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/arch/powerpc/kernel/ |
D | pci_of_scan.c | 22 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-v6.1/drivers/usb/musb/ |
D | musb_dsps.c | 712 static int get_int_prop(struct device_node *dn, const char *s) in get_int_prop() function 782 config->num_eps = get_int_prop(dn, "mentor,num-eps"); in dsps_create_musb_pdev() 783 config->ram_bits = get_int_prop(dn, "mentor,ram-bits"); in dsps_create_musb_pdev() 787 pdata.power = get_int_prop(dn, "mentor,power") / 2; in dsps_create_musb_pdev()
|