/u-boot/drivers/mtd/ubi/ |
A D | upd.c | 102 vol->last_eb_bytes = vol->usable_leb_size; in clear_update_marker() 128 ubi_assert(!vol->updating && !vol->changing_leb); in ubi_start_update() 179 ubi_assert(!vol->updating && !vol->changing_leb); in ubi_start_leb_change() 284 count, vol->upd_bytes, vol->upd_received); in ubi_more_update_data() 290 if (vol->upd_received + count > vol->upd_bytes) in ubi_more_update_data() 363 if (vol->upd_received == vol->upd_bytes) { in ubi_more_update_data() 399 count, vol->upd_bytes, vol->upd_received); in ubi_more_leb_change_data() 405 count = vol->upd_bytes - vol->upd_received; in ubi_more_leb_change_data() 413 if (vol->upd_received == vol->upd_bytes) { in ubi_more_leb_change_data() 416 memset(vol->upd_buf + vol->upd_bytes, 0xFF, in ubi_more_leb_change_data() [all …]
|
A D | vmt.c | 233 memcpy(vol->name, req->name, vol->name_len); in ubi_create_volume() 254 vol->used_ebs = vol->reserved_pebs; in ubi_create_volume() 255 vol->last_eb_bytes = vol->usable_leb_size; in ubi_create_volume() 265 vol->last_eb_bytes = vol->usable_leb_size; in ubi_create_volume() 365 struct ubi_volume *vol = desc->vol; in ubi_remove_volume() local 437 struct ubi_volume *vol = desc->vol; in ubi_resize_volume() local 569 struct ubi_volume *vol = re->desc->vol; in ubi_rename_volumes() local 676 if (vol->reserved_pebs < 0 || vol->alignment < 0 || vol->data_pad < 0 || in self_check_volume() 704 if (vol->upd_marker && vol->corrupted) { in self_check_volume() 726 n = strnlen(vol->name, vol->name_len + 1); in self_check_volume() [all …]
|
A D | kapi.c | 180 if (vol->exclusive || vol->writers || vol->readers || in ubi_open_volume() 187 if (vol->metaonly || vol->exclusive) in ubi_open_volume() 196 desc->vol = vol; in ubi_open_volume() 268 if (vol && len == vol->name_len && !strcmp(name, vol->name)) { in ubi_open_volume_nm() 334 struct ubi_volume *vol = desc->vol; in ubi_close_volume() local 378 struct ubi_volume *vol = desc->vol; in leb_read_sanity_check() local 432 struct ubi_volume *vol = desc->vol; in ubi_leb_read() local 472 struct ubi_volume *vol = desc->vol; in ubi_leb_read_sg() local 524 struct ubi_volume *vol = desc->vol; in ubi_leb_write() local 569 struct ubi_volume *vol = desc->vol; in ubi_leb_change() local [all …]
|
A D | vtbl.c | 138 struct ubi_volume *vol = re->desc->vol; in ubi_vtbl_rename_volumes() local 546 if (!vol) 557 memcpy(vol->name, vtbl[i].name, vol->name_len); 558 vol->name[vol->name_len] = '\0'; 587 vol->used_ebs = vol->reserved_pebs; 588 vol->last_eb_bytes = vol->usable_leb_size; 590 (long long)vol->used_ebs * vol->usable_leb_size; 628 if (!vol) 637 vol->used_ebs = vol->reserved_pebs; 638 vol->last_eb_bytes = vol->reserved_pebs; [all …]
|
A D | misc.c | 55 struct ubi_volume *vol = ubi->volumes[vol_id]; in ubi_check_volume() local 57 if (vol->vol_type != UBI_STATIC_VOLUME) in ubi_check_volume() 60 buf = vmalloc(vol->usable_leb_size); in ubi_check_volume() 64 for (i = 0; i < vol->used_ebs; i++) { in ubi_check_volume() 69 if (i == vol->used_ebs - 1) in ubi_check_volume() 70 size = vol->last_eb_bytes; in ubi_check_volume() 72 size = vol->usable_leb_size; in ubi_check_volume() 74 err = ubi_eba_read_leb(ubi, vol, i, buf, 0, size, 1); in ubi_check_volume()
|
A D | eba.c | 1060 struct ubi_volume *vol; in ubi_eba_copy_leb() local 1083 vol = ubi->volumes[idx]; in ubi_eba_copy_leb() 1085 if (!vol) { in ubi_eba_copy_leb() 1299 struct ubi_volume *vol; in self_check_eba() local 1316 vol = ubi->volumes[i]; in self_check_eba() 1317 if (!vol) in self_check_eba() 1391 struct ubi_volume *vol; in ubi_eba_init() local 1405 vol = ubi->volumes[i]; in ubi_eba_init() 1406 if (!vol) in ubi_eba_init() 1411 vol->eba_tbl = kmalloc(vol->reserved_pebs * sizeof(int), in ubi_eba_init() [all …]
|
A D | debug.c | 102 printf("\tvol_id %d\n", vol->vol_id); in ubi_dump_vol_info() 104 printf("\talignment %d\n", vol->alignment); in ubi_dump_vol_info() 105 printf("\tdata_pad %d\n", vol->data_pad); in ubi_dump_vol_info() 106 printf("\tvol_type %d\n", vol->vol_type); in ubi_dump_vol_info() 107 printf("\tname_len %d\n", vol->name_len); in ubi_dump_vol_info() 109 printf("\tused_ebs %d\n", vol->used_ebs); in ubi_dump_vol_info() 116 if (vol->name_len <= UBI_VOL_NAME_MAX && in ubi_dump_vol_info() 117 strnlen(vol->name, vol->name_len + 1) == vol->name_len) { in ubi_dump_vol_info() 118 printf("\tname %s\n", vol->name); in ubi_dump_vol_info() 121 vol->name[0], vol->name[1], vol->name[2], in ubi_dump_vol_info() [all …]
|
A D | ubi.h | 363 struct ubi_volume *vol; member 811 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol); 812 void ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol); 815 int ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, 835 int ubi_destroy_gluebi(struct ubi_volume *vol); 836 void ubi_gluebi_updated(struct ubi_volume *vol); 838 #define ubi_create_gluebi(ubi, vol) 0 argument 840 static inline int ubi_destroy_gluebi(struct ubi_volume *vol) in ubi_destroy_gluebi() argument 845 #define ubi_gluebi_updated(vol) argument 849 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, [all …]
|
A D | fastmap.c | 1118 struct ubi_volume *vol; in ubi_write_fastmap() local 1264 vol = ubi->volumes[i]; in ubi_write_fastmap() 1266 if (!vol) in ubi_write_fastmap() 1276 fvh->vol_id = cpu_to_be32(vol->vol_id); in ubi_write_fastmap() 1277 fvh->vol_type = vol->vol_type; in ubi_write_fastmap() 1278 fvh->used_ebs = cpu_to_be32(vol->used_ebs); in ubi_write_fastmap() 1279 fvh->data_pad = cpu_to_be32(vol->data_pad); in ubi_write_fastmap() 1282 ubi_assert(vol->vol_type == UBI_DYNAMIC_VOLUME || in ubi_write_fastmap() 1283 vol->vol_type == UBI_STATIC_VOLUME); in ubi_write_fastmap() 1289 for (j = 0; j < vol->reserved_pebs; j++) in ubi_write_fastmap() [all …]
|
A D | build.c | 184 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument 190 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify() 821 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize() local 822 int err, old_reserved_pebs = vol->reserved_pebs; in autoresize() 849 desc.vol = vol; in autoresize() 861 vol_id, vol->name, old_reserved_pebs, vol->reserved_pebs); in autoresize()
|
A D | debug.h | 57 void ubi_dump_vol_info(const struct ubi_volume *vol);
|
/u-boot/cmd/ |
A D | ubi.c | 192 if (vol && !strcmp(vol->name, volume)) in ubi_find_volume() 193 return vol; in ubi_find_volume() 206 if (vol == NULL) in ubi_remove_vol() 209 printf("Remove UBI volume %s (id %d)\n", vol->name, vol->vol_id); in ubi_remove_vol() 262 if (!vol) { in ubi_rename_vol() 282 desc.vol = vol; in ubi_rename_vol() 298 if (vol == NULL) in ubi_volume_continue_write() 335 if (vol == NULL) in ubi_volume_begin_write() 338 rsvd_bytes = vol->reserved_pebs * (ubi->leb_size - vol->data_pad); in ubi_volume_begin_write() 368 if (vol == NULL) in ubi_volume_read() [all …]
|
/u-boot/drivers/power/regulator/ |
A D | fan53555.c | 158 u8 vol; in fan53555_regulator_set_value() local 160 vol = (uV - priv->vsel_min) / priv->vsel_step; in fan53555_regulator_set_value() 162 __func__, uV, pdata->vol_reg, vol); in fan53555_regulator_set_value() 164 return pmic_clrsetbits(dev->parent, pdata->vol_reg, GENMASK(6, 0), vol); in fan53555_regulator_set_value()
|
A D | s5m8767.c | 106 desc = param->vol; in reg_get_value() 119 desc = param->vol; in reg_set_value()
|
A D | pfuze100.c | 52 #define PFUZE100_FIXED_REG(_name, base, vol) \ argument 56 .voltage = (vol), \
|
/u-boot/drivers/pinctrl/nxp/ |
A D | pinctrl-mxs.c | 66 u32 *pin_data, val, ma, vol, pull; in mxs_pinctrl_set_state() local 98 vol = CONFIG_TO_VOL(config); in mxs_pinctrl_set_state() 115 debug(" ma: %d, vol: %d, pull: %d\n", ma, vol, pull); in mxs_pinctrl_set_state() 130 if (vol) in mxs_pinctrl_set_state()
|
/u-boot/include/power/ |
A D | s5m8767.h | 75 const struct sec_voltage_desc *vol; member
|
/u-boot/arch/arm/dts/ |
A D | imx6sl.dtsi | 528 anatop-vol-bit-shift = <8>; 529 anatop-vol-bit-width = <5>; 542 anatop-vol-bit-shift = <8>; 543 anatop-vol-bit-width = <5>; 556 anatop-vol-bit-shift = <8>; 557 anatop-vol-bit-width = <5>; 570 anatop-vol-bit-shift = <0>; 571 anatop-vol-bit-width = <5>; 587 anatop-vol-bit-shift = <9>; 588 anatop-vol-bit-width = <5>; [all …]
|
A D | imx6qdl.dtsi | 696 anatop-vol-bit-shift = <8>; 697 anatop-vol-bit-width = <5>; 711 anatop-vol-bit-shift = <8>; 712 anatop-vol-bit-width = <5>; 726 anatop-vol-bit-shift = <8>; 727 anatop-vol-bit-width = <5>; 741 anatop-vol-bit-shift = <0>; 742 anatop-vol-bit-width = <5>; 758 anatop-vol-bit-shift = <9>; 759 anatop-vol-bit-width = <5>; [all …]
|
A D | rk3308-evb.dts | 58 vol-down-key { 64 vol-up-key {
|
A D | imx6sx.dtsi | 610 anatop-vol-bit-shift = <8>; 611 anatop-vol-bit-width = <5>; 625 anatop-vol-bit-shift = <8>; 626 anatop-vol-bit-width = <5>; 640 anatop-vol-bit-shift = <8>; 641 anatop-vol-bit-width = <5>; 655 anatop-vol-bit-shift = <0>; 656 anatop-vol-bit-width = <5>; 671 anatop-vol-bit-shift = <9>; 672 anatop-vol-bit-width = <5>; [all …]
|
A D | imx6ul.dtsi | 567 anatop-vol-bit-shift = <8>; 568 anatop-vol-bit-width = <5>; 582 anatop-vol-bit-shift = <0>; 583 anatop-vol-bit-width = <5>; 599 anatop-vol-bit-shift = <18>; 600 anatop-vol-bit-width = <5>;
|
/u-boot/board/qualcomm/dragonboard410c/ |
A D | readme.txt | 22 8) Enter fastboot (reboot board with vol- button pressed) 39 - PMIC "special" buttons (power, vol-)
|
/u-boot/doc/ |
A D | README.ubi | 15 ubi create[vol] volume [size] [type] - create volume name with size 16 ubi write[vol] address volume size - Write volume from address with size 19 ubi read[vol] address volume [size] - Read volume to address with size 20 ubi remove[vol] volume - Remove volume 245 ubi create[vol] volume [size] [type] [id] [--skipcheck]
|
/u-boot/arch/mips/include/asm/ |
A D | mipsregs.h | 1315 #define ___read_32bit_c0_register(source, sel, vol) \ argument 1318 __asm__ vol( \ 1322 __asm__ vol( \ 1331 #define ___read_64bit_c0_register(source, sel, vol) \ argument 1334 __res = __read_64bit_c0_split(source, sel, vol); \ 1336 __asm__ vol( \ 1343 __asm__ vol( \ 1439 #define __read_64bit_c0_split(source, sel, vol) \ argument 1444 __asm__ vol( \ 1453 __asm__ vol( \
|