Home
last modified time | relevance | path

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

/external/u-boot/disk/
Dpart.c431 int blk_get_device_part_str(const char *ifname, const char *dev_part_str, in blk_get_device_part_str() argument
492 if (!dev_part_str || !strlen(dev_part_str) || in blk_get_device_part_str()
493 !strcmp(dev_part_str, "-")) in blk_get_device_part_str()
494 dev_part_str = env_get("bootdevice"); in blk_get_device_part_str()
497 if (!dev_part_str) { in blk_get_device_part_str()
503 part_str = strchr(dev_part_str, ':'); in blk_get_device_part_str()
505 dup_str = strdup(dev_part_str); in blk_get_device_part_str()
506 dup_str[part_str - dev_part_str] = 0; in blk_get_device_part_str()
510 dev_str = dev_part_str; in blk_get_device_part_str()
532 ifname, dev_part_str); in blk_get_device_part_str()
[all …]
/external/u-boot/include/
Dpart.h171 int blk_get_device_part_str(const char *ifname, const char *dev_part_str,
221 const char *dev_part_str,
257 const char *dev_part_str, in blk_get_device_part_str() argument
Dfs.h27 int fs_set_blk_dev(const char *ifname, const char *dev_part_str, int fstype);
/external/u-boot/drivers/dfu/
Ddfu_mmc.c111 char dev_part_str[8]; in mmc_file_op() local
129 snprintf(dev_part_str, sizeof(dev_part_str), "%d:%d", in mmc_file_op()
132 ret = fs_set_blk_dev("mmc", dev_part_str, fstype); in mmc_file_op()
/external/u-boot/board/gdsys/p1022/
Dcontrolcenterd-id.c890 const char *dev_part_str, int fs_type, in load_key_chunk() argument
899 if (fs_set_blk_dev(ifname, dev_part_str, fs_type)) in load_key_chunk()
915 if (fs_set_blk_dev(ifname, dev_part_str, fs_type)) in load_key_chunk()
/external/u-boot/fs/
Dfs.c336 int fs_set_blk_dev(const char *ifname, const char *dev_part_str, int fstype) in fs_set_blk_dev() argument
357 part = blk_get_device_part_str(ifname, dev_part_str, &fs_dev_desc, in fs_set_blk_dev()