Searched refs:dcr_host (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/drivers/edac/ |
D | ppc4xx_edac.c | 166 dcr_host_t dcr_host; /* Indirect DCR address/data window mapping */ member 247 mfsdram(const dcr_host_t *dcr_host, unsigned int idcr_n) in mfsdram() argument 249 return __mfdcri(dcr_host->base + SDRAM_DCR_ADDR_OFFSET, in mfsdram() 250 dcr_host->base + SDRAM_DCR_DATA_OFFSET, in mfsdram() 264 mtsdram(const dcr_host_t *dcr_host, unsigned int idcr_n, u32 value) in mtsdram() argument 266 return __mtdcri(dcr_host->base + SDRAM_DCR_ADDR_OFFSET, in mtsdram() 267 dcr_host->base + SDRAM_DCR_DATA_OFFSET, in mtsdram() 394 switch (mfsdram(&pdata->dcr_host, SDRAM_MCOPT1) & in ppc4xx_edac_generate_checkbit_message() 672 const dcr_host_t *dcr_host = &pdata->dcr_host; in ppc4xx_ecc_get_status() local 674 status->ecces = mfsdram(dcr_host, SDRAM_ECCES) & SDRAM_ECCES_MASK; in ppc4xx_ecc_get_status() [all …]
|
/linux-2.6.39/drivers/tty/serial/ |
D | nwpserial.c | 33 dcr_host_t dcr_host; member 47 status = dcr_read(up->dcr_host, UART_LSR); in wait_for_bits() 62 dcr_write(up->dcr_host, UART_TX, c); in nwpserial_console_putchar() 79 up->ier = dcr_read(up->dcr_host, UART_IER); in nwpserial_console_write() 80 dcr_write(up->dcr_host, UART_IER, up->ier & ~UART_IER_RDI); in nwpserial_console_write() 85 while ((dcr_read(up->dcr_host, UART_LSR) & UART_LSR_THRE) == 0) in nwpserial_console_write() 89 dcr_write(up->dcr_host, UART_IER, up->ier); in nwpserial_console_write() 137 iir = dcr_read(up->dcr_host, UART_IIR); in nwpserial_interrupt() 145 ch = dcr_read(up->dcr_host, UART_RX); in nwpserial_interrupt() 148 } while (dcr_read(up->dcr_host, UART_LSR) & UART_LSR_DR); in nwpserial_interrupt() [all …]
|
/linux-2.6.39/arch/powerpc/sysdev/ |
D | ppc4xx_cpm.c | 51 dcr_host_t dcr_host; member 83 value = dcr_read(cpm.dcr_host, cpm.dcr_offset[cpm_reg]); in cpm_set() 84 dcr_write(cpm.dcr_host, cpm.dcr_offset[cpm_reg], value | mask); in cpm_set() 117 dcr_write(cpm.dcr_host, cpm.dcr_offset[CPM_ER], er_save); in cpm_idle_sleep() 287 cpm.dcr_host = dcr_map(np, dcr_base, dcr_len); in cpm_init() 289 if (!DCR_MAP_OK(cpm.dcr_host)) { in cpm_init()
|
/linux-2.6.39/arch/powerpc/platforms/cell/ |
D | axon_msi.c | 72 dcr_host_t dcr_host; member 91 dcr_write(msic->dcr_host, dcr_n, val); in msic_dcr_write() 102 write_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG); in axon_msi_cascade() 339 tmp = dcr_read(msic->dcr_host, MSIC_CTRL_REG); in axon_msi_shutdown() 370 msic->dcr_host = dcr_map(dn, dcr_base, dcr_len); in axon_msi_probe() 371 if (!DCR_MAP_OK(msic->dcr_host)) { in axon_msi_probe() 415 msic->read_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG) in axon_msi_probe()
|
/linux-2.6.39/drivers/net/ibm_newemac/ |
D | mal.h | 193 dcr_host_t dcr_host; member 224 return dcr_read(mal->dcr_host, reg); in get_mal_dcrn() 229 dcr_write(mal->dcr_host, reg, val); in set_mal_dcrn()
|
D | mal.c | 571 mal->dcr_host = dcr_map(ofdev->dev.of_node, dcr_base, 0x100); in mal_probe() 572 if (!DCR_MAP_OK(mal->dcr_host)) { in mal_probe() 725 dcr_unmap(mal->dcr_host, 0x100); in mal_probe()
|
/linux-2.6.39/drivers/video/ |
D | xilinxfb.c | 131 dcr_host_t dcr_host; member 161 dcr_write(drvdata->dcr_host, offset, val); in xilinx_fb_out_be32() 394 dcr_unmap(drvdata->dcr_host, drvdata->dcr_len); in xilinxfb_release() 452 drvdata->dcr_host = dcr_map(op->dev.of_node, start, drvdata->dcr_len); in xilinxfb_of_probe() 453 if (!DCR_MAP_OK(drvdata->dcr_host)) { in xilinxfb_of_probe()
|