Home
last modified time | relevance | path

Searched refs:ssam_span (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/platform/surface/aggregator/
H A Dssh_parser.c29 static bool sshp_validate_crc(const struct ssam_span *src, const u8 *crc) in sshp_validate_crc()
41 static bool sshp_starts_with_syn(const struct ssam_span *src) in sshp_starts_with_syn()
69 bool sshp_find_syn(const struct ssam_span *src, struct ssam_span *rem) in sshp_find_syn()
117 int sshp_parse_frame(const struct device *dev, const struct ssam_span *source, in sshp_parse_frame()
118 struct ssh_frame **frame, struct ssam_span *payload, in sshp_parse_frame()
121 struct ssam_span sf; in sshp_parse_frame()
122 struct ssam_span sp; in sshp_parse_frame()
206 int sshp_parse_command(const struct device *dev, const struct ssam_span *source, in sshp_parse_command()
208 struct ssam_span *command_data) in sshp_parse_command()
H A Dssh_parser.h138 struct ssam_span *span) in sshp_buf_span_from()
144 bool sshp_find_syn(const struct ssam_span *src, struct ssam_span *rem);
146 int sshp_parse_frame(const struct device *dev, const struct ssam_span *source,
147 struct ssh_frame **frame, struct ssam_span *payload,
150 int sshp_parse_command(const struct device *dev, const struct ssam_span *source,
152 struct ssam_span *command_data);
H A Dssh_packet_layer.c432 struct ssam_span *data) in ssh_ptl_rx_inject_invalid_syn()
434 struct ssam_span frame; in ssh_ptl_rx_inject_invalid_syn()
449 struct ssam_span *frame) in ssh_ptl_rx_inject_invalid_data()
499 struct ssam_span *data) in ssh_ptl_rx_inject_invalid_syn()
504 struct ssam_span *frame) in ssh_ptl_rx_inject_invalid_data()
635 struct ssam_span *buffer, gfp_t flags) in ssh_ctrl_packet_alloc()
1641 const struct ssam_span *payload) in ssh_ptl_rx_dataframe()
1652 struct ssam_span buf; in ssh_ptl_send_ack()
1676 struct ssam_span buf; in ssh_ptl_send_nak()
1697 static size_t ssh_ptl_rx_eval(struct ssh_ptl *ptl, struct ssam_span *source) in ssh_ptl_rx_eval()
[all …]
H A Dssh_request_layer.c185 const struct ssam_span *data) in ssh_rtl_complete_with_rsp()
469 const struct ssam_span *command_data) in ssh_rtl_complete()
899 const struct ssam_span *data) in ssh_rtl_rx_event()
909 static void ssh_rtl_rx_command(struct ssh_ptl *p, const struct ssam_span *data) in ssh_rtl_rx_command()
914 struct ssam_span command_data; in ssh_rtl_rx_command()
940 static void ssh_rtl_rx_data(struct ssh_ptl *p, const struct ssam_span *data) in ssh_rtl_rx_data()
1104 const struct ssam_span *data, in ssh_rtl_flush_request_complete()
H A Dssh_request_layer.h42 const struct ssam_span *data);
H A Dssh_packet_layer.h42 void (*data_received)(struct ssh_ptl *p, const struct ssam_span *data);
H A Dcontroller.c986 const struct ssam_span *data) in ssam_handle_event()
1507 ssize_t ssam_request_write_data(struct ssam_span *buf, in ssam_request_write_data()
1532 const struct ssam_span *data, int status) in ssam_request_sync_complete()
1601 struct ssam_span *buffer) in ssam_request_sync_alloc()
1733 struct ssam_span buf; in ssam_request_do_sync()
1790 struct ssam_span *buf) in ssam_request_do_sync_with_buffer()
/linux/include/linux/surface_aggregator/
H A Dcontroller.h120 ssize_t ssam_request_write_data(struct ssam_span *buf,
147 struct ssam_span *buffer);
217 struct ssam_span *buf);
241 struct ssam_span __buf = { &__data[0], ARRAY_SIZE(__data) }; \
H A Dserial_hub.h276 struct ssam_span { struct
600 const struct ssam_span *data, int status);