Searched refs:dev_part_str (Results 1 – 6 of 6) sorted by relevance
/openbmc/u-boot/disk/ |
H A D | part.c | 431 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()
|
/openbmc/u-boot/drivers/dfu/ |
H A D | dfu_mmc.c | 111 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()
|
/openbmc/u-boot/include/ |
H A D | part.h | 171 int blk_get_device_part_str(const char *ifname, const char *dev_part_str, 236 const char *dev_part_str, in blk_get_device_part_str() argument
|
H A D | fs.h | 27 int fs_set_blk_dev(const char *ifname, const char *dev_part_str, int fstype);
|
/openbmc/u-boot/board/gdsys/p1022/ |
H A D | controlcenterd-id.c | 887 const char *dev_part_str, int fs_type, in load_key_chunk() argument 896 if (fs_set_blk_dev(ifname, dev_part_str, fs_type)) in load_key_chunk() 912 if (fs_set_blk_dev(ifname, dev_part_str, fs_type)) in load_key_chunk()
|
/openbmc/u-boot/fs/ |
H A D | fs.c | 308 int fs_set_blk_dev(const char *ifname, const char *dev_part_str, int fstype) in fs_set_blk_dev() argument 329 part = blk_get_device_part_str(ifname, dev_part_str, &fs_dev_desc, in fs_set_blk_dev()
|