Searched refs:dcr_host (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/edac/ |
D | ppc4xx_edac.c | 162 dcr_host_t dcr_host; /* Indirect DCR address/data window mapping */ member 229 mfsdram(const dcr_host_t *dcr_host, unsigned int idcr_n) in mfsdram() argument 231 return __mfdcri(dcr_host->base + SDRAM_DCR_ADDR_OFFSET, in mfsdram() 232 dcr_host->base + SDRAM_DCR_DATA_OFFSET, in mfsdram() 246 mtsdram(const dcr_host_t *dcr_host, unsigned int idcr_n, u32 value) in mtsdram() argument 248 return __mtdcri(dcr_host->base + SDRAM_DCR_ADDR_OFFSET, in mtsdram() 249 dcr_host->base + SDRAM_DCR_DATA_OFFSET, in mtsdram() 376 switch (mfsdram(&pdata->dcr_host, SDRAM_MCOPT1) & in ppc4xx_edac_generate_checkbit_message() 654 const dcr_host_t *dcr_host = &pdata->dcr_host; in ppc4xx_ecc_get_status() local 656 status->ecces = mfsdram(dcr_host, SDRAM_ECCES) & SDRAM_ECCES_MASK; in ppc4xx_ecc_get_status() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/4xx/ |
D | cpm.c | 37 dcr_host_t dcr_host; member 69 value = dcr_read(cpm.dcr_host, cpm.dcr_offset[cpm_reg]); in cpm_set() 70 dcr_write(cpm.dcr_host, cpm.dcr_offset[cpm_reg], value | mask); in cpm_set() 103 dcr_write(cpm.dcr_host, cpm.dcr_offset[CPM_ER], er_save); in cpm_idle_sleep() 273 cpm.dcr_host = dcr_map(np, dcr_base, dcr_len); in cpm_init() 275 if (!DCR_MAP_OK(cpm.dcr_host)) { in cpm_init()
|
/linux-6.6.21/arch/powerpc/platforms/cell/ |
D | axon_msi.c | 71 dcr_host_t dcr_host; member 90 dcr_write(msic->dcr_host, dcr_n, val); in msic_dcr_write() 101 write_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG); in axon_msi_cascade() 324 tmp = dcr_read(msic->dcr_host, MSIC_CTRL_REG); in axon_msi_shutdown() 355 msic->dcr_host = dcr_map(dn, dcr_base, dcr_len); in axon_msi_probe() 356 if (!DCR_MAP_OK(msic->dcr_host)) { in axon_msi_probe() 398 msic->read_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG) in axon_msi_probe()
|
/linux-6.6.21/drivers/video/fbdev/ |
D | xilinxfb.c | 143 dcr_host_t dcr_host; member 177 dcr_write(drvdata->dcr_host, offset, val); in xilinx_fb_out32() 191 return dcr_read(drvdata->dcr_host, offset); in xilinx_fb_in32() 398 dcr_unmap(drvdata->dcr_host, drvdata->dcr_len); in xilinxfb_release() 441 drvdata->dcr_host = dcr_map(pdev->dev.of_node, start, drvdata->dcr_len); in xilinxfb_of_probe() 442 if (!DCR_MAP_OK(drvdata->dcr_host)) { in xilinxfb_of_probe()
|
/linux-6.6.21/drivers/net/ethernet/ibm/emac/ |
D | mal.h | 184 dcr_host_t dcr_host; member 215 return dcr_read(mal->dcr_host, reg); in get_mal_dcrn() 220 dcr_write(mal->dcr_host, reg, val); in set_mal_dcrn()
|
D | mal.c | 564 mal->dcr_host = dcr_map(ofdev->dev.of_node, dcr_base, 0x100); in mal_probe() 565 if (!DCR_MAP_OK(mal->dcr_host)) { in mal_probe() 707 dcr_unmap(mal->dcr_host, 0x100); in mal_probe()
|