Home
last modified time | relevance | path

Searched refs:olen (Results 1 – 5 of 5) sorted by relevance

/rk3399_rockchip-uboot/cmd/
H A Dsetexpr.c85 int olen, /* length of old string */ in substitute() argument
89 char *p = memstr(string, *slen, old, olen); in substitute()
95 (long)(p - string), olen, nlen); in substitute()
98 if (*slen + nlen - olen > ssize) { in substitute()
104 if (olen != nlen) { in substitute()
107 len = (olen > nlen) ? olen : nlen; in substitute()
113 memmove(p + nlen, p + olen, tail); in substitute()
119 *slen += nlen - olen; in substitute()
180 int i, olen; in regex_sub() local
212 olen = caps[0].len; in regex_sub()
[all …]
H A Di2c.c471 uint olen; in do_i2c_olen() local
484 olen = simple_strtoul(argv[2], NULL, 16); in do_i2c_olen()
485 ret = i2c_set_chip_offset_len(dev, olen); in do_i2c_olen()
1972 U_BOOT_CMD_MKENT(olen, 2, 1, do_i2c_olen, "", ""),
/rk3399_rockchip-uboot/drivers/i2c/
H A Dfsl_i2c.c403 __i2c_read(const struct fsl_i2c_base *base, u8 chip_addr, u8 *offset, int olen, in __i2c_read() argument
418 if (olen < 0) { in __i2c_read()
420 ret = __i2c_write_data(base, data, -olen); in __i2c_read()
422 if (ret != -olen) in __i2c_read()
429 if ((!dlen || olen > 0) && in __i2c_read()
431 __i2c_write_data(base, offset, olen) == olen) in __i2c_read()
435 olen ? 1 : 0) != 0) in __i2c_read()
451 __i2c_write(const struct fsl_i2c_base *base, u8 chip_addr, u8 *offset, int olen, in __i2c_write() argument
460 __i2c_write_data(base, offset, olen) == olen) { in __i2c_write()
511 fsl_i2c_read(struct i2c_adapter *adap, u8 chip_addr, uint offset, int olen, in fsl_i2c_read() argument
[all …]
/rk3399_rockchip-uboot/drivers/spi/
H A Datcspi200_spi.c141 int i,olen=0; in __atcspi200_spi_start() local
153 olen = ns->tran_len; in __atcspi200_spi_start()
154 tc |= (ns->cmd_len+olen-1) << WCNT_OFFSET; in __atcspi200_spi_start()
/rk3399_rockchip-uboot/fs/jffs2/
H A Djffs2_nand_1pass.c769 unsigned olen; in jffs2_fill_scan_buf() local
771 olen = len; in jffs2_fill_scan_buf()
772 ret = nand_read(mtd, ofs, &olen, buf); in jffs2_fill_scan_buf()
777 if (olen < len) { in jffs2_fill_scan_buf()
778 printf("Read at 0x%x gave only 0x%x bytes\n", ofs, olen); in jffs2_fill_scan_buf()