Searched refs:ssh_request (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/platform/surface/aggregator/ |
H A D | ssh_request_layer.c | 86 static u16 ssh_request_get_rqid(struct ssh_request *rqst) in ssh_request_get_rqid() 92 static u32 ssh_request_get_rqid_safe(struct ssh_request *rqst) in ssh_request_get_rqid_safe() 100 static void ssh_rtl_queue_remove(struct ssh_request *rqst) in ssh_rtl_queue_remove() 128 static void ssh_rtl_pending_remove(struct ssh_request *rqst) in ssh_rtl_pending_remove() 147 static int ssh_rtl_tx_pending_push(struct ssh_request *rqst) in ssh_rtl_tx_pending_push() 170 static void ssh_rtl_complete_with_status(struct ssh_request *rqst, int status) in ssh_rtl_complete_with_status() 183 static void ssh_rtl_complete_with_rsp(struct ssh_request *rqst, in ssh_rtl_complete_with_rsp() 197 static bool ssh_rtl_tx_can_process(struct ssh_request *rqst) in ssh_rtl_tx_can_process() 207 static struct ssh_request *ssh_rtl_tx_next(struct ssh_rtl *rtl) in ssh_rtl_tx_next() 209 struct ssh_request *rqst = ERR_PTR(-ENOENT); in ssh_rtl_tx_next() [all …]
|
H A D | ssh_request_layer.h | 121 static inline struct ssh_rtl *ssh_request_rtl(struct ssh_request *rqst) in ssh_request_rtl() 129 int ssh_rtl_submit(struct ssh_rtl *rtl, struct ssh_request *rqst); 130 bool ssh_rtl_cancel(struct ssh_request *rqst, bool pending); 140 int ssh_request_init(struct ssh_request *rqst, enum ssam_request_flags flags,
|
H A D | trace.h | 471 TP_PROTO(const struct ssh_request *request), 515 TP_PROTO(const struct ssh_request *request), \ 520 TP_PROTO(const struct ssh_request *request, int status), 567 TP_PROTO(const struct ssh_request *request, int status),\
|
H A D | controller.c | 1530 static void ssam_request_sync_complete(struct ssh_request *rqst, in ssam_request_sync_complete() 1569 static void ssam_request_sync_release(struct ssh_request *rqst) in ssam_request_sync_release()
|
/linux/include/linux/surface_aggregator/ |
H A D | serial_hub.h | 570 struct ssh_request; 597 void (*release)(struct ssh_request *rqst); 598 void (*complete)(struct ssh_request *rqst, 617 struct ssh_request { struct 637 static inline struct ssh_request *to_ssh_request(struct ssh_packet *p) in to_ssh_request() 639 return container_of(p, struct ssh_request, packet); in to_ssh_request() 653 static inline struct ssh_request *ssh_request_get(struct ssh_request *r) in ssh_request_get() 670 static inline void ssh_request_put(struct ssh_request *r) in ssh_request_put() 686 static inline void ssh_request_set_data(struct ssh_request *r, u8 *ptr, size_t len) in ssh_request_set_data()
|
H A D | controller.h | 139 struct ssh_request base;
|
/linux/Documentation/driver-api/surface_aggregator/ |
H A D | internal.rst | 21 .. |ssh_request| replace:: :c:type:`struct ssh_request <ssh_request>` substdef 120 packet or its enclosing structure (e.g. |ssh_request|). 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
|