Home
last modified time | relevance | path

Searched refs:wlen (Results 1 – 6 of 6) sorted by relevance

/rk3399_rockchip-uboot/common/
H A Dcli_readline.c196 wlen = eol_num - num; \
197 putnstr(buf + num, wlen); \
205 unsigned long wlen; in cread_add_char() local
217 wlen = *eol_num - *num; in cread_add_char()
218 if (wlen > 1) in cread_add_char()
219 memmove(&buf[*num+1], &buf[*num], wlen-1); in cread_add_char()
222 putnstr(buf + *num, wlen); in cread_add_char()
224 while (--wlen) in cread_add_char()
228 wlen = 1; in cread_add_char()
230 putnstr(buf + *num, wlen); in cread_add_char()
[all …]
/rk3399_rockchip-uboot/drivers/spi/
H A Drenesas_rpc_spi.c246 u32 wlen = dout ? (bitlen / 8) : 0; in rpc_spi_xfer() local
248 u32 wloop = DIV_ROUND_UP(wlen, 4); in rpc_spi_xfer()
253 if (!wlen || rlen) in rpc_spi_xfer()
256 memcpy(priv->cmdcopy, dout, wlen); in rpc_spi_xfer()
257 priv->cmdlen = wlen; in rpc_spi_xfer()
270 if (wlen || (!rlen && !wlen) || flags == SPI_XFER_ONCE) { in rpc_spi_xfer()
271 if (wlen && flags == SPI_XFER_END) in rpc_spi_xfer()
305 if (wlen && flags == SPI_XFER_END) { in rpc_spi_xfer()
/rk3399_rockchip-uboot/drivers/i2c/
H A Dlpc32xx_i2c.c114 int stat, wlen; in __i2c_read() local
143 wlen = length; in __i2c_read()
145 while (length | wlen) { in __i2c_read()
149 if ((wlen > 0) in __i2c_read()
151 wlen--; in __i2c_read()
153 writel(wlen ? 0 : in __i2c_read()
/rk3399_rockchip-uboot/drivers/mmc/
H A Dftsdc010_mci.c206 int wlen; in ftsdc010_request() local
214 for (wlen = 0; wlen < len && wlen < chip->fifo; ) { in ftsdc010_request()
217 wlen += 4; in ftsdc010_request()
220 len -= wlen; in ftsdc010_request()
/rk3399_rockchip-uboot/fs/ubifs/
H A Dlpt_commit.c371 int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; in write_cnodes() local
411 wlen = offs - from; in write_cnodes()
412 if (wlen) { in write_cnodes()
413 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
414 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
471 wlen = offs - from; in write_cnodes()
472 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
473 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
497 wlen = offs - from; in write_cnodes()
498 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
[all …]
/rk3399_rockchip-uboot/scripts/kconfig/lxdialog/
H A Dutil.c373 int prompt_len, room, wlen; in print_autowrap() local
400 wlen = strlen(word); in print_autowrap()
401 if (wlen > room || in print_autowrap()
402 (newl && wlen < 4 && sp in print_autowrap()
403 && wlen + 1 + strlen(sp) > room in print_autowrap()
405 || wlen + 1 + (sp2 - sp) > room))) { in print_autowrap()