Home
last modified time | relevance | path

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

/external/u-boot/drivers/spi/
Dmxs_spi.c92 struct mxs_ssp_regs *ssp_regs = mxs_slave->regs; in spi_claim_bus() local
95 mxs_reset_block(&ssp_regs->hw_ssp_ctrl0_reg); in spi_claim_bus()
99 &ssp_regs->hw_ssp_ctrl0); in spi_claim_bus()
104 writel(reg, &ssp_regs->hw_ssp_ctrl1); in spi_claim_bus()
106 writel(0, &ssp_regs->hw_ssp_cmd0); in spi_claim_bus()
117 static void mxs_spi_start_xfer(struct mxs_ssp_regs *ssp_regs) in mxs_spi_start_xfer() argument
119 writel(SSP_CTRL0_LOCK_CS, &ssp_regs->hw_ssp_ctrl0_set); in mxs_spi_start_xfer()
120 writel(SSP_CTRL0_IGNORE_CRC, &ssp_regs->hw_ssp_ctrl0_clr); in mxs_spi_start_xfer()
123 static void mxs_spi_end_xfer(struct mxs_ssp_regs *ssp_regs) in mxs_spi_end_xfer() argument
125 writel(SSP_CTRL0_LOCK_CS, &ssp_regs->hw_ssp_ctrl0_clr); in mxs_spi_end_xfer()
[all …]
Dlpc32xx_ssp.c17 struct ssp_regs { struct
41 struct ssp_regs *regs; argument
88 lslave->regs = (struct ssp_regs *)SSP0_BASE; in spi_setup_slave()
/external/u-boot/drivers/mmc/
Dmxsmmc.c45 struct mxs_ssp_regs *ssp_regs = priv->regs; in mxsmmc_cd() local
50 return !(readl(&ssp_regs->hw_ssp_status) & SSP_STATUS_CARD_DETECT); in mxsmmc_cd()
55 struct mxs_ssp_regs *ssp_regs = priv->regs; in mxsmmc_send_cmd_pio() local
64 reg = readl(&ssp_regs->hw_ssp_status); in mxsmmc_send_cmd_pio()
66 *data_ptr++ = readl(&ssp_regs->hw_ssp_data); in mxsmmc_send_cmd_pio()
76 reg = readl(&ssp_regs->hw_ssp_status); in mxsmmc_send_cmd_pio()
78 writel(*data_ptr++, &ssp_regs->hw_ssp_data); in mxsmmc_send_cmd_pio()
138 struct mxs_ssp_regs *ssp_regs = priv->regs; in mxsmmc_send_cmd() local
150 reg = readl(&ssp_regs->hw_ssp_status); in mxsmmc_send_cmd()
181 writel(SSP_CTRL1_DMA_ENABLE, &ssp_regs->hw_ssp_ctrl1_clr); in mxsmmc_send_cmd()
[all …]
/external/u-boot/board/spear/x600/
Dfpga.c77 struct ssp_regs *ssp = (struct ssp_regs *)CONFIG_SSP2_BASE; in fpga_done_fn()
133 struct ssp_regs *ssp = (struct ssp_regs *)CONFIG_SSP2_BASE; in fpga_wr_fn()
230 struct ssp_regs *ssp = (struct ssp_regs *)CONFIG_SSP2_BASE; in x600_init_fpga()
/external/u-boot/arch/arm/cpu/arm926ejs/mxs/
Dclock.c274 struct mxs_ssp_regs *ssp_regs; in mxs_set_ssp_busclock() local
280 ssp_regs = mxs_ssp_regs_by_bus(bus); in mxs_set_ssp_busclock()
305 writel(reg, &ssp_regs->hw_ssp_timing); in mxs_set_ssp_busclock()
/external/u-boot/arch/arm/include/asm/arch-spear/
Dspr_ssp.h9 struct ssp_regs { struct