Home
last modified time | relevance | path

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

12

/linux-6.12.1/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()
515 portid = of_getintprop_default(portid_parent, in fill_in_one_cpu()
533 of_getintprop_default(dp, "clock-frequency", 0); in fill_in_one_cpu()
537 of_getintprop_default(dp, "l1-dcache-size", in fill_in_one_cpu()
540 of_getintprop_default(dp, "l1-dcache-line-size", in fill_in_one_cpu()
543 of_getintprop_default(dp, "l1-icache-size", in fill_in_one_cpu()
546 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.c294 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ue_handler()
368 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ce_handler()
446 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_sbus_error_handler()
503 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_register_error_handlers()
594 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sbus_iommu_init()
Dprom_irqtrans.c446 irq_data->portid = of_getintprop_default(dp, "portid", 0); in __schizo_irq_trans_init()
447 irq_data->chip_version = of_getintprop_default(dp, "version#", 0); in __schizo_irq_trans_init()
557 irq_data->portid = of_getintprop_default(dp, "portid", 0); in fire_irq_trans_init()
Dpci.c302 dev->vendor = of_getintprop_default(node, "vendor-id", 0xffff); in of_create_pci_dev()
303 dev->device = of_getintprop_default(node, "device-id", 0xffff); in of_create_pci_dev()
305 of_getintprop_default(node, "subsystem-vendor-id", 0); in of_create_pci_dev()
307 of_getintprop_default(node, "subsystem-id", 0); in of_create_pci_dev()
Dpsycho_common.c461 pbm->chip_version = of_getintprop_default(dp, "version#", 0); in psycho_pbm_init_common()
462 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.c1365 pbm->chip_version = of_getintprop_default(dp, "version#", 0); in schizo_pbm_init()
1366 pbm->chip_revision = of_getintprop_default(dp, "module-version#", 0); in schizo_pbm_init()
1426 portid = of_getintprop_default(dp, "portid", 0xff); in __schizo_init()
Dpci_sabre.c499 upa_portid = of_getintprop_default(dp, "upa-portid", 0xff); in sabre_probe()
/linux-6.12.1/drivers/scsi/
Dsun_esp.c128 esp->scsi_id = of_getintprop_default(dp, "initiator-id", 0xff); in esp_get_scsi_id()
132 esp->scsi_id = of_getintprop_default(dp, "scsi-initiator-id", 0xff); in esp_get_scsi_id()
136 esp->scsi_id = of_getintprop_default(espdma->dev.of_node, in esp_get_scsi_id()
165 fmhz = of_getintprop_default(dp, "clock-frequency", 0); in esp_get_clock_params()
167 fmhz = of_getintprop_default(bus_dp, "clock-frequency", 0); in esp_get_clock_params()
180 bursts = of_getintprop_default(dp, "burst-sizes", 0xff); in esp_get_bursts()
181 val = of_getintprop_default(dma_dp, "burst-sizes", 0xff); in esp_get_bursts()
185 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.12.1/drivers/video/fbdev/
Dsunxvr1000.c32 gp->width = of_getintprop_default(gp->of_node, "width", 0); in gfb_get_props()
33 gp->height = of_getintprop_default(gp->of_node, "height", 0); in gfb_get_props()
34 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()
Dbw2.c290 linebytes = of_getintprop_default(dp, "linebytes", in bw2_probe()
Dp9100.c271 linebytes = of_getintprop_default(dp, "linebytes", info->var.xres); in p9100_probe()
Dcg6.c766 linebytes = of_getintprop_default(dp, "linebytes", in cg6_probe()
770 dblbuf = of_getintprop_default(dp, "dblbuf", 0); in cg6_probe()
Dcg3.c372 linebytes = of_getintprop_default(dp, "linebytes", in cg3_probe()
/linux-6.12.1/arch/sparc/include/asm/
Dprom.h38 int of_getintprop_default(struct device_node *np,
/linux-6.12.1/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.12.1/drivers/input/misc/
Dsparcspkr.c208 info->clock_freq = of_getintprop_default(dp, "clock-frequency", 0); in bbc_beep_probe()
/linux-6.12.1/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