Searched refs:out_be16 (Results 1 - 25 of 43) sorted by relevance

12

/u-boot/arch/powerpc/cpu/mpc8xx/
H A Dmicropatch_usb_sof.c27 out_be16(&cp->cp_rccr, 0);
32 out_be16(&cp->cp_cpmcr1, 0);
33 out_be16(&cp->cp_cpmcr2, 0);
34 out_be16(&cp->cp_cpmcr3, 0);
35 out_be16(&cp->cp_cpmcr4, 0);
37 out_be16(&cp->cp_rccr, 9);
H A Dmicropatch_smc.c89 out_be16(&cp->cp_rccr, 0);
95 out_be16(&smp->smc_rpbase, CONFIG_SMC1_RPBASE);
97 out_be16(&smp->smc_rpbase, CONFIG_SMC2_RPBASE);
99 out_be16(&cp->cp_cpmcr1, 0x8080);
100 out_be16(&cp->cp_cpmcr2, 0x8088);
101 out_be16(&cp->cp_cpmcr3, 0);
102 out_be16(&cp->cp_cpmcr4, 0);
104 out_be16(&cp->cp_rccr, 2);
H A Dcpu_init.c40 out_be16(&immr->im_sit.sit_tbscr, CONFIG_SYS_TBSCR | TBSCR_TBE);
48 out_be16(&immr->im_sit.sit_piscr, CONFIG_SYS_PISCR);
184 out_be16(&immr->im_cpm.cp_cpcr, CPM_CR_RST | CPM_CR_FLG);
H A Dinterrupts.c118 out_be16(&immr->im_cpic.cpic_civr, 1);
/u-boot/board/freescale/m5272c3/
H A Dm5272c3.c27 out_be16(&sdp->sdram_sdtr, 0xf539);
28 out_be16(&sdp->sdram_sdcr, 0x4211);
/u-boot/arch/m68k/cpu/mcf530x/
H A Dcpu_init.c44 out_be16(&csm->csar0, CFG_SYS_CS0_BASE);
46 out_be16(&csm->cscr0, CFG_SYS_CS0_CTRL);
53 out_be16(&csm->csar1, CFG_SYS_CS1_BASE);
55 out_be16(&csm->cscr1, CFG_SYS_CS1_CTRL);
60 out_be16(&csm->csar2, CFG_SYS_CS2_BASE);
62 out_be16(&csm->cscr2, CFG_SYS_CS2_CTRL);
67 out_be16(&csm->csar3, CFG_SYS_CS3_BASE);
69 out_be16(&csm->cscr3, CFG_SYS_CS3_CTRL);
74 out_be16(&csm->csar4, CONFIG_SYS_CS4_BASE);
76 out_be16(
[all...]
/u-boot/arch/m68k/cpu/mcf52x2/
H A Dcpu.c138 out_be16(&wdp->wdog_wrrr, 0);
142 out_be16(&wdp->wdog_wrrr, 1);
183 out_be16(&wdt->wdog_wcr, 0);
191 out_be16(&wdt->wdog_wcr, 0);
193 out_be16(&wdt->wdog_wirr, 0);
195 out_be16(&wdt->wdog_wrrr, 0);
206 out_be16(&wdt->wdog_wirr, 0);
209 out_be16(&wdt->wdog_wrrr,
213 out_be16(&wdt->wdog_wcr, 0);
252 out_be16(
[all...]
H A Dcpu_init.c100 out_be16(&wdg->cr, 0);
341 out_be16(&sysctrl->sc_scr, CFG_SYS_SCR);
342 out_be16(&sysctrl->sc_spr, CFG_SYS_SPR);
346 out_be16(&gpio->gpio_paddr, CFG_SYS_PADDR);
347 out_be16(&gpio->gpio_padat, CFG_SYS_PADAT);
349 out_be16(&gpio->gpio_pbddr, CFG_SYS_PBDDR);
350 out_be16(&gpio->gpio_pbdat, CFG_SYS_PBDAT);
467 out_be16(&wdog_reg->wcr, 0);
/u-boot/board/sysam/amcore/
H A Damcore.c25 out_be16(&sim->par, 0x300);
29 out_be16(&gpio->paddr, 0xfcff);
30 out_be16(&gpio->padat, 0x0c00);
84 out_be16(&dc->dcr, 0x8200 | RC);
/u-boot/drivers/serial/
H A Dserial_mpc8xx.c127 out_be16(&rtx->rxbd.cbd_sc, 0);
130 out_be16(&rtx->txbd.cbd_sc, 0);
133 out_be16(&up->smc_rbase, CPM_SERIAL_BASE);
134 out_be16(&up->smc_tbase, CPM_SERIAL_BASE + sizeof(cbd_t));
141 out_be16(&sp->smc_smcmr, smcr_mk_clen(9) | SMCMR_SM_UART);
156 out_be16(&up->smc_mrblr, CONFIG_SYS_SMC_RXBUFLEN);
157 out_be16(&up->smc_maxidl, CONFIG_SYS_MAXIDLE);
162 out_be16(&up->smc_rbptr, CPM_SERIAL_BASE);
163 out_be16(&up->smc_tbptr, CPM_SERIAL_BASE + sizeof(cbd_t));
164 out_be16(
[all...]
/u-boot/drivers/spi/
H A Dmpc8xx_spi.c87 out_be16(&spi->spi_rbptr, 0);
88 out_be16(&spi->spi_rbc, 0);
92 out_be16(&spi->spi_tbptr, 0);
93 out_be16(&spi->spi_tbc, 0);
98 out_be16(&spi->spi_rbase, CPM_SPI_BASE_RX);
99 out_be16(&spi->spi_tbase, CPM_SPI_BASE_TX);
110 out_be16(&spi->spi_rbptr, CPM_SPI_BASE_RX);
111 out_be16(&spi->spi_tbptr, CPM_SPI_BASE_TX);
118 out_be16(&cp->cp_cpcr, mk_cr_cmd(CPM_CR_CH_SPI, CPM_CR_INIT_TRX) |
130 out_be16(
[all...]
/u-boot/drivers/net/qe/
H A Duccf.c18 out_be16(&uccf->uf_regs->utodr, UCC_FAST_TOD);
442 out_be16(&uf_regs->urfs, UCC_GETH_URFS_GIGA_INIT);
443 out_be16(&uf_regs->urfet, UCC_GETH_URFET_GIGA_INIT);
444 out_be16(&uf_regs->urfset, UCC_GETH_URFSET_GIGA_INIT);
445 out_be16(&uf_regs->utfs, UCC_GETH_UTFS_GIGA_INIT);
446 out_be16(&uf_regs->utfet, UCC_GETH_UTFET_GIGA_INIT);
447 out_be16(&uf_regs->utftt, UCC_GETH_UTFTT_GIGA_INIT);
470 out_be16(&uf_regs->urfs, UCC_GETH_URFS_INIT);
471 out_be16(&uf_regs->urfet, UCC_GETH_URFET_INIT);
472 out_be16(
[all...]
H A Ddm_qe_uec.c514 out_be16(&uec->p_tx_glbl_pram->temoder, TEMODER_INIT_VALUE);
598 out_be16(&uec->p_rx_glbl_pram->typeorlen, 3072);
611 out_be16(&uec->p_rx_glbl_pram->mrblr, MAX_RXBUF_LEN);
629 out_be16(&uec->p_rx_glbl_pram->mflr, MAX_FRAME_LEN);
631 out_be16(&uec->p_rx_glbl_pram->minflr, MIN_FRAME_LEN);
633 out_be16(&uec->p_rx_glbl_pram->maxd1, MAX_DMA1_LEN);
635 out_be16(&uec->p_rx_glbl_pram->maxd2, MAX_DMA2_LEN);
645 out_be16(&uec->p_rx_glbl_pram->vlantype, 0x8100);
647 out_be16(&uec->p_rx_glbl_pram->vlantci, 0);
/u-boot/drivers/net/
H A Dmpc8xx_fec.c169 out_be16(&rtx->txbd[txIdx].cbd_datlen, length);
228 out_be16(&rtx->rxbd[rxIdx].cbd_datlen, 0);
232 out_be16(&rtx->rxbd[PKTBUFSRX - 1].cbd_sc,
236 out_be16(&rtx->rxbd[rxIdx].cbd_sc, BD_ENET_RX_EMPTY);
390 out_be16(&immr->im_ioport.iop_pdpar, 0x1fff);
391 out_be16(&immr->im_ioport.iop_pddir, 0x1fff);
394 out_be16(&immr->im_ioport.iop_papar, 0xBBFF);
395 out_be16(&immr->im_ioport.iop_padir, 0x04F0);
396 out_be16(&immr->im_ioport.iop_paodr, 0x0000);
400 out_be16(
[all...]
H A Dtsec.c258 out_be16(&priv->txbd[priv->tx_idx].length, length);
260 out_be16(&priv->txbd[priv->tx_idx].status, status |
316 out_be16(&priv->rxbd[priv->rx_idx].length, 0);
322 out_be16(&priv->rxbd[priv->rx_idx].status, status);
407 out_be16(&priv->rxbd[priv->rx_idx].length, 0);
411 out_be16(&priv->rxbd[priv->rx_idx].status, status);
458 out_be16(&priv->rxbd[i].status, RXBD_EMPTY);
459 out_be16(&priv->rxbd[i].length, 0);
463 out_be16(&priv->rxbd[PKTBUFSRX - 1].status, status | RXBD_WRAP);
467 out_be16(
[all...]
/u-boot/drivers/watchdog/
H A Dmpc8xxx_wdt.c36 out_be16(&priv->base->swsrr, 0x556c); /* write magic1 */
37 out_be16(&priv->base->swsrr, 0xaa39); /* write magic2 */
/u-boot/board/cssi/mcr3000/
H A Dnand.c42 out_be16(&immr->im_ioport.iop_pddat, pddat);
/u-boot/board/freescale/m5235evb/
H A Dm5235evb.c58 out_be16(&sdram->dcr, SDRAMC_DCR_RTIM_9CLKS |
/u-boot/board/freescale/m5275evb/
H A Dm5275evb.c35 out_be16(&gpio_reg->par_sdram, 0x3FF);
/u-boot/arch/m68k/cpu/mcf5445x/
H A Dcpu_init.c108 out_be16(&scm->cwcr, 0);
164 out_be16(&gpio->pcr_b, 0x003C);
184 out_be16(&gpio->pcr_h, 0xF000);
190 out_be16(&gpio->pcr_e, 0x0003);
191 out_be16(&gpio->pcr_f, 0xC000);
/u-boot/arch/m68k/cpu/mcf523x/
H A Dcpu_init.c25 #define out_be_fbcs_reg out_be16
46 out_be16(&wdog->cr, 0);
/u-boot/arch/m68k/include/asm/
H A Dio.h36 #define writew(b,addr) out_be16((volatile u16 *)(addr),(b))
57 #define outw(val, port) out_be16((u16 *)((port)+_IO_BASE), (val))
186 static inline void out_be16(volatile u16 * addr, int val) function
/u-boot/board/cssi/cmpc885/
H A Dsdram.c89 out_be16(&memctl->memc_mptpr, MPTPR_PTP_DIV32);
/u-boot/board/keymile/common/
H A Dqrio.c145 out_be16(qrio_base + WDMASK_OFF, wdmask);
164 out_be16(qrio_base + PRST_OFF, prst);
/u-boot/arch/m68k/cpu/mcf532x/
H A Dspeed.c104 out_be16(&ccm->cdr, CCM_CDR_LPDIV(div) | CCM_CDR_SSIDIV(temp));

Completed in 318 milliseconds

12