Searched refs:vid_hdr (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/drivers/mtd/ubi/ |
| H A D | eba.c | 499 struct ubi_vid_hdr *vid_hdr; in check_mapping() local 544 vid_hdr = ubi_get_vid_hdr(vidb); in check_mapping() 597 struct ubi_vid_hdr *vid_hdr; in ubi_eba_read_leb() local 808 struct ubi_vid_hdr *vid_hdr; in try_recover_peb() local 830 vid_hdr = ubi_get_vid_hdr(vidb); in try_recover_peb() 850 vid_hdr->copy_flag = 1; in try_recover_peb() 1018 struct ubi_vid_hdr *vid_hdr; in ubi_eba_write_leb() local 1121 struct ubi_vid_hdr *vid_hdr; in ubi_eba_write_leb_st() local 1199 struct ubi_vid_hdr *vid_hdr; in ubi_eba_atomic_leb_change() local 1236 vid_hdr->copy_flag = 1; in ubi_eba_atomic_leb_change() [all …]
|
| H A D | io.c | 477 struct ubi_vid_hdr vid_hdr; in nor_erase_prepare() local 886 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() 890 int compat = vid_hdr->compat; in validate_vid_hdr() 990 ubi_dump_vid_hdr(vid_hdr); in validate_vid_hdr() 1046 ubi_dump_vid_hdr(vid_hdr); in ubi_io_read_vid_hdr() 1060 ubi_dump_vid_hdr(vid_hdr); in ubi_io_read_vid_hdr() 1139 vid_hdr->version = UBI_VERSION; in ubi_io_write_vid_hdr() 1300 ubi_dump_vid_hdr(vid_hdr); in self_check_vid_hdr() 1319 struct ubi_vid_hdr *vid_hdr; in self_check_peb_vid_hdr() local 1329 vid_hdr = ubi_get_vid_hdr(vidb); in self_check_peb_vid_hdr() [all …]
|
| H A D | attach.c | 334 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() 378 ubi_dump_vid_hdr(vid_hdr); in validate_vid_hdr() 411 av->compat = vid_hdr->compat; in add_volume() 472 if (!vid_hdr->copy_flag) { in ubi_compare_lebs() 505 vid_hdr = ubi_get_vid_hdr(vidb); in ubi_compare_lebs() 573 lnum = be32_to_cpu(vid_hdr->lnum); in ubi_add_to_av() 574 sqnum = be64_to_cpu(vid_hdr->sqnum); in ubi_add_to_av() 629 ubi_dump_vid_hdr(vid_hdr); in ubi_add_to_av() 666 be32_to_cpu(vid_hdr->data_size); in ubi_add_to_av() 695 aeb->copy_flag = vid_hdr->copy_flag; in ubi_add_to_av() [all …]
|
| H A D | debug.c | 100 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr) in ubi_dump_vid_hdr() argument 103 pr_err("\tmagic %08x\n", be32_to_cpu(vid_hdr->magic)); in ubi_dump_vid_hdr() 104 pr_err("\tversion %d\n", (int)vid_hdr->version); in ubi_dump_vid_hdr() 105 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr() 106 pr_err("\tcopy_flag %d\n", (int)vid_hdr->copy_flag); in ubi_dump_vid_hdr() 107 pr_err("\tcompat %d\n", (int)vid_hdr->compat); in ubi_dump_vid_hdr() 108 pr_err("\tvol_id %d\n", be32_to_cpu(vid_hdr->vol_id)); in ubi_dump_vid_hdr() 109 pr_err("\tlnum %d\n", be32_to_cpu(vid_hdr->lnum)); in ubi_dump_vid_hdr() 111 pr_err("\tused_ebs %d\n", be32_to_cpu(vid_hdr->used_ebs)); in ubi_dump_vid_hdr() 114 (unsigned long long)be64_to_cpu(vid_hdr->sqnum)); in ubi_dump_vid_hdr() [all …]
|
| H A D | vtbl.c | 290 struct ubi_vid_hdr *vid_hdr; in create_vtbl() local 299 vid_hdr = ubi_get_vid_hdr(vidb); in create_vtbl() 308 vid_hdr->vol_type = UBI_LAYOUT_VOLUME_TYPE; in create_vtbl() 309 vid_hdr->vol_id = cpu_to_be32(UBI_LAYOUT_VOLUME_ID); in create_vtbl() 310 vid_hdr->compat = UBI_LAYOUT_VOLUME_COMPAT; in create_vtbl() 311 vid_hdr->data_size = vid_hdr->used_ebs = in create_vtbl() 312 vid_hdr->data_pad = cpu_to_be32(0); in create_vtbl() 313 vid_hdr->lnum = cpu_to_be32(copy); in create_vtbl() 314 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum); in create_vtbl() 330 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0); in create_vtbl()
|
| H A D | debug.h | 13 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);
|
| H A D | ubi.h | 826 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips); 962 int pnum, const struct ubi_vid_hdr *vid_hdr);
|
| H A D | wl.c | 666 struct ubi_vid_hdr *vid_hdr; local 677 vid_hdr = ubi_get_vid_hdr(vidb); 831 vol_id = be32_to_cpu(vid_hdr->vol_id); 832 lnum = be32_to_cpu(vid_hdr->lnum);
|
| /linux-6.15/drivers/gpu/drm/hyperv/ |
| H A D | hyperv_drm_proto.c | 169 struct synthvid_msg_hdr vid_hdr; member 203 msg->pipe_hdr.size = msg->vid_hdr.size; in hyperv_sendpacket() 224 msg->vid_hdr.type = SYNTHVID_VERSION_REQUEST; in hyperv_negotiate_version() 256 msg->vid_hdr.type = SYNTHVID_VRAM_LOCATION; in hyperv_update_vram_location() 284 msg.vid_hdr.type = SYNTHVID_SITUATION_UPDATE; in hyperv_update_situation() 285 msg.vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in hyperv_update_situation() 323 msg.vid_hdr.type = SYNTHVID_POINTER_POSITION; in hyperv_hide_hw_ptr() 333 msg.vid_hdr.type = SYNTHVID_POINTER_SHAPE; in hyperv_hide_hw_ptr() 361 msg.vid_hdr.type = SYNTHVID_DIRT; in hyperv_update_dirt() 386 msg->vid_hdr.type = SYNTHVID_RESOLUTION_REQUEST; in hyperv_get_supported_resolution() [all …]
|
| /linux-6.15/drivers/video/fbdev/ |
| H A D | hyperv_fb.c | 216 struct synthvid_msg_hdr vid_hdr; member 295 msg->pipe_hdr.size = msg->vid_hdr.size; in synthvid_send() 320 msg.vid_hdr.type = SYNTHVID_SITUATION_UPDATE; in synthvid_send_situ() 321 msg.vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in synthvid_send_situ() 343 msg.vid_hdr.type = SYNTHVID_POINTER_POSITION; in synthvid_send_ptr() 353 msg.vid_hdr.type = SYNTHVID_POINTER_SHAPE; in synthvid_send_ptr() 384 msg.vid_hdr.type = SYNTHVID_DIRT; in synthvid_update() 481 if (msg->vid_hdr.type == SYNTHVID_FEATURE_CHANGE) { in synthvid_recv_sub() 541 msg->vid_hdr.type = SYNTHVID_VERSION_REQUEST; in synthvid_negotiate_ver() 577 msg->vid_hdr.type = SYNTHVID_RESOLUTION_REQUEST; in synthvid_get_supported_resolution() [all …]
|