diff options
| author | hathach <[email protected]> | 2018-12-11 13:15:05 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-11 13:15:05 +0700 |
| commit | dbc560658a900525acd11ffcae2e59839d9c6fe5 (patch) | |
| tree | 80fb910f81090ebaf463a80225da26895e360caa /src/host/ehci | |
| parent | 0d04e6eb96935723f17969bf43a33532fcebcbf6 (diff) | |
more hcd_pipe to hcd_edpt rename
Diffstat (limited to 'src/host/ehci')
| -rw-r--r-- | src/host/ehci/ehci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/host/ehci/ehci.c b/src/host/ehci/ehci.c index 94796c9dd..3833a46d7 100644 --- a/src/host/ehci/ehci.c +++ b/src/host/ehci/ehci.c @@ -420,19 +420,19 @@ bool hcd_pipe_close(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) return true;
}
-bool hcd_pipe_is_busy(uint8_t dev_addr, uint8_t ep_addr)
+bool hcd_edpt_busy(uint8_t dev_addr, uint8_t ep_addr)
{
ehci_qhd_t *p_qhd = qhd_get_from_addr(dev_addr, ep_addr);
return !p_qhd->qtd_overlay.halted && (p_qhd->p_qtd_list_head != NULL);
}
-bool hcd_pipe_is_stalled(uint8_t dev_addr, uint8_t ep_addr)
+bool hcd_edpt_stalled(uint8_t dev_addr, uint8_t ep_addr)
{
ehci_qhd_t *p_qhd = qhd_get_from_addr(dev_addr, ep_addr);
return p_qhd->qtd_overlay.halted && !qhd_has_xact_error(p_qhd);
}
-bool hcd_pipe_clear_stall(uint8_t dev_addr, uint8_t ep_addr)
+bool hcd_edpt_clear_stall(uint8_t dev_addr, uint8_t ep_addr)
{
ehci_qhd_t *p_qhd = qhd_get_from_addr(dev_addr, ep_addr);
p_qhd->qtd_overlay.halted = 0;
|
