Home
last modified time | relevance | path

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

/external/u-boot/tools/env/
Dfw_env.c1160 static int flash_write(int fd_current, int fd_target, int dev_target) in flash_write() argument
1181 DEVOFFSET(dev_target), DEVNAME(dev_target)); in flash_write()
1184 if (IS_UBI(dev_target)) { in flash_write()
1190 rc = flash_write_buf(dev_target, fd_target, environment.image, in flash_write()
1268 int fd_target = -1, rc, dev_target; in flash_io_write() local
1273 dev_target = !dev_current; in flash_io_write()
1275 fd_target = open(DEVNAME(dev_target), O_RDWR); in flash_io_write()
1279 DEVNAME(dev_target), strerror(errno)); in flash_io_write()
1292 dev_target = dev_current; in flash_io_write()
1297 rc = flash_write(fd_current, fd_target, dev_target); in flash_io_write()
[all …]