Home
last modified time | relevance | path

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

/linux-5.19.10/arch/powerpc/kernel/
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-5.19.10/drivers/usb/musb/
Dmusb_dsps.c712 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()