Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/sparc/kernel/
Dprom_64.c403 this_cpu_id = of_getintprop_default(cpun, mid_prop, -1); in arch_find_n_match_cpu_physical_id()
407 this_cpu_id = of_getintprop_default(cpun, mid_prop, -1); in arch_find_n_match_cpu_physical_id()
441 int cpuid = of_getintprop_default(dp, mid_prop, -1); in of_iterate_over_cpus()
447 cpuid = of_getintprop_default(dp, this_mid_prop, -1); in of_iterate_over_cpus()
513 portid = of_getintprop_default(portid_parent, in fill_in_one_cpu()
531 of_getintprop_default(dp, "clock-frequency", 0); in fill_in_one_cpu()
535 of_getintprop_default(dp, "l1-dcache-size", in fill_in_one_cpu()
538 of_getintprop_default(dp, "l1-dcache-line-size", in fill_in_one_cpu()
541 of_getintprop_default(dp, "l1-icache-size", in fill_in_one_cpu()
544 of_getintprop_default(dp, "l1-icache-line-size", in fill_in_one_cpu()
[all …]
Dsun4d_irq.c259 int devid = of_getintprop_default(dp, "device-id", 0); in sun4d_distribute_irqs()
260 int board = of_getintprop_default(dp, "board#", 0); in sun4d_distribute_irqs()
369 board = of_getintprop_default(board_parent, "board#", -1); in sun4d_build_device_irq()
443 board = of_getintprop_default(dp, "board#", -1); in sun4d_init_timers()
491 int devid = of_getintprop_default(dp, "device-id", 0); in sun4d_init_sbi_irq()
492 int board = of_getintprop_default(dp, "board#", 0); in sun4d_init_sbi_irq()
Dprom_common.c34 int of_getintprop_default(struct device_node *np, const char *name, int def) in of_getintprop_default() function
45 EXPORT_SYMBOL(of_getintprop_default);
Dsbus.c293 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ue_handler()
367 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ce_handler()
445 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_sbus_error_handler()
502 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_register_error_handlers()
593 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sbus_iommu_init()
Dprom_irqtrans.c445 irq_data->portid = of_getintprop_default(dp, "portid", 0); in __schizo_irq_trans_init()
446 irq_data->chip_version = of_getintprop_default(dp, "version#", 0); in __schizo_irq_trans_init()
556 irq_data->portid = of_getintprop_default(dp, "portid", 0); in fire_irq_trans_init()
Dpci.c301 dev->vendor = of_getintprop_default(node, "vendor-id", 0xffff); in of_create_pci_dev()
302 dev->device = of_getintprop_default(node, "device-id", 0xffff); in of_create_pci_dev()
304 of_getintprop_default(node, "subsystem-vendor-id", 0); in of_create_pci_dev()
306 of_getintprop_default(node, "subsystem-id", 0); in of_create_pci_dev()
Dpsycho_common.c460 pbm->chip_version = of_getintprop_default(dp, "version#", 0); in psycho_pbm_init_common()
461 pbm->chip_revision = of_getintprop_default(dp, "module-revision#", 0); in psycho_pbm_init_common()
Dcentral.c186 p->board_num = of_getintprop_default(op->dev.of_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()
1423 portid = of_getintprop_default(dp, "portid", 0xff); in __schizo_init()
Dpci_sabre.c498 upa_portid = of_getintprop_default(dp, "upa-portid", 0xff); in sabre_probe()
/linux-6.1.9/drivers/scsi/
Dsun_esp.c127 esp->scsi_id = of_getintprop_default(dp, "initiator-id", 0xff); in esp_get_scsi_id()
131 esp->scsi_id = of_getintprop_default(dp, "scsi-initiator-id", 0xff); in esp_get_scsi_id()
135 esp->scsi_id = of_getintprop_default(espdma->dev.of_node, in esp_get_scsi_id()
164 fmhz = of_getintprop_default(dp, "clock-frequency", 0); in esp_get_clock_params()
166 fmhz = of_getintprop_default(bus_dp, "clock-frequency", 0); in esp_get_clock_params()
179 bursts = of_getintprop_default(dp, "burst-sizes", 0xff); in esp_get_bursts()
180 val = of_getintprop_default(dma_dp, "burst-sizes", 0xff); in esp_get_bursts()
184 val = of_getintprop_default(dma_dp->parent, "burst-sizes", 0xff); in esp_get_bursts()
Dqlogicpti.c770 qpti->scsi_id = of_getintprop_default(dp, "initiator-id", -1); in qpti_get_scsi_id()
772 qpti->scsi_id = of_getintprop_default(dp, "scsi-initiator-id", in qpti_get_scsi_id()
776 of_getintprop_default(dp->parent, in qpti_get_scsi_id()
789 bursts = of_getintprop_default(op->dev.of_node, "burst-sizes", 0xff); in qpti_get_bursts()
790 bmask = of_getintprop_default(op->dev.of_node->parent, "burst-sizes", 0xff); in qpti_get_bursts()
/linux-6.1.9/drivers/video/fbdev/
Dsunxvr1000.c31 gp->width = of_getintprop_default(gp->of_node, "width", 0); in gfb_get_props()
32 gp->height = of_getintprop_default(gp->of_node, "height", 0); in gfb_get_props()
33 gp->depth = of_getintprop_default(gp->of_node, "depth", 32); in gfb_get_props()
Dsunxvr2500.c36 sp->width = of_getintprop_default(sp->of_node, "width", 0); in s3d_get_props()
37 sp->height = of_getintprop_default(sp->of_node, "height", 0); in s3d_get_props()
38 sp->depth = of_getintprop_default(sp->of_node, "depth", 8); in s3d_get_props()
Dsunxvr500.c58 ep->width = of_getintprop_default(ep->of_node, "width", 0); in e3d_get_props()
59 ep->height = of_getintprop_default(ep->of_node, "height", 0); in e3d_get_props()
60 ep->depth = of_getintprop_default(ep->of_node, "depth", 8); in e3d_get_props()
Dsbuslib.c25 var->xres = of_getintprop_default(dp, "width", 1152); in sbusfb_fill_var()
26 var->yres = of_getintprop_default(dp, "height", 900); in sbusfb_fill_var()
Dp9100.c278 linebytes = of_getintprop_default(dp, "linebytes", info->var.xres); in p9100_probe()
Dbw2.c296 linebytes = of_getintprop_default(dp, "linebytes", in bw2_probe()
Dcg6.c766 linebytes = of_getintprop_default(dp, "linebytes", in cg6_probe()
770 dblbuf = of_getintprop_default(dp, "dblbuf", 0); in cg6_probe()
Dcg3.c378 linebytes = of_getintprop_default(dp, "linebytes", in cg3_probe()
/linux-6.1.9/arch/sparc/include/asm/
Dprom.h35 int of_getintprop_default(struct device_node *np,
/linux-6.1.9/drivers/net/ethernet/sun/
Dsunqe.c754 bsizes = of_getintprop_default(dp, "burst-sizes", 0xff); in qec_get_burst()
756 bsizes_more = of_getintprop_default(dp->parent, "burst-sizes", 0xff); in qec_get_burst()
853 i = of_getintprop_default(op->dev.of_node, "channel#", -1); in qec_ether_init()
Dsunbmac.c1118 bsizes = of_getintprop_default(qec_op->dev.of_node, "burst-sizes", 0xff); in bigmac_ether_init()
1119 bsizes_more = of_getintprop_default(qec_op->dev.of_node, "burst-sizes", 0xff); in bigmac_ether_init()
1169 bp->board_rev = of_getintprop_default(bp->bigmac_op->dev.of_node, in bigmac_ether_init()
/linux-6.1.9/drivers/input/misc/
Dsparcspkr.c207 info->clock_freq = of_getintprop_default(dp, "clock-frequency", 0); in bbc_beep_probe()
/linux-6.1.9/drivers/net/ethernet/amd/
Dsunlance.c1372 lp->busmaster_regval = of_getintprop_default(dp, "busmaster-regval", in sparc_lance_probe_one()
1388 lp->burst_sizes = of_getintprop_default(ledma_dp, in sparc_lance_probe_one()
1393 sbmask = of_getintprop_default(sbus_dp, "burst-sizes", in sparc_lance_probe_one()

12