Searched refs:vid_hdr (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/drivers/mtd/ubi/ |
A D | eba.c | 502 struct ubi_vid_hdr *vid_hdr; in check_mapping() local 547 vid_hdr = ubi_get_vid_hdr(vidb); in check_mapping() 600 struct ubi_vid_hdr *vid_hdr; in ubi_eba_read_leb() local 811 struct ubi_vid_hdr *vid_hdr; in try_recover_peb() local 833 vid_hdr = ubi_get_vid_hdr(vidb); in try_recover_peb() 853 vid_hdr->copy_flag = 1; in try_recover_peb() 1012 struct ubi_vid_hdr *vid_hdr; in ubi_eba_write_leb() local 1115 struct ubi_vid_hdr *vid_hdr; in ubi_eba_write_leb_st() local 1193 struct ubi_vid_hdr *vid_hdr; in ubi_eba_atomic_leb_change() local 1230 vid_hdr->copy_flag = 1; in ubi_eba_atomic_leb_change() [all …]
|
A D | io.c | 465 struct ubi_vid_hdr vid_hdr; in nor_erase_prepare() local 842 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() 846 int compat = vid_hdr->compat; in validate_vid_hdr() 946 ubi_dump_vid_hdr(vid_hdr); in validate_vid_hdr() 1002 ubi_dump_vid_hdr(vid_hdr); in ubi_io_read_vid_hdr() 1016 ubi_dump_vid_hdr(vid_hdr); in ubi_io_read_vid_hdr() 1066 vid_hdr->version = UBI_VERSION; in ubi_io_write_vid_hdr() 1224 ubi_dump_vid_hdr(vid_hdr); in self_check_vid_hdr() 1243 struct ubi_vid_hdr *vid_hdr; in self_check_peb_vid_hdr() local 1253 vid_hdr = ubi_get_vid_hdr(vidb); in self_check_peb_vid_hdr() [all …]
|
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 …]
|
A D | debug.c | 70 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr) in ubi_dump_vid_hdr() argument 73 pr_err("\tmagic %08x\n", be32_to_cpu(vid_hdr->magic)); in ubi_dump_vid_hdr() 74 pr_err("\tversion %d\n", (int)vid_hdr->version); in ubi_dump_vid_hdr() 75 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr() 76 pr_err("\tcopy_flag %d\n", (int)vid_hdr->copy_flag); in ubi_dump_vid_hdr() 77 pr_err("\tcompat %d\n", (int)vid_hdr->compat); in ubi_dump_vid_hdr() 78 pr_err("\tvol_id %d\n", be32_to_cpu(vid_hdr->vol_id)); in ubi_dump_vid_hdr() 79 pr_err("\tlnum %d\n", be32_to_cpu(vid_hdr->lnum)); in ubi_dump_vid_hdr() 81 pr_err("\tused_ebs %d\n", be32_to_cpu(vid_hdr->used_ebs)); in ubi_dump_vid_hdr() 84 (unsigned long long)be64_to_cpu(vid_hdr->sqnum)); in ubi_dump_vid_hdr() [all …]
|
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()
|
A D | debug.h | 13 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);
|
A D | ubi.h | 826 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips); 961 int pnum, const struct ubi_vid_hdr *vid_hdr);
|
A D | wl.c | 654 struct ubi_vid_hdr *vid_hdr; local 665 vid_hdr = ubi_get_vid_hdr(vidb); 819 vol_id = be32_to_cpu(vid_hdr->vol_id); 820 lnum = be32_to_cpu(vid_hdr->lnum);
|
/linux-6.3-rc2/drivers/gpu/drm/hyperv/ |
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.3-rc2/drivers/video/fbdev/ |
A D | hyperv_fb.c | 216 struct synthvid_msg_hdr vid_hdr; member 293 msg->pipe_hdr.size = msg->vid_hdr.size; in synthvid_send() 318 msg.vid_hdr.type = SYNTHVID_SITUATION_UPDATE; in synthvid_send_situ() 319 msg.vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in synthvid_send_situ() 341 msg.vid_hdr.type = SYNTHVID_POINTER_POSITION; in synthvid_send_ptr() 351 msg.vid_hdr.type = SYNTHVID_POINTER_SHAPE; in synthvid_send_ptr() 382 msg.vid_hdr.type = SYNTHVID_DIRT; in synthvid_update() 479 if (msg->vid_hdr.type == SYNTHVID_FEATURE_CHANGE) { in synthvid_recv_sub() 539 msg->vid_hdr.type = SYNTHVID_VERSION_REQUEST; in synthvid_negotiate_ver() 575 msg->vid_hdr.type = SYNTHVID_RESOLUTION_REQUEST; in synthvid_get_supported_resolution() [all …]
|
Completed in 41 milliseconds