Lines Matching refs:segment

786 				  int segment, u8 *buf)  in ad9389b_dbg_dump_edid()  argument
793 v4l2_dbg(lvl, debug, sd, "edid segment %d\n", segment); in ad9389b_dbg_dump_edid()
840 ed.segment = ad9389b_rd(sd, 0xc4); in ad9389b_edid_handler()
976 static bool edid_verify_crc(struct v4l2_subdev *sd, u32 segment) in edid_verify_crc() argument
982 if (edid_block_verify_crc(&data[segment * 256])) { in edid_verify_crc()
983 if ((segment + 1) * 2 <= blocks) in edid_verify_crc()
984 return edid_block_verify_crc(&data[segment * 256 + 128]); in edid_verify_crc()
990 static bool edid_verify_header(struct v4l2_subdev *sd, u32 segment) in edid_verify_header() argument
999 if (segment) in edid_verify_header()
1013 int segment; in ad9389b_check_edid_status() local
1022 segment = ad9389b_rd(sd, 0xc4); in ad9389b_check_edid_status()
1023 if (segment >= EDID_MAX_SEGM) { in ad9389b_check_edid_status()
1027 v4l2_dbg(1, debug, sd, "%s: got segment %d\n", __func__, segment); in ad9389b_check_edid_status()
1028 ad9389b_edid_rd(sd, 256, &state->edid.data[segment * 256]); in ad9389b_check_edid_status()
1029 ad9389b_dbg_dump_edid(2, debug, sd, segment, in ad9389b_check_edid_status()
1030 &state->edid.data[segment * 256]); in ad9389b_check_edid_status()
1031 if (segment == 0) { in ad9389b_check_edid_status()
1036 if (!edid_verify_crc(sd, segment) || in ad9389b_check_edid_status()
1037 !edid_verify_header(sd, segment)) { in ad9389b_check_edid_status()
1045 state->edid.segments = segment + 1; in ad9389b_check_edid_status()
1059 ed.segment = 0; in ad9389b_check_edid_status()