Searched refs:vid_hdr (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/drivers/mtd/ubi/ |
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() 548 found_vol_id = be32_to_cpu(vid_hdr->vol_id); in check_mapping() 549 found_lnum = be32_to_cpu(vid_hdr->lnum); in check_mapping() 600 struct ubi_vid_hdr *vid_hdr; in ubi_eba_read_leb() local 642 vid_hdr = ubi_get_vid_hdr(vidb); in ubi_eba_read_leb() 686 ubi_assert(lnum < be32_to_cpu(vid_hdr->used_ebs)); in ubi_eba_read_leb() 687 ubi_assert(len == be32_to_cpu(vid_hdr->data_size)); in ubi_eba_read_leb() 689 crc = be32_to_cpu(vid_hdr->data_crc); in ubi_eba_read_leb() 811 struct ubi_vid_hdr *vid_hdr; in try_recover_peb() local [all …]
|
D | io.c | 87 const struct ubi_vid_hdr *vid_hdr); 465 struct ubi_vid_hdr vid_hdr; in nor_erase_prepare() local 483 ubi_init_vid_buf(ubi, &vidb, &vid_hdr); in nor_erase_prepare() 484 ubi_assert(&vid_hdr == ubi_get_vid_hdr(&vidb)); in nor_erase_prepare() 840 const struct ubi_vid_hdr *vid_hdr) in validate_vid_hdr() argument 842 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() 843 int copy_flag = vid_hdr->copy_flag; in validate_vid_hdr() 844 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr() 845 int lnum = be32_to_cpu(vid_hdr->lnum); in validate_vid_hdr() 846 int compat = vid_hdr->compat; in validate_vid_hdr() [all …]
|
D | attach.c | 297 struct ubi_vid_hdr *vid_hdr, int ec) in add_fastmap() argument 305 aeb->vol_id = be32_to_cpu(vid_hdr->vol_id); in add_fastmap() 306 aeb->sqnum = be64_to_cpu(vid_hdr->sqnum); in add_fastmap() 331 const struct ubi_vid_hdr *vid_hdr, in validate_vid_hdr() argument 334 int vol_type = vid_hdr->vol_type; in validate_vid_hdr() 335 int vol_id = be32_to_cpu(vid_hdr->vol_id); in validate_vid_hdr() 336 int used_ebs = be32_to_cpu(vid_hdr->used_ebs); in validate_vid_hdr() 337 int data_pad = be32_to_cpu(vid_hdr->data_pad); in validate_vid_hdr() 378 ubi_dump_vid_hdr(vid_hdr); in validate_vid_hdr() 398 const struct ubi_vid_hdr *vid_hdr) in add_volume() argument [all …]
|
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() 80 pr_err("\tdata_size %d\n", be32_to_cpu(vid_hdr->data_size)); in ubi_dump_vid_hdr() 81 pr_err("\tused_ebs %d\n", be32_to_cpu(vid_hdr->used_ebs)); in ubi_dump_vid_hdr() [all …]
|
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()
|
D | debug.h | 13 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);
|
D | ubi.h | 826 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips); 960 int pnum, const struct ubi_vid_hdr *vid_hdr);
|
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-5.19.10/drivers/gpu/drm/hyperv/ |
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() 206 msg->vid_hdr.size + sizeof(struct pipe_msg_hdr), in hyperv_sendpacket() 224 msg->vid_hdr.type = SYNTHVID_VERSION_REQUEST; in hyperv_negotiate_version() 225 msg->vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in hyperv_negotiate_version() 256 msg->vid_hdr.type = SYNTHVID_VRAM_LOCATION; in hyperv_update_vram_location() 257 msg->vid_hdr.size = sizeof(struct synthvid_msg_hdr) + 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() [all …]
|
/linux-5.19.10/drivers/video/fbdev/ |
D | hyperv_fb.c | 220 struct synthvid_msg_hdr vid_hdr; member 297 msg->pipe_hdr.size = msg->vid_hdr.size; in synthvid_send() 300 msg->vid_hdr.size + sizeof(struct pipe_msg_hdr), in synthvid_send() 322 msg.vid_hdr.type = SYNTHVID_SITUATION_UPDATE; in synthvid_send_situ() 323 msg.vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in synthvid_send_situ() 345 msg.vid_hdr.type = SYNTHVID_POINTER_POSITION; in synthvid_send_ptr() 346 msg.vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in synthvid_send_ptr() 355 msg.vid_hdr.type = SYNTHVID_POINTER_SHAPE; in synthvid_send_ptr() 356 msg.vid_hdr.size = sizeof(struct synthvid_msg_hdr) + in synthvid_send_ptr() 386 msg.vid_hdr.type = SYNTHVID_DIRT; in synthvid_update() [all …]
|