Home
last modified time | relevance | path

Searched refs:dcr_host (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/edac/
Dppc4xx_edac.c161 dcr_host_t dcr_host; /* Indirect DCR address/data window mapping */ member
242 mfsdram(const dcr_host_t *dcr_host, unsigned int idcr_n) in mfsdram() argument
244 return __mfdcri(dcr_host->base + SDRAM_DCR_ADDR_OFFSET, in mfsdram()
245 dcr_host->base + SDRAM_DCR_DATA_OFFSET, in mfsdram()
259 mtsdram(const dcr_host_t *dcr_host, unsigned int idcr_n, u32 value) in mtsdram() argument
261 return __mtdcri(dcr_host->base + SDRAM_DCR_ADDR_OFFSET, in mtsdram()
262 dcr_host->base + SDRAM_DCR_DATA_OFFSET, in mtsdram()
389 switch (mfsdram(&pdata->dcr_host, SDRAM_MCOPT1) & in ppc4xx_edac_generate_checkbit_message()
667 const dcr_host_t *dcr_host = &pdata->dcr_host; in ppc4xx_ecc_get_status() local
669 status->ecces = mfsdram(dcr_host, SDRAM_ECCES) & SDRAM_ECCES_MASK; in ppc4xx_ecc_get_status()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/4xx/
Dcpm.c37 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Daxon_msi.c70 dcr_host_t dcr_host; member
89 dcr_write(msic->dcr_host, dcr_n, val); in msic_dcr_write()
100 write_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG); in axon_msi_cascade()
328 tmp = dcr_read(msic->dcr_host, MSIC_CTRL_REG); in axon_msi_shutdown()
359 msic->dcr_host = dcr_map(dn, dcr_base, dcr_len); in axon_msi_probe()
360 if (!DCR_MAP_OK(msic->dcr_host)) { in axon_msi_probe()
402 msic->read_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG) in axon_msi_probe()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dxilinxfb.c144 dcr_host_t dcr_host; member
178 dcr_write(drvdata->dcr_host, offset, val); in xilinx_fb_out32()
192 return dcr_read(drvdata->dcr_host, offset); in xilinx_fb_in32()
401 dcr_unmap(drvdata->dcr_host, drvdata->dcr_len); in xilinxfb_release()
446 drvdata->dcr_host = dcr_map(pdev->dev.of_node, start, drvdata->dcr_len); in xilinxfb_of_probe()
447 if (!DCR_MAP_OK(drvdata->dcr_host)) { in xilinxfb_of_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/emac/
Dmal.h184 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()
Dmal.c562 mal->dcr_host = dcr_map(ofdev->dev.of_node, dcr_base, 0x100); in mal_probe()
563 if (!DCR_MAP_OK(mal->dcr_host)) { in mal_probe()
705 dcr_unmap(mal->dcr_host, 0x100); in mal_probe()