Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 25 of 180) sorted by relevance

12345678

/u-boot/lib/
A Dstrto.c39 cp = _parse_integer_fixup_radix(cp, &base); in simple_strtoul()
41 while (isxdigit(*cp) && (value = isdigit(*cp) ? *cp-'0' : (islower(*cp) in simple_strtoul()
42 ? toupper(*cp) : *cp)-'A'+10) < base) { in simple_strtoul()
44 cp++; in simple_strtoul()
60 len = strlen(cp); in strict_strtoul()
65 if (tail == cp) in strict_strtoul()
79 if (*cp == '-') in simple_strtol()
132 cp = _parse_integer_fixup_radix(cp, &base); in simple_strtoull()
134 while (isxdigit(*cp) && (value = isdigit(*cp) ? *cp - '0' in simple_strtoull()
135 : (islower(*cp) ? toupper(*cp) : *cp) - 'A' + 10) < base) { in simple_strtoull()
[all …]
/u-boot/drivers/spi/
A Dmpc8xx_spi.c36 cpm8xx_t __iomem *cp = &immr->im_cpm; in mpc8xx_spi_probe() local
65 setbits_be32(&cp->cp_pbdir, 0x0000000F); in mpc8xx_spi_probe()
75 clrsetbits_be16(&cp->cp_pbodr, 0x00000007, 0x00000008); in mpc8xx_spi_probe()
110 while (in_be16(&cp->cp_cpcr) & CPM_CR_FLG) in mpc8xx_spi_probe()
115 while (in_be16(&cp->cp_cpcr) & CPM_CR_FLG) in mpc8xx_spi_probe()
133 tbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_TX]; in mpc8xx_spi_probe()
140 out_8(&cp->cp_spim, 0); /* Mask all SPI events */ in mpc8xx_spi_probe()
150 cpm8xx_t __iomem *cp = &immr->im_cpm; in mpc8xx_spi_xfer() local
162 clrbits_be32(&cp->cp_pbdat, 0x0001); in mpc8xx_spi_xfer()
176 out_8(&cp->cp_spim, 0); /* Mask all SPI events */ in mpc8xx_spi_xfer()
[all …]
/u-boot/cmd/
A Dspi.c102 char *cp = 0; in do_spi() local
117 bus = simple_strtoul(argv[1], &cp, 10); in do_spi()
118 if (*cp == ':') { in do_spi()
119 cs = simple_strtoul(cp+1, &cp, 10); in do_spi()
124 if (*cp == '.') in do_spi()
125 mode = simple_strtoul(cp+1, &cp, 10); in do_spi()
126 if (*cp == '@') in do_spi()
127 freq = simple_strtoul(cp+1, &cp, 10); in do_spi()
132 cp = argv[3]; in do_spi()
133 for(j = 0; *cp; j++, cp++) { in do_spi()
[all …]
A Dbootcount.c33 struct cmd_tbl *cp; in do_bootcount() local
42 cp = find_cmd_tbl(argv[0], bootcount_sub, ARRAY_SIZE(bootcount_sub)); in do_bootcount()
43 if (cp) in do_bootcount()
44 return cp->cmd(cmdtp, flag, argc, argv); in do_bootcount()
A Dpmc.c67 const struct cmd_tbl *cp; in do_pmc() local
72 cp = find_cmd_tbl(argv[1], &cmd_pmc_sub[0], ARRAY_SIZE(cmd_pmc_sub)); in do_pmc()
73 if (!cp) in do_pmc()
76 return cp->cmd(cmdtp, flag, argc, argv); in do_pmc()
/u-boot/fs/yaffs2/
A Dyaffs_yaffs2.c256 memset(&cp, 0, sizeof(cp)); in yaffs2_wr_checkpt_validity_marker()
258 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_validity_marker()
271 ok = (yaffs2_checkpt_rd(dev, &cp, sizeof(cp)) == sizeof(cp)); in yaffs2_rd_checkpt_validity_marker()
319 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_dev()
321 ok = (yaffs2_checkpt_wr(dev, &cp, sizeof(cp)) == sizeof(cp)); in yaffs2_wr_checkpt_dev()
346 ok = (yaffs2_checkpt_rd(dev, &cp, sizeof(cp)) == sizeof(cp)); in yaffs2_rd_checkpt_dev()
399 cp->obj_id, cp->variant_type, cp->hdr_chunk, in yaffs2_checkpt_obj_to_obj()
417 cp->obj_id, cp->parent_id, in yaffs2_checkpt_obj_to_obj()
563 cp.obj_id, cp.parent_id, in yaffs2_wr_checkpt_objs()
579 cp.struct_type = sizeof(cp); in yaffs2_wr_checkpt_objs()
[all …]
/u-boot/drivers/usb/gadget/
A Dconfig.c83 struct usb_config_descriptor *cp = buf; in usb_gadget_config_buf() local
90 memcpy(cp, config, sizeof(*cp)); in usb_gadget_config_buf()
102 cp->bLength = USB_DT_CONFIG_SIZE; in usb_gadget_config_buf()
103 cp->bDescriptorType = USB_DT_CONFIG; in usb_gadget_config_buf()
104 put_unaligned_le16(len, &cp->wTotalLength); in usb_gadget_config_buf()
105 cp->bmAttributes |= USB_CONFIG_ATT_ONE; in usb_gadget_config_buf()
/u-boot/drivers/serial/
A Dserial_mpc8xx.c52 out_be32(&cp->cp_brgc1, ((divisor - 1) << 1) | CPM_BRG_EN); in serial_setdivisor()
66 cpm8xx_t __iomem *cp = &(im->im_cpm); in serial_mpc8xx_setbrg() local
74 out_be32(&cp->cp_simode, 0); in serial_mpc8xx_setbrg()
76 serial_setdivisor(cp, baudrate); in serial_mpc8xx_setbrg()
86 cpm8xx_t __iomem *cp = &(im->im_cpm); in serial_mpc8xx_probe() local
91 sp = cp->cp_smc + SMC_INDEX; in serial_mpc8xx_probe()
92 up = (smc_uart_t __iomem *)&cp->cp_dparam[PROFF_SMC]; in serial_mpc8xx_probe()
109 setbits_be32(&cp->cp_pbpar, IOPINS); in serial_mpc8xx_probe()
110 clrbits_be32(&cp->cp_pbdir, IOPINS); in serial_mpc8xx_probe()
111 clrbits_be16(&cp->cp_pbodr, IOPINS); in serial_mpc8xx_probe()
[all …]
/u-boot/include/
A Dexports.h44 unsigned long simple_strtoul(const char *cp, char **endp, unsigned int base);
45 int strict_strtoul(const char *cp, unsigned int base, unsigned long *res);
48 long simple_strtol(const char *cp, char **endp, unsigned int base);
50 unsigned long ustrtoul(const char *cp, char **endp, unsigned int base);
51 unsigned long long ustrtoull(const char *cp, char **endp, unsigned int base);
A Dexception.h13 struct cmd_tbl *cp; in do_exception() local
22 cp = find_cmd_tbl(argv[0], cmd_sub, ARRAY_SIZE(cmd_sub)); in do_exception()
24 if (cp) in do_exception()
25 return cp->cmd(cmdtp, flag, argc, argv); in do_exception()
A Dvsprintf.h13 ulong simple_strtoul(const char *cp, char **endp, unsigned int base);
40 int strict_strtoul(const char *cp, unsigned int base, unsigned long *res);
41 unsigned long long simple_strtoull(const char *cp, char **endp,
43 long simple_strtol(const char *cp, char **endp, unsigned int base);
/u-boot/arch/arm/mach-omap2/
A Dconfig_secure.mk19 "$@ was NOT secured!"; cp $< $@
24 $@ was NOT secured!"; cp $< $@
37 "$@ was NOT secured!"; cp $< $@
42 "$@ was NOT secured!"; cp $< $@
57 cp -f $@ MLO; \
74 cp -f $@ MLO; \
90 cp -f $@ MLO; \
121 cp -f $@ u-boot.img; \
/u-boot/doc/board/amlogic/
A Dodroid-n2.rst63 $ cp $UBOOTDIR/fip/g12b/bl2.bin fip/
64 $ cp $UBOOTDIR/fip/g12b/bl30.bin fip/
65 $ cp $UBOOTDIR/fip/g12b/bl31.img fip/
66 $ cp $UBOOTDIR/fip/g12b/ddr3_1d.fw fip/
67 $ cp $UBOOTDIR/fip/g12b/ddr4_1d.fw fip/
68 $ cp $UBOOTDIR/fip/g12b/ddr4_2d.fw fip/
70 $ cp $UBOOTDIR/fip/g12b/lpddr4_1d.fw fip/
71 $ cp $UBOOTDIR/fip/g12b/lpddr4_2d.fw fip/
72 $ cp $UBOOTDIR/fip/g12b/piei.fw fip/
73 $ cp $UBOOTDIR/fip/g12b/aml_ddr.fw fip/
[all …]
A Dodroid-c4.rst65 $ cp $UBOOTDIR/fip/g12a/bl2.bin fip/
66 $ cp $UBOOTDIR/fip/g12a/bl30.bin fip/
67 $ cp $UBOOTDIR/fip/g12a/bl31.img fip/
68 $ cp $UBOOTDIR/fip/g12a/ddr3_1d.fw fip/
69 $ cp $UBOOTDIR/fip/g12a/ddr4_1d.fw fip/
70 $ cp $UBOOTDIR/fip/g12a/ddr4_2d.fw fip/
72 $ cp $UBOOTDIR/fip/g12a/lpddr3_1d.fw fip/
73 $ cp $UBOOTDIR/fip/g12a/lpddr4_1d.fw fip/
75 $ cp $UBOOTDIR/fip/g12a/piei.fw fip/
76 $ cp $UBOOTDIR/fip/g12a/aml_ddr.fw fip/
[all …]
A Dw400.rst68 $ cp $UBOOTDIR/build/scp_task/bl301.bin fip/
70 $ cp $BRDIR/bootloader/uboot-repo/bl2/bin/g12b/bl2.bin fip/
73 $ cp $FIPDIR/g12b/ddr3_1d.fw fip/
74 $ cp $FIPDIR/g12b/ddr4_1d.fw fip/
75 $ cp $FIPDIR/g12b/ddr4_2d.fw fip/
76 $ cp $FIPDIR/g12b/diag_lpddr4.fw fip/
77 $ cp $FIPDIR/g12b/lpddr4_1d.fw fip/
78 $ cp $FIPDIR/g12b/lpddr4_2d.fw fip/
79 $ cp $FIPDIR/g12b/piei.fw fip/
80 $ cp $FIPDIR/g12b/aml_ddr.fw fip/
[all …]
A Dkhadas-vim3.rst91 $ cp $UBOOTDIR/fip/g12b/bl2.bin fip/
92 $ cp $UBOOTDIR/fip/g12b/bl30.bin fip/
93 $ cp $UBOOTDIR/fip/g12b/bl31.img fip/
94 $ cp $UBOOTDIR/fip/g12b/ddr3_1d.fw fip/
95 $ cp $UBOOTDIR/fip/g12b/ddr4_1d.fw fip/
96 $ cp $UBOOTDIR/fip/g12b/ddr4_2d.fw fip/
98 $ cp $UBOOTDIR/fip/g12b/lpddr3_1d.fw fip/
99 $ cp $UBOOTDIR/fip/g12b/lpddr4_1d.fw fip/
101 $ cp $UBOOTDIR/fip/g12b/piei.fw fip/
102 $ cp $UBOOTDIR/fip/g12b/aml_ddr.fw fip/
[all …]
A Dkhadas-vim3l.rst91 $ cp $UBOOTDIR/fip/g12a/bl2.bin fip/
92 $ cp $UBOOTDIR/fip/g12a/bl30.bin fip/
93 $ cp $UBOOTDIR/fip/g12a/bl31.img fip/
94 $ cp $UBOOTDIR/fip/g12a/ddr3_1d.fw fip/
95 $ cp $UBOOTDIR/fip/g12a/ddr4_1d.fw fip/
96 $ cp $UBOOTDIR/fip/g12a/ddr4_2d.fw fip/
98 $ cp $UBOOTDIR/fip/g12a/lpddr3_1d.fw fip/
99 $ cp $UBOOTDIR/fip/g12a/lpddr4_1d.fw fip/
101 $ cp $UBOOTDIR/fip/g12a/piei.fw fip/
102 $ cp $UBOOTDIR/fip/g12a/aml_ddr.fw fip/
[all …]
A Dsei510.rst63 $ cp $UBOOTDIR/build/scp_task/bl301.bin fip/
65 $ cp $BRDIR/bootloader/uboot-repo/bl2/bin/g12a/bl2.bin fip/
66 $ cp $BRDIR/bootloader/uboot-repo/bl30/bin/g12a/bl30.bin fip/
68 $ cp $FIPDIR/g12a/ddr3_1d.fw fip/
69 $ cp $FIPDIR/g12a/ddr4_1d.fw fip/
70 $ cp $FIPDIR/g12a/ddr4_2d.fw fip/
71 $ cp $FIPDIR/g12a/diag_lpddr4.fw fip/
72 $ cp $FIPDIR/g12a/lpddr4_1d.fw fip/
73 $ cp $FIPDIR/g12a/lpddr4_2d.fw fip/
74 $ cp $FIPDIR/g12a/piei.fw fip/
[all …]
A Dsei610.rst66 $ cp $UBOOTDIR/build/scp_task/bl301.bin fip/
68 $ cp $BRDIR/bootloader/uboot-repo/bl2/bin/g12a/bl2.bin fip/
69 $ cp $BRDIR/bootloader/uboot-repo/bl30/bin/g12a/bl30.bin fip/
71 $ cp $FIPDIR/g12a/ddr3_1d.fw fip/
72 $ cp $FIPDIR/g12a/ddr4_1d.fw fip/
73 $ cp $FIPDIR/g12a/ddr4_2d.fw fip/
74 $ cp $FIPDIR/g12a/diag_lpddr4.fw fip/
75 $ cp $FIPDIR/g12a/lpddr4_1d.fw fip/
76 $ cp $FIPDIR/g12a/lpddr4_2d.fw fip/
77 $ cp $FIPDIR/g12a/piei.fw fip/
[all …]
A Du200.rst68 $ cp $UBOOTDIR/build/scp_task/bl301.bin fip/
70 $ cp $BRDIR/bootloader/uboot-repo/bl2/bin/g12a/bl2.bin fip/
71 $ cp $BRDIR/bootloader/uboot-repo/bl30/bin/g12a/bl30.bin fip/
73 $ cp $FIPDIR/g12a/ddr3_1d.fw fip/
74 $ cp $FIPDIR/g12a/ddr4_1d.fw fip/
75 $ cp $FIPDIR/g12a/ddr4_2d.fw fip/
76 $ cp $FIPDIR/g12a/diag_lpddr4.fw fip/
77 $ cp $FIPDIR/g12a/lpddr4_1d.fw fip/
78 $ cp $FIPDIR/g12a/lpddr4_2d.fw fip/
79 $ cp $FIPDIR/g12a/piei.fw fip/
[all …]
/u-boot/board/siemens/common/
A Dfactoryset.c150 unsigned char *cp, *cp1; in factoryset_read_eeprom() local
239 cp = (uchar *)eeprom_buf + sizeof(hdr); in factoryset_read_eeprom()
242 get_factory_record_val(cp, size, (uchar *)"ETH1", (uchar *)"mac", in factoryset_read_eeprom()
252 ret = get_factory_record_val(cp, size, (uchar *)"WLAN1", (uchar *)"mac", in factoryset_read_eeprom()
266 if (0 <= get_factory_record_val(cp, size, (uchar *)"USBD1", in factoryset_read_eeprom()
273 if (0 <= get_factory_record_val(cp, size, (uchar *)"USBD1", in factoryset_read_eeprom()
283 if (0 <= get_factory_record_val(cp, size, (uchar *)"DISP1", in factoryset_read_eeprom()
289 if (0 <= get_factory_record_val(cp, size, (uchar *)"DEV", in factoryset_read_eeprom()
294 if (0 <= get_factory_record_val(cp, size, (uchar *)"DEV", in factoryset_read_eeprom()
302 if (0 <= get_factory_record_val(cp, size, (uchar *)"DEV", in factoryset_read_eeprom()
[all …]
/u-boot/drivers/mtd/
A Dpic32_flash.c231 uchar *cp; in write_buff() local
240 for (i = 0, cp = (uchar *)dst; i < l; ++i, ++cp) in write_buff()
241 tmp_le |= *cp << (i * 8); in write_buff()
243 for (; (i < 4) && (cnt > 0); ++i, ++src, --cnt, ++cp) in write_buff()
246 for (; (cnt == 0) && (i < 4); ++i, ++cp) in write_buff()
247 tmp_le |= *cp << (i * 8); in write_buff()
274 for (i = 0, cp = (uchar *)dst; (i < 4) && (cnt > 0); ++i, ++cp) { in write_buff()
279 for (; i < 4; ++i, ++cp) in write_buff()
280 tmp_le |= *cp << (i * 8); in write_buff()
/u-boot/fs/ext4/
A Dcrc16.c56 const unsigned char *cp = buffer; in ext2fs_crc16() local
60 crc16_table[(crc ^ *cp++) & 0xffU]) & 0x0000ffffU; in ext2fs_crc16()
/u-boot/fs/zfs/
A Dzfs_sha256.c77 SHA256Transform(uint32_t *H, const uint8_t *cp) in SHA256Transform() argument
81 for (t = 0; t < 16; t++, cp += 4) in SHA256Transform()
82 W[t] = (cp[0] << 24) | (cp[1] << 16) | (cp[2] << 8) | cp[3]; in SHA256Transform()
/u-boot/doc/board/freescale/
A Dimx8mp_evk.rst42 $ cp ../imx-atf/build/imx8mp/release/bl31.bin ./build/bl31.bin
43 …$ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_1d_dmem_202006.bin ./build/lpddr4…
44 …$ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_1d_imem_202006.bin ./build/lpddr4…
45 …$ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_2d_dmem_202006.bin ./build/lpddr4…
46 …$ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_2d_imem_202006.bin ./build/lpddr4…

Completed in 31 milliseconds

12345678