/openbmc/qemu/hw/ppc/ |
H A D | ppc440_uc.c | 688 void ppc4xx_dma_init(CPUPPCState *env, int dcr_base) in ppc4xx_dma_init() argument 694 dma->base = dcr_base; in ppc4xx_dma_init() 697 ppc_dcr_register(env, dcr_base + i * 8 + DMA0_CR, in ppc4xx_dma_init() 699 ppc_dcr_register(env, dcr_base + i * 8 + DMA0_CT, in ppc4xx_dma_init() 701 ppc_dcr_register(env, dcr_base + i * 8 + DMA0_SAH, in ppc4xx_dma_init() 703 ppc_dcr_register(env, dcr_base + i * 8 + DMA0_SAL, in ppc4xx_dma_init() 705 ppc_dcr_register(env, dcr_base + i * 8 + DMA0_DAH, in ppc4xx_dma_init() 714 ppc_dcr_register(env, dcr_base + DMA0_SR, in ppc4xx_dma_init() 716 ppc_dcr_register(env, dcr_base + DMA0_SGC, in ppc4xx_dma_init() 718 ppc_dcr_register(env, dcr_base + DMA0_SLP, in ppc4xx_dma_init() [all …]
|
H A D | ppc440.h | 20 void ppc4xx_dma_init(CPUPPCState *env, int dcr_base);
|
/openbmc/linux/arch/powerpc/platforms/4xx/ |
H A D | cpm.c | 249 int dcr_base, dcr_len; in cpm_init() local 263 dcr_base = dcr_resource_start(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()
|
/openbmc/qemu/hw/intc/ |
H A D | ppc-uic.c | 146 dcrn -= uic->dcr_base; in dcr_read_uic() 192 dcrn -= uic->dcr_base; in dcr_write_uic() 253 ppc4xx_dcr_register(dcr, uic->dcr_base + i, uic, in ppc_uic_realize() 263 DEFINE_PROP_UINT32("dcr-base", PPCUIC, dcr_base, 0xc0),
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | axon_msi.c | 334 int dcr_base, dcr_len; in axon_msi_probe() local 345 dcr_base = dcr_resource_start(dn, 0); in axon_msi_probe() 348 if (dcr_base == 0 || dcr_len == 0) { in axon_msi_probe() 355 msic->dcr_host = dcr_map(dn, dcr_base, dcr_len); in axon_msi_probe()
|
/openbmc/qemu/include/hw/intc/ |
H A D | ppc-uic.h | 65 uint32_t dcr_base; member
|
/openbmc/linux/drivers/edac/ |
H A D | ppc4xx_edac.c | 1163 unsigned int dcr_base, dcr_len; in ppc4xx_edac_map_dcrs() local 1170 dcr_base = dcr_resource_start(np, 0); in ppc4xx_edac_map_dcrs() 1173 if (dcr_base == 0 || dcr_len == 0) { in ppc4xx_edac_map_dcrs() 1188 *dcr_host = dcr_map(np, dcr_base, dcr_len); in ppc4xx_edac_map_dcrs()
|
/openbmc/linux/drivers/net/ethernet/ibm/emac/ |
H A D | mal.c | 521 unsigned int dcr_base; in mal_probe() local 557 dcr_base = dcr_resource_start(ofdev->dev.of_node, 0); in mal_probe() 558 if (dcr_base == 0) { in mal_probe() 564 mal->dcr_host = dcr_map(ofdev->dev.of_node, dcr_base, 0x100); in mal_probe()
|
/openbmc/linux/drivers/dma/ppc4xx/ |
H A D | adma.c | 4410 unsigned int dcr_base, dcr_len; in ppc440spe_configure_raid_devices() local 4433 dcr_base = dcr_resource_start(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() 4502 dcr_base = dcr_resource_start(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()
|