Home
last modified time | relevance | path

Searched refs:SSH_MESSAGE_LENGTH (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/platform/surface/aggregator/
H A Dssh_parser.c135 if (unlikely(source->len < SSH_MESSAGE_LENGTH(0))) { in sshp_parse_frame()
152 if (unlikely(SSH_MESSAGE_LENGTH(sp.len) > maxlen)) { in sshp_parse_frame()
154 SSH_MESSAGE_LENGTH(sp.len)); in sshp_parse_frame()
162 if (source->len < SSH_MESSAGE_LENGTH(sp.len)) { in sshp_parse_frame()
H A Dssh_packet_layer.c455 if (frame->len < SSH_MESSAGE_LENGTH(0)) in ssh_ptl_rx_inject_invalid_data()
460 message_len = SSH_MESSAGE_LENGTH(payload_len); in ssh_ptl_rx_inject_invalid_data()
1791 return aligned.ptr - source->ptr + SSH_MESSAGE_LENGTH(payload.len); in ssh_ptl_rx_eval()
H A Dtrace.h132 if (!p->data.ptr || p->data.len < SSH_MESSAGE_LENGTH(0)) in ssam_trace_get_packet_seq()
/linux/include/linux/surface_aggregator/
H A Dserial_hub.h139 #define SSH_MESSAGE_LENGTH(payload_size) (SSH_MSG_LEN_BASE + (payload_size)) macro
149 SSH_MESSAGE_LENGTH(sizeof(struct ssh_command) + (payload_size))