Home
last modified time | relevance | path

Searched refs:ssh_packet (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/drivers/platform/surface/aggregator/
Dssh_packet_layer.c329 static bool __ssh_ptl_should_drop_ack_packet(struct ssh_packet *packet) in __ssh_ptl_should_drop_ack_packet()
341 static bool __ssh_ptl_should_drop_nak_packet(struct ssh_packet *packet) in __ssh_ptl_should_drop_nak_packet()
353 static bool __ssh_ptl_should_drop_dsq_packet(struct ssh_packet *packet) in __ssh_ptl_should_drop_dsq_packet()
366 static bool ssh_ptl_should_drop_packet(struct ssh_packet *packet) in ssh_ptl_should_drop_packet()
387 static int ssh_ptl_write_buf(struct ssh_ptl *ptl, struct ssh_packet *packet, in ssh_ptl_write_buf()
405 static void ssh_ptl_tx_inject_invalid_data(struct ssh_packet *packet) in ssh_ptl_tx_inject_invalid_data()
481 static inline bool ssh_ptl_should_drop_packet(struct ssh_packet *packet) in ssh_ptl_should_drop_packet()
487 struct ssh_packet *packet, in ssh_ptl_write_buf()
494 static inline void ssh_ptl_tx_inject_invalid_data(struct ssh_packet *packet) in ssh_ptl_tx_inject_invalid_data()
512 struct ssh_packet *p = container_of(kref, struct ssh_packet, refcnt); in __ssh_ptl_packet_release()
[all …]
Dtrace.h124 static inline u16 ssam_trace_get_packet_seq(const struct ssh_packet *p) in ssam_trace_get_packet_seq()
140 static inline u32 ssam_trace_get_request_id(const struct ssh_packet *p) in ssam_trace_get_request_id()
156 static inline u32 ssam_trace_get_request_tc(const struct ssh_packet *p) in ssam_trace_get_request_tc()
335 TP_PROTO(const struct ssh_packet *packet),
367 TP_PROTO(const struct ssh_packet *packet), \
372 TP_PROTO(const struct ssh_packet *packet, int status),
407 TP_PROTO(const struct ssh_packet *packet, int status), \
426 const struct ssh_packet *p = &request->packet;
470 const struct ssh_packet *p = &request->packet;
Dssh_packet_layer.h162 int ssh_ptl_submit(struct ssh_ptl *ptl, struct ssh_packet *p);
163 void ssh_ptl_cancel(struct ssh_packet *p);
184 void ssh_packet_init(struct ssh_packet *packet, unsigned long type,
Dssh_request_layer.c751 static void ssh_rtl_packet_callback(struct ssh_packet *p, int status) in ssh_rtl_packet_callback()
944 static void ssh_rtl_packet_release(struct ssh_packet *p) in ssh_rtl_packet_release()
/Linux-v5.15/include/linux/surface_aggregator/
Dserial_hub.h430 struct ssh_packet;
445 void (*release)(struct ssh_packet *p);
446 void (*complete)(struct ssh_packet *p, int status);
472 struct ssh_packet { struct
492 struct ssh_packet *ssh_packet_get(struct ssh_packet *p); argument
493 void ssh_packet_put(struct ssh_packet *p);
509 static inline void ssh_packet_set_data(struct ssh_packet *p, u8 *ptr, size_t len) in ssh_packet_set_data()
599 struct ssh_packet packet;
618 static inline struct ssh_request *to_ssh_request(struct ssh_packet *p) in to_ssh_request()
/Linux-v5.15/Documentation/driver-api/surface_aggregator/
Dinternal.rst12 .. |ssh_packet| replace:: :c:type:`struct ssh_packet <ssh_packet>` substdef
109 Packets to be transmitted by the SSAM core are represented via |ssh_packet|
305 are represented by |ssh_request|, wrapping the underlying |ssh_packet|
310 As |ssh_request| extends |ssh_packet|, its lifetime is also managed by the
322 Similar to |ssh_packet|, |ssh_request| also has a ``complete()`` callback