Searched refs:olen (Results 1 – 5 of 5) sorted by relevance
/u-boot/cmd/ |
A D | setexpr.c | 143 const char *old, int olen, const char *new, int nlen) in substitute() argument 145 char *p = memstr(string, *slen, old, olen); in substitute() 151 (long)(p - string), olen, nlen); in substitute() 154 if (*slen + nlen - olen > ssize) { in substitute() 160 if (olen != nlen) { in substitute() 163 len = (olen > nlen) ? olen : nlen; in substitute() 169 memmove(p + nlen, p + olen, tail); in substitute() 175 *slen += nlen - olen; in substitute() 197 int i, olen; in setexpr_regex_sub() local 227 olen = caps[0].len; in setexpr_regex_sub() [all …]
|
A D | i2c.c | 473 uint olen; in do_i2c_olen() local 486 olen = simple_strtoul(argv[2], NULL, 16); in do_i2c_olen() 487 ret = i2c_set_chip_offset_len(dev, olen); in do_i2c_olen() 1984 U_BOOT_CMD_MKENT(olen, 2, 1, do_i2c_olen, "", ""),
|
/u-boot/drivers/i2c/ |
A D | fsl_i2c.c | 409 int olen, u8 *data, int dlen) in __i2c_read() argument 423 if (olen < 0) { in __i2c_read() 427 if (ret != -olen) in __i2c_read() 434 if ((!dlen || olen > 0) && in __i2c_read() 436 __i2c_write_data(base, offset, olen) == olen) in __i2c_read() 440 olen ? 1 : 0) != 0) in __i2c_read() 464 __i2c_write_data(base, offset, olen) == olen) { in __i2c_write() 513 int olen, u8 *data, int dlen) in fsl_i2c_read() argument 518 olen, data, dlen); in fsl_i2c_read() 522 int olen, u8 *data, int dlen) in fsl_i2c_write() argument [all …]
|
/u-boot/drivers/spi/ |
A D | atcspi200_spi.c | 142 int i,olen=0; in __atcspi200_spi_start() local 154 olen = ns->tran_len; in __atcspi200_spi_start() 155 tc |= (ns->cmd_len+olen-1) << WCNT_OFFSET; in __atcspi200_spi_start()
|
/u-boot/scripts/dtc/libfdt/ |
A D | fdt_ro.c | 16 int olen; in fdt_nodename_eq_() local 17 const char *p = fdt_get_name(fdt, offset, &olen); in fdt_nodename_eq_() 19 if (!p || (fdt_chk_extra() && olen < len)) in fdt_nodename_eq_()
|
Completed in 12 milliseconds