Lines Matching refs:ptl
139 int ssh_ptl_init(struct ssh_ptl *ptl, struct serdev_device *serdev,
142 void ssh_ptl_destroy(struct ssh_ptl *ptl);
151 static inline struct device *ssh_ptl_get_device(struct ssh_ptl *ptl) in ssh_ptl_get_device() argument
153 return ptl->serdev ? &ptl->serdev->dev : NULL; in ssh_ptl_get_device()
156 int ssh_ptl_tx_start(struct ssh_ptl *ptl);
157 int ssh_ptl_tx_stop(struct ssh_ptl *ptl);
158 int ssh_ptl_rx_start(struct ssh_ptl *ptl);
159 int ssh_ptl_rx_stop(struct ssh_ptl *ptl);
160 void ssh_ptl_shutdown(struct ssh_ptl *ptl);
162 int ssh_ptl_submit(struct ssh_ptl *ptl, struct ssh_packet *p);
165 int ssh_ptl_rx_rcvbuf(struct ssh_ptl *ptl, const u8 *buf, size_t n);
176 static inline void ssh_ptl_tx_wakeup_transfer(struct ssh_ptl *ptl) in ssh_ptl_tx_wakeup_transfer() argument
178 if (test_bit(SSH_PTL_SF_SHUTDOWN_BIT, &ptl->state)) in ssh_ptl_tx_wakeup_transfer()
181 complete(&ptl->tx.thread_cplt_tx); in ssh_ptl_tx_wakeup_transfer()