/u-boot/arch/arm/mach-zynqmp/ |
A D | psu_spl_init.c | 65 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 D | ddrphy_utils.c | 274 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 D | psu_init_gpl.c | 744 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 D | psu_init_gpl.c | 728 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 D | psu_init_gpl.c | 754 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 D | psu_init_gpl.c | 728 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 D | psu_init_gpl.c | 728 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 D | psu_init_gpl.c | 811 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 D | psu_init_gpl.c | 852 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 D | renesas_rpc_hf.c | 208 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 D | psu_init_gpl.c | 877 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 D | clk-agilex.c | 159 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 D | psu_init_gpl.c | 999 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 D | sh_qspi.c | 153 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 D | phy-rockchip-typec.c | 393 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 D | virtex2.h | 25 xilinx_rdata_fn rdata; member
|
A D | spartan2.h | 22 xilinx_rdata_fn rdata; member
|
A D | spartan3.h | 22 xilinx_rdata_fn rdata; member
|
/u-boot/tools/ |
A D | kwbimage.h | 52 uint32_t rdata; member
|
A D | kwbimage.c | 928 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 D | spartan2.c | 129 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 D | spartan3.c | 133 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 D | virtex2.c | 191 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, in virtex2_slave_pre() 422 (*fn->rdata)(&data[bytecount++], cookie); in virtex2_ssm_dump()
|