Searched refs:wp (Results 1 - 10 of 10) sorted by relevance

/u-boot/board/cobra5272/
H A Dflash.c319 ulong wp, data; local
334 wp = addr;
339 if ((rc = write_word (info, wp - 1, data)) != 0) {
343 wp += 1;
349 if ((rc = write_word (info, wp, data)) != 0) {
353 wp += 2;
359 *((volatile u8 *) (wp + 1));
360 if ((rc = write_word (info, wp, data)) != 0) {
364 wp += 1;
/u-boot/board/freescale/m5253demo/
H A Dflash.c308 ulong wp, count; local
316 wp = addr;
319 if (wp & 1) {
320 data = *((FPWV *) wp);
323 if ((rc = write_word(info, (FPWV *) wp, data)) != 0)
326 wp++;
338 if ((rc = write_word(info, (FPWV *) wp, data)) != 0)
341 wp += 2;
354 data = *((FPWV *) wp);
358 if ((rc = write_word(info, (FPWV *) wp, dat
[all...]
/u-boot/board/gdsys/common/
H A Dosd.c417 u16 *wp = buffer; local
434 *wp = hextoul(substr, NULL);
437 wp++;
438 if (wp - buffer > base_width)
444 y * base_width + x + k * (wp - buffer);
446 wp - buffer);
/u-boot/arch/arm/include/asm/arch-mxs/
H A Dsys_proto.h14 int mxsmmc_initialize(struct bd_info *bis, int id, int (*wp)(int),
/u-boot/drivers/mtd/
H A Dcfi_flash.c1320 ulong wp; local
1343 wp = (addr & ~(info->portwidth - 1));
1346 aln = addr - wp;
1349 p = (uchar *)wp;
1360 rc = flash_write_cfiword(info, wp, cword);
1364 wp += i;
1378 rc = flash_write_cfiword(info, wp, cword);
1381 wp += info->portwidth;
1387 i = buffered_size - (wp % buffered_size);
1390 rc = flash_write_cfibuffer(info, wp, sr
[all...]
/u-boot/cmd/
H A Dmmc.c70 u8 wp; local
111 wp = ext_csd[EXT_CSD_BOOT_WP_STATUS];
114 switch (wp & 3) {
128 wp >>= 2;
1203 U_BOOT_CMD_MKENT(wp, 2, 0, do_mmc_boot_wp, "", ""),
1281 "mmc wp [PART] - power on write protect boot partitions\n"
/u-boot/drivers/mmc/
H A Dmxsmmc.c159 int mxsmmc_initialize(struct bd_info *bis, int id, int (*wp)(int), argument
184 priv->mmc_is_wp = wp;
H A Dmmc.c51 int wp; local
53 wp = board_mmc_getwp(mmc);
55 if (wp < 0) {
57 wp = mmc->cfg->ops->getwp(mmc);
59 wp = 0;
62 return wp;
/u-boot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c673 else if (of_property_read_bool(ctrl->dev->of_node, "brcm,nand-has-wp"))
675 else if (dev_read_bool(ctrl->dev, "brcm,nand-has-wp"))
1207 static void brcmnand_wp(struct mtd_info *mtd, int wp) argument
1217 if (old_wp != wp) {
1218 dev_dbg(ctrl->dev, "WP %s\n", wp ? "on" : "off");
1219 old_wp = wp;
1233 brcmnand_set_wp(ctrl, wp);
1242 (wp ? 0 : NAND_STATUS_WP), 0);
1245 wp ? "on" : "off");
/u-boot/arch/arm/include/asm/arch-mx31/
H A Dimx-regs.h640 #define CSCR_U(sp, wp, bcd, bcs, psz, pme, sync, dol, \
642 ((sp) << 31 | (wp) << 30 | (bcd) << 28 | (psz) << 22 | (pme) << 21 |\

Completed in 197 milliseconds