Searched refs:toread (Results 1 – 6 of 6) sorted by relevance
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | exynos_spi.c | 104 int toread; in spi_rx_tx() local 133 toread = in_bytes; in spi_rx_tx() 176 toread -= step; in spi_rx_tx() 179 } else if (!toread) { in spi_rx_tx() 188 toread = in_bytes; in spi_rx_tx() 190 spi_request_bytes(regs, toread, step); in spi_rx_tx()
|
| H A D | rk_spi.c | 420 int toread, towrite; in rockchip_spi_xfer() local 441 toread = todo; in rockchip_spi_xfer() 443 while (toread || towrite) { in rockchip_spi_xfer() 451 if (toread && !(status & SR_RF_EMPT)) { in rockchip_spi_xfer() 456 toread--; in rockchip_spi_xfer()
|
| /rk3399_rockchip-uboot/examples/standalone/ |
| H A D | rkspi.c | 236 int toread, towrite; in rockchip_spi_xfer() local 257 toread = todo; in rockchip_spi_xfer() 259 while (toread || towrite) { in rockchip_spi_xfer() 267 if (toread && !(status & SR_RF_EMPT)) { in rockchip_spi_xfer() 272 toread--; in rockchip_spi_xfer()
|
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | mxc_nand.c | 393 int i, toread; local 400 toread = min_t(int, length, chip->ecc.prepad); 401 if (toread) { 402 chip->read_buf(mtd, bufpoi, toread); 403 bufpoi += toread; 404 length -= toread; 410 toread = min_t(int, length, chip->ecc.postpad); 411 if (toread) { 412 chip->read_buf(mtd, bufpoi, toread); 413 bufpoi += toread; [all …]
|
| H A D | nand_base.c | 2402 int toread = min(oobreadlen, max_oobsize); in nand_do_read_ops() local 2404 if (toread) { in nand_do_read_ops() 2406 oob, ops, toread); in nand_do_read_ops() 2407 oobreadlen -= toread; in nand_do_read_ops() 2511 int i, toread, sndrnd = 0, pos, ret; in nand_read_oob_syndrome() local 2534 toread = min_t(int, length, chunk); in nand_read_oob_syndrome() 2536 ret = nand_read_data_op(chip, bufpoi, toread, false); in nand_read_oob_syndrome() 2540 bufpoi += toread; in nand_read_oob_syndrome() 2541 length -= toread; in nand_read_oob_syndrome()
|
| /rk3399_rockchip-uboot/fs/zfs/ |
| H A D | zfs.c | 775 int toread = min(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); in zap_leaf_array_equal() local 780 if (memcmp(la->la_array, buf + bseen, toread) != 0) in zap_leaf_array_equal() 783 bseen += toread; in zap_leaf_array_equal() 797 int toread = min(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); in zap_leaf_array_get() local 803 memcpy(buf + bseen, la->la_array, toread); in zap_leaf_array_get() 805 bseen += toread; in zap_leaf_array_get()
|