Home
last modified time | relevance | path

Searched refs:of_getintprop_default (Results 1 – 17 of 17) sorted by relevance

/arch/sparc/kernel/
Dprom_64.c383 int id = of_getintprop_default(dp, mid_prop, -1); in of_find_node_by_cpuid()
388 id = of_getintprop_default(dp, this_mid_prop, -1); in of_find_node_by_cpuid()
413 int cpuid = of_getintprop_default(dp, mid_prop, -1); in of_fill_in_cpu_data()
421 cpuid = of_getintprop_default(dp, this_mid_prop, -1); in of_fill_in_cpu_data()
430 portid = of_getintprop_default(portid_parent, in of_fill_in_cpu_data()
464 of_getintprop_default(dp, "clock-frequency", 0); in of_fill_in_cpu_data()
468 of_getintprop_default(dp, "l1-dcache-size", in of_fill_in_cpu_data()
471 of_getintprop_default(dp, "l1-dcache-line-size", in of_fill_in_cpu_data()
474 of_getintprop_default(dp, "l1-icache-size", in of_fill_in_cpu_data()
477 of_getintprop_default(dp, "l1-icache-line-size", in of_fill_in_cpu_data()
[all …]
Dsun4d_irq.c398 int board = of_getintprop_default(dp, "board#", 0); in sun4d_distribute_irqs()
412 int board = of_getintprop_default(dp, "board#", 0); in sun4d_distribute_irqs()
425 int devid = of_getintprop_default(dp, "device-id", 0); in sun4d_distribute_irqs()
426 int board = of_getintprop_default(dp, "board#", 0); in sun4d_distribute_irqs()
436 int devid = of_getintprop_default(dp, "device-id", 0); in sun4d_distribute_irqs()
437 int board = of_getintprop_default(dp, "board#", 0); in sun4d_distribute_irqs()
560 int devid = of_getintprop_default(dp, "device-id", 0); in sun4d_init_sbi_irq()
561 int board = of_getintprop_default(dp, "board#", 0); in sun4d_init_sbi_irq()
Dsbus.c290 portid = of_getintprop_default(op->node, "portid", -1); in sysio_ue_handler()
364 portid = of_getintprop_default(op->node, "portid", -1); in sysio_ce_handler()
442 portid = of_getintprop_default(op->node, "portid", -1); in sysio_sbus_error_handler()
499 portid = of_getintprop_default(op->node, "portid", -1); in sysio_register_error_handlers()
592 portid = of_getintprop_default(op->node, "portid", -1); in sbus_iommu_init()
Dof_device_32.c485 op->clock_freq = of_getintprop_default(dp, "clock-frequency", in scan_one_device()
487 op->portid = of_getintprop_default(dp, "upa-portid", -1); in scan_one_device()
489 op->portid = of_getintprop_default(dp, "portid", -1); in scan_one_device()
540 board = of_getintprop_default(io_unit, "board#", -1); in scan_one_device()
Dprom_common.c49 int of_getintprop_default(struct device_node *np, const char *name, int def) in of_getintprop_default() function
60 EXPORT_SYMBOL(of_getintprop_default);
Dprom_irqtrans.c444 irq_data->portid = of_getintprop_default(dp, "portid", 0); in __schizo_irq_trans_init()
445 irq_data->chip_version = of_getintprop_default(dp, "version#", 0); in __schizo_irq_trans_init()
555 irq_data->portid = of_getintprop_default(dp, "portid", 0); in fire_irq_trans_init()
Dpsycho_common.c458 pbm->chip_version = of_getintprop_default(dp, "version#", 0); in psycho_pbm_init_common()
459 pbm->chip_revision = of_getintprop_default(dp, "module-revision#", 0); in psycho_pbm_init_common()
Dof_device_64.c806 op->clock_freq = of_getintprop_default(dp, "clock-frequency", in scan_one_device()
808 op->portid = of_getintprop_default(dp, "upa-portid", -1); in scan_one_device()
810 op->portid = of_getintprop_default(dp, "portid", -1); in scan_one_device()
Dpci.c290 dev->vendor = of_getintprop_default(node, "vendor-id", 0xffff); in of_create_pci_dev()
291 dev->device = of_getintprop_default(node, "device-id", 0xffff); in of_create_pci_dev()
293 of_getintprop_default(node, "subsystem-vendor-id", 0); in of_create_pci_dev()
295 of_getintprop_default(node, "subsystem-id", 0); in of_create_pci_dev()
Dtime_64.c616 freq = of_getintprop_default(dp, "stick-frequency", 0); in sparc64_init_timers()
623 freq = of_getintprop_default(dp, "stick-frequency", 0); in sparc64_init_timers()
Dcentral.c185 p->board_num = of_getintprop_default(op->node, "board#", -1); in fhc_probe()
Dpci_schizo.c1362 pbm->chip_version = of_getintprop_default(dp, "version#", 0); in schizo_pbm_init()
1363 pbm->chip_revision = of_getintprop_default(dp, "module-version#", 0); in schizo_pbm_init()
1424 portid = of_getintprop_default(dp, "portid", 0xff); in __schizo_init()
Dpci_sabre.c495 upa_portid = of_getintprop_default(dp, "upa-portid", 0xff); in sabre_probe()
Dpci_fire.c467 portid = of_getintprop_default(dp, "portid", 0xff); in fire_probe()
Dpci_psycho.c516 upa_portid = of_getintprop_default(dp, "upa-portid", 0xff); in psycho_probe()
Dchmc.c709 portid = of_getintprop_default(dp, "portid", -1); in chmc_probe()
/arch/sparc/include/asm/
Dprom.h78 extern int of_getintprop_default(struct device_node *np,