Home
last modified time | relevance | path

Searched refs:rdata (Results 1 – 23 of 23) sorted by relevance

/u-boot/arch/arm/mach-zynqmp/
A Dpsu_spl_init.c65 int rdata = 0; in prog_reg() local
67 rdata = readl(addr); in prog_reg()
68 rdata = rdata & (~mask); in prog_reg()
69 rdata = rdata | (value << shift); in prog_reg()
70 writel(rdata, addr); in prog_reg()
/u-boot/drivers/ddr/imx/imx8m/
A Dddrphy_utils.c274 unsigned int addr_slot, rdata, tmp, tmp_t; in update_umctl2_rank_space_setting() local
283 ddrc_w2r = rdata & 0x3f; in update_umctl2_rank_space_setting()
290 ddrc_r2w = (rdata >> 8) & 0x3f; in update_umctl2_rank_space_setting()
302 ddrc_w2r = rdata & 0x3f; in update_umctl2_rank_space_setting()
308 tmp_t = (rdata & 0xffffffc0) | ddrc_w2r; in update_umctl2_rank_space_setting()
313 ddrc_r2w = (rdata >> 8) & 0x3f; in update_umctl2_rank_space_setting()
327 ddrc_wr_gap = (rdata >> 8) & 0xf; in update_umctl2_rank_space_setting()
334 ddrc_rd_gap = (rdata >> 4) & 0xf; in update_umctl2_rank_space_setting()
348 rdata = reg32_read(DDRC_RANKCTL(0)); in update_umctl2_rank_space_setting()
349 ddrc_wr_gap = (rdata >> 8) & 0xf; in update_umctl2_rank_space_setting()
[all …]
/u-boot/board/xilinx/zynqmp/zynqmp-zc1751-xm015-dc1/
A Dpsu_init_gpl.c744 unsigned int rdata = 0; in serdes_fixcal_code() local
763 rdata = Xil_In32(0xFD40289C); in serdes_fixcal_code()
764 rdata = rdata & ~0x03; in serdes_fixcal_code()
765 rdata = rdata | 0x1; in serdes_fixcal_code()
766 Xil_Out32(0xFD40289C, rdata); in serdes_fixcal_code()
771 rdata = Xil_In32(0xFD402B1C); in serdes_fixcal_code()
773 } while ((rdata & 0x0000000E) != 0x0000000E); in serdes_fixcal_code()
/u-boot/board/xilinx/zynqmp/zynqmp-zc1751-xm016-dc2/
A Dpsu_init_gpl.c728 unsigned int rdata = 0; in serdes_fixcal_code() local
747 rdata = Xil_In32(0xFD40289C); in serdes_fixcal_code()
748 rdata = rdata & ~0x03; in serdes_fixcal_code()
749 rdata = rdata | 0x1; in serdes_fixcal_code()
750 Xil_Out32(0xFD40289C, rdata); in serdes_fixcal_code()
755 rdata = Xil_In32(0xFD402B1C); in serdes_fixcal_code()
757 } while ((rdata & 0x0000000E) != 0x0000000E); in serdes_fixcal_code()
/u-boot/board/xilinx/zynqmp/zynqmp-zc1751-xm019-dc5/
A Dpsu_init_gpl.c754 unsigned int rdata = 0; in serdes_fixcal_code() local
773 rdata = Xil_In32(0xFD40289C); in serdes_fixcal_code()
774 rdata = rdata & ~0x03; in serdes_fixcal_code()
775 rdata = rdata | 0x1; in serdes_fixcal_code()
776 Xil_Out32(0xFD40289C, rdata); in serdes_fixcal_code()
781 rdata = Xil_In32(0xFD402B1C); in serdes_fixcal_code()
783 } while ((rdata & 0x0000000E) != 0x0000000E); in serdes_fixcal_code()
/u-boot/board/xilinx/zynqmp/zynqmp-zc1751-xm017-dc3/
A Dpsu_init_gpl.c728 unsigned int rdata = 0; in serdes_fixcal_code() local
747 rdata = Xil_In32(0xFD40289C); in serdes_fixcal_code()
748 rdata = rdata & ~0x03; in serdes_fixcal_code()
749 rdata = rdata | 0x1; in serdes_fixcal_code()
750 Xil_Out32(0xFD40289C, rdata); in serdes_fixcal_code()
755 rdata = Xil_In32(0xFD402B1C); in serdes_fixcal_code()
757 } while ((rdata & 0x0000000E) != 0x0000000E); in serdes_fixcal_code()
/u-boot/board/xilinx/zynqmp/zynqmp-zc1751-xm018-dc4/
A Dpsu_init_gpl.c728 unsigned int rdata = 0; in serdes_fixcal_code() local
747 rdata = Xil_In32(0xFD40289C); in serdes_fixcal_code()
748 rdata = rdata & ~0x03; in serdes_fixcal_code()
749 rdata = rdata | 0x1; in serdes_fixcal_code()
750 Xil_Out32(0xFD40289C, rdata); in serdes_fixcal_code()
755 rdata = Xil_In32(0xFD402B1C); in serdes_fixcal_code()
757 } while ((rdata & 0x0000000E) != 0x0000000E); in serdes_fixcal_code()
/u-boot/board/xilinx/zynqmp/zynqmp-zcu111-revA/
A Dpsu_init_gpl.c811 unsigned int rdata = 0; in serdes_fixcal_code() local
830 rdata = Xil_In32(0xFD40289C); in serdes_fixcal_code()
831 rdata = rdata & ~0x03; in serdes_fixcal_code()
832 rdata = rdata | 0x1; in serdes_fixcal_code()
833 Xil_Out32(0xFD40289C, rdata); in serdes_fixcal_code()
838 rdata = Xil_In32(0xFD402B1C); in serdes_fixcal_code()
840 } while ((rdata & 0x0000000E) != 0x0000000E); in serdes_fixcal_code()
/u-boot/board/xilinx/zynqmp/zynqmp-topic-miamimp-xilinx-xdp-v1r1/
A Dpsu_init_gpl.c852 unsigned int rdata = 0; in serdes_fixcal_code() local
870 rdata = Xil_In32(0xFD40289C); in serdes_fixcal_code()
871 rdata = rdata & ~0x03; in serdes_fixcal_code()
872 rdata = rdata | 0x1; in serdes_fixcal_code()
873 Xil_Out32(0xFD40289C, rdata); in serdes_fixcal_code()
879 rdata = Xil_In32(0xFD402B1C); in serdes_fixcal_code()
881 } while ((rdata & 0x0000000E) != 0x0000000E); in serdes_fixcal_code()
/u-boot/drivers/mtd/
A Drenesas_rpc_hf.c208 static int rpc_hf_xfer(void *addr, u64 wdata, u64 *rdata, in rpc_hf_xfer() argument
253 *rdata = be64_to_cpu(readq(rpc_base + RPC_SMRDR0)); in rpc_hf_xfer()
255 *rdata = be32_to_cpu(readl(rpc_base + RPC_SMRDR0)); in rpc_hf_xfer()
272 u64 rdata = 0; in rpc_hf_read_reg() local
275 ret = rpc_hf_xfer(addr, 0, &rdata, size, 0); in rpc_hf_read_reg()
279 return rdata; in rpc_hf_read_reg()
/u-boot/board/xilinx/zynqmp/zynqmp-zcu102-rev1.1/
A Dpsu_init_gpl.c877 unsigned int rdata = 0; in serdes_fixcal_code() local
896 rdata = Xil_In32(0xFD40289C); in serdes_fixcal_code()
897 rdata = rdata & ~0x03; in serdes_fixcal_code()
898 rdata = rdata | 0x1; in serdes_fixcal_code()
899 Xil_Out32(0xFD40289C, rdata); in serdes_fixcal_code()
904 rdata = Xil_In32(0xFD402B1C); in serdes_fixcal_code()
906 } while ((rdata & 0x0000000E) != 0x0000000E); in serdes_fixcal_code()
/u-boot/drivers/clk/altera/
A Dclk-agilex.c159 u32 addr_offset, u32 *rdata, int timeout) in membus_read_pll() argument
173 *rdata = 0; in membus_read_pll()
179 *rdata = CM_REG_READL(plat, CLKMGR_MAINPLL_MEMSTAT); in membus_read_pll()
181 *rdata = CM_REG_READL(plat, CLKMGR_PERPLL_MEMSTAT); in membus_read_pll()
183 debug("MEMBUS: Read 0x%08x from addr = 0x%08x\n", *rdata, addr); in membus_read_pll()
191 u32 rdata; in membus_pll_configs() local
195 &rdata, MEMBUS_TIMEOUT); in membus_pll_configs()
197 ((rdata & ~membus_pll[i].mask) | membus_pll[i].val), in membus_pll_configs()
/u-boot/board/xilinx/zynqmp/zynqmp-a2197-revA/
A Dpsu_init_gpl.c999 unsigned int rdata = 0; in serdes_fixcal_code() local
1017 rdata = Xil_In32(0xFD40289C); in serdes_fixcal_code()
1018 rdata = rdata & ~0x03; in serdes_fixcal_code()
1019 rdata = rdata | 0x1; in serdes_fixcal_code()
1020 Xil_Out32(0xFD40289C, rdata); in serdes_fixcal_code()
1025 rdata = Xil_In32(0xFD402B1C); in serdes_fixcal_code()
1027 } while ((rdata & 0x0000000E) != 0x0000000E); in serdes_fixcal_code()
/u-boot/drivers/spi/
A Dsh_qspi.c153 u8 *tdata = &dtdata, *rdata = &drdata; in sh_qspi_xfer_common() local
183 rdata = din; in sh_qspi_xfer_common()
212 *rdata = readb(&ss->regs->spdr); in sh_qspi_xfer_common()
214 rdata++; in sh_qspi_xfer_common()
/u-boot/drivers/phy/rockchip/
A Dphy-rockchip-typec.c393 u32 i, rdata; in rockchip_tcphy_cfg_24m() local
410 rdata = readl(priv->reg_base + CMN_DIAG_HSCLK_SEL); in rockchip_tcphy_cfg_24m()
411 rdata &= ~CLK_PLL_MASK; in rockchip_tcphy_cfg_24m()
412 rdata |= CLK_PLL_CONFIG; in rockchip_tcphy_cfg_24m()
413 writel(rdata, priv->reg_base + CMN_DIAG_HSCLK_SEL); in rockchip_tcphy_cfg_24m()
/u-boot/include/
A Dvirtex2.h25 xilinx_rdata_fn rdata; member
A Dspartan2.h22 xilinx_rdata_fn rdata; member
A Dspartan3.h22 xilinx_rdata_fn rdata; member
/u-boot/tools/
A Dkwbimage.h52 uint32_t rdata; member
A Dkwbimage.c928 ext_hdr->rcfg[datai].rdata = in image_create_v0()
929 cpu_to_le32(e->regdata.rdata); in image_create_v0()
1409 el->regdata.rdata = strtoul(value2, NULL, 16); in image_create_config_parse_oneline()
/u-boot/drivers/fpga/
A Dspartan2.c129 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, fn->busy, in spartan2_sp_load()
272 (*fn->rdata) (&(data[bytecount++]), cookie); /* read the data */ in spartan2_sp_dump()
A Dspartan3.c133 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, fn->busy, in spartan3_sp_load()
278 (*fn->rdata) (&(data[bytecount++]), cookie); /* read the data */ in spartan3_sp_dump()
A Dvirtex2.c191 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, in virtex2_slave_pre()
422 (*fn->rdata)(&data[bytecount++], cookie); in virtex2_ssm_dump()

Completed in 53 milliseconds