Searched refs:out_be16 (Results 1 - 25 of 43) sorted by last modified time

12

/u-boot/include/
H A Dfsl_ifc.h31 #define ifc_out16(a, v) out_be16(a, v)
/u-boot/drivers/watchdog/
H A Dmpc8xxx_wdt.c35 out_be16(&priv->base->swsrr, 0x556c); /* write magic1 */
36 out_be16(&priv->base->swsrr, 0xaa39); /* write magic2 */
/u-boot/drivers/spi/
H A Dmpc8xx_spi.c86 out_be16(&spi->spi_rbptr, 0);
87 out_be16(&spi->spi_rbc, 0);
91 out_be16(&spi->spi_tbptr, 0);
92 out_be16(&spi->spi_tbc, 0);
97 out_be16(&spi->spi_rbase, CPM_SPI_BASE_RX);
98 out_be16(&spi->spi_tbase, CPM_SPI_BASE_TX);
109 out_be16(&spi->spi_rbptr, CPM_SPI_BASE_RX);
110 out_be16(&spi->spi_tbptr, CPM_SPI_BASE_TX);
117 out_be16(&cp->cp_cpcr, mk_cr_cmd(CPM_CR_CH_SPI, CPM_CR_INIT_TRX) |
129 out_be16(
[all...]
/u-boot/drivers/serial/
H A Dserial_mpc8xx.c126 out_be16(&rtx->rxbd.cbd_sc, 0);
129 out_be16(&rtx->txbd.cbd_sc, 0);
132 out_be16(&up->smc_rbase, CPM_SERIAL_BASE);
133 out_be16(&up->smc_tbase, CPM_SERIAL_BASE + sizeof(cbd_t));
140 out_be16(&sp->smc_smcmr, smcr_mk_clen(9) | SMCMR_SM_UART);
155 out_be16(&up->smc_mrblr, CONFIG_SYS_SMC_RXBUFLEN);
156 out_be16(&up->smc_maxidl, CONFIG_SYS_MAXIDLE);
161 out_be16(&up->smc_rbptr, CPM_SERIAL_BASE);
162 out_be16(&up->smc_tbptr, CPM_SERIAL_BASE + sizeof(cbd_t));
163 out_be16(
[all...]
/u-boot/drivers/net/
H A Dtsec.c257 out_be16(&priv->txbd[priv->tx_idx].length, length);
259 out_be16(&priv->txbd[priv->tx_idx].status, status |
315 out_be16(&priv->rxbd[priv->rx_idx].length, 0);
321 out_be16(&priv->rxbd[priv->rx_idx].status, status);
406 out_be16(&priv->rxbd[priv->rx_idx].length, 0);
410 out_be16(&priv->rxbd[priv->rx_idx].status, status);
457 out_be16(&priv->rxbd[i].status, RXBD_EMPTY);
458 out_be16(&priv->rxbd[i].length, 0);
462 out_be16(&priv->rxbd[PKTBUFSRX - 1].status, status | RXBD_WRAP);
466 out_be16(
[all...]
H A Dmpc8xx_fec.c168 out_be16(&rtx->txbd[txIdx].cbd_datlen, length);
227 out_be16(&rtx->rxbd[rxIdx].cbd_datlen, 0);
231 out_be16(&rtx->rxbd[PKTBUFSRX - 1].cbd_sc,
235 out_be16(&rtx->rxbd[rxIdx].cbd_sc, BD_ENET_RX_EMPTY);
389 out_be16(&immr->im_ioport.iop_pdpar, 0x1fff);
390 out_be16(&immr->im_ioport.iop_pddir, 0x1fff);
393 out_be16(&immr->im_ioport.iop_papar, 0xBBFF);
394 out_be16(&immr->im_ioport.iop_padir, 0x04F0);
395 out_be16(&immr->im_ioport.iop_paodr, 0x0000);
399 out_be16(
[all...]
/u-boot/drivers/net/qe/
H A Duccf.c19 out_be16(&uccf->uf_regs->utodr, UCC_FAST_TOD);
443 out_be16(&uf_regs->urfs, UCC_GETH_URFS_GIGA_INIT);
444 out_be16(&uf_regs->urfet, UCC_GETH_URFET_GIGA_INIT);
445 out_be16(&uf_regs->urfset, UCC_GETH_URFSET_GIGA_INIT);
446 out_be16(&uf_regs->utfs, UCC_GETH_UTFS_GIGA_INIT);
447 out_be16(&uf_regs->utfet, UCC_GETH_UTFET_GIGA_INIT);
448 out_be16(&uf_regs->utftt, UCC_GETH_UTFTT_GIGA_INIT);
471 out_be16(&uf_regs->urfs, UCC_GETH_URFS_INIT);
472 out_be16(&uf_regs->urfet, UCC_GETH_URFET_INIT);
473 out_be16(
[all...]
H A Ddm_qe_uec.c513 out_be16(&uec->p_tx_glbl_pram->temoder, TEMODER_INIT_VALUE);
597 out_be16(&uec->p_rx_glbl_pram->typeorlen, 3072);
610 out_be16(&uec->p_rx_glbl_pram->mrblr, MAX_RXBUF_LEN);
628 out_be16(&uec->p_rx_glbl_pram->mflr, MAX_FRAME_LEN);
630 out_be16(&uec->p_rx_glbl_pram->minflr, MIN_FRAME_LEN);
632 out_be16(&uec->p_rx_glbl_pram->maxd1, MAX_DMA1_LEN);
634 out_be16(&uec->p_rx_glbl_pram->maxd2, MAX_DMA2_LEN);
644 out_be16(&uec->p_rx_glbl_pram->vlantype, 0x8100);
646 out_be16(&uec->p_rx_glbl_pram->vlantci, 0);
/u-boot/drivers/i2c/
H A Docores_i2c.c103 out_be16(i2c->base + (reg << i2c->reg_shift), value);
/u-boot/drivers/core/
H A Dregmap.c521 out_be16(addr, *val);
/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/board/keymile/common/
H A Dqrio.c145 out_be16(qrio_base + WDMASK_OFF, wdmask);
164 out_be16(qrio_base + PRST_OFF, prst);
/u-boot/board/freescale/m5275evb/
H A Dm5275evb.c35 out_be16(&gpio_reg->par_sdram, 0x3FF);
/u-boot/board/freescale/m5272c3/
H A Dm5272c3.c27 out_be16(&sdp->sdram_sdtr, 0xf539);
28 out_be16(&sdp->sdram_sdcr, 0x4211);
/u-boot/board/freescale/m5235evb/
H A Dm5235evb.c57 out_be16(&sdram->dcr, SDRAMC_DCR_RTIM_9CLKS |
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dsoc.c190 out_be16((phy) + SCFG_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_1); \
191 out_be16((phy) + SCFG_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_2); \
192 out_be16((phy) + SCFG_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_3); \
193 out_be16((phy) + SCFG_USB_PHY_RX_OVRD_IN_HI, USB_PHY_RX_EQ_VAL_4)
/u-boot/board/cssi/mcr3000/
H A Dmcr3000.c96 out_be16(&memctl->memc_mptpr, 0x0200);
H A Dnand.c42 out_be16(&immr->im_ioport.iop_pddat, pddat);
/u-boot/board/cssi/cmpc885/
H A Dcmpc885.c313 out_be16(&iop->iop_pcdat, 0x0000);
314 out_be16(&iop->iop_pddat, 0x0001);
H A Dsdram.c89 out_be16(&memctl->memc_mptpr, MPTPR_PTP_DIV32);
/u-boot/arch/powerpc/cpu/mpc8xx/
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);
/u-boot/drivers/qe/
H A Dqe.c539 out_be16(&qe_immr->cp.cercr,
679 out_be16(&qe_immr->cp.cercr,
747 out_be16(&qe_immrr->cp.cercr,
/u-boot/arch/x86/include/asm/
H A Dio.h94 #define out_be16(a, v) out_arch(w, be16, a, v) macro
/u-boot/arch/sandbox/include/asm/
H A Dio.h72 #define out_be16(a,v) out_arch(w,be16,a,v) macro
136 #define out_be16(a,v) out_arch(w,be16,a,v) macro
/u-boot/arch/riscv/include/asm/
H A Dio.h129 #define out_be16(a, v) out_arch(w, be16, a, v) macro

Completed in 168 milliseconds

12