Lines Matching refs:cip_header_size
327 unsigned int cip_header_size; in amdtp_stream_get_max_payload() local
330 cip_header_size = CIP_HEADER_SIZE; in amdtp_stream_get_max_payload()
332 cip_header_size = 0; in amdtp_stream_get_max_payload()
334 return cip_header_size + amdtp_stream_get_max_ctx_payload_size(s); in amdtp_stream_get_max_payload()
805 unsigned int cip_header_size; in parse_ir_ctx_header() local
810 cip_header_size = CIP_HEADER_SIZE; in parse_ir_ctx_header()
812 cip_header_size = 0; in parse_ir_ctx_header()
814 if (payload_length > cip_header_size + s->ctx_data.tx.max_ctx_payload_length) { in parse_ir_ctx_header()
817 payload_length, cip_header_size + s->ctx_data.tx.max_ctx_payload_length); in parse_ir_ctx_header()
821 if (cip_header_size > 0) { in parse_ir_ctx_header()
822 if (payload_length >= cip_header_size) { in parse_ir_ctx_header()
826 err = check_cip_header(s, cip_header, payload_length - cip_header_size, in parse_ir_ctx_header()