Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/platform/surface/aggregator/
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()
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()
Dtrace.h131 if (!p->data.ptr || p->data.len < SSH_MESSAGE_LENGTH(0)) in ssam_trace_get_packet_seq()
/Linux-v6.1/include/linux/surface_aggregator/
Dserial_hub.h141 #define SSH_MESSAGE_LENGTH(payload_size) (SSH_MSG_LEN_BASE + (payload_size)) macro
151 SSH_MESSAGE_LENGTH(sizeof(struct ssh_command) + (payload_size))