Searched refs:ssh_packet (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.c | 329 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 …]
|
H A D | trace.h | 130 static inline u16 ssam_trace_get_packet_seq(const struct ssh_packet *p) in ssam_trace_get_packet_seq() 146 static inline u32 ssam_trace_get_request_id(const struct ssh_packet *p) in ssam_trace_get_request_id() 162 static inline u32 ssam_trace_get_request_tid(const struct ssh_packet *p) in ssam_trace_get_request_tid() 178 static inline u32 ssam_trace_get_request_sid(const struct ssh_packet *p) in ssam_trace_get_request_sid() 194 static inline u32 ssam_trace_get_request_tc(const struct ssh_packet *p) in ssam_trace_get_request_tc() 394 TP_PROTO(const struct ssh_packet *packet), 426 TP_PROTO(const struct ssh_packet *packet), \ 431 TP_PROTO(const struct ssh_packet *packet, int status), 466 TP_PROTO(const struct ssh_packet *packet, int status), \ 487 const struct ssh_packet *p = &request->packet; [all …]
|
H A D | ssh_packet_layer.h | 162 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,
|
H A D | ssh_request_layer.c | 751 static void ssh_rtl_packet_callback(struct ssh_packet *p, int status) in ssh_rtl_packet_callback() 959 static void ssh_rtl_packet_release(struct ssh_packet *p) in ssh_rtl_packet_release()
|
/linux/include/linux/surface_aggregator/ |
H A D | serial_hub.h | 449 struct ssh_packet; 464 void (*release)(struct ssh_packet *p); 465 void (*complete)(struct ssh_packet *p, int status); 491 struct ssh_packet { struct 511 struct ssh_packet *ssh_packet_get(struct ssh_packet *p); argument 512 void ssh_packet_put(struct ssh_packet *p); 528 static inline void ssh_packet_set_data(struct ssh_packet *p, u8 *ptr, size_t len) in ssh_packet_set_data() 618 struct ssh_packet packet; 637 static inline struct ssh_request *to_ssh_request(struct ssh_packet *p) in to_ssh_request()
|
/linux/Documentation/driver-api/surface_aggregator/ |
H A D | internal.rst | 12 .. |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
|