ssh_ptl
static long ssh_ptl_tx_wait_packet(struct ssh_ptl *ptl)
static long ssh_ptl_tx_wait_transfer(struct ssh_ptl *ptl, long timeout)
static int ssh_ptl_tx_packet(struct ssh_ptl *ptl, struct ssh_packet *packet)
struct ssh_ptl *ptl = data;
static void ssh_ptl_tx_wakeup_packet(struct ssh_ptl *ptl)
int ssh_ptl_tx_start(struct ssh_ptl *ptl)
int ssh_ptl_tx_stop(struct ssh_ptl *ptl)
static struct ssh_packet *ssh_ptl_ack_pop(struct ssh_ptl *ptl, u8 seq_id)
static void ssh_ptl_acknowledge(struct ssh_ptl *ptl, u8 seq)
int ssh_ptl_submit(struct ssh_ptl *ptl, struct ssh_packet *p)
struct ssh_ptl *ptl_old;
static void ssh_ptl_resubmit_pending(struct ssh_ptl *ptl)
struct ssh_ptl *ptl = to_ssh_ptl(work, rtx_timeout.reaper.work);
static bool ssh_ptl_rx_retransmit_check(struct ssh_ptl *ptl, const struct ssh_frame *frame)
static void ssh_ptl_rx_dataframe(struct ssh_ptl *ptl,
static void ssh_ptl_send_ack(struct ssh_ptl *ptl, u8 seq)
static void ssh_ptl_send_nak(struct ssh_ptl *ptl)
static size_t ssh_ptl_rx_eval(struct ssh_ptl *ptl, struct ssam_span *source)
struct ssh_ptl *ptl = data;
static void ssh_ptl_rx_wakeup(struct ssh_ptl *ptl)
int ssh_ptl_rx_start(struct ssh_ptl *ptl)
int ssh_ptl_rx_stop(struct ssh_ptl *ptl)
ssize_t ssh_ptl_rx_rcvbuf(struct ssh_ptl *ptl, const u8 *buf, size_t n)
void ssh_ptl_shutdown(struct ssh_ptl *ptl)
int ssh_ptl_init(struct ssh_ptl *ptl, struct serdev_device *serdev,
void ssh_ptl_destroy(struct ssh_ptl *ptl)
static int ssh_ptl_write_buf(struct ssh_ptl *ptl, struct ssh_packet *packet,
static void ssh_ptl_rx_inject_invalid_syn(struct ssh_ptl *ptl,
static void ssh_ptl_rx_inject_invalid_data(struct ssh_ptl *ptl,
static inline int ssh_ptl_write_buf(struct ssh_ptl *ptl,
static inline void ssh_ptl_rx_inject_invalid_syn(struct ssh_ptl *ptl,
static inline void ssh_ptl_rx_inject_invalid_data(struct ssh_ptl *ptl,
static void ssh_ptl_timeout_reaper_mod(struct ssh_ptl *ptl, ktime_t now,
struct ssh_ptl *ptl = packet->ptl;
struct ssh_ptl *ptl = packet->ptl;
struct ssh_ptl *ptl = p->ptl;
struct ssh_ptl *ptl = packet->ptl;
struct ssh_ptl *ptl = READ_ONCE(p->ptl);
struct ssh_ptl *ptl = packet->ptl;
static struct ssh_packet *ssh_ptl_tx_pop(struct ssh_ptl *ptl)
static struct ssh_packet *ssh_ptl_tx_next(struct ssh_ptl *ptl)
struct ssh_ptl *ptl = packet->ptl;
container_of(ptr, struct ssh_ptl, member)
int ssh_ptl_init(struct ssh_ptl *ptl, struct serdev_device *serdev,
void ssh_ptl_destroy(struct ssh_ptl *ptl);
static inline struct device *ssh_ptl_get_device(struct ssh_ptl *ptl)
int ssh_ptl_tx_start(struct ssh_ptl *ptl);
int ssh_ptl_tx_stop(struct ssh_ptl *ptl);
int ssh_ptl_rx_start(struct ssh_ptl *ptl);
int ssh_ptl_rx_stop(struct ssh_ptl *ptl);
void ssh_ptl_shutdown(struct ssh_ptl *ptl);
int ssh_ptl_submit(struct ssh_ptl *ptl, struct ssh_packet *p);
ssize_t ssh_ptl_rx_rcvbuf(struct ssh_ptl *ptl, const u8 *buf, size_t n);
static inline void ssh_ptl_tx_wakeup_transfer(struct ssh_ptl *ptl)
void (*data_received)(struct ssh_ptl *p, const struct ssam_span *data);
static void ssh_rtl_rx_command(struct ssh_ptl *p, const struct ssam_span *data)
static void ssh_rtl_rx_data(struct ssh_ptl *p, const struct ssam_span *data)
struct ssh_ptl *ptl;
struct ssh_ptl ptl;
struct ssh_ptl;
struct ssh_ptl *ptl;