Lines Matching refs:cip_header_size
337 unsigned int cip_header_size; in amdtp_stream_get_max_payload() local
340 cip_header_size = CIP_HEADER_SIZE; in amdtp_stream_get_max_payload()
342 cip_header_size = 0; in amdtp_stream_get_max_payload()
344 return cip_header_size + amdtp_stream_get_max_ctx_payload_size(s); in amdtp_stream_get_max_payload()
837 unsigned int cip_header_size; in parse_ir_ctx_header() local
842 cip_header_size = CIP_HEADER_SIZE; in parse_ir_ctx_header()
844 cip_header_size = 0; in parse_ir_ctx_header()
846 if (payload_length > cip_header_size + s->ctx_data.tx.max_ctx_payload_length) { in parse_ir_ctx_header()
849 payload_length, cip_header_size + s->ctx_data.tx.max_ctx_payload_length); in parse_ir_ctx_header()
853 if (cip_header_size > 0) { in parse_ir_ctx_header()
854 if (payload_length >= cip_header_size) { in parse_ir_ctx_header()
858 err = check_cip_header(s, cip_header, payload_length - cip_header_size, in parse_ir_ctx_header()