Searched refs:dcr_host (Results 1 – 5 of 5) sorted by relevance
/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 …]
|
/drivers/tty/serial/ |
D | nwpserial.c | 35 dcr_host_t dcr_host; member 49 status = dcr_read(up->dcr_host, UART_LSR); in wait_for_bits() 64 dcr_write(up->dcr_host, UART_TX, c); in nwpserial_console_putchar() 81 up->ier = dcr_read(up->dcr_host, UART_IER); in nwpserial_console_write() 82 dcr_write(up->dcr_host, UART_IER, up->ier & ~UART_IER_RDI); in nwpserial_console_write() 87 while ((dcr_read(up->dcr_host, UART_LSR) & UART_LSR_THRE) == 0) in nwpserial_console_write() 91 dcr_write(up->dcr_host, UART_IER, up->ier); in nwpserial_console_write() 139 iir = dcr_read(up->dcr_host, UART_IIR); in nwpserial_interrupt() 147 ch = dcr_read(up->dcr_host, UART_RX); in nwpserial_interrupt() 150 } while (dcr_read(up->dcr_host, UART_LSR) & UART_LSR_DR); in nwpserial_interrupt() [all …]
|
/drivers/video/ |
D | xilinxfb.c | 130 dcr_host_t dcr_host; member 160 dcr_write(drvdata->dcr_host, offset, val); in xilinx_fb_out_be32() 393 dcr_unmap(drvdata->dcr_host, drvdata->dcr_len); in xilinxfb_release() 451 drvdata->dcr_host = dcr_map(op->dev.of_node, start, drvdata->dcr_len); in xilinxfb_of_probe() 452 if (!DCR_MAP_OK(drvdata->dcr_host)) { in xilinxfb_of_probe()
|
/drivers/net/ethernet/ibm/emac/ |
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()
|