Home
last modified time | relevance | path

Searched refs:dcr_len (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/4xx/
Dcpm.c249 int dcr_base, dcr_len; in cpm_init() local
264 dcr_len = dcr_resource_len(np, 0); in cpm_init()
266 if (dcr_base == 0 || dcr_len == 0) { in cpm_init()
273 cpm.dcr_host = dcr_map(np, dcr_base, dcr_len); in cpm_init()
/Linux-v5.4/arch/powerpc/platforms/cell/
Daxon_msi.c337 int dcr_base, dcr_len; in axon_msi_probe() local
349 dcr_len = dcr_resource_len(dn, 0); in axon_msi_probe()
351 if (dcr_base == 0 || dcr_len == 0) { in axon_msi_probe()
358 msic->dcr_host = dcr_map(dn, dcr_base, dcr_len); in axon_msi_probe()
/Linux-v5.4/drivers/video/fbdev/
Dxilinxfb.c145 unsigned int dcr_len; member
401 dcr_unmap(drvdata->dcr_host, drvdata->dcr_len); in xilinxfb_release()
445 drvdata->dcr_len = dcr_resource_len(pdev->dev.of_node, 0); in xilinxfb_of_probe()
446 drvdata->dcr_host = dcr_map(pdev->dev.of_node, start, drvdata->dcr_len); in xilinxfb_of_probe()
/Linux-v5.4/drivers/edac/
Dppc4xx_edac.c1176 unsigned int dcr_base, dcr_len; in ppc4xx_edac_map_dcrs() local
1184 dcr_len = dcr_resource_len(np, 0); in ppc4xx_edac_map_dcrs()
1186 if (dcr_base == 0 || dcr_len == 0) { in ppc4xx_edac_map_dcrs()
1192 if (dcr_len != SDRAM_DCR_RESOURCE_LEN) { in ppc4xx_edac_map_dcrs()
1195 dcr_len, SDRAM_DCR_RESOURCE_LEN); in ppc4xx_edac_map_dcrs()
1201 *dcr_host = dcr_map(np, dcr_base, dcr_len); in ppc4xx_edac_map_dcrs()
/Linux-v5.4/drivers/dma/ppc4xx/
Dadma.c4410 unsigned int dcr_base, dcr_len; in ppc440spe_configure_raid_devices() local
4434 dcr_len = dcr_resource_len(np, 0); in ppc440spe_configure_raid_devices()
4435 if (!dcr_base && !dcr_len) { in ppc440spe_configure_raid_devices()
4442 i2o_dcr_host = dcr_map(np, dcr_base, dcr_len); in ppc440spe_configure_raid_devices()
4461 dcr_unmap(i2o_dcr_host, dcr_len); in ppc440spe_configure_raid_devices()
4476 dcr_unmap(i2o_dcr_host, dcr_len); in ppc440spe_configure_raid_devices()
4503 dcr_len = dcr_resource_len(np, 0); in ppc440spe_configure_raid_devices()
4504 if (!dcr_base && !dcr_len) { in ppc440spe_configure_raid_devices()
4510 ppc440spe_mq_dcr_host = dcr_map(np, dcr_base, dcr_len); in ppc440spe_configure_raid_devices()
4517 ppc440spe_mq_dcr_len = dcr_len; in ppc440spe_configure_raid_devices()