|
static yPrivDeviceSt * | AllocateDevice (void) |
|
static int | CheckVersionCompatibility (u16 version, const char *serial, char *errmsg) |
|
int | dbglogf (const char *fileid, int line, const char *fmt,...) |
|
static int | devCheckAsyncIO (LOCATION yPrivDeviceSt *dev, char *errmsg) |
|
static int | devCheckIO (LOCATION yPrivDeviceSt *dev, YIOHDL_internal *iohdl, char *errmsg) |
|
static void | devDeleteAccces (LOCATION yPrivDeviceSt *dev) |
|
void | devHdlInfo (YUSBDEV hdl, yDeviceSt *infos) |
|
static void | devInitAccces (LOCATION yPrivDeviceSt *dev) |
|
static int | devPauseIO (LOCATION yPrivDeviceSt *dev, char *errmsg) |
|
static void | devReportError (LOCATION yPrivDeviceSt *dev, char *error_to_set) |
|
static void | devReportErrorFromIdle (LOCATION yPrivDeviceSt *dev, char *error_to_set) |
|
static void | devStartEnum (LOCATION yPrivDeviceSt *dev) |
|
static int | devStartIdle (LOCATION yPrivDeviceSt *dev, char *errmsg) |
|
static int | devStartIO (LOCATION yPrivDeviceSt *dev, char *errmsg) |
|
static void | devStopEnum (LOCATION yPrivDeviceSt *dev) |
|
static void | devStopIdle (LOCATION yPrivDeviceSt *dev) |
|
static int | devStopIO (LOCATION yPrivDeviceSt *dev, char *errmsg) |
|
void | dumpYPerfEntry (yPerfMon *entry, const char *name) |
|
static yPrivDeviceSt * | enuFindDevSlot (yInterfaceSt *iface) |
|
static void | enuResetDStatus (void) |
|
static void | enuUpdateDStatus (void) |
|
yPrivDeviceSt * | findDev (const char *str, u32 flags) |
|
static yPrivDeviceSt * | findDevFromDevHdl (YUSBDEV hdl) |
|
yPrivDeviceSt * | findDevFromIOHdl (YIOHDL_internal *iohdl) |
|
YUSBDEV | findDevHdlFromStr (const char *str) |
|
static void | FreeDevice (yPrivDeviceSt *dev) |
|
int | FusionErrmsg (int code, char *errmsg, const char *generr, const char *detailerr) |
|
static int | StartDevice (yPrivDeviceSt *dev, char *errmsg) |
|
static int | StopDevice (yPrivDeviceSt *dev, char *errmsg) |
|
int | vdbglogf (const char *fileid, int line, const char *fmt, va_list args) |
|
static void | WriteTsamp (FILE *f) |
|
static YRETCODE | yAckPkt (yInterfaceSt *iface, int pktno, char *errmsg) |
|
static void | yDispatchNotice (yPrivDeviceSt *dev, USB_Notify_Pkt *notify, int pktsize, int isV2) |
|
static int | yDispatchReceive (yPrivDeviceSt *dev, u64 blockUntilTime, char *errmsg) |
|
static void | yDispatchReportV1 (yPrivDeviceSt *dev, u8 *data, int pktsize) |
|
static void | yDispatchReportV2 (yPrivDeviceSt *dev, u8 *data, int pktsize) |
|
int | YFOPEN (FILE **f, const char *filename, const char *mode) |
|
static int | yGetNextPktEx (yPrivDeviceSt *dev, pktItem **pkt_out, u64 blockUntilTime, char *errmsg) |
|
static int | yPacketSetup (yPrivDeviceSt *dev, char *errmsg) |
|
static void | yPktQueueDup (pktQueue *q, int expected_pkt_no, const char *file, int line) |
|
void | yPktQueueFree (pktQueue *q) |
|
void | yPktQueueInit (pktQueue *q) |
|
static int | yPktQueueIsEmpty (pktQueue *q, char *errmsg) |
|
static YRETCODE | yPktQueuePeek (pktQueue *q, pktItem **pkt, char *errmsg) |
|
YRETCODE | yPktQueuePeekH2D (yInterfaceSt *iface, pktItem **pkt) |
|
static YRETCODE | yPktQueuePop (pktQueue *q, pktItem **pkt, char *errmsg) |
|
YRETCODE | yPktQueuePopH2D (yInterfaceSt *iface, pktItem **pkt) |
|
YRETCODE | yPktQueuePushD2H (yInterfaceSt *iface, const USB_Packet *pkt, char *errmsg) |
|
static YRETCODE | yPktQueuePushEx (pktQueue *q, const USB_Packet *pkt, char *errmsg) |
|
YRETCODE | yPktQueuePushH2D (yInterfaceSt *iface, const USB_Packet *pkt, char *errmsg) |
|
void | yPktQueueSetError (pktQueue *q, YRETCODE code, const char *msg) |
|
YRETCODE | yPktQueueWaitAndPopD2H (yInterfaceSt *iface, pktItem **pkt, int ms, char *errmsg) |
|
static int | yPktQueueWaitEmptyH2D (yInterfaceSt *iface, int ms, char *errmsg) |
|
void | ypUpdateHybrid (const char *serial, Notification_funydx funInfo, const char *funcval) |
|
void | ypUpdateUSB (const char *serial, const char *funcid, const char *funcname, int funclass, int funydx, const char *funcval) |
|
void | ypUpdateYdx (int devydx, Notification_funydx funInfo, const char *funcval) |
|
static int | ySendStart (yPrivDeviceSt *dev, char *errmsg) |
|
int | ySetErr (int code, char *outmsg, const char *erreur, const char *file, u32 line) |
|
static int | yStreamFlush (yPrivDeviceSt *dev, char *errmsg) |
|
static int | yStreamGetTxBuff (yPrivDeviceSt *dev, u8 **data, u8 *maxsize) |
|
static int | yStreamReceived (yPrivDeviceSt *dev, u8 *stream, u8 **data, u8 *size, u64 blockUntilTime, char *errmsg) |
|
static int | yStreamReceptionDone (yPrivDeviceSt *dev, char *errmsg) |
|
static int | yStreamSetup (yPrivDeviceSt *dev, char *errmsg) |
|
static void | yStreamShutdown (yPrivDeviceSt *dev) |
|
static int | yStreamTransmit (yPrivDeviceSt *dev, u8 proto, u8 size, char *errmsg) |
|
int | yUsbClose (YIOHDL_internal *ioghdl, char *errmsg) |
|
int | yUsbEOF (YIOHDL_internal *ioghdl, char *errmsg) |
|
int | yUsbFree (yContextSt *ctx, char *errmsg) |
|
int | yUsbIdle (void) |
|
int | yUsbInit (yContextSt *ctx, char *errmsg) |
|
int | yUsbOpen (YIOHDL_internal *ioghdl, const char *device, char *errmsg) |
|
int | yUsbOpenDevDescr (YIOHDL_internal *ioghdl, yStrRef devdescr, char *errmsg) |
|
int | yUsbReadBlock (YIOHDL_internal *ioghdl, char *buffer, int len, u64 blockUntil, char *errmsg) |
|
int | yUsbReadNonBlock (YIOHDL_internal *ioghdl, char *buffer, int len, char *errmsg) |
|
void | yUSBReleaseAllDevices (void) |
|
int | yUsbSetIOAsync (YIOHDL_internal *ioghdl, yapiRequestAsyncCallback callback, void *context, char *errmsg) |
|
int | yUsbTrafficPending (void) |
|
YRETCODE | yUSBUpdateDeviceList (char *errmsg) |
|
int | yUsbWrite (YIOHDL_internal *ioghdl, const char *buffer, int writelen, char *errmsg) |
|
static void | yyFormatConfPkt (pktItem *pkt, u8 conftype) |
|
static int | yyWaitOnlyConfPkt (yInterfaceSt *iface, u8 cmdtowait, pktItem **rpkt, u32 s_timeout, char *errmsg) |
|
YRETCODE | yyySendPacket (yInterfaceSt *iface, const USB_Packet *pkt, char *errmsg) |
|