| 45 | return rc; |
| 46 | } |
| 47 | void SwitchUSBInterface::Close() |
| 48 | { |
| 49 | for (auto &&endpoint : m_inEndpoints) |
| 50 | { |
| 51 | if (endpoint) |
| 52 | { |
| 53 | endpoint->Close(); |
| 54 | } |
| 55 | } |
| 56 | for (auto &&endpoint : m_outEndpoints) |
| 57 | { |
| 58 | if (endpoint) |
| 59 | { |
| 60 | endpoint->Close(); |
| 61 | } |
| 62 | } |
| 63 | usbHsIfClose(&m_session); |
| 64 | } |
| 65 | |
| 66 | Result SwitchUSBInterface::ControlTransfer(u8 bmRequestType, u8 bmRequest, u16 wValue, u16 wIndex, u16 wLength, void *buffer) |
| 67 | { |
nothing calls this directly
no outgoing calls
no test coverage detected